What Happens if you Run pkg2ng Multiple Times?
m.seaman at infracaninophile.co.uk
Wed Jul 23 17:00:39 UTC 2014
On 07/23/14 15:08, Martin G. McCormick wrote:
> To make a long story short, I logged in to the same system
> twice instead of two different systems once. I realized
> something was wrong when pkg2ng got to the shared libraries part
> and one of the instances reported they were locked . Everything
> seems to be okay but I am just checking while backups are all
It depends if you updated or installed some other packages between the
two runs of pkg2ng. If you didn't then it should be harmless.
Otherwise, try running 'pkg info' and see if there are things obviously
missing or added. Even if you have screwed up your package database,
you can recover a lot by reinstalling the packages concerned. Note that
screwing up the package DB will have no operational effect on your
system until you need to do your next round of package updates so it may
be better to just live with the broken pkg DB for a while, and plan out
reinstalling stuff at leisure rather than dropping everything and trying
to fix it immediately.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1014 bytes
Desc: OpenPGP digital signature
More information about the freebsd-questions