Failed to check for installed or available applications

Asked by ramesh on 2008-10-30

When i open the Add/Remove a window appears and following error is displayed.

This is a major failure of your software management system. Please check for broken packages with synaptic, check the file permissions and correctness of the file '/etc/apt/sources.list' and reload the software information with: 'sudo apt-get update' and 'sudo apt-get install -f'.

I tried to correct it but the following errors are displayed in terminal.Plz help me!!
ramesh@Ramesh:~$ sudo dpkg-reconfigure -a
dpkg-query: syntax error in triggers Deferred file `/var/lib/dpkg/triggers/Unincorp' at character `U' midline
/usr/sbin/dpkg-reconfigure: acl is not installed

ramesh@Ramesh:~$ sudo apt-get install-f
E: Invalid operation install-f
ramesh@Ramesh:~$ sudo apt-get install -f
Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2 No such file or directory)
E: The package lists or status file could not be parsed or opened.

ramesh@Ramesh:~$ sudo apt-get update
Get:1 hardy Release.gpg [189B]
Get:2 hardy Release.gpg [189B]
Get:3 hardy-security Release.gpg [189B]
Ign hardy Release.gpg
Get:4 hardy Release.gpg [189B]
Hit hardy Release
Ign hardy/partner Translation-en_IN
Ign hardy-security/main Translation-en_IN
Ign hardy/main Translation-en_IN
Ign hardy/main Translation-en_IN
Hit hardy Release
Ign hardy-security/restricted Translation-en_IN
Hit hardy/main Sources
Get:5 hardy Release [27.6kB]
Ign hardy/restricted Translation-en_IN
Hit hardy/partner Packages
Ign hardy-security/universe Translation-en_IN
Hit hardy/restricted Sources
Ign hardy/main Packages
Ign hardy/universe Translation-en_IN
Hit hardy/partner Sources
Ign hardy-security/multiverse Translation-en_IN
Hit hardy/main Packages
Ign hardy/multiverse Translation-en_IN
Get:6 hardy-security Release [58.5kB]
Get:7 hardy-updates Release.gpg [189B]
Ign hardy-updates/main Translation-en_IN
Ign hardy-updates/restricted Translation-en_IN
Ign hardy-updates/universe Translation-en_IN
Ign hardy-updates/multiverse Translation-en_IN
Hit hardy Release
Get:8 hardy-security/main Packages [67.7kB]
Get:9 hardy-updates Release [58.5kB]
Get:10 hardy-security/restricted Packages [7159B]
Hit hardy/main Packages
Hit hardy/restricted Packages
Get:11 hardy-security/restricted Sources [1092B]
Get:12 hardy-security/main Sources [15.1kB]
Hit hardy/restricted Sources
Get:13 hardy-security/multiverse Sources [14B]
Get:14 hardy-security/universe Sources [6773B]
Get:15 hardy-security/universe Packages [40.1kB]
Hit hardy/main Sources
Hit hardy/multiverse Sources
Hit hardy/universe Sources
Hit hardy/universe Packages
Get:16 hardy-security/multiverse Packages [8637B]
Hit hardy/multiverse Packages
Get:17 hardy-updates/main Packages [374kB]
Get:18 hardy-updates/restricted Packages [7103B]
Get:19 hardy-updates/restricted Sources [1092B]
Get:20 hardy-updates/main Sources [97.3kB]
Get:21 hardy-updates/multiverse Sources [4020B]
Get:22 hardy-updates/universe Sources [31.7kB]
Get:23 hardy-updates/universe Packages [135kB]
Get:24 hardy-updates/multiverse Packages [23.9kB]
Fetched 938kB in 27s (33.6kB/s)
Reading package lists... Error!
E: Could not open file /var/lib/dpkg/status - open (2 No such file or directory)
E: The package lists or status file could not be parsed or opened.

Question information

English Edit question
Ubuntu gnome-app-install Edit question
No assignee Edit question
Last query:
Last reply:
blackwolf13 (shadowsstuff) said : #1

1) I would first try renaming the status file to status-1 (my means of a term sudo command), then running System-Administration-Update Manager and see if it will build a new status file.
2) If that doesn't work I would then try renaming the status-old file to status, then running System-Administration-Update Manager and see if that gives you errors.

*) The upside to trying these things is if it doesn't work you rename the files back to there original names, and you are not any worse off than when you started; And then again it could fix your issues.

ramesh (rameshiit19) said : #2

Sorry I dont understand.Plz send me the command to run in terminal to correct the problem

Try this:

Open a Terminal from the menu Applications → Accessories → Terminal and type:

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask ramesh for more information if necessary.

To post a message you must log in.