Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 841833

Summary: Upgrading kde and qt is painful due to conflicting dependencies
Product: Gentoo Linux Reporter: Krzysztof Kołodziejczyk <mca0163>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: minor CC: kroemmelbein
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
emerge -pvu --verbose-conflicts @world
emerge -pvu --backtrack=1000 --verbose-conflicts @world
eix -Iu
world
emerge -pvu --verbose-conflicts @world
emerge -pvu --backtrack=1000 --verbose-conflicts @world

Description Krzysztof Kołodziejczyk 2022-04-30 10:37:12 UTC
Hi,
I'm trying to upgrade KDE Apps from 21.08.3 to 21.12.3 and qt from 5.15.2-r14 to 5.15.3. In general I agree with microai (https://bugs.gentoo.org/836680). Maybe not with the way he wrote it but upgrading KDE and qt is a pain every little time. Portage seems unable to cope with dependency computation. Last time I remove whole KDE and qt to proceed with an upgrade. Using --emptytree seems to be valid resolution but for me it is an overkill. Also emerge -avuO1 $(eix -Iu#) do the job but I find it risky. Is there any way to make the update go smoothly?
Comment 1 Krzysztof Kołodziejczyk 2022-04-30 10:38:00 UTC
Created attachment 775641 [details]
emerge --info
Comment 2 Krzysztof Kołodziejczyk 2022-04-30 10:38:39 UTC
Created attachment 775644 [details]
emerge -pvu --verbose-conflicts @world
Comment 3 Krzysztof Kołodziejczyk 2022-04-30 10:39:02 UTC
Created attachment 775647 [details]
emerge -pvu --backtrack=1000 --verbose-conflicts @world
Comment 4 Krzysztof Kołodziejczyk 2022-04-30 10:41:34 UTC
Created attachment 775650 [details]
eix -Iu
Comment 5 Krzysztof Kołodziejczyk 2022-04-30 10:43:17 UTC
Created attachment 775653 [details]
world
Comment 6 Frank Krömmelbein 2022-04-30 17:21:08 UTC
I think you have some problems with your system.
You can start with:

1)  * IMPORTANT: 17 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
-> https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base#Reading_news_items


2) !!! The following installed packages are masked:
- sys-devel/automake-1.15.1-r2::gentoo (masked by: package.mask)
/var/cache/portage/profiles/package.mask:
# David Seifert <soap@gentoo.org> (2022-04-06)
# Unsupported branches, no consumers left, removal on 2023-01-01.


3) !!! The slot conflict(s) shown above involve package(s) which may need to
!!! be rebuilt in order to solve the conflict(s). However, the following
!!! package(s) cannot be rebuilt for the reason(s) shown:

  (media-libs/opencv-4.5.4:0/4.5.4::gentoo, installed): ebuild is masked or unavailable
  (kde-plasma/plasma-workspace-5.23.5-r1:5/5::gentoo, installed): ebuild is masked or unavailable

[U] media-libs/opencv
Available versions:  4.5.5-r1(0/4.5.5) 
Installed versions:  4.5.4(0/4.5.4)

https://packages.gentoo.org/packages/media-libs/opencv/changelog
Version 4.5.5-r1 was stabilized on 2022-02-28 05:19:24 :
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05045661b5339aa080df34a8d6304284e2c0a240
Try to find out what is preventing the update on your system
Comment 7 Andreas Sturmlechner gentoo-dev 2022-04-30 18:23:07 UTC
Go to irc or forums for help. There is no general problem here, but several local ones as already pointed out.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-30 19:30:18 UTC
Please follow the outline I described in bug 840206 and ideally go to a user support forum (like IRC) where we can walk through it if needed.
Comment 9 Krzysztof Kołodziejczyk 2022-05-04 17:53:02 UTC
Created attachment 776633 [details]
emerge -pvu --verbose-conflicts @world

after unrelated problems resolution
Comment 10 Krzysztof Kołodziejczyk 2022-05-04 17:54:00 UTC
Created attachment 776657 [details]
emerge -pvu --backtrack=1000 --verbose-conflicts @world
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-04 17:59:36 UTC
(In reply to Sam James from comment #8)
> Please follow the outline I described in bug 840206 and ideally go to a user
> support forum (like IRC) where we can walk through it if needed.

Please run:
emerge -pev @world --backtrack=0
grep -rsin "dev-qt" /etc/portage /var/lib/portage/world
grep -rsin "kde-*" /etc/portage /var/lib/portage/world
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-04 22:35:47 UTC
(In reply to Sam James from comment #11)
> (In reply to Sam James from comment #8)
> > Please follow the outline I described in bug 840206 and ideally go to a user
> > support forum (like IRC) where we can walk through it if needed.
> 
> Please run:
> emerge -pev @world --backtrack=0
> grep -rsin "dev-qt" /etc/portage /var/lib/portage/world
> grep -rsin "kde-*" /etc/portage /var/lib/portage/world

We got sorted on IRC. A few things which -pev @world --backtrack=0 showed up which led to KDE and Qt not being able to rebuild.