The FreeBSD Diary |
(TM) | Providing practical examples since 1998If you buy from Amazon USA, please support us by using this link. |
pkgdb - packages database tool
28 December 2001
|
A few short weeks ago, I wrote about portupgrade. Since then, thanks again to Chris Dillon, I've been learning a few more tips about how to use this wonderful tool. This has proven to be most useful now that I've just installed XFree86-4 and KDE and I need to put my packages database into a consistent state. |
about pkgdb -F
|
The
|
An example
|
Here are some extracts from my package database upgrade. I have snipped out sections to reduce the amount of fluff you must read.
In this case, gimp normally installs
This is a similar example. I don't actually have
In the above extract, I've said that
Above, you can see that previously selected defaults have been automagically used.
If you run |
Yeah, but what's in it for me?
|
If you keep your package dependencies in a correct and consistent state, you will encounter far fewer problems when upgrading your ports. According to the portupgrade man page, you should always run pkgdb -F before upgrading a number of ports at once. "An inconsistent package database will surely cause bad results." |