libxml2.so.2 needed

Hi
I have a dependency problem on my M5 when I try online update to some packages like amarok…
and libxml2.so.2 is also needed for chromium installation
the problem is that I couldn’t intall libxml2 from the rpm found in download.opensuse.org
I’ve also tried to compile it from src package from here : ftp://xmlsoft.org/libxml2/

but I get this error

las@linux-rv87:~/Downloads/libxml2-2.7.8> ./configure
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… no
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: in /home/las/Downloads/libxml2-2.7.8': configure: error: no acceptable C compiler found in $PATH See config.log’ for more details
las@linux-rv87:~/Downloads/libxml2-2.7.8> ./configure --prefix=/usr/local/libxml2
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… no
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: in /home/las/Downloads/libxml2-2.7.8': configure: error: no acceptable C compiler found in $PATH See config.log’ for more details

did you have this dependency error (libxml2.so.2)? and how did you solve it ?

In order to better understand any dependency error, we need the output of the command:

zypper lr -d 

I need to pay better attention to posts. i.e. you are using M5.

Its not unusual for M5 packman packages to have dependency problems.

As for the configure error you are getting, you do not appear to have gcc installed. Try zypper install gcc make automake cmake to install come common build utilities and then running configure again.

As opposed to using ./configure, make and make install, another way is to obtain the spec file for the rpm and rebuild it …

ie something like (with libxm2 spec file version from 11.3 copied to your hard drive) …

rpmbuild --rebuild libxml2-2.7.7-3.6.src.rpm 

That does not always work, but sometimes it does.

Ok, I’ve installed libxml2-.2.7.8 but I still got problem with dependecy libxml2.so.2 and others (perl) while perl repository is enabled.

What problem with the dependency ? Is it looking for a version other than 2.7.8 ? What are you doing when you get the dependency error ? Is this when still trying to install amarok ?

Its really not possible to help with a dearth of information. Perhaps you could provide more detail as to what the error exactly says ?

Another thought - is there any particular test that you are trying to do, that requires you to complete this ? Or is it intended as only a learning exercise ?

OpenSUSE Milestones are not production verisons, and hence encountering such errors with 3rd party packaged applications (such as those packaged by Packman) are not uncommon.

This is a screenshot of the issue:
http://i51.tinypic.com/2dv244.png

I’ve even changed some repositories urls to Factory instead of 11.3 (mozilla, packman…)

This reads to me that your repos are totally messed.

Amarok ‘just’ installed for me on M5. I had to do nothing special. It simply installed. If you had problems, my view is you had some additional repos in place when you tried the install, and that messed things up.

Amarok is installed but it needs update.
I’ll try to install perl

You will have to provide useful detail if you wish anyone to provide help. Where are you trying to update Amarok from ? What repository?

Why ?

I’m not trying to update, the system is trying to:
I get kpackagekit applet notification in the notification bar as shown in the picture, when I click update packages, i get that error.
and there are a lot of dependency errors.
If you need any other information let me know
and thank you for help :slight_smile:

I feel like I’m being spoon fed. … Sorry. … This is the 1st you mentioned kpackagekit. Why are were you trying to compile in your 1st post, when you are now talking of kpackagekit updates? I’m totally confused.

Can you also post here your repos ? ie output of :

zypper lr -d 

as I am very suspicious that is causing some of this

I experienced this problem when attempting to upgrade to 4.6 RC2 on an 11.4 MS5 install. As that install had been kicked around a bit, I decided to freshl install the MS5 DVD. Install (Gnome) went smoothly, all updates applied, and I introduced the latest kernel, all without incident.

Repositories:


linux-1h16:~ # zypper lr -d
# | Alias                               | Name                                | Enabled | Refresh | Priority | Type   | URI                                                                              | Service
--+-------------------------------------+-------------------------------------+---------+---------+----------+--------+----------------------------------------------------------------------------------+--------
1 | KDE_4.6_RC2                         | KDE 4.6 RC2                         | Yes     | Yes     |   86     | rpm-md | http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_11.3/    |        
2 | KDE_4.6_RC2_Factory                 | KDE 4.6 RC2 Factory                 | Yes     | Yes     |   85     | rpm-md | http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_Factory/ |        
3 | Kernel_HEAD                         | Kernel HEAD                         | Yes     | Yes     |   82     | rpm-md | http://download.opensuse.org/repositories/Kernel:/HEAD/openSUSE_11.3/            |        
4 | Updates-for-openSUSE-11.4-11.4-1.32 | Updates for openSUSE 11.4 11.4-1.32 | Yes     | Yes     |   79     | rpm-md | http://download.opensuse.org/update/11.4/                                        |        
5 | openSUSE-11.4-11.4-1.32             | openSUSE-11.4-11.4-1.32             | Yes     | No      |   99     | yast2  | cd:///?devices=/dev/sr0                                                          |        
6 | repo-debug                          | openSUSE-11.4-Debug                 | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/11.4/repo/oss/                   |        
7 | repo-non-oss                        | openSUSE-11.4-Non-Oss               | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/non-oss/                     |        
8 | repo-oss                            | openSUSE-11.4-Oss                   | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/oss/                         |        
9 | repo-source                         | openSUSE-11.4-Source                | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/11.4/repo/oss/                  |        
linux-1h16:~ # 

I went to add KDE 4.6 RC2. In YAST, the “libxml2.so.2” dependency kicks out, along with other dependencies:


linux-1h16:~ # zypper dup -r KDE_4.6_RC2
Loading repository data...
Reading installed packages...
Computing distribution upgrade...
101 Problems:
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30) needed by strigi-0.7.3-47.3.i586
Problem: nothing provides libpython2.6.so.1.0 needed by python-sip-4.12-52.1.i586
Problem: nothing provides libpython2.6.so.1.0 needed by python-qt4-4.8.2-60.3.i586
Problem: nothing provides python(abi) = 2.6 needed by python-kdebase4-4.5.95-560.1.i586
Problem: nothing provides libpython2.6.so.1.0 needed by python-kde4-4.5.95-211.1.i586
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30) needed by libstrigi0-0.7.3-47.3.i586
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30) needed by libqalculate5-0.9.7-5.1.i586
Problem: nothing provides libgmp.so.3 needed by libktorrent3-1.0.80-2.2.i586
Problem: nothing provides liblzma.so.0 needed by libkdecore4-4.5.95-361.1.i586
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30) needed by libepub0-0.2.0-13.2.i586
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30) needed by libarchive2-2.8.4-2.1.i586
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30) needed by kopete-4.5.95-186.1.i586
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30) needed by kipi-plugins-1.7.0-93.3.i586
Problem: nothing provides libGL.so.1 needed by kio_sysinfo-11.3-12.16.i586
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30) needed by kdepim4-runtime-4.4.9-72.2.i586
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30) needed by kdelibs4-4.5.95-361.1.i586
Problem: nothing provides libGL.so.1 needed by kdebase4-workspace-4.5.95-553.1.i586
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libgmp.so.3 needed by kcalc-4.5.95-165.5.i586
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libgmp.so.3 needed by cln-1.3.1-62.1.i586
Problem: nothing provides libgmp.so.3 needed by aqbanking-5.0.1-3.6.i586
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30) needed by amarok-2.3.90-94.2.i586
Problem: nothing provides libboost_program_options.so.1.42.0 needed by akonadi-runtime-1.4.95-79.1.i586
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libraw1394.so.8()(64bit) needed by kdebase4-workspace-4.5.95-553.2.x86_64
Problem: nothing provides libraw1394.so.8()(64bit) needed by kdebase4-workspace-4.5.95-553.2.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides liblzma.so.0()(64bit) needed by libkdecore4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kipi-plugins-1.7.0-93.3.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: digikam-lang-1.7.0-62.7.noarch requires digikam = 1.7.0, but this requirement cannot be provided
Problem: nothing provides libpython2.6.so.1.0()(64bit) needed by python-kde4-4.5.95-212.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libraw1394.so.8()(64bit) needed by kdebase4-workspace-4.5.95-553.2.x86_64
Problem: nothing provides libraw1394.so.8()(64bit) needed by kdebase4-workspace-4.5.95-553.2.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30)(64bit) needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides libhd.so.17()(64bit) needed by kio_sysinfo-11.3-12.16.x86_64

Problem: nothing provides libxml2.so.2(LIBXML2_2.4.30) needed by strigi-0.7.3-47.3.i586
 Solution 1: keep obsolete strigi-0.7.3-2.2.x86_64
 Solution 2: break strigi by ignoring some of its dependencies

Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): c

Attempting to install from the /Factory/openSUSE_Factory/ KDE repo kicks out:

Problem: nothing provides shared-mime-info >= 0.90 needed by kdelibs4-4.5.95-362.1.x86_64

for many other modules.

KDE 4.6 RC2 installed cleanly on my 11.3 64-bit (lso with the 2.6.37 kernel). The few references I found to “libxml2.so.2” were relatively old posts, and “shared-mime-info” dated back to 2004.

Any ideas are appreciated. Since this is a clean install, re-installation is only ~20 minutes.

@SeanMc98

Looks like you are mixing 11.3, 11.4 and Factory repositories.

If you want KDE-4.6.0-rc2 on an 11.4-Milestone base with the 2.6.37 kernel; you could remove all of your repositories and then:


zypper ar  http://download.opensuse.org/distribution/11.4/repo/oss/  openSUSE-11.4-Oss
zypper ar http://download.opensuse.org/update/11.4/  openSUSE-11.4-Update
zypper ar  http://download.opensuse.org/repositories/Kernel:/HEAD/openSUSE_Factory/  Kernel:HEAD
zypper ar  http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_Factory/  KDE:Distro:Factory

zypper ref
zypper dup


That should get everything working – you can add non-OSS later. I generally prefer to refresh repositories manually on an “unstable” system.

I eye-balled the -oss and -update repos (straight from the install), and unless I missed something, they appear correct.

Repositories updated to :


linux-1h16:~ # zypper lr -Pd
# | Alias                               | Name                                | Enabled | Refresh | Priority | Type   | URI                                                                              | Service
--+-------------------------------------+-------------------------------------+---------+---------+----------+--------+----------------------------------------------------------------------------------+--------
3 | Updates-for-openSUSE-11.4-11.4-1.32 | Updates for openSUSE 11.4 11.4-1.32 | Yes     | Yes     |   79     | rpm-md | http://download.opensuse.org/update/11.4/                                        |        
2 | Kernel_HEAD                         | Kernel HEAD Factory                 | No      | Yes     |   82     | rpm-md | http://download.opensuse.org/repositories/Kernel%3a/HEAD/openSUSE_Factory/       |        
1 | KDE_4.6_RC2_Factory                 | KDE 4.6 RC2 Factory                 | No      | Yes     |   85     | rpm-md | http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_Factory/ |        
5 | repo-debug                          | openSUSE-11.4-Debug                 | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/11.4/repo/oss/                   |        
6 | repo-non-oss                        | openSUSE-11.4-Non-Oss               | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/non-oss/                     |        
7 | repo-oss                            | openSUSE-11.4-Oss                   | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/oss/                         |        
8 | repo-source                         | openSUSE-11.4-Source                | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/11.4/repo/oss/                  |        
4 | openSUSE-11.4-11.4-1.32             | openSUSE-11.4-11.4-1.32             | Yes     | No      |  100     | yast2  | cd:///?devices=/dev/sr0                                                          |        
linux-1h16:~ #

and ran :


linux-1h16:~ # zypper ref
Repository 'Updates for openSUSE 11.4 11.4-1.32' is up to date.
Repository 'openSUSE-11.4-Non-Oss' is up to date.
Repository 'openSUSE-11.4-Oss' is up to date.
All repositories have been refreshed.
linux-1h16:~ #

Next, ran :



linux-1h16:~ # zypper dup
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

The following packages are going to be upgraded:
  gnucash gnucash-lang preload-kmp-desktop 

The following package is going to be downgraded:
  kernel-desktop 

The following packages are going to change vendor:
  kernel-desktop       obs://build.opensuse.org/Kernel -> openSUSE
  preload-kmp-desktop  obs://build.opensuse.org/Kernel -> openSUSE


3 packages to upgrade, 1 to downgrade, 2  to change vendor.
Overall download size: 40.1 MiB. After the operation, 3.0 KiB will be freed.
Continue? [y/n/?] (y): y
Retrieving package kernel-desktop-2.6.37-12.2.x86_64 (1/4), 35.3 MiB (137.2 MiB unpacked)
Retrieving: kernel-desktop-2.6.37-12.2.x86_64.rpm [done (439.2 KiB/s)]
Retrieving package gnucash-lang-2.3.17-1.6.noarch (2/4), 1.6 MiB (9.7 MiB unpacked)
Retrieving: gnucash-lang-2.3.17-1.6.noarch.rpm [done (312.5 KiB/s)]
Retrieving package preload-kmp-desktop-1.2_k2.6.37.0_rc5_12-2.9.x86_64 (3/4), 40.0 KiB (137.0 KiB unpacked)
Retrieving: preload-kmp-desktop-1.2_k2.6.37.0_rc5_12-2.9.x86_64.rpm [done (20.9 KiB/s)]
Retrieving package gnucash-2.3.17-1.6.x86_64 (4/4), 3.2 MiB (17.7 MiB unpacked)
Retrieving: gnucash-2.3.17-1.6.x86_64.rpm [done (377.0 KiB/s)]
Installing: kernel-desktop-2.6.37-12.2 [done]
Additional rpm output:

