You are not logged in.

#1 2012-09-24 11:42:42

ratcheer
Member
Registered: 2011-10-09
Posts: 912

[Solved] util-linux and eject in conflict

I have installed all updates smoothly for the past few weeks, but this morning I got this:

:: 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

I accepted the default action, N. I had checked the News before installing. And, so far, I have been unable to find anything related in these forums.

How should I go about fixing this?

Tim

Last edited by ratcheer (2012-09-24 11:50:09)

Offline

#2 2012-09-24 11:47:02

Onyros
Member
From: Lisbon, Portugal
Registered: 2007-10-11
Posts: 307

Re: [Solved] util-linux and eject in conflict

Just remove eject, as util-linux provides it.

Offline

#3 2012-09-24 11:48:15

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

Re: [Solved] util-linux and eject in conflict

util-linux 2.22 provides eject, you should remove the standalone 'eject' package.

Last edited by karol (2012-09-24 11:50:21)

Offline

#4 2012-09-24 11:48:42

ratcheer
Member
Registered: 2011-10-09
Posts: 912

Re: [Solved] util-linux and eject in conflict

Thank you. The warnings do not make that fact apparent.

Tim

Offline

#5 2012-09-24 11:50:07

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

Re: [Solved] util-linux and eject in conflict

In such cases it's best to check why the conflict exists:

$ pacman -Si util-linux
Repository     : core
Name           : util-linux
Version        : 2.22-6
URL            : http://www.kernel.org/pub/linux/utils/util-linux/
Licenses       : GPL2
Groups         : base
Provides       : util-linux-ng=2.22  eject
Depends On     : pam  shadow
Optional Deps  : None
Conflicts With : util-linux-ng eject
Replaces       : None
Download Size  : 1586,18 KiB
Installed Size : 8608,00 KiB
Packager       : Tom Gundersen <teg@jklm.no>
Architecture   : i686
Build Date     : pią, 21 wrz 2012, 00:04:59
MD5 Sum        : e2fa6e0d4fc96ec0a8e2d89eb03cc2e4
SHA256 Sum     : a25d4d7da0f1855ece6060afe8b38bb43e9917e7c45297527a7e091f69df42d1
Signatures     : Yes
Description    : Miscellaneous system utilities for Linux

Last edited by karol (2012-09-24 11:51:19)

Offline

#6 2012-09-24 11:51:13

Fri13
Member
Registered: 2012-09-24
Posts: 2

Re: [Solved] util-linux and eject in conflict

I did that upgrade and I have now lost su program so I can not use konsole or any other shell via graphical terminal. To do anything as root I need to switch virtual terminal and log in as root.
So be prepared to re-install that package if same happens to you.

Last edited by Fri13 (2012-09-24 11:53:29)

Offline

#7 2012-09-24 11:53:57

ratcheer
Member
Registered: 2011-10-09
Posts: 912

Re: [Solved] util-linux and eject in conflict

Thanks. But that still doesn't make it apparent that util-linux replaces the functionality, only that there is a conflict.

Anyway, all fixed now.

Tim

Offline

#8 2012-09-24 11:54:21

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

Re: [Solved] util-linux and eject in conflict

@Fri13
util-linux 2.22-6 provides su

Please open a separate thread and provide some info, e.g. the output of 'ls -l /bin/su'.

Offline

#9 2012-09-24 11:55:33

ratcheer
Member
Registered: 2011-10-09
Posts: 912

Re: [Solved] util-linux and eject in conflict

@Fri13, su is still working for me. But thanks for the heads up.

Tim

Offline

#10 2012-09-24 11:59:14

okubax
Member
From: Kent, UK.
Registered: 2010-04-24
Posts: 210
Website

Re: [Solved] util-linux and eject in conflict

too slow ...

Last edited by okubax (2012-09-24 11:59:57)

Offline

#11 2012-09-24 12:02:01

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

Re: [Solved] util-linux and eject in conflict

ratcheer wrote:

Thanks. But that still doesn't make it apparent that util-linux replaces the functionality, only that there is a conflict.

If you run 'pacman -Si foo' and it says that ''foo' provides 'bar', I hope 'foo' does provide the functionality of 'bar', like systemd provides udev (and soon dbus ;P https://bugs.archlinux.org/task/31664 ).

Offline

#12 2012-09-24 13:27:27

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: [Solved] util-linux and eject in conflict

Fri13 wrote:

I did that upgrade and I have now lost su program so I can not use konsole or any other shell via graphical terminal. To do anything as root I need to switch virtual terminal and log in as root.
So be prepared to re-install that package if same happens to you.

