LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-08-2013, 03:12 PM   #1
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 563

Rep: Reputation: 53
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
 
Old 11-08-2013, 04:23 PM   #2
gapan
Member
 
Registered: Feb 2007
Posts: 380

Rep: Reputation: 163Reputation: 163
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.
 
Old 11-08-2013, 04:59 PM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118
Sourceforge uses redirects to mirrors. Wget can negotiate them, but not slapt-get.
 
Old 11-09-2013, 11:45 AM   #4
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 563

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by ReaperX7 View Post
Sourceforge uses redirects to mirrors.
Couldn't I just make my own mirror? How would I do that?
 
Old 11-09-2013, 05:36 PM   #5
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118
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.
 
Old 11-09-2013, 07:17 PM   #6
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, Alma, OpenBSD, FreeBSD
Posts: 563

Rep: Reputation: Disabled
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.
 
  


Reply

Tags
package management, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
sbopkg : trying to set a different mirror for sourceforge.net linuxs64 Slackware 3 06-12-2010 07:13 AM
Post your slapt-getrc for slapt-get/gslapt uppman Slackware 16 05-19-2009 09:03 AM
Can't download glui from sourceforge, need someone to mirror it if possible... POW R TOC H General 4 11-04-2008 11:41 AM
iptables - rc.firewall (Projectfiles/lfw.sourceforge.net) mirror of script ledow Linux - Security 3 11-06-2007 06:14 PM
/etc/slapt-getrc modification fails to influence slapt-get timsch75 Slackware 1 04-07-2004 09:48 AM

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

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