LinuxQuestions.org

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

moob8 09-30-2006 10:04 AM

slackpkg upgrade-all fails
 
[edited for clarity]

slackpkg qpg works
slackpkg update works
slackpkg install-new works
slackpkg upgrade-all fails


Changing mirrors doesn't seem to help. Here is a short section snipped (thanks to that marvelous program "screen") from one "run" of slackpkg update-all:

Code:

    [  <=>                                                                                ] 2,071          5.97K/s

08:32:16 (5.95 KB/s) - `/var/cache/packages/.listing' saved [2071]

Removed `/var/cache/packages/.listing'.
Wrote HTML-ized index to `/var/cache/packages/index.html.6' [4707].
--08:32:16--  ftp://ftp-linux.cc.gatech.edu/pub/slackware/slackware-current/.asc
          => `/var/cache/packages/.asc'
Resolving ftp-linux.cc.gatech.edu... 128.61.111.11, 128.61.111.9, 128.61.111.10
Connecting to ftp-linux.cc.gatech.edu[128.61.111.11]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/slackware/slackware-current ... done.
==> PASV ... done.    ==> RETR .asc ...
No such file `.asc'.

md5sum: /var/cache/packages/3.: No such file or directory
        ERROR - Package not installed! gpg error!

Package: Use
        Downloading Use...
--08:32:19--  ftp://ftp-linux.cc.gatech.edu/pub/slackware/slackware-current/
          => `/var/cache/packages/.listing'
Resolving ftp-linux.cc.gatech.edu... 128.61.111.10, 128.61.111.11, 128.61.111.9
Connecting to ftp-linux.cc.gatech.edu[128.61.111.10]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/slackware/slackware-current ... done.
==> PASV ... done.    ==> LIST ... done.

    [  <=>                                                                                ] 2,071          6.34K/s

08:32:22 (6.32 KB/s) - `/var/cache/packages/.listing' saved [2071]

Removed `/var/cache/packages/.listing'.
Wrote HTML-ized index to `/var/cache/packages/index.html.7' [4707].

I suspect that there is not supposed to be a file named just ".asc". Presumably somehow slackpkg is failing to figure out correct filenames/URLs.

How do I fix this?

dive 10-01-2006 04:46 AM

Strange. What slackpkg version do you have? Have you tried the latest in current?

Here's a snippet of one package upgrading:

Code:

Package: pango-1.12.4-i486-1.tgz
        Downloading pango-1.12.4-i486-1.tgz...
--09:41:59--  http://ftp.belnet.be/packages/slackware/slackware-current/slackware/l/pango-1.12.4-i486-1.tgz
          => `/var/cache/packages/pango-1.12.4-i486-1.tgz'
Resolving ftp.belnet.be... 193.190.198.20, 2001:6a8:3c80:0:203:baff:fe39:f931
Connecting to ftp.belnet.be|193.190.198.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 542,410 (530K) [application/x-gzip]

100%[================================================================>] 542,410      250.80K/s

09:42:01 (250.03 KB/s) - `/var/cache/packages/pango-1.12.4-i486-1.tgz' saved [542410/542410]

--09:42:01--  http://ftp.belnet.be/packages/slackware/slackware-current/slackware/l/pango-1.12.4-i486-1.tgz.asc
          => `/var/cache/packages/pango-1.12.4-i486-1.tgz.asc'
Resolving ftp.belnet.be... 193.190.198.20, 2001:6a8:3c80:0:203:baff:fe39:f931
Connecting to ftp.belnet.be|193.190.198.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 189 [text/plain]

100%[================================================================>] 189          --.--K/s

09:42:01 (16.39 MB/s) - `/var/cache/packages/pango-1.12.4-i486-1.tgz.asc' saved [189/189]

        Upgrading pango-1.12.4-i486-1...

It does save a .asc for each package but in yours there is no file name just an ext. I'm wondering if you have a corrupt /var/cache/packages/


All times are GMT -5. The time now is 03:02 PM.