Results 1 to 5 of 5

Thread: help me diagnose an apt error

Hybrid View

  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
  •  


HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS picture

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS

$199.00



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99



Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On picture

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On

$450.00



Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC picture

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC

$250.00



HP PROLIANT MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS picture

HP PROLIANT MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS

$164.97



New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G picture

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G

$449.99



Supermicro CSE-815-5 4B LFF Xeon E3-1245v6 16GB DDR4 1x 9361-8i 4x 1TB SATA HDD picture

Supermicro CSE-815-5 4B LFF Xeon E3-1245v6 16GB DDR4 1x 9361-8i 4x 1TB SATA HDD

$483.99



Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram  240gb SSD 2x GPU *READ* picture

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*

$369.99



Supermicro 505-2   Server picture

Supermicro 505-2 Server

$280.00



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99