Re: package installation problem
Posted: 12. Oct 2010, 17:54
Can you please try downloading the problematic packages with wget and curl and verify if they download the files properly. Also post the output of both.
Code: Select all
root[mscott]# curl -O http://ftp.gwdg.de/pub/linux/slackware/slackware64-13.1/slackware64/xap/gkrellm-2.3.4-x86_64-1.txz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 512k 100 512k 0 0 61135 0 0:00:08 0:00:08 --:--:-- 58974
.....................
root[mscott]# wget http://ftp.gwdg.de/pub/linux/slackware/slackware64-13.1/slackware64/xap/gkrellm-2.3.4-x86_64-1.txz
--2010-10-12 20:25:15-- http://ftp.gwdg.de/pub/linux/slackware/slackware64-13.1/slackware64/xap/gkrellm-2.3.4-x86_64-1.txz
Resolving ftp.gwdg.de (ftp.gwdg.de)... 134.76.12.3
Connecting to ftp.gwdg.de (ftp.gwdg.de)|134.76.12.3|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 524820 (513K) [text/plain]
Saving to: `gkrellm-2.3.4-x86_64-1.txz'
100%[========================================================>] 524,820 73.9K/s in 8.6s
2010-10-12 20:25:24 (59.8 KB/s) - `gkrellm-2.3.4-x86_64-1.txz' saved [524820/524820]
.......................
root[mscott]# wget http://ftp.gwdg.de/pub/linux/slackware/slackware64-13.1/slackware64/l/phonon-4.4.1-x86_64-1.txz
--2010-10-12 20:31:31-- http://ftp.gwdg.de/pub/linux/slackware/slackware64-13.1/slackware64/l/phonon-4.4.1-x86_64-1.txz
Resolving ftp.gwdg.de (ftp.gwdg.de)... 134.76.12.3
Connecting to ftp.gwdg.de (ftp.gwdg.de)|134.76.12.3|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 345140 (337K) [text/plain]
Saving to: `phonon-4.4.1-x86_64-1.txz'
100%[========================================================>] 345,140 65.1K/s in 5.3s
2010-10-12 20:31:37 (63.1 KB/s) - `phonon-4.4.1-x86_64-1.txz' saved [345140/345140]
...................
root[mscott]# curl -O http://ftp.gwdg.de/pub/linux/slackware/slackware64-13.1/slackware64/l/phonon-4.4.1-x86_64-1.txz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 337k 100 337k 0 0 78097 0 0:00:04 0:00:04 --:--:-- 82411
Code: Select all
root[mscott]# slapt-get -i gkrellm
Reading Package Lists... Done
The following NEW packages will be installed:
lm_sensors gkrellm
0 upgraded, 0 reinstalled, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.0kB/652.0kB of archives.
After unpacking 2.5MB of additional disk space will be used.
2/2 Get http://ftp.gwdg.de/pub/linux/slackware/slackware64-13.1/ gkrellm 2.3.4-x86_64-1 [8.0kB]...Done
Failed to download: MD5 checksum mismatch, override with --no-md5
root[mscott]# slapt-get -i --no-md5 gkrellm
Reading Package Lists... Done
The following NEW packages will be installed:
lm_sensors gkrellm
0 upgraded, 0 reinstalled, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.0kB/652.0kB of archives.
After unpacking 2.5MB of additional disk space will be used.
Preparing to install lm_sensors-3.1.2-x86_64-1
Installing package lm_sensors-3.1.2-x86_64-1...
| lm_sensors (hardware monitoring package)
|
| lm_sensors provides tools for monitoring the temperatures, voltages,
| and fans of Linux systems with hardware monitoring devices. Included
| are text-based tools for sensor reporting, and a library for sensors
| access called libsensors. It also contains tools for sensor hardware
| identification and I2C bus probing.
|
| IMPORTANT NOTE: If you have a Thinkpad, please read the warnings in
| the README.thinkpad file. lm_sensors has been known to cause damage
| to some Thinkpads.
|
|
Preparing to install gkrellm-2.3.4-x86_64-1
Installing package gkrellm-2.3.4-x86_64-1...
xzdec: /var/slapt-get/./slackware64/xap/gkrellm-2.3.4-x86_64-1.txz: File format not recognized
ERROR: [block:-1] corrupted tgz archive (early EOF)
ERROR: error thrown
ERROR: Package file is corrupted. (/var/slapt-get/./slackware64/xap/gkrellm-2.3.4-x86_64-1.txz)
ERROR: Package installation failed!
Failed to execute command: [/sbin/installpkg /var/slapt-get/./slackware64/xap/gkrellm-2.3.4-x86_64-1.txz]
Try opening such a broken download with a text editor (e.g. geany <file>). As the files appear to always have the same, small size, I assume you might be downloading a (html) error page instead of the actual file.Shador wrote:Another idea: Did you ever look at the content of the file? Can you upload it to pastie.org or similar unless it's binary.