LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't install or uninstall debian pkg (https://www.linuxquestions.org/questions/linux-newbie-8/cant-install-or-uninstall-debian-pkg-293399/)

wooshyFox 02-22-2005 10:07 AM

can't install or uninstall debian pkg
 
Hi - I just took delivery of my new server with webmin installed, and did an apt-get upgrade, which promptly broke webmin (which was already at the latest version). Now I can't apt-get install it cause I keep getting an error message:
/usr/bin/dpkg returned an error code (1)

..same thing happens when i try to apt-get remove it...

any ideas?

Wooshy

darkleaf 02-22-2005 03:51 PM

What's the entire error message? Don't you get more than a simple error code 1? You can try if one of the force options in dpkg deletes it. I remember I once found the file which has all the info on installed packges. You could delete it out of there but that can kind of screw up your installation. I can't find that file anymore though :(

wooshyFox 02-22-2005 04:06 PM

this is what i get if i do apt-get remove webmin:
Removing webmin-core ...
/etc/webmin/webmin.acl: No such file or directory
dpkg: error processing webmin-core (--remove):
subprocess pre-removal script returned error exit status 2
/etc/webmin/webmin.acl: No such file or directory
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 2
Removing webmin ...
Errors were encountered while processing:
webmin-core
E: Sub-process /usr/bin/dpkg returned an error code (1)


All times are GMT -5. The time now is 10:24 AM.