pkg upgrade -n

Everything related to Installing and maintaining software.
Post Reply
User avatar
galasrinnion
Posts: 40
Joined: Tue Oct 28, 2014 12:45 pm

pkg upgrade -n

Post by galasrinnion »

Hi everybody

When invoking sudo pkg upgrade -n, is there a method for deleting some packages from that list, say for instance, Xorg-server ? and then continue with the rest of the packages upgrade ?
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: pkg upgrade -n

Post by ericbsd »

This should do the what you want:
pkg lock xorg-server
and this to unlock all pkg lock.

Code: Select all

pkg unlock -a
User avatar
galasrinnion
Posts: 40
Joined: Tue Oct 28, 2014 12:45 pm

Re: pkg upgrade -n

Post by galasrinnion »

ericbsd wrote:This should do the what you want:
pkg lock xorg-server
and this to unlock all pkg lock.

Code: Select all

pkg unlock -a
That went well ! Thanks.

Code: Select all

# pkg lock xorg-server

Code: Select all

# pkg lock xorg-minimal

Code: Select all

# pkg lock xorg-drivers
THEN;

Code: Select all

# pkg upgrade
....answer y to all the above.
Post Reply