Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Blocked package? [SOLVED]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
26 posts
  • 1
  • 2
  • Next
Author
Message
tmcca
Tux's lil' helper
Tux's lil' helper
Posts: 120
Joined: Fri May 24, 2019 11:30 pm

Blocked package? [SOLVED]

  • Quote

Post by tmcca » Sun Oct 27, 2019 5:25 pm

I am trying to figure out what to do here.

It says sys-fs/udev is blocking sys-fs/eudev

I selected profile set 23 and updated using emerge --ask --verbose --update --deep --newuse @world

Added more data to the title in the hopes of reducing the likelihood of duplicate threads. —[profile=215889]Chiitoo[/profile]
Last edited by tmcca on Tue Oct 29, 2019 7:07 pm, edited 1 time in total.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sun Oct 27, 2019 5:27 pm

You can post full emerge output and emerge --info? Probably you have problem with some use flag
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
sphakka
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 79
Joined: Tue Jun 24, 2003 8:47 am

  • Quote

Post by sphakka » Sun Oct 27, 2019 6:25 pm

Apparently there's something fishy with "virtual/libudev".

So, if you see this

Code: Select all

[blocks B     ] sys-fs/udev ("sys-fs/udev" is blocking sys-fs/eudev-3.2.5)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-fs/udev-242:0/0::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-fs/udev-232:0/0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,
      abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,
      abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=sys-fs/udev-232:0/0[abi_x86_64(-)]) required by (virtual/libudev-232-r1:0/1::gentoo, ebuild scheduled for merge)

  (sys-fs/eudev-3.2.5:0/0::gentoo, installed) pulled in by
    >=sys-fs/eudev-2.1.1 required by (virtual/udev-217:0/0::gentoo, installed) 
Workaround is to mask

Code: Select all

