LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackpkg mirror's (http://www.linuxquestions.org/questions/slackware-14/slackpkg-mirrors-400435/)

acidblue 01-06-2006 09:59 PM

Slackpkg mirror's
 
Slackpakg keeps giving me the 'You must setup one Mirror' error.
Damn it!! I have!! and only one mirror.
Do I have to do a reboot?? to take affect??

Poetics 01-06-2006 10:09 PM

My only recommendation is to take a very good look at your file and make sure the server list is still valid, or try pointing to another mirror. Take a close look and make sure you do only have mirror selected.

No reboot should be necessary; the program calls the config file every time you run it.

detpenguin 01-06-2006 10:15 PM

also, are you editing the mirror as root? silly question maybe, but we've all made that mistake...

acidblue 01-06-2006 10:37 PM

I modified my file so only a few mirrors are listed and only one is uncommented.
I still get the "no mirror's" error.
Yes I am root.
Here is my file:
#----------------------------------------------------------------
# Local CD drive
#----------------------------------------------------------------
#cdrom://mnt/cdrom/

#----------------------------------------------------------------
# Slackware 10.2
#----------------------------------------------------------------



#ftp://distro.ibiblio.org/pub/linux/d...lackware-10.2/
#USA,
ftp://ftp-linux.cc.gatech.edu/pub/sl...lackware-10.2/
#USA, 100Mbit
#ftp://ftp.ale.org/pub/mirrors/slackware/slackware-10.2/
#USA, 2xT3
#ftp://ftp.cerias.purdue.edu/pub/os/s...lackware-10.2/
#USA, 100Mbit
#ftp://ftp.cs.stevens-tech.edu/pub/Li...lackware-10.2/
#USA, 1Gbit
#http://lmlinux.com/distros/slackware/slackware-10.2/
#USA, 100Mbit
http://mirror.mhvlug.org/slackware/slackware-10.2/
#USA, OC-48
#http://mirrors.usc.edu/pub/linux/dis...lackware-10.2/
#ftp://mirrors.usc.edu/pub/linux/dist...lackware-10.2/
#USA, 1Gbit
#http://slackware.cs.utah.edu/pub/sla...lackware-10.2/
#ftp://slackware.cs.utah.edu/pub/slac...lackware-10.2/
#USA, 1Mbit
#ftp://slackware.ext3networking.com/p...lackware-10.2/
#USA, GigE
#http://mirrors.easynews.com/linux/sl...lackware-10.2/
#USA, x-OC12
#http://slackware.mirrors.pair.com/slackware-10.2/
#ftp://slackware.mirrors.pair.com/slackware-10.2/
#USA, 1Gbit
#http://slackware.mirrors.tds.net/pub...lackware-10.2/
#ftp://slackware.mirrors.tds.net/pub/...lackware-10.2/
#USA, 10Mbit
#ftp://ftp.slackware.com/pub/slackware/slackware-10.2/
#USA, 45Mbit
#http://slackware.oregonstate.edu/pub...lackware-10.2/
#ftp://slackware.oregonstate.edu/pub/...lackware-10.2/

gilead 01-06-2006 10:39 PM

If you run the following, you should only get one line of output - your selected mirror:

Code:

grep -v '^#' /etc/slackpkg/mirrors | sed -e '/^ *$/d'
Could there be a mirror in the .conf file that shouldn't be there?

gilead 01-06-2006 10:42 PM

There are 2 uncommented mirrors here:


acidblue 01-06-2006 10:52 PM

Thanks guy's i got it workin' now.


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