LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack Search this Thread
Old 11-08-2013, 02:12 PM   #1
Geremia
Member
 
Registered: Apr 2011
Distribution: Slackware 14.1
Posts: 174

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, 03:23 PM   #2
gapan
Member
 
Registered: Feb 2007
Posts: 342

Rep: Reputation: 105Reputation: 105
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, 03:59 PM   #3
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,427
Blog Entries: 14

Rep: Reputation: 590Reputation: 590Reputation: 590Reputation: 590Reputation: 590Reputation: 590
Sourceforge uses redirects to mirrors. Wget can negotiate them, but not slapt-get.
 
Old 11-09-2013, 10:45 AM   #4
Geremia
Member
 
Registered: Apr 2011
Distribution: Slackware 14.1
Posts: 174

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, 04:36 PM   #5
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,427
Blog Entries: 14

Rep: Reputation: 590Reputation: 590Reputation: 590Reputation: 590Reputation: 590Reputation: 590
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, 06:17 PM   #6
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 420

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


All times are GMT -5. The time now is 12:10 AM.

Main Menu
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