LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   A question about slackpkg update (http://www.linuxquestions.org/questions/slackware-14/a-question-about-slackpkg-update-4175444522/)

irgunII 01-07-2013 12:21 PM

A question about slackpkg update
 
I read the man page about using this, but I'm a little confused about something.

Will this update my kernel also? I don't want it to do that. What about other things I don't want 'changed', just security stuff and packages that won't screw up my setup as it is?

Is there a way to tell it to *not* update the kernel, etc? I saw on another post someone warned about this kind of thing and I really don't want to go through the trouble of a new kernel and fixing lilo to boot it and the rest of it.

ponce 01-07-2013 12:41 PM

see /etc/slackpkg/blacklist.

I'll copy the present content here (just for reference)
Code:

# This is a blacklist file. Any packages listed here won't be
# upgraded, removed, or installed by slackpkg.
#
# The correct syntax is:
#
# To blacklist the package xorg-server-1.6.3-x86_64-1 the line will be:
# xorg-server
#
# DON'T put any space(s) before or after the package name or regexp.
# If you do this, the blacklist will NOT work.

#
# Automated upgrade of kernel packages aren't a good idea (and you need to
# run "lilo" after upgrade). If you think the same, uncomment the lines
# below
#
#kernel-firmware
#kernel-generic
#kernel-generic-smp
#kernel-headers
#kernel-huge
#kernel-huge-smp
#kernel-modules
#kernel-modules-smp
#kernel-source

#
# aaa_elflibs can't be updated.
#
aaa_elflibs

# You can blacklist using regular expressions.
#
# Don't use *full* regex here, because all of the following
# will be checked for the regex: series, name, version, arch,
# build and fullname.
#
# This one will blacklist all SBo packages:
#[0-9]+_SBo


mlangdn 01-07-2013 12:45 PM

Also, when you run

Code:

slackpkg upgrade-all
a ncurses box will come up with a list of the options for upgrade. You can deselect anything you do not want upgraded.

irgunII 01-08-2013 07:36 AM

Great! Thank you both!


All times are GMT -5. The time now is 11:28 AM.