LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-22-2005, 10:07 AM   #1
wooshyFox
Member
 
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?

Wooshy
 
Old 02-22-2005, 03:51 PM   #2
darkleaf
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, 04:06 PM   #3
wooshyFox
Member
 
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:
webmin-core
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
  


Reply


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 05:52 AM
need to uninstall debian and install win 95 pls help! boris the pict Linux - Software 7 09-26-2005 01:53 PM
install pkg list bruse Mandriva 2 05-01-2005 01:09 PM
How to install *.pkg file futurist Linux - Software 1 03-20-2003 04:48 AM
How do i install a pkg jazzy_j11111 Linux - General 3 03-14-2002 09:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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