Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617734 - sys-apps/portage-2.3.5 incorrect depclean behavior
Summary: sys-apps/portage-2.3.5 incorrect depclean behavior
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-07 15:08 UTC by Stefano
Modified: 2017-05-08 12:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefano 2017-05-07 15:08:11 UTC
Weird behavior of depclean:

$ sudo emerge --pretend --depclean

 * Always study the list of packages to be cleaned for any obvious
 * mistakes. Packages that are part of the world set will always
 * be kept.  They can be manually added to this set with
 * `emerge --noreplace <atom>`.  Packages that are listed in
 * package.provided (see portage(5)) will be removed by
 * depclean, even if they are part of the world set.
 * 
 * As a safety measure, depclean will not remove any packages
 * unless *all* required dependencies have been resolved.  As a
 * consequence of this, it often becomes necessary to run 
 * `emerge --update --newuse --deep @world` prior to depclean.

Calculating dependencies... done!
>>> Calculating removal order...

>>> These are the packages that would be unmerged:

 x11-drivers/xf86-video-intel
    selected: 2.99.917_p20170216 
   protected: none 
     omitted: none 

All selected packages: =x11-drivers/xf86-video-intel-2.99.917_p20170216

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Packages installed:   1235
Packages in world:    186
Packages in system:   44
Required packages:    1234
Number to remove:     1

$ equery depends xf86-video-intel
 * These packages depend on xf86-video-intel:
x11-base/xorg-drivers-1.19 (video_cards_i915 ? x11-drivers/xf86-video-intel)
                           (!video_cards_i965 ? x11-drivers/xf86-video-intel)
Comment 1 Brian Evans (RETIRED) gentoo-dev 2017-05-07 16:14:44 UTC
This is expected behavior with xorg-drivers-1.19 when VIDEO_CARDS="intel i965".

See bug 592026.

If you want to force xf86-video-intel to be installed, add it to the world file.

Otherwise the modesetting driver (part of xorg-server) will serve the purpose for video.
Comment 2 Stefano 2017-05-07 16:30:35 UTC
Uhm, first, this change seems to break a bumblebee setup, but that thing breaks with anything so let's set that aside.

More importantly, the discrepancy between what portage says and what equery says remains.