apt-get errors stumped
Hey, I'm still a pretty decent newb and I cant seem to figure out how to fix my apt-get problems. Apparently "frozen-bubble-data" is in a very "unstable" state and I have to reinstall it, but it wont allow me to or to remove it. When I try to reinstall it:
root@StrangeBox:/home/StrangeBiscuit# dpkg --force-all --install /var/cache/apt/archives/frozen-bubble-data_1.0.0-4_all.deb (Reading database ... 128009 files and directories currently installed.) Preparing to replace frozen-bubble-data 1.0.0-4 (using .../frozen-bubble-data_1.0.0-4_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-4_all.deb (--install): 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 Errors were encountered while processing: /var/cache/apt/archives/frozen-bubble-data_1.0.0-4_all.deb root@StrangeBox:/home/StrangeBiscuit# If i try to remove it: root@StrangeBox:/home/StrangeBiscuit# apt-get -f remove frozen-bubble-data Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: frozen-bubble-data 0 upgraded, 0 newly installed, 1 to remove and 37 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 5747kB disk space will be freed. Do you want to continue? [Y/n] y dpkg: error processing frozen-bubble-data (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. Errors were encountered while processing: frozen-bubble-data E: Sub-process /usr/bin/dpkg returned an error code (1) I know there is a simple solution, but I just cant stumble across it. Help would really be appreciated. Thanks very much!! |
apt-get --reinstall install <package>
check the APT-HOWTO in debian.org documentation. |
thanks so much!! I should have checked the HOW-TO to begin with. thanks again for your help. its refreshing to know there are web-communities like this one where someone can still get real help with their problems and not just get totally flamed.
|
Doesn't work for me. This problem is driving me nuts. I can't install programs with synaptic at the moment.
Below my results. root@boekiewookie:/home/ppp# apt-get --reinstall install frozen-bubble-data Reading Package Lists... Done Building Dependency Tree... Done Recommended packages: frozen-bubble The following packages will be upgraded: frozen-bubble-data 1 upgraded, 0 newly installed, 0 to remove and 33 not upgraded. 22 not fully installed or removed. Need to get 0B/5155kB of archives. After unpacking 1649kB of additional disk space will be used. Selecting previously deselected package frozen-bubble-data. (Reading database ... 125700 files and directories currently installed.) Preparing to replace frozen-bubble-data 1.0.0-4 (using .../frozen-bubble-data_1.0.0-4_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-4_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 Errors were encountered while processing: /var/cache/apt/archives/frozen-bubble-data_1.0.0-4_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Thanks in advance. |
Exact same issue as above post, regarding frozen-bubble.
root@sigs:/home/e1# apt-get --reinstall install frozen-bubble-data Reading Package Lists... Done Building Dependency Tree... Done The following packages will be upgraded: frozen-bubble-data 1 upgraded, 0 newly installed, 0 to remove and 13 not upgraded. 58 not fully installed or removed. Need to get 0B/5155kB of archives. After unpacking 1649kB of additional disk space will be used. (Reading database ... 83600 files and directories currently installed.) Preparing to replace frozen-bubble-data 1.0.0-4 (using .../frozen-bubble-data_1.0.0-4_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-4_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 Errors were encountered while processing: /var/cache/apt/archives/frozen-bubble-data_1.0.0-4_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) |
I had the same problem. I solved it by creating the file the script tries to move.
Code:
cat /dev/null >/usr/games/frozen-bubble.wav |
All times are GMT -5. The time now is 03:35 AM. |