Results 1 to 5 of 5

Thread: help me diagnose an apt error

  1. #1
    Member registered user
    Join Date
    Sep 2004
    Location
    Austin
    Posts
    70

    help me diagnose an apt error

    Did an apt-upgrade and now everytime I transact with apt-get, I receive the following complaint at the end of every transaction. Would someone help me get rid of it?

    thanx

    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 xjewel.
    Unpacking xjewel (from .../xjewel_1.6-19_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)
    root@helios:/home/helios# exit
    exit
    helios@helios:~$

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    mv: cannot stat `/usr/games/frozen-bubble.wav': No such file or directory
    This problems is to to an error in the debian frozen bubble package. The error message means that it can't find that file. To get around that problem you need to create that file so the system can update/remove it. Use the following command to create it.
    Code:
    touch /usr/games/frozen-bubble.wav
    Then rerun apt-get update and you will notice that it is successful.
    I hope this helps.
    James

  3. #3
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981

    Re: help me diagnose an apt error

    Quote Originally Posted by helios17
    Did an apt-upgrade.....
    I'm sure you have seen some of the dire warnings about upgrading Knoppix. Let us know how it works out.
    A word of advice..when it asks do you want to keep your original confirmation settings or upgrade to the package maintainer's version, keep your own if you want to recognize your system afterward.

  4. #4
    Member registered user
    Join Date
    Sep 2004
    Location
    Austin
    Posts
    70

    that didnt work...

    Here is the output from bash after following your instructions. Im lost.


    The following packages will be upgraded:
    frozen-bubble-data
    1 upgraded, 0 newly installed, 0 to remove and 104 not upgraded.
    12 not fully installed or removed.
    Need to get 0B/5155kB of archives.
    After unpacking 1651kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    (Reading database ... 128880 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 ...
    Removing `diversion of /usr/games/frozen-bubble to /usr/games/frozen-bubble.distrib by frozen-bubble-data'
    dpkg-divert: rename involves overwriting `/usr/games/frozen-bubble' with
    different file `/usr/games/frozen-bubble.distrib', not allowed
    dpkg: warning - old post-removal script returned error exit status 2
    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
    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)
    root@helios:/home/helios#

  5. #5
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981

    Re: that didnt work...

    Quote Originally Posted by helios17
    Here is the output from bash after following your instructions. Im lost.


    The following packages will be upgraded:
    frozen-bubble-data
    1 upgraded, 0 newly installed, 0 to remove and 104 not upgraded.
    12 not fully installed or removed.
    Need to get 0B/5155kB of archives.
    After unpacking 1651kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    (Reading database ... 128880 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 ...
    Removing `diversion of /usr/games/frozen-bubble to /usr/games/frozen-bubble.distrib by frozen-bubble-data'
    dpkg-divert: rename involves overwriting `/usr/games/frozen-bubble' with
    different file `/usr/games/frozen-bubble.distrib', not allowed
    dpkg: warning - old post-removal script returned error exit status 2
    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
    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)
    root@helios:/home/helios#
    Try apt-get -f install or apt-get -f remove frozen*. Or try dpkg -P frozen-bubble instead of apt. Check man dpkg for 'force' options, I think there may be an 'ignore-missing' type option.

    Another possiblity if apt is still working (ie can you apt-get something else...apt will not continue if there is an error condition, it will just refuse to do anything else) first check /var/cache/apt (I think thats the correct path, Im not in Linux right now) & see if there is a frozen-bubble package there. If so, delete it then do apt-get install frozen-bubble to make it download & install a new package which it should then be able to correctly remove.

Similar Threads

  1. ERROR" Error while trying to run xvier
    By explorer in forum Klik
    Replies: 0
    Last Post: 12-22-2005, 12:16 PM
  2. Hard disk problems, what utils should I use to diagnose-ext3
    By Tim_Neobard in forum General Support
    Replies: 1
    Last Post: 07-10-2004, 03:47 PM
  3. Xine error after doing a Upgrade, error posted. (resolved)
    By Cuddles in forum Hdd Install / Debian / Apt
    Replies: 17
    Last Post: 01-20-2004, 04:30 PM
  4. mkisofs error: end request: I/O error, dev 02:00 (floppy...
    By labrador in forum Customising & Remastering
    Replies: 0
    Last Post: 07-18-2003, 01:54 AM
  5. Partition-error (Table written but error while reading!!!)
    By Mad_Max_FX in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-22-2003, 03:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Cordless Wireless Air Blower Handheld Vacuum Cleaner Strong Suction Car Home picture

Cordless Wireless Air Blower Handheld Vacuum Cleaner Strong Suction Car Home

$24.98



Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home picture

Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home

$9.97



Compressed Air Duster with Air Blower 100000RPM Vacuum Cleaner and Air Duster picture

Compressed Air Duster with Air Blower 100000RPM Vacuum Cleaner and Air Duster

$38.99



Electric Mini Air Duster Blower Vacuum Cleaner for PC Computer Laptop Dust picture

Electric Mini Air Duster Blower Vacuum Cleaner for PC Computer Laptop Dust

$30.95



Mini USB Keyboard Vacuum Cleaner PC Laptop Computer Brush Dust Cleaning Kit picture

Mini USB Keyboard Vacuum Cleaner PC Laptop Computer Brush Dust Cleaning Kit

$2.99



100000RPM Cordless Air Duster Blower Compressed Computer Cleaning Vacuum Cleaner picture

100000RPM Cordless Air Duster Blower Compressed Computer Cleaning Vacuum Cleaner

$28.98



Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit US picture

Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit US

$13.68



New Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit picture

New Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit

$15.09



Cordless Compressed Air Duster Vacumm picture

Cordless Compressed Air Duster Vacumm

$76.41



Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home picture

Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home

$9.99