LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Unable to upgrade OR download packages slack14.1 (https://www.linuxquestions.org/questions/slackware-14/unable-to-upgrade-or-download-packages-slack14-1-a-4175577226/)

jrch 04-11-2016 07:25 PM

Unable to upgrade OR download packages slack14.1
 
Hello
I'm running Slackware 14.1 64 bit, with Alien Bob's multilib layer. For most things it seems to work OK.
I've not 'upgraded' or downloaded any security patches for several months. 'Upgradepkg' with exact filenames for x86_64 ... 14.1.txz fails every time to find any such file.
Likewise, 'Slackpkg download' with exact filenames for the patches fails every time to find any such file.
I do this as root.
I AM online.
I've tried SEVERAL 'mirrors' in /etc/slackpkg/mirrors. None seem to do any different.

I now question whether Alien Bob's 'muiltilib' system has broken the slackpkg upgrade system.

Comments are solicited.

Thank you - jrch

bassmadrigal 04-11-2016 08:32 PM

I'll copy/paste my post from your other thread (you should try to not open multiple threads on the same topic -- I would suggest you to "report" the thread you do not wish to continue with so the mods can lock it -- this would prevent multiple threads discussing the same topic).

==========================================

I think you don't understand the various programs. installpkg, upgradepkg, and removepkg are all for programs that currently exist on your system as a file. So, if you were to use upgradepkg on firefox, you would first need to download it from your favorite mirror.

However, slackpkg is able to perform all the functions of the above programs when you call it with various options (see man slackpkg for all the details). To upgrade firefox, you can just run:

Code:

slackpkg upgrade mozilla-firefox
But, the simplest way to update your whole system up-to-date is to run the following:

Code:

slackpkg update gpg      # Only needs to be done the first time so it has the gpg of the mirror
slackpkg update          # Grabs the latest list of files
slackpkg upgrade-all    # Will search through all the files and present you all the programs that are different from the mirror (it sees any version change as an "upgrade" whether the version is up or down)

There's a few others within that are handy, but more typically if you are either monitoring -current or upgrading to a newer release of Slackware
Code:

slackpkg install-new    # Will install any newly added programs (you won't see new programs on 14.1, so there's no reason to run this unless you're monitoring -current or once you upgrade to 14.2 when it is released)
slackpkg clean-system    # Will present you a list of all packages not listed on the mirror. This will help you find packages that have been removed from Slackware. NOTE: It will present a list that will include any 3rd-party pacakges, so use caution when removing



All times are GMT -5. The time now is 04:14 PM.