LinuxQuestions.org
Help answer threads with 0 replies.
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-02-2014, 04:11 AM   #1
freakTux
LQ Newbie
 
Registered: Jan 2014
Distribution: Slackware64-current
Posts: 26

Rep: Reputation: Disabled
Slackpkg check-updates doesn't find any upgrade to do


Hi all guys...I have a problem with slackpkg...as usual I use it to keep my distro updated...but since my new slackware installation I have noticed that even if a package has been upgraded in the changelog if I give:
Code:
slackpkg update gpg
slackpkg update
slackpkg check-updates
it says me "No news is good news"...even if I have got some package to upgade...in the end I have to upgade every package looking at the changelog and wrtiting for every package:
Code:
slackpkg upgrade PACKAGE
what can be my problem?
 
Old 02-02-2014, 04:17 AM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
What mirror are you using?
 
Old 02-02-2014, 04:26 AM   #3
freakTux
LQ Newbie
 
Registered: Jan 2014
Distribution: Slackware64-current
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
What mirror are you using?
Now (just for test) I use an australian mirror:
Code:
ftp://ftp.cc.swin.edu.au/slackware/slackware64-current/
I the past I used mirrors from france (near my Italy)...
 
Old 02-02-2014, 05:01 AM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
Did you also run

Code:
slackpkg upgrade-all
By chance?
 
Old 02-02-2014, 08:03 AM   #5
freakTux
LQ Newbie
 
Registered: Jan 2014
Distribution: Slackware64-current
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
Did you also run

Code:
slackpkg upgrade-all
By chance?
I didn't tried it because I had just a couple package to upgrade (I have installed the current not much time ago) and I have upgraded them with slackpkg upgrade PACKAGE...But now I cannot try upgrade-all because I have all the package upgraded...
What you suggest?
 
Old 02-02-2014, 02:48 PM   #6
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
If you have all the updates then it won't register there are any.

If you need to see which packages are installed run:

Code:
pkgtool
And if you need to select any SBo packages to remove or list try running:

Code:
slackpkg clean-system
 
Old 02-02-2014, 05:09 PM   #7
freakTux
LQ Newbie
 
Registered: Jan 2014
Distribution: Slackware64-current
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
If you have all the updates then it won't register there are any.

If you need to see which packages are installed run:

Code:
pkgtool
I know that I can list programs with pkgtool...My question is about a strange behavior of my slackpkg that it seems like cannot find updates when I run
Code:
slackpkg check-updates


Quote:
And if you need to select any SBo packages to remove or list try running:

Code:
slackpkg clean-system
I found this tip very useful..thanks for this...
 
Old 02-02-2014, 05:54 PM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
Check-updates should work the same as grabbing the complete update list using the update flag. If it can't find anything newer than the current listing then it spits out a notice about not finding anything.
 
Old 02-03-2014, 08:11 AM   #9
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
I wonder what the /etc/slackpkg/blacklist file looks like on your system.
 
Old 02-03-2014, 10:20 AM   #10
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
Maybe I misunderstand how slackpkg works, but aren't you supposed to run check-updates before running an update? Doesn't an update also download/get the new ChangeLog.txt (saved in /var/lib/slackpkg)?

I just tried this: previous mirror: file:///home/slackware-14.1/. I then changed it to a http Slackware current mirror, ran check-updates and got `News on ChangeLog.txt'. When I then ran `slackpkg update' followed by a check-update (with the -current mirror), it told me that there are no news. When I changed it back to the local 14.1 directory, ran check-updates (without having run update before), it told me that there are news. When I then run update, it will tell me again that there are no news. And so on.

Last edited by lems; 02-03-2014 at 10:39 AM.
 
Old 02-04-2014, 06:38 AM   #11
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 3,212

Rep: Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708
From the man page:
Code:
       Slackpkg can be used to upgrade the whole distribution.
       The usual way is to do:

            # slackpkg update
            # slackpkg install-new
            # slackpkg upgrade-all
            # slackpkg clean-system
If you know it's all updates, then simply running...
Code:
# slackpkg update
# slackpkg upgrade-all
...will do the job.

Quote:
Hi all guys...I have a problem with slackpkg...as usual I use it to keep my distro updated...but since my new slackware installation I have noticed that even if a package has been upgraded in the changelog if I give:
Code:
slackpkg update gpg
slackpkg update
slackpkg check-updates
Were are you checking ChangeLog.txt? From the Slackware site? http://www.slackware.com/changelog/

If you run "slackpkg update' and it reports back:

Code:
No changes in ChangeLog.txt between your last update and now.
                Do you really want to download all other files (y/N)?
Then there are no changes. The local copy of ChangeLog.txt and the servers copy are the same. One possible reason could be the server you are using has not updated yet.

Running 'slackpkg check-updates' after slackpkg update' will normally always show 'No news is good news'.

Use "update gpg" should only been needed once. Most of the time, in my experience, the gpg modifier is not needed at all. The first run with "update" will update the Slackware key.

Keep in mind the slackpkg is only good for Slackware packages that are part of the Slackware distribution. Added packages will not be looked at by slackpkg.

The slackpkg man page is your friend.
 
Old 02-05-2014, 03:03 AM   #12
freakTux
LQ Newbie
 
Registered: Jan 2014
Distribution: Slackware64-current
Posts: 26

Original Poster
Rep: Reputation: Disabled
Ok...solved...the problem was that I had misunderstood what slackpkg check-updates...I tought that check-updates checks updates from the local changelog previously updated with slackpkg update...but instead check-updates check if the local copy of changelog and the remote copy are different (upgrades available) or the same ("no news is good news")...thanks all!
 
  


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] Salome-Meca doesn't work after slackpkg upgrade-all theCapitain Slackware 4 01-03-2016 11:12 AM
[SOLVED] slackpkg check-updates rogan Slackware 2 01-05-2014 02:40 PM
[SOLVED] Just ran 'slackpkg upgrade-all'..... Now X windows doesn't work. v.segfault wolf2600 Slackware 14 01-23-2011 07:47 AM
slackpkg upgrade from 12.1 to 12.2 and now LILO can't find my HD thrash242 Slackware 4 03-17-2009 10:15 AM
Why doesn't netselect-apt find updates mirrors? sard Debian 1 02-22-2005 09:42 PM

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

All times are GMT -5. The time now is 01:41 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