PDA

View Full Version : APT conflicts



mip
11th February 2004, 07:09 PM
Getting the following error when I try and install K3b on my machine (using KDE3.2):

# apt-get install k3b
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
k3b (0.10.3-0.lvn.2.1)
0 upgraded, 1 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/2493kB of archives.
After unpacking 6649kB of additional disk space will be used.
Checking GPG signatures...
Committing changes...
Preparing... ########################################### [100%]
file /usr/share/mimelnk/application/x-cue.desktop from install of k3b-0.10.3-0.lvn.2.1 conflicts with file from package kdelibs-3.2.0-0.1
file /usr/share/mimelnk/application/x-iso.desktop from install of k3b-0.10.3-0.lvn.2.1 conflicts with file from package kdelibs-3.2.0-0.1
E: Error while running transaction

Anyone got any ideas about how I can get around this problem?

Ug
11th February 2004, 11:31 PM
Is that definately the latest version of K3B? I'd got to their website, and see if they've any patches or something.

mip
12th February 2004, 12:28 AM
I wasn't having any problems before I installed KDE3.2. In fact I had to remove K3B in order to install KDE3.2.

mhelios
12th February 2004, 03:08 AM
It's called a cyclic dependency, some part of a package spec is broken in a way to confuse the installer and one package depends on the other and vice versa..
Have you tried the -f option to apt-get?
Or will it work using yum?

Unfortunately, mixing of multiple repos can cause conflicts with the same packages being offered at different repos. The only thing to do is inform the repository maintainer of the problem.

mip
12th February 2004, 10:24 AM
Originally posted by mhelios
Unfortunately, mixing of multiple repos can cause conflicts with the same packages being offered at different repos. The only thing to do is inform the repository maintainer of the problem.

I was worried about mixing repos. That's why I keep the sources to a bare minimum.

I installed the latest version of K3b from the K3b homepage and I didn't have any problems.

Ug
12th February 2004, 11:48 AM
So you've got it working then?

mip
12th February 2004, 11:56 AM
Yes.

I added the K3b repos to my apt sources and installed the version from there.

Ug
12th February 2004, 12:02 PM
I thought the solution would be something like that, dependency hell is not a nice thing.

mhelios
12th February 2004, 12:47 PM
It's great that we have more intelligent tools such as yum and apt that can automatically handle dependencies, but even they can trip up now and then.
Closer collabaration between the various popular repos such as freshrpms, dag, atrpms and fedora.us is needed so these problems don't occur.
When the framework for the Fedora Core "Extras" is fully in place at the main fedora rep, rather than the current fedora.us, this should make life easier, as the packages should be known to work with Core, Updates, and Updates testing.

Ug
12th February 2004, 02:23 PM
Simplification is as is generally the case, the key it seems.

mip
12th February 2004, 03:21 PM
I think it would be a good idea if someone could put together a basic apt sources file which beginners could copy. Something which will ensure they don't suffer problems with dependencies.

Probably something like this:

# Fedora Core + Extras repositories
rpm http://fedora.quicknet.nl/fedora/ fedora/1/i386 os updates stable unstable testing
rpm-src http://fedora.quicknet.nl/fedora/ fedora/1/i386 os updates stable unstable testing

rpm http://rpm.livna.org/ fedora/1/i386 stable unstable testing
rpm-src http://rpm.livna.org/ fedora/1/i386 stable unstable testing

Comments? Suggestions?

Ug
12th February 2004, 03:43 PM
Yea, its definately a hot topic despite the amount of stuff hanging around the net.

I think it would be worth my while to make something and put it up in the how-to forum. I'll get that sorted by the end of the weekend.

mhelios
12th February 2004, 04:25 PM
For APT you could try this one:
http://fedoranews.org/ghenry/apt/

I prefer YUM though, so I haven't tested it.

A good list however for YUM can be found here:
http://fedora.artoo.net/faq/samples/yum.conf

Ug
12th February 2004, 05:50 PM
That FedoraNews Apt Repoistory list, really isn't that good. I've experienced problems with several of the sources listed, and had conlictions.

mip
12th February 2004, 09:50 PM
It looks like it has too many different sources to me. Bound to be problems.