LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackpkg question...download new versions of installed pkgs (https://www.linuxquestions.org/questions/slackware-14/slackpkg-question-download-new-versions-of-installed-pkgs-863832/)

Josh000 02-20-2011 01:14 AM

Slackpkg question...download new versions of installed pkgs
 
I have a minimal install, and want to download the latest versions of only the packages I have installed.

What is the easiest way to do this with slackpkg?

So far it seems to want to download everything...

Gavin Harper 02-20-2011 02:09 AM

Choose the correct repo in /etc/slackpkg/mirrors

i.e, if you are slackware64 13.0

uncomment the mirror under that heading and choose the one for your country. This will give you updates.

slackpkg update
slackpkg upgrade-all

brianL 02-20-2011 04:06 AM

Usually you put things you don't want updating in /etc/slackpkg/blacklist, but with a minimal install that's going to be a lot of stuff.

sparkyhall 02-20-2011 05:28 AM

I have had a minimal install on one of my machines for about a year now and slackpkg only updates the installed packages. Make sure you only use:

slackpkg update
slackpkg upgrade-all

and it should be fine. Using "slackpkg install-new" will install all the packages you don't have installed so must be avoided, so there's no need to blacklist anything.

brianL 02-20-2011 05:31 AM

I've never tried a minimal install, so I wasn't sure how things would work out.

chrisretusn 02-20-2011 07:18 PM

As already mentioned, slackpkg only upgrades installed packages. The biggest cause for seeing "everything" is the wrong mirror is selected in mirrors.

Make certain that only one mirror is selected and that it matches the install version of Slackware.


All times are GMT -5. The time now is 07:06 AM.