Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-apps/pciutils blocking sys-apps/hwids
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
euduca
n00b
n00b


Joined: 08 May 2009
Posts: 17

PostPosted: Wed Apr 04, 2012 3:09 pm    Post subject: sys-apps/pciutils blocking sys-apps/hwids Reply with quote

How can I fix it ? :x

Code:

[blocks B      ] <sys-apps/pciutils-3.1.9-r2 ("<sys-apps/pciutils-3.1.9-r2" is blocking sys-apps/hwids-20120401)

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

  (sys-apps/pciutils-3.1.9-r1::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/pciutils required by (media-sound/alsa-utils-1.0.25-r1::gentoo, installed)
    sys-apps/pciutils required by (x11-drivers/nvidia-drivers-295.33::gentoo, ebuild scheduled for merge)
    sys-apps/pciutils required by (app-laptop/radeontool-1.5-r3::gentoo, installed)

  (sys-apps/hwids-20120401::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/hwids required by (sys-fs/udev-182-r3::gentoo, ebuild scheduled for merge)


I change the keywords to ~amd64, but nothing.... :?

Code:
sys-apps/hwids ~amd64
sys-apps/pciutils ~amd64
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Wed Apr 04, 2012 4:07 pm    Post subject: Reply with quote

upgrade pciutils, then hwids and then udev.

cheers
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Wed Apr 04, 2012 9:37 pm    Post subject: Reply with quote

Make sure you have CONFIG_DEVTMPFS set in your kernel before you upgrade udev. CONFIG_DEVTMPFS_MOUNT is also useful, especially if you use lvm (use /dev/mapper/vg-lv in /etc/fstab, not /dev/vg/lv, for safety.)
Back to top
View user's profile Send private message
laurelin
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2005
Posts: 84
Location: Germany, Old Europe

PostPosted: Tue Apr 10, 2012 11:57 am    Post subject: Reply with quote

Unfortunately that doesn't seem to work in my case. I may have run into a circular dependency here, since pciutils and hwids and then udev don't want to install.

pciutils only wants to reemerge already installed version 3.1.9-r1 instead of -r2 due to a conflict with... right, udev:
Code:
# emerge -av pciutils

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-apps/pciutils-3.1.9-r1  USE="zlib -compress-db -network-cron -static-libs" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

WARNING: One or more updates have been skipped due to a dependency conflict:

sys-apps/pciutils:0

  (sys-apps/pciutils-3.1.9-r2::gentoo, ebuild scheduled for merge) conflicts with
    >=sys-apps/pciutils-3.1.9-r1[-compress-db] required by (sys-fs/udev-182-r2::gentoo, installed)



Surely hwids then doesn't want to be installed:
Code:
# emerge -av hwids

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] sys-apps/hwids-20120408  270 kB
[blocks B      ] <sys-apps/pciutils-3.1.9-r2 ("<sys-apps/pciutils-3.1.9-r2" is blocking sys-apps/hwids-20120408)
[blocks B      ] <sys-apps/usbutils-005-r1 ("<sys-apps/usbutils-005-r1" is blocking sys-apps/hwids-20120408)

Total: 1 package (1 new), Size of downloads: 270 kB
Conflict: 2 blocks (2 unsatisfied)

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

  (sys-apps/hwids-20120408::gentoo, ebuild scheduled for merge) pulled in by
    hwids

  (sys-apps/pciutils-3.1.9-r1::gentoo, installed) pulled in by
    >=sys-apps/pciutils-3.1.9-r1[-compress-db] required by (sys-fs/udev-182-r2::gentoo, installed)
    sys-apps/pciutils required by (media-sound/alsa-utils-1.0.25-r1::gentoo, installed)
    sys-apps/pciutils required by (kde-base/kinfocenter-4.7.4::gentoo, installed)
    sys-apps/pciutils required by (sys-apps/vbetool-1.1::gentoo, installed)

  (sys-apps/usbutils-004::gentoo, installed) pulled in by
    sys-apps/usbutils required by (kde-base/kinfocenter-4.7.4::gentoo, installed)
    >=sys-apps/usbutils-0.82 required by (sys-fs/udev-182-r2::gentoo, installed)



and udev after that:
Code:
# emerge -av udev

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] sys-apps/hwids-20120408  270 kB
[ebuild     U ~] sys-fs/udev-182-r3 [182-r2] USE="gudev hwdb keymap openrc rule_generator -build -debug -doc -floppy -introspection (-selinux) -static-libs" 0 kB
[blocks B      ] <sys-apps/pciutils-3.1.9-r2 ("<sys-apps/pciutils-3.1.9-r2" is blocking sys-apps/hwids-20120408)
[blocks B      ] <sys-apps/usbutils-005-r1 ("<sys-apps/usbutils-005-r1" is blocking sys-apps/hwids-20120408)

