LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   slackpkg update error (http://www.linuxquestions.org/questions/slackware-14/slackpkg-update-error-755360/)

cola 09-15-2009 10:17 AM

slackpkg update error
 
Code:

Slackpkg only works with ONE mirror selected.  Please edit your
/etc/slackpkg/mirrors and comment all but one line - two or more
mirrors uncommented is not valid syntax.

vi /etc/slackpkg/mirrors
Code:

lackware Linux mirrors.
#
# SlackPkg - An Automated packaging tool for Slackware Linux
# Copyright (C) 2003,2004,2005,2006,2007 Roberto F. Batista, Evaldo Gardenali
#
#
#----------------------------------------------------------------
# Slackware 12.1
#----------------------------------------------------------------
#Australia, 155Mbit
#http://ftp.planetmirror.com/pub/slackware/slackware-12.1/
#ftp://ftp.planetmirror.com/pub/slackware/slackware-12.1/
#Australia, 250Mbit
#http://mirror.pacific.net.au/linux/slackware/slackware-12.1/
#ftp://mirror.pacific.net.au/linux/slackware/slackware-12.1/
#Australia, 45mbit, 100Mbit
#ftp://mirror.veridas.net/pub/slackware/slackware-12.1/


quanta 09-15-2009 10:24 AM

Do you understand that message:
Quote:

Slackpkg only works with ONE mirror selected. Please edit your
/etc/slackpkg/mirrors and comment all but one line - two or more
mirrors uncommented is not valid syntax.
Uncomment only one mirror and try again.

cola 09-15-2009 10:33 AM

Quote:

Originally Posted by quanta (Post 3683727)
Do you understand that message:

Uncomment only one mirror and try again.

I also tried that.
Same result.
Code:

Slackpkg only works with ONE mirror selected.  Please edit your
/etc/slackpkg/mirrors and comment all but one line - two or more
mirrors uncommented is not valid syntax.


cola 09-15-2009 10:34 AM

Oh,the problem was the first line in mirrors file.


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