pkgsrc-Users archive

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

Re: deleting apparently phantom package

/ah, you got it in one.  Packages installed up to 15th February are
recorded in /var/db/pkg, those from 18th February in /usr/pkg/pkgdb.

What I did in between was to upgrade the machine from NetBSD-7.0 to
9.2.  The digest package is recorded in both, though different

But another machine I upgraded, this time from 8.0_RC1 to 9.2, has
all its packages recorded in /var/db/pkg.

How should I proceed?

Steve Blinkhorn <>

You wrote:
> On Wed 02 Mar 2022 at 15:59:39 +0000, Steve Blinkhorn wrote:
> > Done, but the problem persists.
> You may need to resort to this option to pkg_delete:
>      -N      Remove the package's registration and its entries from the
>              package database, but leave the files installed.  Don't run any
>              deinstall scripts or @unexec lines either.
> Or maybe you have a pkg database both in /var/db/pkg (and pkg.refcount)
> and /usr/pkg/pkgdb. In that case the administration of which packages
> are installed gets rather confused...
> -Olaf.
> --=20
> ___ "Buying carbon credits is a bit like a serial killer paying someone els=
> e to
> \X/  have kids to make his activity cost neutral." -The BOFH
> alto
> --xtk/jPY34hJMkKv3
> Content-Type: application/pgp-signature; name="signature.asc"
> +9P3iQf+PctCD4Jm1Sf6OwnTu+W/DLdWVrBXQ6S+z0v/7608dGou7uiawLL+laVg
> 9czE2fs08ln4sbtTj711IdArRXKYI7aLYMscKZpjp5Ky1Nx7wqH2MOtu3ZmLZhXd
> 0iw6cnLUxpRh2H9+djYsvH+vJy7yqVNXthltr4A1a9m8ttH2JbQ9JzBiQDkiJGhs
> 32L+WfZb+slCycs6Z3bzpwLTvs9VYayK+KagFmaCp6JOdszskXIOo6/XRcq6R/OO
> 6z/KcIYDjnQbZ8nZQH2c7cFd39u8U431uFdjNjOf25ycfkT9PpBag2L1GUIlYtDQ
> nz2Fglkzblq8Bxdl2bzXH9oT5gXwJw==
> =3ZXd
> --xtk/jPY34hJMkKv3--

Home | Main Index | Thread Index | Old Index