SBdocs - SlackBuilder Tutorials - pkg-upgrade

Last updated:

pkg-upgrade


This command takes no arguments. If any installed packages need to be upgraded you will be presented with a list and promted if you wish to continue.

It is safe to upgrade the kernel with headers etc...just remember to run 'doinitrd' to build an initrd.gz image.

Examples of use

--> pkg-upgrade 


Upgrade Packages
--------------------------------------------------------------------------------
Downloading datafiles....
 SRC ==> mirrors2.kernel.org/slackware/slackware-14.2/PACKAGES.TXT
   650K .......... .......... .......... .....                100% 1.19M=0.5s
     0K .......... .......... .......... ...                  100%  475K=0.07s
     0K .......... .......... .....                           100%  411K=0.06s
 SRC ==> localhost/Slackbuilder-i686-14.2/PACKAGES.TXT
     0K .......... .......... .......... .......... .         100% 20.2M=0.002s
 SRC ==> linuxoutpost.com/repos/Slackbuilder-noarch-all/PACKAGES.TXT
     0K ..........                                            100% 6.89M=0.001s
There are 716 pkgs installed ... preparing the pkglist
Now searching for pkgs to upgrade.... 
Found ===> Sbuilderbox-skel
Found ===> bind
Found ===> chromebook-skel
Found ===> curl
Found ===> glibc-zoneinfo
Found ===> mozilla-firefox
Found ===> ntp
Found ===> pkgcache
Found ===> slkn-setup
Found ===> slkn-usbboot
Done!
--------------------------------------------------------------------------------
The following 10 pkgs will be upgraded...

--------------------------------------------------------------------------------
Do you wish to continue? y/N 

Comment in the Forum.

© 2015 - 2023  -   SlackBuilder  -   All Rights Reserved.

By: Lance Peterson -- Slackerson