upgrade feisty gutsy failed, system unstable

Asked by KJ

Some days ago i tried to update my Xubuntu installation from feisty to gutsy rc1. Everything went fine until the installation of gnome-themes package started. It refused to install because of broken dependencies and asked me to run dpkg --configure to solve the problem. It didnt work so I removed the gnome-themes package using apt-get. Now i have a partially broken feistygibbon since al lot of packages are already upgraded an some arent. I cant run firefox or synaptic anymore:
/usr/lib/firefox/firefox-bin: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
/usr/lib/firefox/firefox-bin: symbol lookup error: /usr/lib/libgdk-x11-2.0.so.0: undefined symbol: g_once_init_enter_impl

I am not able to restart the upgrade process by using update-manager -p -d or whatever, apt-get doesnt find any new packages. Is there any way to force a restart of the upgrade? Any reason why it should crash installing gnome-themes package?

I'd appreciate your help :-)

Thx

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bryan Haskins (bryan-h) said :
#1

Press ctrl+alt+F1 login, and enter:
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install ubuntu-desktop
(If that fails then do this:)
sudo apt-get install gnome-themes

Paste any show-stopping errors. Sometimes things mess up from
dependencies during an upgrade, but is easily corrected as it finishes.
Or with minor self switching.

KJ wrote:
> New question #15384 on Ubuntu:
> https://answers.launchpad.net/ubuntu/+question/15384
>
> Some days ago i tried to update my Xubuntu installation from feisty to gutsy rc1. Everything went fine until the installation of gnome-themes package started. It refused to install because of broken dependencies and asked me to run dpkg --configure to solve the problem. It didnt work so I removed the gnome-themes package using apt-get. Now i have a partially broken feistygibbon since al lot of packages are already upgraded an some arent. I cant run firefox or synaptic anymore:
> /usr/lib/firefox/firefox-bin: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
> /usr/lib/firefox/firefox-bin: symbol lookup error: /usr/lib/libgdk-x11-2.0.so.0: undefined symbol: g_once_init_enter_impl
>
> I am not able to restart the upgrade process by using update-manager -p -d or whatever, apt-get doesnt find any new packages. Is there any way to force a restart of the upgrade? Any reason why it should crash installing gnome-themes package?
>
> I'd appreciate your help :-)
>
> Thx
>
>
>

Revision history for this message
KJ (cortexbuster) said :
#2

Is
sudo apt-get install ubuntu-desktop
also suitable for Xubuntu?
if i try to execute
sudo apt-get install xubuntu-desktop
apt-get responds:
xubuntu-desktop is already the newest version
if i force it to reinstall it only downloads one file with 13kb of size:
.../xubuntu-desktop_2.50_amd64.deb

sudo apt-get install ubuntu-desktop
wants to download some 570 megs but is it right for Xubuntu?

Revision history for this message
KJ (cortexbuster) said :
#3

The following happens when i try to run
apt-get install ubuntu-desktop or
apt-get install gnome-themes:

Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Reading state information... Fertig
gnome-themes ist schon die neueste Version.
gnome-themes set to manual installed.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
3 nicht vollständig installiert oder entfernt.
Es müssen 0B Archive geholt werden.
Nach dem Auspacken werden 0B Plattenplatz zusätzlich benutzt.
Richte gnome-themes ein (2.20.0-0ubuntu1) ...
gtk-update-icon-cache: symbol lookup error: /usr/local/lib/libpng12.so.0: undefined symbol: inflateInit_
gtk-update-icon-cache: symbol lookup error: /usr/local/lib/libpng12.so.0: undefined symbol: inflateInit_
gtk-update-icon-cache: symbol lookup error: /usr/local/lib/libpng12.so.0: undefined symbol: inflateInit_
dpkg: Fehler beim Bearbeiten von gnome-themes (--configure):
 Unterprozess post-installation script gab den Fehlerwert 127 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von gnome-accessibility-themes:
 gnome-accessibility-themes hängt ab von gnome-themes; aber:
  Paket gnome-themes ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von gnome-accessibility-themes (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von ubuntu-desktop:
 ubuntu-desktop hängt ab von gnome-themes; aber:
  Paket gnome-themes ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von ubuntu-desktop (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
Fehler traten auf beim Bearbeiten von:
 gnome-themes
 gnome-accessibility-themes
 ubuntu-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)

There seems to be a problem with /usr/local/lib/libpng12.so.0 but forcing a reinstall wont help...
any ideas?

Revision history for this message
KJ (cortexbuster) said :
#4

After rebooting not even xserver works any more. Every dist upgrade I try fails.

Revision history for this message
Smeagle (amernagh) said :
#5

My xserver died before that. During my upgrade from Fiesty to Gutsy, my upgrade hung at "setting up xserver-xorg" with four and a half hours to go, so I powered off and powered on my machine, and booted into what GRUB said was Ubuntu 7.10, but I haven't finished my upgrade, and now sudo dpkg --configure -a also causes my machine to hang. At the moment my fiestygibbon doesn't mount drives other than the hard disk anymore either.

Any suggestions?

Revision history for this message
Kiran (kiran-joseph) said :
#6

I have exactly the same problem. I tried remove the theme packages and ubuntu-desktop, but no use. It is giving an error saying

gtk-update-icon-cache: symbol lookup error: /usr/local/lib/libpng12.so.0: undefined symbol: inflateInit_
gtk-update-icon-cache: symbol lookup error: /usr/local/lib/libpng12.so.0: undefined symbol: inflateInit_
gtk-update-icon-cache: symbol lookup error: /usr/local/lib/libpng12.so.0: undefined symbol: inflateInit_

Now Xserver is not coming up, not able to login to Desktop. What to do? :(

Revision history for this message
Kiran (kiran-joseph) said :
#7

Finally I figured out the problem. I had installed a local version of libpng12 from sources and it was residing at /usr/local/lib . I fear there was a conflict due to that. I also had many other local versions of other different libraries. I moves all of them to a different folder and ran ldconfig and my system got running again!

Kiran

Can you help with this problem?

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

To post a message you must log in.