pkg upgrade -n

Everything related to installing software with Bxpkg pkg_add.

pkg upgrade -n

Postby galasrinnion » Tue Oct 28, 2014 9:09 pm

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
galasrinnion
 
Posts: 13
Joined: Tue Oct 28, 2014 3:45 pm

pkg upgrade -n

 

Re: pkg upgrade -n

Postby ericbsd » Sun Nov 02, 2014 12:45 pm

This should do the what you want:
pkg lock xorg-server


and this to unlock all pkg lock.

Code: Select all
pkg unlock -a
ericbsd
Site Admin
 
Posts: 404
Joined: Mon Nov 19, 2012 11:54 pm

Re: pkg upgrade -n

Postby galasrinnion » Wed Nov 05, 2014 7:12 pm

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.
User avatar
galasrinnion
 
Posts: 13
Joined: Tue Oct 28, 2014 3:45 pm


Return to Packages Manager

Who is online

Users browsing this forum: No registered users and 1 guest

cron