Technicus stultissimus

High tech a lo camba! Dicen que en Cambalandia a los chambones se les dice cambones. Impresionado por la capacidad técnica de mis coterráneos, entrego aquí algunos aportes técnicos (en parte copiados, simplificados y adaptados) y otros cuentos propios o traducidos. Ay del que se ría!

Pages

▼

Sunday, December 5, 2010

Force reinstall of application

reinstall Yast base packages manually with the rpm from a terminal
You may need to force it
an example:
rpm -ihv packagename2.10.rpm --force 
Source
YaST/zypper segmentation fault

rpm -qV zypper glibc $(rpm -qf $(ldd /usr/bin/zypper | awk '{print $3}' | grep lib) | sort -u)
- "ldd /usr/bin/zypper" says what libraries zypper needs
- "ldd /usr/bin/zypper | awk '{print $3}' | grep lib" just extracts the library name from all the output of ldd.
- "rpm -qf $(ldd /usr/bin/zypper | awk '{print $3}' | grep lib) | sort -u" says what packages include the libraries. So it lists all packages zypper needs.
- And "rpm -qV ..." verifies the state of the packages.

About the results.
- "/usr/sbin/glibc_post_upgrade" just could not be verified. If you rerun the test like root it probably will dissapear from the list.
- "/usr/lib/libsqlite3.so.0.8.6" is damaged/modified. I don't know how that happened, or you overwrote it or there is a problem with your hard disk. You can fix it reinstalling the libsqlite3 package.
- The other messages say that you made something bad...
The packcage "libgobject-2_0-0" includes "libgobject-2.0.so.0". But it must be in "/usr/lib/libgobject-2.0.so.0", not in "/usr/local/lib/libgobject-2.0.so.0". And the same with libglib-2_0.
You probably manually installed/compiled glib/gtk/gobject/gsomething. You shoud not do such a thing, those libraries are basic and should not be changed if you don't know what you are doing.
People is looking at repositories, but you installed something without using the repos... this way things get out of control.
Copy the output of "ldd /usr/bin/zypper", "find /usr/local" and "cat /etc/ld.so.conf" to see if we can fix it. 
List repositories:
zypper lr
zypper info:
Zypper/Usage/11.3 - openSUSE
cebaehren at 11:47 PM

No comments:

Post a Comment

‹
›
Home
View web version

About Me

cebaehren
Santa Cruz de la Tierra, Cambalandia, Bolivia
Gerente Operacional de Tux&Cía. Unix-Systemfachmann formado en Mannheim, Alemania. Experticia en GNU/Linux desde 1999.
View my complete profile
Powered by Blogger.