pkgsrc-Users archive

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

Re: removing entries in pkgdb



On Tue, Jun 13, 2017 at 05:32:46PM +0200, Marco Beishuizen wrote:
> 
> After a "cvs update -dP" I always do a "pkg_chk -u -s" or a "lintpkgsrc -i"
> to see what needs to be updated, and after that a "pkg_chk -u -s".
> 
> Some packages claim to be installed, although they are not:
> 
> www/firefox - firefox-53.0.3 missing
> www/midori - midori-0.5.11nb14 missing
> Installed: firefox-53.0.3 midori-0.5.11nb14
> 
> In reality firefox52 is installed and both firefox53 and midori are not.
> 
> If I do a "pkg_chk -u -s" it always tries to upgrade firefox53, although
> it's not installed. But this fails every time because firefox53 depends on
> gtk3 now.
> 
> How can I get rid of firefox53 and midori completely?

You can try "pkg_admin rebuild".  The manpage for pkg_admin(1) says that
the "rebuild" command is intended for recovery after system crashes
during package installation and removal, which sounds similar to the
problem you're experiencing.

Regards,
-- 
Johnny C. Lam
jlam%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index