phenixia2003 |
04-19-2016 09:22 AM |
Hello,
As pointed out by CTM, one (or more) of your configuration files has Windows-style line endings.
The error messages indicate that the selected mirror in your /etc/slackpkg/mirrors ends with a Windows line endings :
Code:
$ unix2dos /etc/slackpkg/mirrors
unix2dos: converting file /etc/slackpkg/mirrors to DOS format...
$ slackpkg update gpg
Downloading ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64GPG-KEY...
--2016-04-19 16:17:53-- ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-14.1/%0DGPG-KEY
=> ‘/tmp/slackpkg.p8ObPa/gpgkey’
Resolving nephtys.lip6.fr (nephtys.lip6.fr)... 195.83.118.1
Connecting to nephtys.lip6.fr (nephtys.lip6.fr)|195.83.118.1|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/linux/distributions/slackware/slackware64-14.1 ... done.
==> SIZE \rGPG-KEY ... done.
==> PASV ... done. ==> RETR \rGPG-KEY ...
No such file ‘\rGPG-KEY’.
slackpkg update
Updating the package lists...
Downloading...
Downloading ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64ChangeLog.txt...
--2016-04-19 16:22:07-- ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-14.1/%0DChangeLog.txt
=> ‘/tmp/slackpkg.D0k1Wm/ChangeLog.txt’
Resolving nephtys.lip6.fr (nephtys.lip6.fr)... 195.83.118.1
Connecting to nephtys.lip6.fr (nephtys.lip6.fr)|195.83.118.1|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/linux/distributions/slackware/slackware64-14.1 ... done.
==> SIZE \rChangeLog.txt ... done.
==> PASV ... done. ==> RETR \rChangeLog.txt ...
No such file ‘\rChangeLog.txt’.
.rror downloading from ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-14.1/
Please, check your mirror and try again.
If you run the following command :
Code:
$ dos2unix /etc/slackpkg/mirrors
dos2unix: converting file /etc/slackpkg/mirrors to Unix format...
slackpkg should work as expected:
Code:
slackpkg update gpg
Downloading ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-14.1/GPG-KEY...
--2016-04-19 16:19:27-- ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-14.1/GPG-KEY
=> ‘/tmp/slackpkg.HVluoY/gpgkey’
Resolving nephtys.lip6.fr (nephtys.lip6.fr)... 195.83.118.1
Connecting to nephtys.lip6.fr (nephtys.lip6.fr)|195.83.118.1|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/linux/distributions/slackware/slackware64-14.1 ... done.
==> SIZE GPG-KEY ... 1572
==> PASV ... done. ==> RETR GPG-KEY ... done.
Length: 1572 (1.5K) (unauthoritative)
100%[=============================================================>] 1,572 --.-K/s in 0.001s
2016-04-19 16:19:27 (2.38 MB/s) - ‘/tmp/slackpkg.HVluoY/gpgkey’ saved [1572]
Slackware Linux Project's GPG key added
$ slackpkg update
Updating the package lists...
Downloading...
Downloading ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-14.1/ChangeLog.txt...
--2016-04-19 16:22:37-- ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-14.1/ChangeLog.txt
=> ‘/tmp/slackpkg.x6NV8a/ChangeLog.txt’
Resolving nephtys.lip6.fr (nephtys.lip6.fr)... 195.83.118.1
Connecting to nephtys.lip6.fr (nephtys.lip6.fr)|195.83.118.1|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/linux/distributions/slackware/slackware64-14.1 ... done.
==> SIZE ChangeLog.txt ... 335640
==> PASV ... done. ==> RETR ChangeLog.txt ... done.
Length: 335640 (328K) (unauthoritative)
...
You can also do that with /etc/slackpkg/slackpkg.conf if needed :
Code:
$ dos2unix /etc/slackpkg/slackpkg.conf
dos2unix: converting file /etc/slackpkg/slackpkg.conf to Unix format...
--
SeB
|