Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-20-2011, 02:14 AM   #1
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Rep: Reputation: 35
Slackpkg 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...
Old 02-20-2011, 03:09 AM   #2
Gavin Harper
Registered: Feb 2010
Location: Finland
Distribution: Slackware
Posts: 169

Rep: Reputation: 24
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

Last edited by Gavin Harper; 02-20-2011 at 03:11 AM.
Old 02-20-2011, 05:06 AM   #3
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
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.
1 members found this post helpful.
Old 02-20-2011, 06:28 AM   #4
Registered: Nov 2009
Location: Chatteris---UK
Distribution: Slackware 13.0 & 14.0
Posts: 41

Rep: Reputation: 7
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.
Old 02-20-2011, 06:31 AM   #5
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
I've never tried a minimal install, so I wasn't sure how things would work out.
Old 02-20-2011, 08:18 PM   #6
Registered: Dec 2005
Location: Philippines
Distribution: Slackware
Posts: 551

Rep: Reputation: Disabled
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "slackpkg install-new" miss some pkgs michelino Slackware 6 05-12-2010 06:40 PM
download pkgs from RHN? Uday123 Linux - Software 1 09-11-2009 06:15 AM
Slack-11: script lists installed pkgs, out-of-tree packages, compares versions... GrapefruiTgirl Slackware 0 06-18-2009 01:23 AM
if 4.0 is installed can 4.0 soho pkgs be installed?? bosewicht VectorLinux 2 11-22-2003 12:05 PM
list installed pkgs? clothocan Mandriva 4 10-06-2003 09:19 AM

All times are GMT -5. The time now is 08:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration