Results 1 to 4 of 4

Thread: package need to be reinstalled, but its not installed

  1. #1
    Join Date
    Apr 2009
    Beans
    8
    Distro
    Ubuntu Studio 9.10 Karmic Koala

    package need to be reinstalled, but its not installed

    Hello guys..

    I'm using LAMPP server installed on "/opt/lampp/"

    and I needed to install PHP/JAVA Bridge

    so I've installed tomcat6 "sudo apt-get install tomcat6"
    then downloaded & installed "php-java-bridge_5.4.4.2-3_i386.deb"

    but it didn't work

    thats why i wanted to remove the php-java-bridge and tomcate to reinstall them again from source, so that i can install tomcat next to lampp, then install php-java-bridge

    but i could not remove them..

    error notification:


    synaptic manager says:


    update manager:

    I've selected: Partial Upgrade

    I've selected: yes

    but:


    tried to upgrade:
    Last edited by DeaD SouL; November 13th, 2009 at 01:19 PM.

  2. #2
    Join Date
    Apr 2009
    Beans
    8
    Distro
    Ubuntu Studio 9.10 Karmic Koala

    Re: package need to be reinstalled, but its not installed

    tried to remove the package:



    tried to re-install the package:


    found php-java-bridge in: "/var/lib/dpkg/info/"


    sorry about the images.. i just wanted to clear the problem as much as possible

    any help would be greatly appreciated

    thanks in advance
    Last edited by DeaD SouL; November 13th, 2009 at 11:54 AM.

  3. #3
    Join Date
    Apr 2009
    Beans
    8
    Distro
    Ubuntu Studio 9.10 Karmic Koala

    Re: package need to be reinstalled, but its not installed

    any ideas..

  4. #4
    Join Date
    Apr 2009
    Beans
    8
    Distro
    Ubuntu Studio 9.10 Karmic Koala

    Re: package need to be reinstalled, but its not installed

    thank God, I found it

    while I was reading the dpkg's manual
    Code:
    man dpkg
    i found
    remove-reinstreq: Remove a package, even if it's broken and marked to require reinstallation. This may, for example, cause parts of the package to
    remain on the system, which will then be forgotten by dpkg.
    so I tried it:
    Code:
    sudo dpkg --force-remove-reinstreq --remove php-java-bridge
    and BINGO.. IT WORKED

    hope it will be useful to someone, someday

    regards

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
  •