Author Topic: [SOLVED] Can't fix broken packages  (Read 1106 times)

Offline pickl

  • Jr. Member
  • **
  • Posts: 31
[SOLVED] Can't fix broken packages
« on: March 16, 2011, 05:19:51 AM »
Hi all - after a crash halfway through updating packages I reopened Synaptic and was greeted with the message
Quote
You have 96 broken packages on your system!

I went to Edit > Fix Broken Packages and then clicked Apply but was told:
Quote
APT system reports:
E: Ordering failed for 166 packages


I then quit Synaptic, reopened it (same broken packages message), clicked Reload, Edit > Fix Broken Packages and then clicked Apply, it downloaded some additional packages but then gave me the same error.

Does anyone have any idea how I might unbork it? Thanks so much!
« Last Edit: March 16, 2011, 08:38:38 AM by pickl »

Offline bicol_willem

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2378
Re: Can't fix broken packages
« Reply #1 on: March 16, 2011, 05:24:28 AM »
Try to look up de broken packages in Synaptic and remove these. Then update again. You might write down the broken package for later reference.

Offline pickl

  • Jr. Member
  • **
  • Posts: 31
Re: Can't fix broken packages
« Reply #2 on: March 16, 2011, 05:43:31 AM »
Thanks for the reply bicol_willem  :)

I'm happy to give that a try, but I'm a little scared I'll remove something critical as there are lots of lib files and other things I know nothing about...

The list of broken packages is as follows:
Quote
a2ps
bash
binutils
ccsm
clementine
consolekit-x11
cpufreq
dkms
dkms-nvidia-current
eet
ffmpeg
file
firefox
fslsfonts
gnome-python-canvas
groff-for-man
gstreamer0.10-soup
gutenprint-ijs
hplip-hpijs-ppds
jbig2dec
kdebase4-runtime
kdenetwork4-kppp-provider
libassuan0
libbluez3
libchm0
libdbus-glib-1_2
libdrakx-net
libdv4
libevent2
libflac++6
libfribidi0
libgdk-pixbuf2
libglibmm2.4_1
libgnome-keyring-i18n
libgpod
libgtk+-x11-2.0_0
libgutenprint2
libgvc5
libical0
libncursesw5
libpcsclite1
libqtdbus4
libsane1
libsasl2
libSDL_gfx15
libslang1
libtermcap2
libtk8.6
libusb-compat0.1_4
libusbmuxd1
libvbe0
libxcomposite1
libxml2_2
libxulrunner1.9.2.14
libxxf86vm1
mandi-ifw
module-init-tools
ncurses
nfs-utils-clients
notify-osd
nss_tcb
ntfs-config
ntfsprogs
ntp
ogmtools
pam_tcb
pbm2l2030
pcmciautils
perl-Crypt-PasswdMD5
perl-MDV-Distribconf
perl-Net-Telnet
plymouth
ppp-pppoe
python-qt4-core
python-qt4-xmlpatterns
rmt
s2u
shorewall
stylewriter
TiMidity++
virtualbox-guest-additions
vlc-plugin-flac
vlc-plugin-sdl
w3c-libwww
wmctrl
x11-driver-input-dmc
x11-driver-input-elographics
x11-driver-input-magellan
x11-driver-input-magictouch
x11-driver-input-palmax
x11-driver-video-siliconmotion
x11-driver-video-sisusb
x11-driver-video-tga
x11-font-alias
x11-server-common
xauth
xfs
xterm
am I safe to remove them all and then reinstall?

Thanks for the help!

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15289
  • ┌∩┐(◕_◕)┌∩┐
Re: Can't fix broken packages
« Reply #3 on: March 16, 2011, 05:48:03 AM »
This may help - please read carefully  ;)

http://www.pclinuxos.com/forum/index.php/topic,80839.0.html
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline bicol_willem

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2378
Re: Can't fix broken packages
« Reply #4 on: March 16, 2011, 05:50:41 AM »
Thanks for the reply bicol_willem  :)

I'm happy to give that a try, but I'm a little scared I'll remove something critical as there are lots of lib files and other things I know nothing about...

