Solved pkg upgrading packages and skipping a specific package ? [is it possible?]

meine

Member

Reaction score: 36
Messages: 85

Hi,

This evening I wanted to upgrade all packages with #pkg upgrade, but the upgrade somehow halts at an error with one package. I know of the recent 'pkg -y issue', and just ran a plain 'upgrade' without.

Is it possible to run upgrade and exclude (a) specifically named package(s)?

NB: in this example gimp is reluctant, but other packages from the 'to be upgraded' output after #pkg upgrade just upgrade fine with #pkg upgrade <package_name>. One by one is not really automation of my update process and 'gimp' is pretty much on the beginning of the list...

TIA,
 
OP
OP
meine

meine

Member

Reaction score: 36
Messages: 85

TNX Lanakus!

Next time I'll read the man page more thoroughly, it's in there... [shame on me]
 

shkhln

Aspiring Daemon

Reaction score: 187
Messages: 508

It's probably better to temporary remove gimp and install it after upgrade. Locking won't prevent any upgrade conflicts.
 
Top