Menu

failed to find a package

2012-03-20
2012-11-26
  • Nobody/Anonymous

    Ahh, I see the problem. It's libroplan instead on libreplan. I created the PPA key wrong. I'll remove the PPA key and try again.

     
  • Manuel Rego Casasnovas

    Yes it's libreplan ;-)

    The instructions to install it from PPA:

    sudo add-apt-repository ppa:libreplan/ppa
    sudo apt-get update
    sudo apt-get install libreplan
    

    I hope your problems are fixed now.

    Bye,
       Rego

     
  • Nobody/Anonymous

    Huum. I'm trying to start fresh and want to remove libreplan, but using the Synaptic package manager I'm getting :

    libreplan: subprocess installed post-removal script returned error - exit status 10

    How do I remove postgresql and libreplan manually?

     
  • Manuel Rego Casasnovas

    I didn't have that error removing LibrePlan, I've just done some tests in a Debian system.

    I've installed LibrePlan downloading the .deb file and with the following commands:

    # dpkg -i libreplan_1.2.2-1_amd64.deb
    # apt-get install -f
    

    Then I've uninstalled it (without any problem):

    # apt-get remove libreplan
    

    To uninstall the dependencies (Tomcat, PostgreSQL):

    # apt-get auto-remove
    

    And everything works as expected for me.

    I hope this helps.

    Regards,
       Rego

     
  • Nobody/Anonymous

    On a Dell machine (Intel), running Ubuntu 10.04, I get :

    xxxx@FileServer:~$ sudo apt-get autoremove
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    6 not fully installed or removed.
    Need to get 0B/71.5MB of archives.
    After this operation, 0B of additional disk space will be used.
    (Reading database … 107191 files and directories currently installed.)
    Preparing to replace libreplan 1.2.2-1.lucid (using …/libreplan_1.2.2-1.lucid_amd64.deb) …
    Unpacking replacement libreplan …
    dbconfig-common: flushing administrative password
    dpkg: warning: old post-removal script returned error exit status 10
    dpkg - trying script from the new package instead …
    dbconfig-common: flushing administrative password
    dpkg: error processing /var/cache/apt/archives/libreplan_1.2.2-1.lucid_amd64.deb (-unpack):
    subprocess new post-removal script returned error exit status 10
    dbconfig-common: flushing administrative password
    dpkg: error while cleaning up:
    subprocess new post-removal script returned error exit status 10
    Errors were encountered while processing:
    /var/cache/apt/archives/libreplan_1.2.2-1.lucid_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    xxxx@FileServer:~$

    Anything else I can try?

     
  • Nobody/Anonymous

    I'm stuck. I cannot uninstall the package and I cannot install the package. How can I manually remove Libreplan and Postgresql so I can install fresh?

     
  • Adrian Perez de Castro

    I think you could try to completely remove the package with Dpkg, like this:

      

    # dpkg -P libreplan
    

    If that still failed to uninstall the package, you could manually remove the files (as listed in the output of

    dpkg -L libreplan
    

    ), remove the postinst/preinst/etc scripts from

    /var/lib/dpkg/info/
    

    and the entry for the package in the

    /var/lib/dpkg/available
    

    (make sure to keep a backup, just in case something goes wrong). Last, but not least, you may want to delete the database as well. The exact method depends on what you are using, for PostgreSQL you have to use the

    dropdb
    

    command.

    I hope this helps!

     

Log in to post a comment.