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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the automatic installation, doing the apt-get update, I get :
Failed to fetch http://ppa.launchpad.net/librepolan/ppa/ubuntu/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found
What can I do?
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.
Yes it's libreplan ;-)
The instructions to install it from PPA:
I hope your problems are fixed now.
Bye,
Rego
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?
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:
Then I've uninstalled it (without any problem):
To uninstall the dependencies (Tomcat, PostgreSQL):
And everything works as expected for me.
I hope this helps.
Regards,
Rego
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?
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?
I think you could try to completely remove the package with Dpkg, like this:
If that still failed to uninstall the package, you could manually remove the files (as listed in the output of
), remove the postinst/preinst/etc scripts from
and the entry for the package in the
(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
command.
I hope this helps!