Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-14-2014, 10:24 AM
|
#1
|
Member
Registered: Dec 2005
Distribution: Slackware64 15.0 Multilib
Posts: 318
Rep:
|
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.
|
|
|
04-14-2014, 11:44 AM
|
#2
|
Member
Registered: Mar 2006
Location: Valadares, V.N.Gaia, Portugal
Distribution: Slackware
Posts: 532
|
I had to do the same 
|
|
|
04-14-2014, 12:27 PM
|
#3
|
MLED Founder
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453
|
Quote:
Originally Posted by marnold
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.
|
|
|
04-14-2014, 02:10 PM
|
#4
|
Senior Member
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052
|
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
|
|
|
04-15-2014, 08:02 AM
|
#5
|
Member
Registered: Mar 2006
Location: Valadares, V.N.Gaia, Portugal
Distribution: Slackware
Posts: 532
|
Quote:
Originally Posted by phenixia2003
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.
|
|
|
04-15-2014, 08:26 AM
|
#6
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,418
|
Quote:
Originally Posted by marnold
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...
|
|
|
04-15-2014, 09:43 AM
|
#7
|
Senior Member
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052
|
Hello,
Quote:
Originally Posted by Slax-Dude
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.
|
04-15-2014, 08:21 PM
|
#8
|
Member
Registered: Dec 2005
Distribution: Slackware64 15.0 Multilib
Posts: 318
Original Poster
Rep:
|
Quote:
Originally Posted by phenixia2003
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 08:23 PM.
|
|
|
04-16-2014, 05:35 AM
|
#9
|
Senior Member
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052
|
Hello,
Quote:
Originally Posted by marnold
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
|
|
|
04-17-2014, 06:05 AM
|
#10
|
Member
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 983
|
bug fixed!
Quote:
Originally Posted by marnold
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
|
|
|
04-18-2014, 09:29 PM
|
#11
|
Member
Registered: Dec 2005
Distribution: Slackware64 15.0 Multilib
Posts: 318
Original Poster
Rep:
|
Quote:
Originally Posted by zerouno
bug fixed!
as phenixia2003 tell, the best is to report it on that thread
|
Excellent! Thanks for the great utility!
|
|
|
All times are GMT -5. The time now is 01:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|