Welcome to Server Circle. It's a friendly site and all levels of experience are welcome. Be aware that we use cookies for your login.
Server Circle - Ask questions about Servers and get answers from experts.
Beta (0.51 sec)
Apt-get error when I try to remove packages

I messed arround with armagetronad, then I wanted to remove it and I got this error:

# sudo apt-get remove armagetronad

Reading package lists... Done

Building dependency tree... Done

E: The package armagetronad needs to be reinstalled, but I can't find an archive for it.


Now every time I want to use apt-get for anything I can't:

# sudo apt-get install supertux

Reading package lists... Done

Building dependency tree... Done

E: The package armagetronad needs to be reinstalled, but I can't find an archive for it.


Can anyone help me workaround this problem, its driving me nuts?

Asked by:
MrAnderson
759 points
 Report Abuse
 Share Page - Category: Linux Servers - Tags: apt-get error when I try to remove packages
 Enter your response
Please use Pastie.org to paste lengthy code or to fix formatting issues with code
  • Responses in reverse (4)

Best Answer

Try

sudo dpkg -r armagetronad

sudo apt-get update

sudo apt-get install spertux

Response by:
apjone
1478 points
Your apt-get repository maybe if damge

you can rebuilde repository file from /etc/apt/apt.conf

Response by:
mohamad_kian
1548 points
You can always try dpkg -a --configure if that doesn't do it.

Response by:
BonoEstente
1464 points
Try this: apt-get -f install to fix broken packages.

Response by:
Mayhew
982 points


  • Related Questions
About Us : Contact Us : Etiquette : Terms : CDN Failover : ShorterURL : CDN Fallback : © 2013 Server Circle