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.
|
|
05-02-2013, 10:07 AM
|
#1
|
Member
Registered: Apr 2013
Distribution: Slackware
Posts: 81
Rep:
|
Updating Alien's multilib packages with slapt-get ?
Hi,
I'm wondering what am I doing wrong if trying to install/update packages from Alien's repository at http://slackware.com/~alien/multilib/current .
In /etc/slapt-get/slapt-getrc there is the following record:
Code:
# Alien's Multilib packages for Slackware64
SOURCE=http://slackware.com/~alien/multilib/current/:DEFAULT
Running slapt-get -u went ok:
Code:
Retrieving package data [http://slackware.com/~alien/multilib/current/]...Cached
Retrieving patch list [http://slackware.com/~alien/multilib/current/]...Done
Retrieving checksum list [http://slackware.com/~alien/multilib/current/]...Cached
Retrieving checksum signature [http://slackware.com/~alien/multilib/current/]...Cached
Verifying checksum signature [http://slackware.com/~alien/multilib/current/]...Verified
Retrieving ChangeLog.txt [http://slackware.com/~alien/multilib/current/]...Done
Reading Package Lists...Done
Now, if I want to fetch/install some package, slapt-get aborts with the following unspecific error:
Code:
# slapt-get -i glib2-compat32
Reading Package Lists...Done
The following packages will be installed:
glib2-compat32
0 upgraded, 0 reinstalled, 1 newly installed, 0 to remove, 0 not upgraded.
Need to get 972.0kB of archives.
After unpacking 3.7MB of additional disk space will be used.
Do you want to continue? [y/N] y
1/1 Get http://connie.slackware.com/~alien/multilib/ glib2-compat32
2.34.3-x86_64-1compat32 [972.0kB]...Failed to download: HTTP response code said error
Packages from other repositories can be installed without any issues.
|
|
|
05-02-2013, 05:47 PM
|
#3
|
LQ Newbie
Registered: Apr 2013
Posts: 2
Rep:
|
I believe this is because the PACKAGES.TXT file in the multilib repo contains this extra bit
which causes slapt-get to append that to the PACKAGE LOCATION. Maybe it should have not been there at all, which is what PACKAGES.TXT in the main source tree looks like.
To work around this, I rsync the whole directory to my local slapt-get repo and then rebuild the metadata using http://software.jaos.org/git/slapt-g....html#slgFAQ17.
HTH
|
|
1 members found this post helpful.
|
05-02-2013, 06:11 PM
|
#4
|
Member
Registered: Apr 2013
Distribution: Slackware
Posts: 81
Original Poster
Rep:
|
Quote:
Originally Posted by trnh
I believe this is because the PACKAGES.TXT file in the multilib repo contains this extra bit
which causes slapt-get to append that to the PACKAGE LOCATION. Maybe it should have not been there at all, which is what PACKAGES.TXT in the main source tree looks like.
To work around this, I rsync the whole directory to my local slapt-get repo and then rebuild the metadata using http://software.jaos.org/git/slapt-g....html#slgFAQ17.
HTH
|
Great, I think this is the source of the issue. I can manually download packages with lftp, wget or other clients from the same server.
Maybe I have to send a notice to Eric about that.
|
|
|
05-03-2013, 05:14 PM
|
#5
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Then report that as a bug in slapt-get please, I am not going to fix anything.
I added "PACKAGE MIRROR" because of slapt-get. See http://software.jaos.org/git/slapt-get/plain/FAQ.html
Eric
|
|
|
05-05-2013, 07:04 AM
|
#6
|
Member
Registered: Apr 2013
Distribution: Slackware
Posts: 81
Original Poster
Rep:
|
Quote:
Originally Posted by Alien Bob
|
Hi,
you are correct, there is no issue with PACKAGE_MIRROR field. However there is a problem in PACKAGE_LOCATION, as in your repo PACKAGES.TXT it miss the leading path at every package record.
For example for repo on http://connie.slackware.com/~alien/multilib/current the location record for compat32-tools-3.0-noarch-8alien.tgz should look like
Code:
PACKAGE LOCATION: ./current
.
Check the stock Slackware repos if you do not believe it.
|
|
|
05-05-2013, 06:41 PM
|
#7
|
Member
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411
Rep:
|
Just remove the "current" from your slapt-getrc and it works:
Code:
SOURCE=http://connie.slackware.com/~alien/multilib/:CUSTOM
Fetches multilib automatically here.
|
|
|
All times are GMT -5. The time now is 03:45 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
|
|