The list of broken packages is as follows:
Quote
a2ps
bash
binutils
ccsm
clementine
consolekit-x11
cpufreq
dkms
dkms-nvidia-current
eet
ffmpeg
file
firefox
fslsfonts
gnome-python-canvas
groff-for-man
gstreamer0.10-soup
gutenprint-ijs
hplip-hpijs-ppds
jbig2dec
kdebase4-runtime
kdenetwork4-kppp-provider
libassuan0
libbluez3
libchm0
libdbus-glib-1_2
libdrakx-net
libdv4
libevent2
libflac++6
libfribidi0
libgdk-pixbuf2
libglibmm2.4_1
libgnome-keyring-i18n
libgpod
libgtk+-x11-2.0_0
libgutenprint2
libgvc5
libical0
libncursesw5
libpcsclite1
libqtdbus4
libsane1
libsasl2
libSDL_gfx15
libslang1
libtermcap2
libtk8.6
libusb-compat0.1_4
libusbmuxd1
libvbe0
libxcomposite1
libxml2_2
libxulrunner1.9.2.14
libxxf86vm1
mandi-ifw
module-init-tools
ncurses
nfs-utils-clients
notify-osd
nss_tcb
ntfs-config
ntfsprogs
ntp
ogmtools
pam_tcb
pbm2l2030
pcmciautils
perl-Crypt-PasswdMD5
perl-MDV-Distribconf
perl-Net-Telnet
plymouth
ppp-pppoe
python-qt4-core
python-qt4-xmlpatterns
rmt
s2u
shorewall
stylewriter
TiMidity++
virtualbox-guest-additions
vlc-plugin-flac
vlc-plugin-sdl
w3c-libwww
wmctrl
x11-driver-input-dmc
x11-driver-input-elographics
x11-driver-input-magellan
x11-driver-input-magictouch
x11-driver-input-palmax
x11-driver-video-siliconmotion
x11-driver-video-sisusb
x11-driver-video-tga
x11-font-alias
x11-server-common
xauth
xfs
xterm
am I safe to remove them all and then reinstall?

Thanks for the help!

NO!  That is too crazy!!  LOL

Did you try the command: apt-get check ?

Then ... If you have a separated root partition (/) and home partition (/home) you might start thinking about about a rather quick reinstall. You keep your /home partition untouched in that case.
As always, further backup is never a bad idea.

Offline pickl

  • Jr. Member
  • **
  • Posts: 31
Re: Can't fix broken packages
« Reply #5 on: March 16, 2011, 05:56:16 AM »
Hi menotu - that sounds a little less frightening so I think I'll give that a shot first - thanks.

I just took a look at the status bar in Synaptic and it seems to think I only have 98 packages installed - I'm guessing the RPM db is indeed corrupt...

I'll let you know how I get on  :o

bicol_willem - removing them all did seem a little... courageous..?  ;D I'll try menotu's suggestion and post back

Offline bicol_willem

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2378
Re: Can't fix broken packages
« Reply #6 on: March 16, 2011, 06:02:16 AM »
Hi menotu - that sounds a little less frightening so I think I'll give that a shot first - thanks.

I just took a look at the status bar in Synaptic and it seems to think I only have 98 packages installed - I'm guessing the RPM db is indeed corrupt...

I'll let you know how I get on  :o

bicol_willem - removing them all did seem a little... courageous..?  ;D I'll try menotu's suggestion and post back

Yeah, that is a courageous thing to do indeed! :D
I was counting with just one or a few broken packages, not with the lot!  :D
Hopefully menuto's suggestion sorts you out.  (I now think it will).

Offline pickl

  • Jr. Member
  • **
  • Posts: 31
Re: Can't fix broken packages
« Reply #7 on: March 16, 2011, 08:37:38 AM »
Sorted!  Thanks guys, rebuilt rpm db, still had 4 broken packages, clicked Fix Broken Packages which worked fine, clicked Reload, Mark All Upgrades, Apply, that worked fine too.

The only odd thing was I lost my second panel, but I've redone that now too so everything looks like it's working fine  :D

Thanks again- much appreciated!

Offline bicol_willem

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2378
Re: [SOLVED] Can't fix broken packages
« Reply #8 on: March 16, 2011, 11:42:10 AM »
You didn't let any grass growing over it, congrats!  ;)

uncleV

  • Guest
Re: Can't fix broken packages
« Reply #9 on: March 16, 2011, 02:14:35 PM »
The only odd thing was I lost my second panel, but I've redone that now too so everything looks like it's working fine  :D
And you can add even a third panel! :)