Summary: | portupgrade-20041226_2 unnecessarily update pkgdb | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | kasahara <kasahara> |
Component: | Individual Port(s) | Assignee: | Simon L. B. Nielsen <simon> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
kasahara
2005-05-16 05:00:28 UTC
Responsible Changed From-To: freebsd-ports-bugs->simon Simon broke it http://www.freebsd.org/cgi/query-pr.cgi?pr=81088 Simon did this: http://people.freebsd.org/~simon/patches/port-portupgrade-CAN-2005-0610_3.patch State Changed From-To: open->analyzed The following patch, which I expect to be commited very soon, should fix the problem: http://people.freebsd.org/~simon/patches/port-portupgrade-CAN-2005-0610_3.patch On Wed, 18 May 2005 22:05:22 GMT, "Simon L. Nielsen" <simon@FreeBSD.org> said: > The following patch, which I expect to be commited very soon, > should fix the problem: > > http://people.freebsd.org/~simon/patches/port-portupgrade-CAN-2005-0610_3.patch The 'pkgdb.fixme' file is shared among commands of portupgrade. For example, if 'pkgdb -u' is interrupted before finish, 'pkgdb.fixme' is remained. Subsequent invocation of commands will notice it and try to re-run 'pkgdb -u' before doing their main task. So, everytime creating different tmpdir will break them too, I believe. On 2005.05.19 02:00:25 +0000, Yoshiaki Kasahara wrote:
> On Wed, 18 May 2005 22:05:22 GMT,
> "Simon L. Nielsen" <simon@FreeBSD.org> said:
>
> > The following patch, which I expect to be commited very soon,
> > should fix the problem:
> >
> > http://people.freebsd.org/~simon/patches/port-portupgrade-CAN-2005-0610_3.patch
>
> The 'pkgdb.fixme' file is shared among commands of portupgrade. For
> example, if 'pkgdb -u' is interrupted before finish, 'pkgdb.fixme' is
> remained. Subsequent invocation of commands will notice it and try to
> re-run 'pkgdb -u' before doing their main task.
>
> So, everytime creating different tmpdir will break them too, I believe.
Hmm, I suspect that you are right :-/.
--
Simon L. Nielsen
On Sun, 22 May 2005 01:11:04 +0200, "Simon L. Nielsen" <simon@freebsd.org> said: > Could you try the attached patch and see if it works for you? It works fine for me. Thank you very much! -- kasahara@nc.kyushu-u.ac.jp State Changed From-To: analyzed->closed This should now been fixed with portupgrade-20041226_3. Thanks for the report! |