LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-20-2013, 09:26 AM   #1
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1/13.37/14 RedHat 6.2/7/EL6.5 SuSE 8.2/11.1
Posts: 459

Rep: Reputation: 30
slackpkg question


Is there a way to show which packages installed require updating without actually performing any update?

Couldn't see anything, though as I am all to aware, that doesnt mean there isn't something...

Thanks
 
Old 01-20-2013, 09:31 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,395

Rep: Reputation: Disabled
Try "slackpkg check-updates"

Eric
 
Old 01-20-2013, 09:46 AM   #3
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1/13.37/14 RedHat 6.2/7/EL6.5 SuSE 8.2/11.1
Posts: 459

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Alien Bob View Post
Try "slackpkg check-updates"

Eric
that is what I thought/remember but doesn't that only check the changelog (think that is the correct term), not actually comparing current package versions to that which is already installed.

that pretty much gives me a "no news is good news" but I know there are packages with updates available, if I do a slackpkg search "packagename"
 
Old 01-20-2013, 09:59 AM   #4
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,283

Rep: Reputation: 588Reputation: 588Reputation: 588Reputation: 588Reputation: 588Reputation: 588
Quote:
Originally Posted by plisken View Post
that is what I thought/remember but doesn't that only check the changelog (think that is the correct term), not actually comparing current package versions to that which is already installed.

that pretty much gives me a "no news is good news" but I know there are packages with updates available, if I do a slackpkg search "packagename"
The command slackpkg check-updates will let you know if there are packages that need updating by checking to see if there is any news on Slackware's changelog.txt. If the command tells you there is news then run slackpkg update.
Eric is one of our main Slackware developers. He answered your question.
 
Old 01-20-2013, 09:59 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,395

Rep: Reputation: Disabled
OK then try this:
Code:
slackpkg -default_answer=n -batch=on -dialog=off upgrade-all
See also "man slackpkg.conf" for the commandline options which are accepted by slackpkg.

In case of the machine I was at, this was the output:
Code:
# slackpkg -default_answer=n -batch=on -dialog=off upgrade-all

Checking local integrity... DONE
Looking for packages to upgrade. Please wait... DONE

apr-1.4.2-x86_64-2.txz
apr-util-1.3.10-x86_64-1.txz
bind-9.7.3-x86_64-2.txz
ca-certificates-20090814-noarch-1.txz
dhcpcd-5.2.11-x86_64-1.txz
fetchmail-6.3.19-x86_64-1.txz
ghostscript-9.00-x86_64-2.txz
httpd-2.2.17-x86_64-3.txz
libpng-1.4.5-x86_64-1.txz
mozilla-firefox-4.0-x86_64-2.txz
mozilla-thunderbird-3.1.9-x86_64-2.txz
pidgin-2.7.11-x86_64-1.txz
samba-3.5.8-x86_64-1.txz
seamonkey-2.1b3-x86_64-2.txz
seamonkey-solibs-2.1b3-x86_64-2.txz

Total package(s): 15

Do you wish to upgrade selected packages (Y/n)? n
Eric
 
2 members found this post helpful.
Old 01-20-2013, 10:05 AM   #6
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1/13.37/14 RedHat 6.2/7/EL6.5 SuSE 8.2/11.1
Posts: 459

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Alien Bob View Post
Code:
slackpkg -default_answer=n -batch=on -dialog=off upgrade-all
Eric

This is EXACTLY what I was looking for, thanks and sorry for the dumb q...
 
  


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
slackpkg question . . . lmitcham Linux - Newbie 5 01-16-2012 04:14 PM
Slackpkg template question ADX Slackware 0 07-17-2011 09:21 PM
[SOLVED] Slackpkg question.... linus72 Slackware 11 08-11-2010 08:13 AM
slackpkg question Akheron Linux - Newbie 3 06-07-2009 02:20 PM
slackpkg question ralvy Slackware 2 11-19-2004 05:48 PM


All times are GMT -5. The time now is 03:28 AM.

Main Menu
Advertisement
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