Author Topic: [Solved]How do I find "Broken Packages"?  (Read 2623 times)

thebovees

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
[Solved]How do I find "Broken Packages"?
« on: April 21, 2014, 08:51:13 am »
On my dashboard in the Software box I have the following message in red;
"You have broken packages installed, fix them before upgrading"
I have not figured out how to find the broken packages let alone fix them.
Any help would be appreciated.

Thanks, Roger
« Last Edit: April 28, 2014, 07:06:01 pm by Escorpiom »

Geelong PC Creations

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +1/-0
    • View Profile
    • geelong pc creations
Re: How do I find "Broken Packages"?
« Reply #1 on: April 21, 2014, 01:30:15 pm »
on the server machine open up terminal and run the following code
sudo dpkg --configure -a
sudo apt-get install -f
this should find and fix all missing and or broken files

thebovees

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: How do I find "Broken Packages"?
« Reply #2 on: April 21, 2014, 07:53:28 pm »
I ran it just as stated and this was the last line:  "E: Sub-process /usr/bin/dpkg returned an error code (1)"
I rebooted and the broken packages message is still there.

Geelong PC Creations

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +1/-0
    • View Profile
    • geelong pc creations
Re: How do I find "Broken Packages"?
« Reply #3 on: April 22, 2014, 01:04:10 pm »
have you tried running sudo apt-get update --fix-missing then sudo apt-get update

thebovees

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: How do I find "Broken Packages"?
« Reply #4 on: April 22, 2014, 07:57:29 pm »
have you tried running sudo apt-get update --fix-missing then sudo apt-get update

Thank you!
Just ran them and and 'Broken Packages' message is still there, rebooted and still there?????
I sure don't want to have to do a clean install!!

Escorpiom

  • Zen Hero
  • *****
  • Posts: 897
  • Karma: +25/-1
    • View Profile
Re: How do I find "Broken Packages"?
« Reply #5 on: April 23, 2014, 02:04:47 am »
Hi,

Can you check which package is broken?
Have you checked free space on the /boot volume?

Cheers.
Marcus' Rule:
Blanks & capitals = avoid it and you'll avoid problems...

thebovees

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: How do I find "Broken Packages"?
« Reply #6 on: April 23, 2014, 06:48:35 am »
Hi,

Can you check which package is broken?
Have you checked free space on the /boot volume?

Cheers.

That is what I have been trying to figure out - How to find those broken packages.  I am quite a novice and, as it sits, don't know how to go about checking for free space in the boot volume.

Thanks!

thebovees

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: How do I find "Broken Packages"?
« Reply #7 on: April 28, 2014, 07:41:48 am »
My son tunneled in and found the boot drive was full and fixed and fully updated my system.

Thanks Justin,

Roger

Escorpiom

  • Zen Hero
  • *****
  • Posts: 897
  • Karma: +25/-1
    • View Profile
Re: How do I find "Broken Packages"?
« Reply #8 on: April 28, 2014, 07:05:42 pm »
Perfect. Keeping older kernels for example will fill up the boot volume, causing dpkg to error out.
Marking this as solved.

Cheers.
Marcus' Rule:
Blanks & capitals = avoid it and you'll avoid problems...