[Primipassi] pronlema con dpkg
Simone Cicali
mylinux@oxigen.us
Mar 8 Giu 2004 17:09:50 CEST
Ciao,
ho una debian unstable su cui recentemente ho fatto un dist-upgrade,
adesso ho un errore sul pacchetto telnet.
Non ne vuole sapere nè di rimuoversi ne di installarsi correttamente; ho
provato a fare anche il downgrade a una versione precedente che avevo in
cache, ma niente.
Questo è l'errore che mi dà:
# apt-get install telnet
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded:
telnet
1 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
1 not fully installed or removed.
Need to get 0B/63.9kB of archives.
After unpacking 0B of additional disk space will be used.
Selecting previously deselected package telnet.
(Reading database ... 29246 files and directories currently installed.)
Preparing to replace telnet 0.17-21 (using .../telnet_0.17-24_i386.deb)
... Unpacking replacement telnet ...
dpkg (subprocess): unable to execute old post-removal script: Exec format
error
dpkg: warning - old post-removal script returned error exit status 2 dpkg
- trying script from the new package instead ...
dpkg: ... it looks like that went OK.
dpkg: error processing /var/cache/apt/archives/telnet_0.17-24_i386.deb
(--unpack):
unable to install (supposed) new info file
`/var/lib/dpkg/tmp.ci/postinst': Is a directory
Errors were encountered while processing:
/var/cache/apt/archives/telnet_0.17-24_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
se lo rimuovo:
# apt-get remove telnet
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
telnet
0 upgraded, 0 newly installed, 1 to remove and 27 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 188kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 29255 files and directories currently installed.)
Removing telnet ...
dpkg (subprocess): unable to execute post-removal script: Exec format
error dpkg: error processing telnet (--remove):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
telnet
E: Sub-process /usr/bin/dpkg returned an error code (1)
Grazie per l'aiuto,
Simone Cicali
Maggiori informazioni sulla lista
primipassi