LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Configure slackpkg to use local source (https://www.linuxquestions.org/questions/slackware-14/configure-slackpkg-to-use-local-source-604683/)

swampdog2002 12-05-2007 09:04 AM

Configure slackpkg to use local source
 
I have just installed slackpkg, and have downloaded the current updates from a Slackware 12 mirror. I have created a local folder in /usr/local/repository that mirrors the structure of the updates folder on the ftp mirror, and placed the files there. When I opened the configuration file for slackpkg, I noticed that there was an entry for a local CD drive, but not for a folder. I attempted to put in the following line:

/usr/local/repository/patches/packages

but slackpkg did not see this. Has anyone else gotten slackpkg to work with a local folder and, if so, what entry did you place in the configuration file for this to work. Thanks for any assistance.

By the way, the reason I am doing this is because my Slackware 12 machine is on dial-up (at home), and I can obtain the updates from another machine (at work) for off-line updating.

rworkman 12-05-2007 09:26 AM

Proper syntax is as follows:
Code:

cdrom://home/slackware/slackware-12.0/
In other words, use the "cdrom:/" syntax for any directory, not just an optical drive.

swampdog2002 12-05-2007 10:14 AM

I shall give that a try. Thanks.


All times are GMT -5. The time now is 01:26 AM.