LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-17-2016, 11:19 AM   #1
tfrei
Member
 
Registered: Dec 2004
Location: Fargo
Distribution: slackware 14.2
Posts: 103

Rep: Reputation: 18
after upgrade to new slackpkg in current it seems to be upgrading all packages


I just upgraded current via slackpkg. After finishing, slackpkg says to restart the upgrade process because of a new slackpkg package.

I did that, but it seems to be downloading everything all over and upgrading already upgraded packages.

Any ideas?
 
Old 05-17-2016, 12:04 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Rep: Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199Reputation: 4199
it's normal: when you run a "slackpkg upgrade-all" session and between the upgrades there's a slackpkg one, only that is applied and the package database is reseted.
so you have to download again the repository information with "slackpkg update" and then re-run "slackpkg upgrade-all": that will download again all packages.

to avoid downloading things two times, if you are upgrading and you see in the ChangeLog (you should really read that!) that slackpkg has been upgraded, just run first
Code:
slackpkg update
slackpkg upgrade slackpkg
so it will download just that.
after you can do the usual
Code:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system
run the last command of this serie with a grain of salt, deciding yourself what is to remove and what not (reading CHANGES_AND_HINTS.TXT and UPGRADE.TXT is strongly advised).

you could also try setting the variable DELALL to "off" in /etc/slackpkg/slackpkg.conf (but I haven't tried that myself).

Last edited by ponce; 05-17-2016 at 12:14 PM.
 
1 members found this post helpful.
Old 05-17-2016, 12:36 PM   #3
Hangaber
Member
 
Registered: Sep 2004
Location: USA
Distribution: Slackware
Posts: 163

Rep: Reputation: 51
During the run, it detected a slackpkg update and so that package was updated. The other items you see in the list are not updated, which is why you need to run slackpkg again and why the packages appear in the available updates again.

It shouldn't actually download the same items twice though. It may say that it's going to, and then that it found the downloaded item in cache and won't download it a second time.
 
1 members found this post helpful.
Old 05-17-2016, 01:29 PM   #4
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
Don't forget after slackpkg is upgraded to again run "slackpkg update gpg" and then the slackpkg update.
 
1 members found this post helpful.
  


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
[SOLVED] Errors after upgrading to current, can't start X, slackpkg or vim Miranden Slackware 6 07-20-2013 02:03 PM
slackpkg/blacklist for AlienBob's current multilib and kde 4.4.2 packages damgar Slackware 7 04-08-2010 09:33 PM
[SOLVED] slackpkg upgrade...not upgrading :-( the_penguinator Slackware 3 03-24-2010 07:14 PM
[SOLVED] slackpkg insists on NOT upgrading me to slackware64-current. What am I missing? GrapefruiTgirl Slackware 5 03-04-2010 01:01 PM
Using slackpkg to Upgrade to Slackware-Current x94qvi Slackware 8 10-20-2007 07:53 PM

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

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

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