I also found that I can't launch gedit and thunar in XFCE from su to root as I could before the update.  I miss that feature, but I found that I can use gksu instead.  I.E. "gksu gedit" or "gksu thunar".  A pop up will appear asking for your root password.

EDIT:  As an alternative; I finally got sudo to work by editing with visudo.  I edited the following section as such.

## Uncomment to allow any user to run sudo if they know the password
## of the user they are running the command as (root by default).
Defaults rootpw  # Ask for the password of the target user
myusername ALL=(ALL) ALL  # WARNING: only use this together with 'Defaults targetpw'

'myusername' would of course change from user to user and would need to be edited accordingly.

Here is what I see in terminal when I launch gedit with sudo.

$ sudo gedit
[sudo] password for root: 

Last edited by David Batson (2012-09-24 15:30:29)

Offline

#13 2012-09-24 16:47:31

cirrus
Member
From: Glasgow Scotland
Registered: 2012-08-24
Posts: 340
Website

Re: [Solved] util-linux and eject in conflict

No problems here removing eject ( openbox 64 bit, latest iso release installation ) although i have edited visudo and added myself to wheel group before hand.

Last edited by cirrus (2012-09-24 16:49:32)

Offline

#14 2012-09-25 13:08:01

jesusangelm
Member
Registered: 2012-04-30
Posts: 29
Website

Re: [Solved] util-linux and eject in conflict

I answered yes to this question and now I cannot enter the system...
any suggestions?

Offline

#15 2012-09-27 22:23:23

bdetwil
Member
Registered: 2012-09-27
Posts: 3

Re: [Solved] util-linux and eject in conflict

$pacman -R eject returns that udisks and udisks2 require eject as a dependency...is it safe to force removal?

Offline

#16 2012-09-28 12:08:49

lucastanure
Member
From: Campinas - Brazil
Registered: 2012-09-28
Posts: 3

Re: [Solved] util-linux and eject in conflict

I can't solve this problem here with KDE

yaourt -Rs eject
checking dependencies...                                                                                                                                                                                 
error: failed to prepare transaction (could not satisfy dependencies)                                                                                                                                     
:: udisks: requires eject

and then :

yaourt -Rs eject udisks                                                                                                                                                           
checking dependencies...                                                                                                                                                                                 
error: failed to prepare transaction (could not satisfy dependencies)                                                                                                                                     
:: kdelibs: requires udisks                                                                                                                                                                               
:: python2-udiskie: requires udisks

How I can solve this ?

Offline

#17 2012-09-28 12:16:56

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [Solved] util-linux and eject in conflict

-Rdd eject

Offline

#18 2012-09-28 12:51:44

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Solved] util-linux and eject in conflict

Surely this is obvious... you don't explicitly remove eject, you answer Yes when pacman asks if you want to remove eject to resolve the conflict with util-linux.

This kind of stuff happens all the time, and pacman asks you about it to give you control over your system.

Anyone whose issue does not relate the the above-mentioned conflict should look for a thread relevant to their issue, or start one if necessary.

Offline

#19 2012-09-28 22:04:03

lucastanure
Member
From: Campinas - Brazil
Registered: 2012-09-28
Posts: 3

Re: [Solved] util-linux and eject in conflict

Solved !

Offline

#20 2012-10-03 04:29:28

wolfdogg
Member
From: Portland, OR, USA
Registered: 2011-05-21
Posts: 545

Re: [Solved] util-linux and eject in conflict

bdetwil wrote:

$pacman -R eject returns that udisks and udisks2 require eject as a dependency...is it safe to force removal?

i did a

pacman -Syyu

i too got the udisk and udisk2 dependencies,
so i did a

pacman -Rdd eject
pacman -Suu util-linux

Thanks swanson, im guessing that meant not only thats how you force remove, but that it was ok to do so? (a note on that would have been more reassuring) I wasnt sure without having done any research on this matter.  I was going out on a limb assuming this.  :-)

ill let you all know if i have any problems.  This is my laptop, and it needs 500mb of downloads, some of which is for KDE.  Theres a good chance that something will need attention after this.  Before everyone goes and reminds me that I need to update more often, i know i do.  I updated the server today to, it took 100MB of downloads. :-)  I think its been a few weeks.

Last edited by wolfdogg (2012-10-03 04:32:16)


Node.js, PHP Software Architect and Engineer (Full-Stack/DevOps)
GitHub  | LinkedIn

Offline

Board footer

Powered by FluxBB