LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 08:26 AM   #1
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Rep: Reputation: 32
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, 08:31 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

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

Eric
 
Old 01-20-2013, 08:46 AM   #3
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Original Poster
Rep: Reputation: 32
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, 08:59 AM   #4
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
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, 08:59 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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, 09:05 AM   #6
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Original Poster
Rep: Reputation: 32
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:48 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
Open Source Consulting | Domain Registration