View Full Version : [ubuntu] Can not add/remove

July 2nd, 2009, 03:34 AM
I am trying to remove some applications and make room, when doing so, i get this error:

"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'."

Any assistance would be great. I dont want to re install as i am new to the Linux world

July 2nd, 2009, 03:36 AM
silly question have you opened a terminal and done the following?

username@localhost:~$sudo apt-get update

username@localhost:~$sudo apt-get install -f

also do the following while in a terminal

username@localhost:~$gedit /etc/apt/sources.list

look through the file and make sure nothing looks glaringly wrong. like random strings of text or incomplete urls
If they are wrong.... you may have to search how to fix them.

you can edit the file by entering the following in a terminal

username@localhost:~$sudo gedit /etc/apt/sources.list

July 2nd, 2009, 03:39 AM
The above poster sounds correct. What it looks like happened is that updates failed to install fully / properly before. So you would need to go to a terminal window (Applications -> Accessories -> Terminal) in GNOME (if running Ubuntu you have GNOME). The issue those two commands he gave you, after the first sudo...command it will prompt you for your password. That first command will update the software database on your local system. The second command will fix anything that didn't install nicely.

July 2nd, 2009, 03:48 AM
Geoff after seeing the GET9, i see the following: 0% [Waiting for headers] [Waiting for headers]

July 2nd, 2009, 02:29 PM
Easy way to fix broken packages:

System > Administration > Synaptic Package Manager > Edit > Fix Broken Packages