LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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: Slackware 14.1
Posts: 242

Rep: Reputation: 5
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: 344

Rep: Reputation: 106Reputation: 106
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
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,838
Blog Entries: 15

Rep: Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188
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: Slackware 14.1
Posts: 242

Original Poster
Rep: Reputation: 5
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
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,838
Blog Entries: 15

Rep: Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188
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, CentOS, OpenBSD, FreeBSD
Posts: 438

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


All times are GMT -5. The time now is 08:08 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration