LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-14-2014, 09:24 AM   #1
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 15.0 Multilib
Posts: 313

Rep: Reputation: 52
Slackpkg+: One repository fails, they all fail


I ran into a problem today that I have seen several times. I was trying to update my system. I knew that AlienBob had updated libreoffice. Right now, the official slackpkg+ website is not responding. I ran "slackpkg update" followed by "slackpkg upgrade-all". It found no updates while giving the warning that the slackpkgplus repository had failed. If I edited that repository out of slackpkgplus.conf, and then reran those two commands, it found the libreoffice update.

Basically, slackpkgplus needs to handle missing/down repositories more gracefully than it currently does. I'd file a bug, but with the website down, I have no idea where to do that.
 
Old 04-14-2014, 10:44 AM   #2
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, V.N.Gaia, Portugal
Distribution: Slackware
Posts: 528

Rep: Reputation: 272Reputation: 272Reputation: 272
I had to do the same
 
Old 04-14-2014, 11:27 AM   #3
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by marnold View Post
I ran into a problem today that I have seen several times. I was trying to update my system. I knew that AlienBob had updated libreoffice. Right now, the official slackpkg+ website is not responding. I ran "slackpkg update" followed by "slackpkg upgrade-all". It found no updates while giving the warning that the slackpkgplus repository had failed. If I edited that repository out of slackpkgplus.conf, and then reran those two commands, it found the libreoffice update.

Basically, slackpkgplus needs to handle missing/down repositories more gracefully than it currently does. I'd file a bug, but with the website down, I have no idea where to do that.
Just comment out the line and upgrade slackpkg+ manually... if you need to upgrade it in the first place.
 
Old 04-14-2014, 01:10 PM   #4
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

You can pass options to wget with the variable WGETOPTS. For instance if you want wget to retry failed download only 1 time, and a timeout of 10 seconds, run slackpkg as below :

Code:
 WGETOPTS="--tries=1 --timeout=10" slackpkg update
--
SeB
 
Old 04-15-2014, 07:02 AM   #5
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, V.N.Gaia, Portugal
Distribution: Slackware
Posts: 528

Rep: Reputation: 272Reputation: 272Reputation: 272
Quote:
Originally Posted by phenixia2003 View Post
Hello,

You can pass options to wget with the variable WGETOPTS. For instance if you want wget to retry failed download only 1 time, and a timeout of 10 seconds, run slackpkg as below :

Code:
 WGETOPTS="--tries=1 --timeout=10" slackpkg update
--
SeB
Hi phenixia2003,

First of all, a big thank you to zerouno and you for this excellent tool

The problem is not how many retries a failed download gets, but when one repo is down (like it happened with the slackpkg+ repo) then all others fail as well.
 
Old 04-15-2014, 07:26 AM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by marnold View Post
I'd file a bug, but with the website down, I have no idea where to do that.
dunno if it's the proper place, but as the code is published on github, maybe you can try its issue tracker...
 
Old 04-15-2014, 08:43 AM   #7
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by Slax-Dude View Post
Hi phenixia2003,

First of all, a big thank you to zerouno and you for this excellent tool

The problem is not how many retries a failed download gets, but when one repo is down (like it happened with the slackpkg+ repo) then all others fail as well.
Yes, sorry. In this case, with checkgpg turned off, the other repositories should work. So the next time you can try this :

Code:
$ slackpkg -checkgpg=off update

--
SeB
 
1 members found this post helpful.
Old 04-15-2014, 07:21 PM   #8
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 15.0 Multilib
Posts: 313

Original Poster
Rep: Reputation: 52
Quote:
Originally Posted by phenixia2003 View Post
Yes, sorry. In this case, with checkgpg turned off, the other repositories should work. So the next time you can try this :

Code:
$ slackpkg -checkgpg=off update
--
SeB
I'll try that next time. Thanks! Is there a way that Slackpkg+ itself can be changed to handle this situation more gracefully?

And thanks again for the great tool. It makes maintaining a Slackware installation much, much easier.

Last edited by marnold; 04-15-2014 at 07:23 PM.
 
Old 04-16-2014, 04:35 AM   #9
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by marnold View Post
I'll try that next time. Thanks! Is there a way that Slackpkg+ itself can be changed to handle this situation more gracefully?
Here is a better solution for this issue.

Greetings.

--
SeB
 
Old 04-17-2014, 05:05 AM   #10
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 983

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
bug fixed!

Quote:
Originally Posted by marnold View Post
I'd file a bug, but with the website down, I have no idea where to do that.
as phenixia2003 tell, the best is to report it on that thread
 
Old 04-18-2014, 08:29 PM   #11
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 15.0 Multilib
Posts: 313

Original Poster
Rep: Reputation: 52
Quote:
Originally Posted by zerouno View Post
bug fixed!


as phenixia2003 tell, the best is to report it on that thread
Excellent! Thanks for the great utility!
 
  


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 vs. third-party package repository kikinovak Slackware 738 07-10-2021 08:41 PM
[SOLVED] Fail reboot after upgrade with slackpkg janucaria Slackware 4 05-14-2013 12:22 AM
yum fails with error: Cannot retrieve repository metadata (repomd.xml) for repository dmendonsa Fedora 6 02-10-2010 07:23 PM
Bug in slackpkg -- fail to find installed package? grissiom Slackware 8 07-16-2009 05:26 AM
Slackpkg fails on upgrade-all albhaf Slackware 1 12-02-2006 10:22 AM

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

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