Results 1 to 9 of 9

Thread: can't remove package to reinstall

Hybrid View

  1. #1
    Join Date
    May 2012
    Beans
    21

    can't remove package to reinstall

    Any suggestions. Running 10.04. How can I have Ubuntu scan my HD to see if that's the problem.

    sudo apt-get install -f
    [sudo] password for ______ :
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following packages were automatically installed and are no longer required:
    java-common odbcinst libnss3-dev sun-java6-bin unixodbc odbcinst1debian1
    sun-java6-jre libnspr4-dev
    Use 'apt-get autoremove' to remove them.
    The following packages will be REMOVED:
    adobe-flashplugin
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 10.4MB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 221203 files and directories currently installed.)
    Removing adobe-flashplugin ...
    update-alternatives: error: no alternatives for iceape-flashplugin.
    update-alternatives: error: no alternatives for iceape-flashplugin.
    dpkg: error processing adobe-flashplugin (--remove):
    subprocess installed pre-removal script returned error exit status 2
    postinst called with argument `abort-remove'
    dpkg: error while cleaning up:
    subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
    adobe-flashplugin
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    Addendum: If I try to download and install Adobe flash player from the web, I'm told by my
    operating system that the Software Index is Broken and it's a major failure of my software
    management system.
    Last edited by etrexuser; May 5th, 2012 at 07:14 PM.

  2. #2
    Join Date
    May 2012
    Beans
    1

    Re: can't remove package to reinstall

    I had this problem and ended up fixing it by referencing http://blog.bodhizazen.net/linux/apt...oken-packages/. Basically something like the below seemed to remove it for me, and I can now install other packages and such:

    cd /var/lib/dpkg/info/
    sudo rm adobe-flashplugin.*
    sudo dpkg --remove --force-remove-reinstreq adobe-flashplugin
    sudo apt-get install -f
    sudo apt-get update

  3. #3
    Join Date
    Apr 2012
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: can't remove package to reinstall

    Had this a couple of times and used Bleachbit;

    http://bleachbit.sourceforge.net/

    ( In UBUNTU software center ). This fixed the problems.

    Regards...Trad

  4. #4
    Join Date
    May 2012
    Beans
    21

    Re: can't remove package to reinstall

    Quote Originally Posted by traditionalist View Post
    Had this a couple of times and used Bleachbit;

    http://bleachbit.sourceforge.net/

    ( In UBUNTU software center ). This fixed the problems.

    Regards...Trad

    I downloaded Bleachbit. Exactly what did you do with the program from there, delete flash cache and cookies?

  5. #5
    Join Date
    Apr 2012
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: can't remove package to reinstall

    Yes. I deleted everything the program showed except for where it warned me that things might be slow or experimental;

    I did this in both "root" and "normal". After that I had no more problems with the flash plugin. I have no idea why it worked.




    Regards....Trad

  6. #6
    Join Date
    Jan 2008
    Location
    Nanjing, China
    Beans
    97
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: can't remove package to reinstall

    A failed flash update borked flash for Youtube. I can see flash movies off my hard drive but Youtube doesn't work anymore. Basically I'm computing out of China and my VPN only runs out of firefox, not for the updates. If some server or another is blocked by the CCP this can happen.

    So now what happens is Software Center cannot remove it, sudo dpkg --configure -a does not finish the install, as I can't connect to the adobe server,
    Code:
    find /var/lib/dpkg/alternatives/*flash* -type f -size 0 | xargs sudo rm -f
    returns
    Code:
    find: "/var/lib/dpkg/alternatives/*flash*": File o directory non esistente
    (as I don't really know where the file is)...
    Code:
    sudo dpkg -r --force-remove-reinstreq flashplugin-nonfree
    returns
    Code:
    dpkg: qualche altro processo detiene il blocco sul database di stato (some other process is blocking this from running)
    Basically I want to remove the current flash install completely and reinstall from the tar.gz file I downloaded from Adobe's website (this way the upgrade happens and the CCP block has no effect).

    Thanks to anyone who cares

  7. #7
    Join Date
    Oct 2008
    Location
    Tallmadge, Ohio
    Beans
    32
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: can't remove package to reinstall

    Quote Originally Posted by traditionalist View Post
    Yes. I deleted everything the program showed except for where it warned me that things might be slow or experimental;

    I did this in both "root" and "normal". After that I had no more problems with the flash plugin. I have no idea why it worked.


    Regards....Trad
    ...pretty much sums up the bulk of my command line experience...
    "Have you tried using Wine?"
    "After three bottles, it still doesn't work."

    LINUX!!*#@*!*%@%!!

  8. #8
    Join Date
    May 2012
    Beans
    21

    Re: can't remove package to reinstall

    Quote Originally Posted by ProfessorFarnsworth View Post
    I had this problem and ended up fixing it by referencing http://blog.bodhizazen.net/linux/apt...oken-packages/. Basically something like the below seemed to remove it for me, and I can now install other packages and such:

    cd /var/lib/dpkg/info/
    sudo rm adobe-flashplugin.*
    sudo dpkg --remove --force-remove-reinstreq adobe-flashplugin
    sudo apt-get install -f
    sudo apt-get update

    That seemed to do it a lot of good; however, when I go to youtube or accuweather I still get reports that the flash plug in is not installed on many videos and certain content.

    Update: scratch that, System told me that Adobe flash plug in failed to install or upgrade when I clicked the little icon in upper tool bar right before I shut down.

    Update #2: I just went to Youtube and when a video told me to download the Adobe flash plug in, I did, which took a while, but everything seems to be working now.
    Last edited by etrexuser; May 6th, 2012 at 11:49 PM.

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
  •