Total: 2 packages (1 upgrade, 1 new), Size of downloads: 270 kB
Conflict: 2 blocks (2 unsatisfied)

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

  (sys-apps/hwids-20120408::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/hwids required by (sys-fs/udev-182-r3::gentoo, ebuild scheduled for merge)

  (sys-apps/pciutils-3.1.9-r1::gentoo, installed) pulled in by
    sys-apps/pciutils required by (media-sound/alsa-utils-1.0.25-r1::gentoo, installed)
    sys-apps/pciutils required by (sys-apps/vbetool-1.1::gentoo, installed)
    sys-apps/pciutils required by (kde-base/kinfocenter-4.7.4::gentoo, installed)

  (sys-apps/usbutils-004::gentoo, installed) pulled in by
    sys-apps/usbutils required by (kde-base/kinfocenter-4.7.4::gentoo, installed)


I hesitate to force-install pciutils-3.1.9-r2, since I don't know if it fixes the merry-go-round of dependencies on my machine. Any suggestions?
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Tue Apr 10, 2012 12:03 pm    Post subject: Reply with quote

Try emerge -C pciutils, then emerge -1 --nodeps pciutils. Then go from there.
Back to top
View user's profile Send private message
Tin
Guru
Guru


Joined: 22 Dec 2005
Posts: 305
Location: Namur, Belgium

PostPosted: Tue Apr 10, 2012 2:32 pm    Post subject: Reply with quote

Hi, it did not work for me.
I succeeded by removing the "hwdb" use flag for udev.
I don't have a clue of its meaning, but emerge is not blocked anymore.
_________________
Tin, the gentoobie
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21490

PostPosted: Wed Apr 11, 2012 2:07 am    Post subject: Reply with quote

In some cases, you can solve those blocks if you emerge all the packages in a single run: emerge --oneshot --ask --verbose sys-apps/pciutils sys-fs/udev sys-apps/hwids sys-apps/usbutils. When this works, it is because naming all the packages at once gives Portage permission to upgrade them as a group. Performing any one upgrade in isolation would leave you in a disallowed state, but performing all the upgrades at once moves from one allowed state to another, without stopping in a disallowed state along the way.
Back to top
View user's profile Send private message
laurelin
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2005
Posts: 84
Location: Germany, Old Europe

PostPosted: Wed Apr 11, 2012 11:24 am    Post subject: Reply with quote

That was successful, thanks!
revdep-rebuild reported 'all sane' after the udev-update.


/edit:
I posted here an issue with usbutils noch updating, similar to pciutils, but it turned out I didn't read elog output correctly.
I missed, that usbutils needed to be keyworded with ~amd64 for version 005-r1 to emerge, this version no longer collides with hwids, so now everything is solved and portage is happily updating along. Thanks for the great help and sorry for me not checking elog output!

@Hu: Thanks. That I didn't know. Unfortunately I started before your post and went on as I wrote. I will keep your great tip in mind, thou, thanks!
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3920
Location: Hamburg

PostPosted: Fri Sep 21, 2012 5:42 pm    Post subject: Reply with quote

yep - for x86 similar - both usbutils and pciutils have to be installed with their latest (currently unstable) versions to get the conflict being solved with hwids.
Back to top
View user's profile Send private message
lil_liminal
n00b
n00b


Joined: 19 Nov 2011
Posts: 51
Location: Bangkok, Thailand

PostPosted: Tue Dec 11, 2012 1:05 pm    Post subject: Reply with quote

Again just for posterity:

emerge --oneshot --ask --verbose sys-apps/pciutils sys-fs/udev sys-apps/hwids sys-apps/usbutils

worked for me.
did not know about oneshot... now we'll see if kde-meta updates.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum