PDA

View Full Version : Why Not Hold Back Problematic Dependencies?


Nullack
12th February 2009, 09:06 AM
I'm giving Fedora rawhide a bit of a test - I usually test out Ubuntu's dev build.

Anyway after confirming my repo sources for some reason when I selected all updates and clicked apply, nothing happened in the update system GUI. So I closed it and used the update applet instead.

I've got 312 updates, cool, gimme the goodness. Then I find that the package manager has wigged out of the whole upgrade just because it has problem dependencies on one package. A feature I've taken for granted so far in Ubuntu is that apt will simply hold back problem dependencies but still give the user those packages that are ok to upgrade.

In Fedora it just wiggs out on the whole upgrade.

Is there a way to tell the package manager to hold back problems and just install the OK packages?

Wayne
12th February 2009, 09:11 AM
yum update --exclude=packagename

or

yum update --skip-broken

or install Yumex

Wayne

marcrblevins
12th February 2009, 09:13 AM

You meant?

man yum
--skip-broken
Resolve depsolve problems by removing packages that are causing problems from
the transaction.
Configuration Option: skip_broken

Try:

su -
yum --skip-broken update


Sorry Wayne, didn't see you response as well.

Nullack
12th February 2009, 09:14 AM
Right, thanks gents

Nullack
12th February 2009, 09:17 AM
Thinking this through a bit more, I wonder if this is a usability bug I should report? Why make the user resort to the CLI, and default the GUIs for updates to report that problem dependencies exist but still do the OK ones anyway?

Wayne
12th February 2009, 09:20 AM
Thinking this through a bit more, I wonder if this is a usability bug I should report? Why make the user resort to the CLI, and default the GUIs for updates to report that problem dependencies exist but still do the OK ones anyway?

The GUI is still a work in progress and is not feature complete, that's why I suggest installing yumex instead. Some of us here prefer to use the Terminal, I even go so far as to remove the packager installer :)

@Marc... No problem, I was busy editing my post with other options :)

Wayne

Nullack
12th February 2009, 09:33 AM
That's great, thanks guys :) Ive got yumex installed and doing the updates.

I have one final question on this topic of upgrades. I've searcged around and read the FAQ but I havent found anything explaining it so far. I'd be grateful to know the difference between the rawhide repo and the Fedora 10.91 repos? Whats the difference? If I'm on rawhide, am I right to just have rawhide? Thanks for the help :)

markkuk
12th February 2009, 09:49 AM
Fedora 11 Alpha a.k.a. Fedora 10.91 is a snapshot of the development process. The F11 alpha repo contents won't change, same as any final release repos. Rawhide contains the constantly changing development packages. You don't need the F11 alpha repo if you have Rawhide.

Vinagre
12th February 2009, 11:25 AM
PackageKit need this feature too.

planetf1
16th February 2009, 01:19 PM
I'ved just put this in /etc/yum.conf
skip_broken=1

I've yet to be convinced of packagekit and just use yum update.