PDA

View Full Version : [ubuntu] can't fix broken packages



chkneater
December 13th, 2010, 08:28 PM
I am trying run an update but I get an error "Fix broken package first".

I then went into synaptic and fixed the broken packages and tried to the update but I had the same problem still.

Is there another way to fix packages with a terminal command?

Quackers
December 13th, 2010, 08:32 PM
You could try

sudo dpkg --configure -a

Rubi1200
December 13th, 2010, 08:32 PM
Try running the following commands (post back if errors are reported; copy/paste from the terminal):


sudo apt-get install -f

sudo dpkg --configure -a

edit: oops beaten by Quackers...again :-)

Quackers
December 13th, 2010, 08:34 PM
Lol, but I only had half of the options :-)

chkneater
December 13th, 2010, 09:17 PM
I didn't get any errors and sudo apt-get install -f came out with 0upgraded 0 newly installed, 0 to remove and 320 not upgraded. Any thing else I can do?

matt_symes
December 13th, 2010, 09:28 PM
Hi

Open a terminal and type

sudo apt-get update
sudo apt-get upgrade

Post back any errors.

Kind regards

chkneater
December 14th, 2010, 02:58 AM
I ran the code and came out with no errors then went to try to update and I got the same error. There was one more thing that said that no more updates will be made available.

Quackers
December 14th, 2010, 03:05 AM
Which version of Ubuntu are you running?

chkneater
December 14th, 2010, 03:26 AM
9.04

Quackers
December 14th, 2010, 03:30 AM
Non LTS versions of Ubuntu are only supported for 18 months I believe.

chkneater
December 14th, 2010, 03:38 AM
I figured that's what it was but thanks for varifying it for me. I'll jus go and upgrade.