pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/32790 ("pkg_chk" uses binary packages when it shouldn't)



The following reply was made to PR pkg/32790; it has been noted by GNATS.

From: Matthias Scheler <tron%zhadum.org.uk@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/32790 ("pkg_chk" uses binary packages when it shouldn't)
Date: Fri, 17 Feb 2006 10:28:44 +0000

 On Wed, Feb 15, 2006 at 01:55:17PM +0000, Matthias Scheler wrote:
 > Can it perhaps like this:
 > 1.) "a" depends on "b" and "c".
 > 2.) "b" and "c" are outdated.
 > 3.) "pkg_chk -u" removes "b" and "c".
 > 4.) "pkg_chk -u" builds and install "b".
 > 5.) "pkg_chk -u" tries to install "a", find the binary package for it and
 >      runs "pkg_add a.tgz".
 > 6.) "pkg_add a.tgz" detects that "b" is missing and install the outdated
 >      "b" binary package.
 
 The problem just happen again and it was exactly caused by a scenario
 like the one described above:
 
 1.) "p5-HTML-Parser" was outdated.
 2.) "pkg_chk" removed it with "pkg_delete -r p5-HTML-Parser".
 3.) "pkg_chk" checked which packets are missing and found out that
     "spamassassin" which depends on "p5-HTML-Parser" is missing.
 4.) "pkg_chk" runs "pkg_add spamassassin-3.1.0nb3.tgz" which reinstalls
     the old and outdated "p5-HTML-Parser" package.
 
        Kind regards
 
 -- 
 Matthias Scheler                                  http://scheler.de/~matthias/
 



Home | Main Index | Thread Index | Old Index