Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-22-2005, 11:07 AM   #1
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Rep: Reputation: 15
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?

Old 02-22-2005, 04:51 PM   #2
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
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
Old 02-22-2005, 05:06 PM   #3
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
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:
E: Sub-process /usr/bin/dpkg returned an error code (1)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install SFW*** pkg ? anuode Solaris / OpenSolaris 4 11-20-2005 06:52 AM
need to uninstall debian and install win 95 pls help! boris the pict Linux - Software 7 09-26-2005 02:53 PM
install pkg list bruse Mandriva 2 05-01-2005 02:09 PM
How to install *.pkg file futurist Linux - Software 1 03-20-2003 05:48 AM
How do i install a pkg jazzy_j11111 Linux - General 3 03-14-2002 10:26 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration