Jump to content
  • 0
Sign in to follow this  
mrlogick

[SOLVED] Blocked Packages because of me

Question

Hi, I installed xorg-x11. (because i wanted x11-wm/i3). xorg-x11 depends on xbacklight.

My problem was that xbacklight didn't work because of an error:

$ xbacklight -get
No outputs have backlight property

So, searching on the internet, I found this package: sys-power/acpilight, which works perfectly.

From https://github.com/wavexx/acpilight :

Quote

On some modern laptops "XRandR" might lack the ability to set the display brightness. This capability was moved/unified to the kernel's ACPI interface, via /sys/class/backlight/."acpilight" provides a drop-in replacement for the xbacklight command that uses the ACPI interface instead of "XRandR", allowing old scripts to run.

So, in the end, all I did was:

$ emerge --unmerge xbacklight
$ emerge acpilight

Now, I can perfectly use my i3 WM, change brightness... without any issues.

The only problem is that i can't update my system anymore. Since xorg-x11 (which is still installed) depends on xbacklight, when I try to update the system I got:

$ sudo emerge -auvDN @world

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

Calculating dependencies... done!
[ebuild  N     ] x11-apps/xbacklight-1.2.1-r1::xorg-kit  0 KiB
[blocks B      ] x11-apps/xbacklight ("x11-apps/xbacklight" is blocking sys-power/acpilight-1.0-r1)

Total: 1 package (1 new), Size of downloads: 0 KiB
Conflict: 1 block (1 unsatisfied)

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

  x11-apps/xbacklight-1.2.1-r1:0/0::xorg-kit, ebuild scheduled for merge pulled in by
    x11-apps/xbacklight required by x11-base/xorg-x11-7.4-r2:0/0::xorg-kit, installed

  sys-power/acpilight-1.0-r1:0/0::nokit, installed pulled in by
    sys-power/acpilight required by @selected

Is there a way to keep xorg-x11 and acpilight, maybe masking xbacklight ? What is the right way to do it?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...