LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

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

Rep: Reputation: 35
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...
 
Old 02-20-2011, 02:09 AM   #2
Gavin Harper
Member
 
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 02:11 AM.
 
Old 02-20-2011, 04:06 AM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,029
Blog Entries: 52

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, 05:28 AM   #4
sparkyhall
Member
 
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, 05:31 AM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,029
Blog Entries: 52

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

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.
 
  


Reply


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 05:40 PM
download pkgs from RHN? Uday123 Linux - Software 1 09-11-2009 05:15 AM
Slack-11: script lists installed pkgs, out-of-tree packages, compares versions... GrapefruiTgirl Slackware 0 06-18-2009 12:23 AM
if 4.0 is installed can 4.0 soho pkgs be installed?? bosewicht VectorLinux 2 11-22-2003 11:05 AM
list installed pkgs? clothocan Mandriva 4 10-06-2003 08:19 AM


All times are GMT -5. The time now is 07:24 PM.

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