LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-24-2004, 08:32 PM   #1
StrangeBiscuit
LQ Newbie
 
Registered: Apr 2004
Posts: 14

Rep: Reputation: 0
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!!
 
Old 05-24-2004, 10:09 PM   #2
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 52
apt-get --reinstall install <package>

check the APT-HOWTO in debian.org documentation.
 
Old 05-27-2004, 01:29 PM   #3
StrangeBiscuit
LQ Newbie
 
Registered: Apr 2004
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 06-03-2004, 04:33 PM   #4
TrippleP
LQ Newbie
 
Registered: Jun 2004
Distribution: Debian
Posts: 1

Rep: Reputation: 0
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.
 
Old 06-04-2004, 03:42 PM   #5
Enlightened
Member
 
Registered: Jun 2003
Location: US of A
Distribution: FC2
Posts: 40

Rep: Reputation: 15
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)
 
Old 06-15-2004, 10:50 AM   #6
gorkj
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Rep: Reputation: 0
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
That seems to have taken care of the problem. At least it is no longer impossible to remove the package.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get errors gvaught Debian 1 11-12-2005 11:13 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 01:28 PM
apt-get errors doctorwebbox Debian 2 02-05-2005 01:40 PM
apt-get errors sin-x Debian 8 12-22-2004 12:15 PM
APT Errors - I'm stumped netboy_541 Linux - Software 0 12-04-2004 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration