PDA

View Full Version : How can i fix this (apt error)???



Sago7
08-06-2004, 12:22 AM
I can't remove frozen-bubble-data, because i get this error...

And when i try to remove or install another package its always the same message..

apt-get install ettercap
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
ettercap-common frozen-bubble-data libltdl3 libnet1 libpcap0.8
Recommended packages:
frozen-bubble
The following NEW packages will be installed:
ettercap ettercap-common libltdl3 libnet1 libpcap0.8
The following packages will be upgraded:
frozen-bubble-data
1 upgraded, 5 newly installed, 0 to remove and 404 not upgraded.
5 not fully installed or removed.
Need to get 727kB/5882kB of archives.
After unpacking 3744kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.cl.debian.org unstable/main libltdl3 1.5.6-2 [152kB]
Get:2 http://ftp.cl.debian.org unstable/main libnet1 1.1.2.1-1 [50.4kB]
Get:3 http://ftp.cl.debian.org unstable/main libpcap0.8 0.8.3-4 [81.7kB]
Get:4 http://ftp.cl.debian.org unstable/main ettercap-common 1:0.7.0-1 [271kB]
Get:5 http://ftp.cl.debian.org unstable/main ettercap 1:0.7.0-1 [172kB]
Fetched 727kB in 43s (16.7kB/s)
(Reading database ... 39473 files and directories currently installed.)
Preparing to replace frozen-bubble-data 1.0.0-4 (using .../frozen-bubble-data_1.0.0-6_all.deb) ...
Unpacking replacement frozen-bubble-data ...
mv: cannot stat `/usr/games/frozen-bubble.wav': No such file or directory
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: error processing /var/cache/apt/archives/frozen-bubble-data_1.0.0-6_all.deb (--unpack):
there is no script in the new version of the package - giving up
preinst called with unknown argument `abort-upgrade'
dpkg: error while cleaning up:
subprocess pre-installation script returned error exit status 1
Selecting previously deselected package libltdl3.
Unpacking libltdl3 (from .../libltdl3_1.5.6-2_i386.deb) ...
Selecting previously deselected package libnet1.
Unpacking libnet1 (from .../libnet1_1.1.2.1-1_i386.deb) ...
Selecting previously deselected package libpcap0.8.
Unpacking libpcap0.8 (from .../libpcap0.8_0.8.3-4_i386.deb) ...
Selecting previously deselected package ettercap-common.
Unpacking ettercap-common (from .../ettercap-common_1%3a0.7.0-1_i386.deb) ...
Selecting previously deselected package ettercap.Unpacking ettercap (from .../ettercap_1%3a0.7.0-1_i386.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/frozen-bubble-data_1.0.0-6_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Sago7
08-06-2004, 12:54 AM
Solved!!!!

I solved it by creating the file the script tries to move.
/usr/games/frozen-bubble.wav

and it works :p