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
  •  


Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151 picture

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151

$79.99



READ AMD Ryzen 7 5700 8-Core Socket AM4 CPU 3.7GHz 100-000000743 Processor 5500  picture

READ AMD Ryzen 7 5700 8-Core Socket AM4 CPU 3.7GHz 100-000000743 Processor 5500

$119.95



Intel Core i5-14500 SRN3T 2.6GHz 14-Core 24 MB Cache Desktop CPU Processor picture

Intel Core i5-14500 SRN3T 2.6GHz 14-Core 24 MB Cache Desktop CPU Processor

$180.00



INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR picture

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR

$23.00



AMD Ryzen 5 5600X Desktop Processor (3.7GHz, 6 Cores, AM4 CPU) 100-100000065 picture

AMD Ryzen 5 5600X Desktop Processor (3.7GHz, 6 Cores, AM4 CPU) 100-100000065

$135.00



Intel Core i7-8700 SR3QS 6-Core 3.2GHz LGA 1151 CPU Processor picture

Intel Core i7-8700 SR3QS 6-Core 3.2GHz LGA 1151 CPU Processor

$67.99



Intel Core i7-9700 3.00 GHz LGA 1151 Desktop CPU Processor SRG13 picture

Intel Core i7-9700 3.00 GHz LGA 1151 Desktop CPU Processor SRG13

$79.99



Intel Core i7-7700 3.6 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR338 picture

Intel Core i7-7700 3.6 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR338

$39.50



INTEL CORE I5-11600 2.80GHZ PROCESSOR | SRKNW picture

INTEL CORE I5-11600 2.80GHZ PROCESSOR | SRKNW

$109.99



Genuine Dell Alienware Aurora R8 R9 R10 R11 R12 Liquid CPU Cooler MH0HN 0MH0HN picture

Genuine Dell Alienware Aurora R8 R9 R10 R11 R12 Liquid CPU Cooler MH0HN 0MH0HN

$21.80