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.
|
 |
11-08-2013, 03:12 PM
|
#1
|
Member
Registered: Apr 2011
Distribution: slackware64-current
Posts: 563
Rep:
|
sourceforge as slapt-get mirror?
How could I use sourceforge as a slapt-get mirror?
SourceForge has Slackware packages for WINE here:
http://sourceforge.net/projects/wine...re%20Packages/
I would like slapt-get or slackpkg to get its recent WINE packages from there.
thanks
|
|
|
11-08-2013, 04:23 PM
|
#2
|
Member
Registered: Feb 2007
Posts: 380
Rep: 
|
You can't. You need a location with repository information that slapt-get can use and that's not one. You just download the package and install it with installpkg.
|
|
|
11-08-2013, 04:59 PM
|
#3
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Sourceforge uses redirects to mirrors. Wget can negotiate them, but not slapt-get.
|
|
|
11-09-2013, 11:45 AM
|
#4
|
Member
Registered: Apr 2011
Distribution: slackware64-current
Posts: 563
Original Poster
Rep:
|
Quote:
Originally Posted by ReaperX7
Sourceforge uses redirects to mirrors.
|
Couldn't I just make my own mirror? How would I do that?
|
|
|
11-09-2013, 05:36 PM
|
#5
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Mirror redirects create a different connection. Because slapt-get works with direct archives on FTP style services and HTTP file servers, it can not negotiate multiple relinks.
|
|
|
11-09-2013, 07:17 PM
|
#6
|
Member
Registered: Mar 2012
Distribution: Slackware, Alma, OpenBSD, FreeBSD
Posts: 563
Rep: 
|
Geremia,
slapt-get reads the PACKAGES.TXT file for package information (which is also what it reads for a package's dependencies). Simply put, sourceforge.net does not provide this file to tell where a package's files (or it's dependencies) are.
You can create your own mirror, but that requires some work that is usually scripted. For example, in order to add a package's dependency information into the PACKAGES.TXT when you decide to put in a new package, the slapt-get documentation asks that you use a "slack-required" text file included with the package in the $BUILD_ROOT/install directory with a list of required packages that can be scripted to be added into PACKAGES.TXT.
In addition to that, you would probably want some meta files and other such tings. I think Alien Bob might have a script to assist in creating mirrors (or it was a different Slackware developer) to help with most of this stuff.
|
|
|
All times are GMT -5. The time now is 10:16 AM.
|
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
|
|