>=virtual/libudev-232-r1
That would downgrade to "virtual/libudev-215-r1" (weird: I have v232 installed, but it's no longer in tree!?).

Wrapped a long line to make the forum layout behave. —[profile=215889]Chiitoo[/profile]
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

Re: Blocked package?

  • Quote

Post by charles17 » Sun Oct 27, 2019 6:29 pm

tmcca wrote:I am trying to figure out what to do here.

It says sys-fs/udev is blocking sys-fs/eudev
See https://gitweb.gentoo.org/repo/gentoo.g ... ?showmsg=1

So you might put

Code: Select all

# required by =virtual/libudev-232-r2 (argument)
=virtual/libudev-232-r2 ~amd64
# required by =sys-fs/eudev-3.2.9 (argument)
=sys-fs/eudev-3.2.9 ~amd64
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sun Oct 27, 2019 6:31 pm

sphakka wrote:Apparently there's something fishy with "virtual/libudev".
You right

Code: Select all

RDEPEND="
        !systemd? ( >=sys-fs/udev-232:0/0[${MULTILIB_USEDEP}] )
        systemd? ( >=sys-apps/systemd-232:0/2[${MULTILIB_USEDEP}] )
"

Code: Select all

commit 9f09d6675b255190d9376671c68565c54662d771
Author: Michał Górny <mgorny@gentoo.org>
Date:   Sat Oct 26 17:43:59 2019 +0200

    virtual/libudev: Remove incorrect eudev provider from 232
    
    Remove sys-fs/eudev from the list of providers for 232 since it does
    not satisfy the requirement on that version.  Since it is the only
    provider offering static-libs, remove that flag as well (reverse
    dependencies have already been updated to account for that).  While
    at it, bump to EAPI 7.
    
    People who are in dire need of static libraries or eudev in general
    can still install the older version of virtual/libudev.
    
    Closes: https://bugs.gentoo.org/697550
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
sphakka wrote:That would downgrade to "virtual/libudev-215-r1" (weird: I have v232 installed, but it's no longer in tree!?).
Or unmask 232-r2
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
xanderal
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 133
Joined: Wed Mar 06, 2019 4:35 am
Location: Germany

  • Quote

Post by xanderal » Sun Oct 27, 2019 7:16 pm

Same problem here.
sphakka wrote:Workaround is to mask

Code: Select all

>=virtual/libudev-232-r1
That would downgrade to "virtual/libudev-215-r1" (weird: I have v232 installed, but it's no longer in tree!?).
fedeliallalinea wrote:Or unmask 232-r2
Is there a good reason to prefer one over the other?
virtual/libudev-232-r2 was just released a couple hours ago...
Top
sphakka
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 79
Joined: Tue Jun 24, 2003 8:47 am

  • Quote

Post by sphakka » Sun Oct 27, 2019 7:49 pm

Thanks for the info, @fedeliallalinea. But
fedeliallalinea wrote:Or unmask 232-r2
nope (I tried it), you need the older v215-r1. The message is clear: no eudev with "virtual/libudev-232". What's not clear to me from the bug report is if future libudev releases will support eudev (I don't use static-libs).
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sun Oct 27, 2019 7:52 pm

xanderal wrote:Same problem here.
sphakka wrote:Workaround is to mask

Code: Select all

>=virtual/libudev-232-r1
That would downgrade to "virtual/libudev-215-r1" (weird: I have v232 installed, but it's no longer in tree!?).
fedeliallalinea wrote:Or unmask 232-r2
Is there a good reason to prefer one over the other?
virtual/libudev-232-r2 was just released a couple hours ago...
No if some package don't require a >=232 version.
Version 232 for to install eudev-3.2.9 I think cause by this bug.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
sphakka
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 79
Joined: Tue Jun 24, 2003 8:47 am

  • Quote

Post by sphakka » Sun Oct 27, 2019 8:01 pm

For the time being (I use OpenRC), I stick to v232 in package.mask

Code: Select all

>=virtual/libudev-232-r1
<virtual/libudev-232
Smells like eudev is lagging a bit behind...
Top
xanderal
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 133
Joined: Wed Mar 06, 2019 4:35 am
Location: Germany

  • Quote

Post by xanderal » Sun Oct 27, 2019 8:02 pm

sphakka wrote:
fedeliallalinea wrote:Or unmask 232-r2
nope (I tried it), you need the older v215-r1. The message is clear: no eudev with "virtual/libudev-232".
Are you sure? This is in the ebuild of 232-r2:

Code: Select all

!systemd? ( || (
        >=sys-fs/eudev-3.2.9:0/0[${MULTILIB_USEDEP},static-libs(-)?]
        >=sys-fs/udev-232:0/0[${MULTILIB_USEDEP},static-libs(-)?]
) )
sphakka wrote:What's not clear to me from the bug report is if future libudev releases will support eudev (I don't use static-libs).
The new release note looks promising.

edited to clean up code part
Top
sphakka
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 79
Joined: Tue Jun 24, 2003 8:47 am

  • Quote

Post by sphakka » Sun Oct 27, 2019 8:13 pm

xanderal wrote:Are you sure? This is in the ebuild of 232-r2:

Code: Select all

!systemd? ( || (
+		>=sys-fs/eudev-3.2.9:0/0[${MULTILIB_USEDEP},static-libs(-)?]
+		>=sys-fs/udev-232:0/0[${MULTILIB_USEDEP},static-libs(-)?]
+	) )
I didn't work probably because sys-fs/eudev is at 3.2.5 while higher versions are masked. Will unmask and retry later.
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

  • Quote

Post by charles17 » Sun Oct 27, 2019 8:45 pm

sphakka wrote:I didn't work probably because sys-fs/eudev is at 3.2.5 while higher versions are masked. Will unmask and retry later.
Go back 7 posts ...
Top
tmcca
Tux's lil' helper
Tux's lil' helper
Posts: 120
Joined: Fri May 24, 2019 11:30 pm

  • Quote

Post by tmcca » Sun Oct 27, 2019 8:50 pm

Thanks for the replies by entering this

Code: Select all

 /etc/portage/package.accept_keywords:	
# required by =virtual/libudev-232-r2 (argument)
=virtual/libudev-232-r2 ~amd64
# required by =sys-fs/eudev-3.2.9 (argument)
=sys-fs/eudev-3.2.9 ~amd64
is a temporary fix correct? Is this the correct approach to solve this?
Top
xanderal
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 133
Joined: Wed Mar 06, 2019 4:35 am
Location: Germany

  • Quote

Post by xanderal » Sun Oct 27, 2019 10:48 pm

Ok, I just finished doing an upgrade with the workaround charles17 suggested.
No errors to report, everything is working fine ;) Thanks
Top
UlvHare
n00b
n00b
Posts: 24
Joined: Wed Sep 09, 2015 9:40 pm
Location: USSR

  • Quote

Post by UlvHare » Mon Oct 28, 2019 9:03 am

Thank you all for the information! It saved me from eudev loss and a working day to restore.
Really I was shocked:
  1. eudev is necessary (for desktop without systemd)
  2. today update causing eudev loss in stable system
  3. are we on Gentoo or on Arch? :wink:
Bad joke or developers need some rest, not work at Sunday night.

After reading this tread my workaround is:

Code: Select all

alver@hare ~ $ cat /etc/portage/package.mask/libudev
=virtual/libudev-232-r1
which downgraded it to ver. 215-r1 and let me normal daily update. Reboot... So far so good.

Waiting for stabilizing virtual/libudev-232-r2 and sys-fs/eudev-3.2.9... or new surprises?
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Mon Oct 28, 2019 9:16 am

UlvHare wrote:Waiting for stabilizing virtual/libudev-232-r2 and sys-fs/eudev-3.2.9... or new surprises?
No surprises, the problem arises from this bug.
UlvHare wrote:Bad joke or developers need some rest, not work at Sunday night.
Maybe (I'm in no position to know) the better solution was to mask the libudev-232-r1 package, but also developers can make mistakes and formus, irc, ml,... are here for help community.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
jserink
Veteran
Veteran
Posts: 1036
Joined: Fri Jan 30, 2004 7:57 am

  • Quote

Post by jserink » Mon Oct 28, 2019 10:15 am

Charles17 solution worked for me aswell.

In my /etc/portage/package.accept_keywords:
# required by =virtual/libudev-232-r2 (argument)
=virtual/libudev-232-r2 ~amd64
# # required by =sys-fs/eudev-3.2.9 (argument)
=sys-fs/eudev-3.2.9 ~amd64


Cheers,
John
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Mon Oct 28, 2019 10:52 am

fedeliallalinea wrote:the better solution was to mask the libudev-232-r1 package, but also developers can make mistakes and formus, irc, ml,... are here for help community.
The devs are too gung-ho about removing ebuilds that are considered updated.
There's really no harm in an ebuild sitting for a few days or a week to make sure the new one works properly.
In cases like this, then simply masking the upgrade would allow the currently working ebuild/installed pkg to continue to work.
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
Josef.95
Advocate
Advocate
Posts: 4857
Joined: Mon Sep 03, 2007 9:46 am
Location: Germany

  • Quote

Post by Josef.95 » Mon Oct 28, 2019 12:49 pm

Should now be fixed, see https://bugs.gentoo.org/698726#c6
A fresh

Code: Select all

emerge --sync
should now help :)
Top
UlvHare
n00b
n00b
Posts: 24
Joined: Wed Sep 09, 2015 9:40 pm
Location: USSR

  • Quote

Post by UlvHare » Tue Oct 29, 2019 7:15 am

fedeliallalinea wrote: No surprises, the problem arises from this bug.
Very strange, IMO. That bug is specific for Gnome without systemd and results of such "cure" affect many more users.
fedeliallalinea wrote: Maybe (I'm in no position to know) the better solution was to mask the libudev-232-r1 package, but also developers can make mistakes and formus, irc, ml,... are here for help community.
Yes, great thanks to this forum again!
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Tue Oct 29, 2019 7:34 am

UlvHare wrote:
fedeliallalinea wrote: No surprises, the problem arises from this bug.
Very strange, IMO. That bug is specific for Gnome without systemd and results of such "cure" affect many more users.
Now virtual/libudev-232-r2 and sys-fs/eudev-3.2.9 are stable and problem is solved
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Chiitoo
Administrator
Administrator
User avatar
Posts: 3046
Joined: Sun Feb 28, 2010 5:36 pm
Location: Sore wa sore, kore wa kore... nanoda.

  • Quote

Post by Chiitoo » Tue Oct 29, 2019 12:33 pm

Moved from Installing Gentoo to Portage & Programming, as this isn't specific to installing, and others might better find it here.
Kindest of regardses.
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Tue Oct 29, 2019 1:00 pm

fedeliallalinea wrote:Now virtual/libudev-232-r2 and sys-fs/eudev-3.2.9 are stable and problem is solved
Now if we could only do something about the devs creating the problem in the first place.

Too bad gentoo doesn't have a QA division.
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Wed Oct 30, 2019 1:51 pm

Anon-E-moose wrote:
fedeliallalinea wrote:Now virtual/libudev-232-r2 and sys-fs/eudev-3.2.9 are stable and problem is solved
Now if we could only do something about the devs creating the problem in the first place.

Too bad gentoo doesn't have a QA division.
or non-partisan dev's

...
(In reply to Michał Górny from comment #9)
> (In reply to Anton Bolshakov from comment #8)
> > The current stable tree is broken. Please sync stabilization and do it at
> > one go.
>
> It is not broken. It simply doesn't support eudev anymore. This may change
> in the future but doesn't change the fact that eudev is barely alive.


The deptree is broken, which basically is a (QA) violation.
spinning something as not supported when it was a QA problem is low
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Wed Oct 30, 2019 2:07 pm

Naib wrote:spinning something as not supported when it was a QA problem is low
Yeah, but it works if your goal is to destabilize/destroy gentoo.
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
Post Reply

26 posts
  • 1
  • 2
  • Next

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy