You are not logged in.

#1 2012-10-25 16:47:36

PaulBx1
Member
Registered: 2008-10-18
Posts: 142

[Solved] system upgrade fails with util-linux/eject conflict

I backed everything up, then deleted the fontconfig links and updated fontconfig, which worked properly. Then I did "pacman -Syu" and got this:

[root@myhost ~]# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
warning: dependency cycle detected:
warning: systemd will be installed before its dbus-core dependency
looking for inter-conflicts...
:: util-linux and eject are in conflict. Remove eject? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: util-linux and eject are in conflict
[root@myhost ~]# 

Looks like two distinct problems. Note that I already have the /lib thing taken care of (turning it into a link), in a previous update. The forum searches I have done about this issue did not yield much.

Last edited by PaulBx1 (2012-10-25 19:01:28)

Offline

#2 2012-10-25 16:48:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] system upgrade fails with util-linux/eject conflict

Did you try answering 'y' to the question 'Remove eject?'?

Offline

#3 2012-10-25 16:49:10

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [Solved] system upgrade fails with util-linux/eject conflict

uhm.... how about answering 'y'?

Offline

#4 2012-10-25 16:55:55

PaulBx1
Member
Registered: 2008-10-18
Posts: 142

Re: [Solved] system upgrade fails with util-linux/eject conflict

No. I generally follow defaults, especially when I don't know what the ramifications are. I don't know what "eject" is. I suppose I can try to figure out what it is and why it conflicts with linux utils, but don't you think the notes for the upgrade should mention such things?

Also, I am still wondering what to do about the dependency cycle warning, if anything.

Offline

#5 2012-10-25 16:57:25

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [Solved] system upgrade fails with util-linux/eject conflict

util-linux conflicts with eject because eject has been merged into util-linux.

Offline

#6 2012-10-25 16:58:13

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] system upgrade fails with util-linux/eject conflict

The devs feel otherwise and you have to look in e.g. git or search the forums https://bbs.archlinux.org/viewtopic.php … 9#p1165839

Offline

#7 2012-10-25 18:12:07

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [Solved] system upgrade fails with util-linux/eject conflict

Your other choices are to remove util-linux or not updating at all. Why would you want that? Everyone recommended you to answer yes, karol even provided evidence.

Last edited by teateawhy (2012-10-25 18:12:21)

Offline

#8 2012-10-25 19:00:57

PaulBx1
Member
Registered: 2008-10-18
Posts: 142

Re: [Solved] system upgrade fails with util-linux/eject conflict

Yes Karol I had found the info on moving eject to linux-utils in a blog somewhere. I respectfully suggest either making the default answer for the question whether eject should be removed be changed to "Y" (since very few people will need to keep the old eject, and they will probably be skilled users), or making a note of it on the release notes. I don't know how practical this suggestion is however. I upgrade every 2 or 3 months and I lose a lot of details in the interim...

I first updated dbus-core to get rid of the dependency cycle and then did the system upgrade, discarding eject; it worked. Thanks all for your help. I will mark this "solved".

Offline

#9 2012-10-25 19:07:59

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [Solved] system upgrade fails with util-linux/eject conflict

PaulBx1 wrote:

I upgrade every 2 or 3 months

That's your main problem right there. Upgrading that infrequently is unlikely to work well in the long term.

Last edited by 2ManyDogs (2012-10-25 19:08:28)

Offline

#10 2012-10-25 19:14:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] system upgrade fails with util-linux/eject conflict

You can ask on pacman's ML about it.
I found https://bugs.archlinux.org/task/14724 so it seems pacman's behavior has been changed (despite the report getting closed basically as a 'won't fix') to err on 'status quo' side.

Offline

#11 2012-10-25 20:12:50

PaulBx1
Member
Registered: 2008-10-18
Posts: 142

Re: [Solved] system upgrade fails with util-linux/eject conflict

Upgrading that infrequently is unlikely to work well in the long term.

Hell, I thought that was upgrading frequently. One of the reasons I'm on linux is because I don't have to get upgrades every hour as on Windows. "If it ain't broke, don't fix it." I ran a hell of a lot longer on Puppy linux without upgrades. Also, I backup before every upgrade, and then have to fiddle with pacnew files and all the rest, so the result is burning half a day at least on upgrades. I sure don't want to increase the frequency of that.

The choice of defaults should (in my opinion) be decided by the needs of the unsophisticated user (such as myself), of which there are many more than the other type. Sophisticated users can intelligently decide between "y" and "n" because they know what is going on. Unsophisticated users just cross their fingers and hope the defaults work for them.

Offline

#12 2012-10-25 20:22:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] system upgrade fails with util-linux/eject conflict

PaulBx1 wrote:

Upgrading that infrequently is unlikely to work well in the long term.

Hell, I thought that was upgrading frequently. One of the reasons I'm on linux is because I don't have to get upgrades every hour as on Windows. "If it ain't broke, don't fix it." I ran a hell of a lot longer on Puppy linux without upgrades. Also, I backup before every upgrade, and then have to fiddle with pacnew files and all the rest, so the result is burning half a day at least on upgrades. I sure don't want to increase the frequency of that.

Arch is a rolling release so it changes basically every day. Updating every week or two is perfectly fine, but updating every couple months brigs you at odds with what Arch is about.
One of the reasons you may not want to use Arch is when you don't want to or can't spend time on the updates.

PaulBx1 wrote:

The choice of defaults should (in my opinion) be decided by the needs of the unsophisticated user (such as myself), of which there are many more than the other type. Sophisticated users can intelligently decide between "y" and "n" because they know what is going on. Unsophisticated users just cross their fingers and hope the defaults work for them.

Arch is for experienced users and pacman doesn't do e.g. cleaning up - that's left to the user. pacman can surely help with it: 'pacman 'Qdt'.
It may feel unintuitive, but that's how it is.

Offline

#13 2012-10-25 20:26:38

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: [Solved] system upgrade fails with util-linux/eject conflict

PaulBx1 wrote:

Upgrading that infrequently is unlikely to work well in the long term.

Hell, I thought that was upgrading frequently. One of the reasons I'm on linux is because I don't have to get upgrades every hour as on Windows. "If it ain't broke, don't fix it." I ran a hell of a lot longer on Puppy linux without upgrades. Also, I backup before every upgrade, and then have to fiddle with pacnew files and all the rest, so the result is burning half a day at least on upgrades. I sure don't want to increase the frequency of that.

That sort of mentality works well with a distribution like Debian Stable, but I think you've found that it makes updating much more painful on Arch Linux. Small updates every day or two are preferable (in my opinion) than large updates that change most of the system (such as waiting several months). That's when you will experience updates that take hours or even days to fully work through and complete. Not to mention you don't have to worry about having to do a large update everytime you want to install something new (or risk breaking you system if you try to install something new without updating first).

Offline

Board footer

Powered by FluxBB