Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Crash during install of packages.. lots of problems now

  1. #1
    Join Date
    May 2009
    Beans
    6

    Exclamation Crash during install of packages.. lots of problems now

    I was attempting to install the "ugly" codecs with synaptic on Jaunty (fresh install) and midway through everything froze solid. Nothing worked, no mouse, no ctrl+alt+backspace, nothing. Had to do a hard shut down.

    When I rebooted and tried installing something else, it told me to issue a command to fix the problem (sudo dpkg --configure -a). I did it, it didn't fix the problem. Tried removing a package and got this:
    4 not fully installed or removed.
    After this operation, 614kB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 109310 files and directories currently installed.)
    Removing liba52-0.7.4 ...
    dpkg (subprocess): unable to execute post-removal script: Exec format error
    dpkg: error processing liba52-0.7.4 (--remove):
    subprocess post-removal script returned error exit status 2
    Removing libdvdread4 ...
    dpkg (subprocess): unable to execute post-removal script: Exec format error
    dpkg: error processing libdvdread4 (--remove):
    subprocess post-removal script returned error exit status 2
    Removing libid3tag0 ...
    dpkg (subprocess): unable to execute post-removal script: Exec format error
    dpkg: error processing libid3tag0 (--remove):
    subprocess post-removal script returned error exit status 2
    Removing libmad0 ...
    dpkg (subprocess): unable to execute post-removal script: Exec format error
    dpkg: error processing libmad0 (--remove):
    subprocess post-removal script returned error exit status 2
    No apport report written because MaxReports is reached already
    Errors were encountered while processing:
    liba52-0.7.4
    libdvdread4
    libid3tag0
    libmad0
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    So far I cleaned the cache, tried "apt-get --purge remove liba52-0.7.4 libdvdread4 libid3tag0 libmad0" tried autoremoving them, tried everything I could think of and still same error. At this time I cant install or uninstall anything.

  2. #2
    Join Date
    May 2007
    Beans
    1,091

    Re: Crash during install of packages.. lots of problems now

    does running
    Code:
    sudo apt-get -f install
    help any?

  3. #3
    Join Date
    May 2009
    Beans
    6

    Re: Crash during install of packages.. lots of problems now

    Quote Originally Posted by adult swim View Post
    does running
    Code:
    sudo apt-get -f install
    help any?
    No it doesn't.

    The following packages will be REMOVED:
    liba52-0.7.4 libdvdread4 libid3tag0 libmad0
    0 upgraded, 0 newly installed, 4 to remove and 9 not upgraded.
    4 not fully installed or removed.
    After this operation, 614kB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 109310 files and directories currently installed.)
    Removing liba52-0.7.4 ...
    dpkg (subprocess): unable to execute post-removal script: Exec format error
    dpkg: error processing liba52-0.7.4 (--remove):
    subprocess post-removal script returned error exit status 2
    Removing libdvdread4 ...
    dpkg (subprocess): unable to execute post-removal script: Exec format error
    dpkg: error processing libdvdread4 (--remove):
    subprocess post-removal script returned error exit status 2
    Removing libid3tag0 ...
    dpkg (subprocess): unable to execute post-removal script: Exec format error
    dpkg: error processing libid3tag0 (--remove):
    subprocess post-removal script returned error exit status 2
    Removing libmad0 ...
    dpkg (subprocess): unable to execute post-removal script: Exec format error
    dpkg: error processing libmad0 (--remove):
    subprocess post-removal script returned error exit status 2
    No apport report written because MaxReports is reached already
    Errors were encountered while processing:
    liba52-0.7.4
    libdvdread4
    libid3tag0
    libmad0
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  4. #4
    Join Date
    May 2009
    Beans
    6

    Re: Crash during install of packages.. lots of problems now

    I'm thinking this is a bug as I've seen other posts with similar issue, same error (maybe diff packages) and no fixes. This needs to be corrected as I can't install/remove/upgrade anything.

  5. #5
    Join Date
    Sep 2008
    Beans
    2

    Re: Crash during install of packages.. lots of problems now

    appears that everyone with Jaunty is having problems updating their core and restricted extras... would be helpful to be able to do so considering some of us aren't entirely proficient in re-installing things that we accidentally delete

  6. #6
    Join Date
    May 2009
    Beans
    6

    Re: Crash during install of packages.. lots of problems now

    I found a fix for my issue.. I will list it here.

    Open terminal and:
    cd /var/lib/dpkg/info

    I then issue:
    rm packagename.post*
    where packagename is the package I'm having issues with (in my case the scripts were empty which caused the errors).

    Then I used this:
    apt-get --purge remove packagename
    where packagename is the package name I'm having issues with.

    Doing that fixed my issue and now everything works.

  7. #7
    Join Date
    Jun 2009
    Beans
    1
    Distro
    Ubuntu

    Smile Re: Crash during install of packages.. lots of problems now

    Quote Originally Posted by MarkReaves View Post
    I found a fix for my issue.. I will list it here.

    Open terminal and:
    cd /var/lib/dpkg/info

    I then issue:
    rm packagename.post*
    where packagename is the package I'm having issues with (in my case the scripts were empty which caused the errors).

    Then I used this:
    apt-get --purge remove packagename
    where packagename is the package name I'm having issues with.

    Doing that fixed my issue and now everything works.
    hey thanks Mark!
    it helps me lot when I trying to remove libgtk1.2

  8. #8
    Join Date
    Nov 2009
    Beans
    16

    Re: Crash during install of packages.. lots of problems now

    One hour later I found you!

    Thanks. Will post on my original Thread with the results.

    Quote Originally Posted by MarkReaves View Post
    I found a fix for my issue.. I will list it here.

    Open terminal and:
    cd /var/lib/dpkg/info

    I then issue:
    rm packagename.post*
    where packagename is the package I'm having issues with (in my case the scripts were empty which caused the errors).

    Then I used this:
    apt-get --purge remove packagename
    where packagename is the package name I'm having issues with.

    Doing that fixed my issue and now everything works.

  9. #9
    Join Date
    Sep 2007
    Location
    Nomadic
    Beans
    197
    Distro
    Ubuntu

    Re: Crash during install of packages.. lots of problems now

    Just found this thread and it worked for me on Jaunty also. Much appreciated.
    Love & joy - Callum

  10. #10
    Join Date
    Aug 2008
    Beans
    1

    Re: Crash during install of packages.. lots of problems now

    Thanks for this very good tip indeed!

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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