Discussion:
pkgdb And pkgng?
(too old to reply)
Tim Daneliuk
2016-05-19 22:49:54 UTC
Permalink
Using 10.3-STABLE:

In the past, I used pkgdb -FLa to rebuild my dependency tree for my
installed ports.

When I now try to do this, it complains about not PKGNG suppor. So...
how do I do the equivalent thing with pkg tools?
--
----------------------------------------------------------------------------
Tim Daneliuk ***@tundraware.com
PGP Key: http://www.tundraware.com/PGP/
Matthew Seaman
2016-05-20 08:36:44 UTC
Permalink
Post by Tim Daneliuk
In the past, I used pkgdb -FLa to rebuild my dependency tree for my
installed ports.
pkg-check(8)

Matthew
RW via freebsd-questions
2016-05-20 11:41:43 UTC
Permalink
On Fri, 20 May 2016 09:36:44 +0100
Post by Matthew Seaman
Post by Tim Daneliuk
In the past, I used pkgdb -FLa to rebuild my dependency tree for my
installed ports.
pkg-check(8)
Whist that's the closest thing, the routine maintenance that pkgdb -FLa
did isn't needed anymore.
Tim Daneliuk
2016-05-20 13:31:15 UTC
Permalink
I install from ports not packages and occasionally have to do a forced
removal to get an upgrade to work.
Polytropon
2016-05-20 13:46:42 UTC
Permalink
Post by Tim Daneliuk
I install from ports not packages and occasionally have to do a forced
removal to get an upgrade to work.
If I understand the pkg mechanism correctly, this doesn't make any
difference. Issuing "make install" creates a pkg-style package which
then gets installed, and "make deinstall" lets pkg remove installed
software. Both tasks involve dealing with the package database.
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
Tim Daneliuk
2016-05-20 13:57:39 UTC
Permalink
Post by Polytropon
Post by Tim Daneliuk
I install from ports not packages and occasionally have to do a forced
removal to get an upgrade to work.
If I understand the pkg mechanism correctly, this doesn't make any
difference. Issuing "make install" creates a pkg-style package which
then gets installed, and "make deinstall" lets pkg remove installed
software. Both tasks involve dealing with the package database.
Except that recently, port upgrades have been failing and - in one case -
a manual make reinstall didn't do the trick. I had to do a pkg remove -fx
and then reinstall. In that case, I wonder if the things dependent on the
package I removed are noted by the package management system.
--
----------------------------------------------------------------------------
Tim Daneliuk ***@tundraware.com
PGP Key: http://www.tundraware.com/PGP/
Loading...