Kernel image:   /boot/vmlinuz-2.6.37-rc5-12-desktop
Initrd image:   /boot/initrd-2.6.37-rc5-12-desktop
cp: cannot stat `/lib64/libglib-2.0.so.0.2700.0': No such file or directory
KMS drivers:     i915
Root device:	/dev/disk/by-id/ata-ST9500325AS_6VE3ZHX6-part16 (/dev/sda16) (mounted on / as ext4)
Resume device:	/dev/disk/by-id/ata-ST9500325AS_6VE3ZHX6-part9 (/dev/sda9)
Kernel Modules:	thermal_sys thermal processor fan crc16 jbd2 ext4 video button i2c-algo-bit drm drm_kms_helper i915 
Features:       kms block usb resume.userspace resume.kernel
Bootsplash:	openSUSE (1024x768)disabled for resolution 1600x900

48994 blocks


Installing: gnucash-lang-2.3.17-1.6 [done]
Installing: preload-kmp-desktop-1.2_k2.6.37.0_rc5_12-2.9 [done]
Installing: gnucash-2.3.17-1.6 [done]
linux-1h16:~ # 

Enabled the KDE RC2 repo :


linux-1h16:~ # zypper lr -Pd
# | Alias                               | Name                                | Enabled | Refresh | Priority | Type   | URI                                                                              | Service
--+-------------------------------------+-------------------------------------+---------+---------+----------+--------+----------------------------------------------------------------------------------+--------
3 | Updates-for-openSUSE-11.4-11.4-1.32 | Updates for openSUSE 11.4 11.4-1.32 | Yes     | Yes     |   79     | rpm-md | http://download.opensuse.org/update/11.4/                                        |        
2 | Kernel_HEAD                         | Kernel HEAD Factory                 | No      | Yes     |   82     | rpm-md | http://download.opensuse.org/repositories/Kernel%3a/HEAD/openSUSE_Factory/       |        
1 | KDE_4.6_RC2_Factory                 | KDE 4.6 RC2 Factory                 | Yes     | Yes     |   85     | rpm-md | http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_Factory/ |        
5 | repo-debug                          | openSUSE-11.4-Debug                 | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/11.4/repo/oss/                   |        
6 | repo-non-oss                        | openSUSE-11.4-Non-Oss               | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/non-oss/                     |        
7 | repo-oss                            | openSUSE-11.4-Oss                   | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/oss/                         |        
8 | repo-source                         | openSUSE-11.4-Source                | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/11.4/repo/oss/                  |        
4 | openSUSE-11.4-11.4-1.32             | openSUSE-11.4-11.4-1.32             | Yes     | No      |  100     | yast2  | cd:///?devices=/dev/sr0                                                          |        
linux-1h16:~ # zypper ref
Repository 'KDE 4.6 RC2 Factory' is up to date.
Repository 'Updates for openSUSE 11.4 11.4-1.32' is up to date.
Repository 'openSUSE-11.4-Non-Oss' is up to date.
Repository 'openSUSE-11.4-Oss' is up to date.
All repositories have been refreshed.
linux-1h16:~ #

Next, ran :


linux-1h16:~ # zypper dup -r KDE_4.6_RC2_Factory
Loading repository data...
Reading installed packages...
Computing distribution upgrade...
87 Problems:
Problem: nothing provides libxslt.so.1 needed by kdelibs4-4.5.95-362.1.i586
Problem: nothing provides shared-mime-info >= 0.90 needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides shared-mime-info >= 0.90 needed by kdelibs4-4.5.95-362.1.x86_64
.
.
.
Problem: nothing provides shared-mime-info >= 0.90 needed by kdelibs4-4.5.95-362.1.x86_64
Problem: digikam-lang-1.7.0-62.7.noarch requires digikam = 1.7.0, but this requirement cannot be provided
Problem: nothing provides shared-mime-info >= 0.90 needed by kdelibs4-4.5.95-362.1.x86_64
.
.
Problem: nothing provides shared-mime-info >= 0.90 needed by kdelibs4-4.5.95-362.1.x86_64

Problem: nothing provides libxslt.so.1 needed by kdelibs4-4.5.95-362.1.i586
 Solution 1: keep obsolete kdelibs4-4.5.85-1.1.x86_64
 Solution 2: break kdelibs4 by ignoring some of its dependencies

Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): c
linux-1h16:~ # 

(NOTE: 80 of the 87 problems removed for postability)

It appears that “libxml2.so.2” dependency is resolved, though 87 problems, primarily the “shared-mime-info”, remain.

@SeanMc98********

if you had zypper rr everything, you would have gotten rid of the custom priorities and disabled repositories that hamper zypper from solving the dependencies and installing the latest versions.

zypper dup -r KDE_4.6_RC2_Factory
prevents the dependencies being resolved by getting additional packages from repo OSS. You have to use all the required repos. This is why you are trying to use kdelibs4-4.5.95-362.1.i586.

Just follow the instructions and (hopefully) get it working. Then you can fiddle with YaST and break it any way you want!

I removed the Kernel/HEAD repo, and now the repositories set to :


sean@linux-1h16:~> zypper lr -Pd
# | Alias                               | Name                                | Enabled | Refresh | Priority | Type   | URI                                                                              | Service
--+-------------------------------------+-------------------------------------+---------+---------+----------+--------+----------------------------------------------------------------------------------+--------
1 | KDE_4.6_RC2_Factory                 | KDE 4.6 RC2 Factory                 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_Factory/ |        
2 | Updates-for-openSUSE-11.4-11.4-1.32 | Updates for openSUSE 11.4 11.4-1.32 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.4/                                        |        
4 | repo-debug                          | openSUSE-11.4-Debug                 | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/11.4/repo/oss/                   |        
5 | repo-non-oss                        | openSUSE-11.4-Non-Oss               | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/non-oss/                     |        
6 | repo-oss                            | openSUSE-11.4-Oss                   | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/oss/                         |        
7 | repo-source                         | openSUSE-11.4-Source                | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/11.4/repo/oss/                  |        
3 | openSUSE-11.4-11.4-1.32             | openSUSE-11.4-11.4-1.32             | Yes     | No      |  100     | yast2  | cd:///?devices=/dev/sr0                                                          |        
sean@linux-1h16:~> 

Then, following your instruction, ran :

zypper dup

No errors, no warnings, and KDE is 4.5.85 (4.6 Beta2). I went back and repeated the KDE 4.6 RC2 on an 11.3 without issue. What am I missing here ?

(Additional information)

After the “zypper dup” which successfully brought KDE to 4.5.85 (Beta2), subsequent attempts to upgrade to 4.6 RC2 (KDE 4.5.95) yielded


linux-1h16:~ # zypper dup -r KDE_4.6_RC2_Factory
Loading repository data...
Reading installed packages...
Computing distribution upgrade...
87 Problems:
Problem: nothing provides libxslt.so.1 needed by kdelibs4-4.5.95-362.1.i586
Problem: nothing provides shared-mime-info >= 0.90 needed by kdelibs4-4.5.95-362.1.x86_64
Problem: nothing provides shared-mime-info >= 0.90 needed by kdelibs4-4.5.95-362.1.x86_64
.
.
.
Problem: nothing provides shared-mime-info >= 0.90 needed by kdelibs4-4.5.95-362.1.x86_64
Problem: digikam-lang-1.7.0-62.7.noarch requires digikam = 1.7.0, but this requirement cannot be provided
Problem: nothing provides shared-mime-info >= 0.90 needed by kdelibs4-4.5.95-362.1.x86_64
.
.
Problem: nothing provides shared-mime-info >= 0.90 needed by kdelibs4-4.5.95-362.1.x86_64

Problem: nothing provides libxslt.so.1 needed by kdelibs4-4.5.95-362.1.i586
 Solution 1: keep obsolete kdelibs4-4.5.85-1.1.x86_64
 Solution 2: break kdelibs4 by ignoring some of its dependencies

Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c): c
linux-1h16:~ # 

(NOTE: 80 of the 87 problems removed for postability)

If there is no immediate solution to this problem, I will re-attempt with Milestone 6 which is scheduled soon (Jan 20, 2011).

@SeanMc98

zypper dup –from KDE_4.6_RC2_Factory