LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trouble updating Libxml 2.7.7-3.6.i586.rpm (https://www.linuxquestions.org/questions/linux-newbie-8/trouble-updating-libxml-2-7-7-3-6-i586-rpm-846309/)

xerch 11-24-2010 11:20 AM

Trouble updating Libxml 2.7.7-3.6.i586.rpm
 
I tried to upgrade the libxml library on an opensuse server, and is giving me the following error:

libxml2 = 2.7.3 is needed by (installed) libxml2-python-2.7.3-2.2.i586

Now, if i try to update the libxml2-python library, is giving me the following dependencies error:

libxml2.so.2(LIBXML2_2.7.3) is needed by libxml2-python-2.7.7-3.7.i586

So... this is kind of weird. I know that i can force the installation of the libxml, but since this is a production server for a PervasiveSQL BD i don't want to mess with forcing things.

Any help will be very appreciated. Thanks!

xerch 12-02-2010 01:02 PM

Thanks for all the help guys! This newbie was able to solve it.I hope it helps somebody else.

I was able to solve it with the help of Zypper:

$ zypper repos --uri

# then i checked the repositories, i saw that i had to update the repositories to 11.3, so i had to disable the old repos and install the 11.3 repos
$ sudo zypper modifyrepo --all --disable
$ sudo zypper addrepo --name "openSUSE-11.3 OSS" http://download.opensuse.org/distrib...11.3/repo/oss/ repo-11.3-oss
$ sudo zypper addrepo --name "openSUSE-11.3 Non-OSS" http://download.opensuse.org/distrib.../repo/non-oss/ repo-11.3-

# Once i had the right repos, make the installation of both packages...

$ sudo zypper refresh
$ sudo zypper install libxml2

# And in the end, return to the 11.2 repos

$ sudo zypper removerepo repo-11.3-update
$ sudo zypper removerepo repo-11.3-oss
$ sudo zypper removerepo repo-11.3-non-oss

$ sudo zypper modifyrepo -e repo-oss
$ sudo zypper modifyrepo -e repo-non-oss
$ sudo zypper modifyrepo -e repo-update


All times are GMT -5. The time now is 06:11 PM.