🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.user
Article #82

Re: [gentoo-user] New user lxqt installation

#82
From: Dale
Date: Tue, 03 Nov 2026 03:30
297 lines
13828 bytes
On 11/2/26 4:37 PM, Pocket wrote:
>
> On 11/2/26 16:23, Dale wrote:
>> On 11/2/26 2:46 PM, Pocket wrote:
>>> On 11/2/26 14:26, Ben Knoble wrote:
>>>>> Le 2 nov. 2026 à 14:22, Pocket <pocket@oldfart.online> a écrit :
>>>>>
>>>>> Trying to install lxqt on Raspberrypi 5
>>>>>
>>>>> I am following the wiki for lxqt installation
>>>> [snip]
>>>>
>>>>> * IMPORTANT: 5 config files in '/etc/portage' need updating.
>>>> I always find it fascinating when folks have these messages
>>>> and have not yet dispatch-conf’d them away :)
>>> I always find it fascinating when folks some on is a first time
>>> user/installer and the folks on the support list denigrate them.
>>>
>>> How would I know to run the command you are fascinating about?
>>>
>>> It isn't in the install process.
>>>
>> That command is discussed in the parts about how to work with portage.
>> When installing packages, you need that info.  Linky.
>>
>> https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Portage#dispatch-conf
>>
>> Since you already have the install part, here is another part you need
>> to refer to at times.
>>
>> https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Working
>>
>> Keep in mind, Gentoo comes with a lot of options.  You need to know how
>> to adjust settings to enable or disable those options.  Most are USE
>> flags.  Most of us put USE in all caps to distinguish it from the
>> regular use of the word.  The USE flags are a very powerful, and
>> sometimes very confusing, part of Gentoo.
>>
>> Most options for Gentoo packages are inside /etc/portage in one of
>> several files or directories.  During a fresh install, you will find
>> yourself adjusting settings in there a lot.
>>
>> Since you are on a . . . . slow system, I'd recommending reading about
>> changes that you will need and setting as many of them as you can and
>> then installing things.  Each change could result in a fresh recompile
>> which is time consuming on the type of system you are building on.  So,
>> research first, adjust settings, then install.  It will hopefully save
>> you some time, and annoy electrons less.  LOL
> I am not concerned with rebuild times, this is my first gentoo install
> and I have a total of less than 8 hours on it.
>
> I would like to use gentoo as my distro but it doesn't look good.
>
> Is there a pdf of the hanbook, portage etc.
>
> The ipad doesn't work with out being connected to the internet.

If you have Firefox, there is a add on that will make a page a pdf 
file.  I've used it and it works pretty good.


>
>>
>>>>> !!! The ebuild selected to satisfy "media-libs/libcanberra" has
>>>>> unmet requirements.
>>>>> - media-libs/libcanberra-0.30-r8::gentoo USE="udev -alsa -gstreamer
>>>>> -oss -pulseaudio -tdb"
>>>>>
>>>>>     The following REQUIRED_USE flag constraints are unsatisfied:
>>>>>       udev? ( alsa )
>>>> You have “udev -alsa” but udev requires alsa.
>>> I am looking into that to determine how to correct that.
>>>
>>> I am guessing that the issue is with the gentoo stage3 systemd archive
>>> on the gentoo site.
>>>
>>
>> That is a USE flag setting that you need to correct.  To give you some
>> hints.  Some flags that are global, you want set or unset, for all
>> packages, you usually put them in make.conf on the USE line in there.
>> Familiarize yourself with that file.  For USE flags that you want to
>> control on individual packages, not global, that goes in package.use.
>> The doc USE flag is a good example.  Most set -doc in make.conf.  If you
>> need the doc USE flag enabled for certain packages, you enable it in
>> package.use for the particular package. Keep in mind, settings in
>> package.use override the setting in make.conf.
>>
>> As a long time user of Gentoo, Gentoo is quite complicated when you
>> first start to use it.  Thing is, it doesn't take long to understand how
>> to adjust things.  If you lucky, emerge will give you hints along the
>> way.  Just ask questions and someone will try to help you along.
>>
>> Hope that helps.
>>
>> Dale
>>
>> :-)  :-)
> The USE flags make no sense
>
> The handbook states that /etc/portage/package.use is a file. On my newly
> installed system it is a directory.
> Should it be a directory or should it be a file?
> The handbook tell you to edit /etc/portage/package.use, fancy that.
>
> ls -l /etc/portage/
> total 28
> drwxr-xr-x 2 root root 4096 Nov  1 21:36 binrepos.conf
> -rw-r--r-- 1 root root  759 Nov  2 16:58 make.conf
> lrwxrwxrwx 1 root root   67 Nov  1 21:36 make.profile ->
> ../../var/db/repos/gentoo/profiles/default/linux/arm64/23.0/systemd
>    
>
> drwxr-xr-x 2 root root 4096 Nov  2 13:44 package.accept_keywords
> drwxr-xr-x 2 root root 4096 Nov  1 21:56 package.mask
> drwxr-xr-x 2 root root 4096 Nov  2 15:49 package.use
> drwxr-xr-x 3 root root 4096 Nov 27  2022 profile
>


It can be either a file or directory.  Either one works.  Some like a 
single file, some like a directory.  I use directories with files inside 
the directory myself.  Personal preference tho.  No wrong way to do it.


>
> emerge --pretend --verbose udev
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies ... done!
> Dependency resolution took 0.41 s (backtrack: 0/20).
>
> [ebuild   R    ] virtual/udev-217-r7::gentoo  USE="(systemd)" 0 KiB
>
> Total: 1 package (1 reinstall), Size of downloads: 0 KiB
>
>
> gentoo ~ # emerge --pretend --verbose alsa
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies ... done!
> Dependency resolution took 0.28 s (backtrack: 0/20).
>
>
> emerge: there are no ebuilds to satisfy "alsa".
>
> emerge: searching for similar names...
> emerge: Maybe you meant any of these: mail-client/balsa, dev-perl/asa,
> app-text/asa, dev-python/pyalsa?
> gentoo ~ #
>
> emerge --pretend --verbose media-libs/alsa-lib udev
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies ... done!
> Dependency resolution took 0.49 s (backtrack: 0/20).
>
> [ebuild   R    ] media-libs/alsa-lib-1.2.16.1::gentoo  USE="-debug -doc
> -python -verify-sig" PYTHON_SINGLE_TARGET="python3_14 -python3_12
> -python3_13 (-python3_15)" 0 KiB
>
> [ebuild   R    ] virtual/udev-217-r7::gentoo  USE="(systemd)" 0 KiB
>
> Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB
>
> I do not even begin to understand this
>
>   From a search engine.....
>
> The error indicates that the 'udev' USE flag is required for the 'alsa'
> package but is currently not enabled. You need to enable the 'udev' USE
> flag in your package manager's configuration to resolve this issue.
> forums.gentoo.org
> Understanding the Error Message
>
> The error message indicates that the 'udev' USE flag is required for the
> 'alsa' package but is currently not enabled in your configuration. This
> is a common issue when managing packages in systems that use USE flags,
> such as Gentoo.
> Steps to Resolve the Issue
>
> To fix this error, you need to enable the 'udev' USE flag. Here’s how
> you can do that:
> 1. Edit the USE Flags
>
>       Open your package manager's configuration file, typically located
> at /etc/portage/make.conf.
>       Find the line that starts with USE= and add udev to the list of flags.
>
> 2. Update the Package
>
> After modifying the USE flags, you should update the package to apply
> the changes:
>
>       Run the following command in your terminal:
>       bash
>
>       emerge --update alsa
>
> 3. Verify the Changes
>
> To ensure that the 'udev' USE flag is now enabled for the 'alsa'
> package, you can check the current USE flags with:
> bash
>
> equery u alsa
>
> This command will display the USE flags currently applied to the 'alsa'
> package.
> Conclusion
>
> By enabling the 'udev' USE flag and updating the package, you should
> resolve the error and ensure that the 'alsa' package functions correctly
> with the necessary dependencies.
> forums.gentoo.org
> Explore More
> How to enable the 'udev' USE flag for the 'alsa' package?
>
> To enable the 'udev' USE flag for the 'alsa' package, you need to edit
> the /etc/portage/package.use file and add the line media-libs/alsa-lib
> udev. After that, run emerge --ask media-libs/alsa-lib to apply the changes.
>
>
> The magic sauce is adding USE="systemd" to the /etc/portage/make.conf
> file.  That make the issue with alsa go away.
>
> gentoo ~ # emerge --pretend --verbose media-libs/alsa-lib udev
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies ... done!
> Dependency resolution took 0.46 s (backtrack: 0/20).
>
> [ebuild   R    ] media-libs/alsa-lib-1.2.16.1::gentoo  USE="-debug -doc
> -python -verify-sig" PYTHON_SINGLE_TARGET="python3_14 -python3_12
> -python3_13 (-python3_15)" 0 KiB
>
> [ebuild   R    ] virtual/udev-217-r7::gentoo  USE="(systemd)" 0 KiB
>
>
> But then this happens:
>
> gentoo ~ # emerge --pretend --verbose  lxqt-base/lxqt-meta
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies ... done!
> Dependency resolution took 0.66 s (backtrack: 0/20).
>
>
> !!! The ebuild selected to satisfy "media-libs/libcanberra" has unmet
> requirements.
> - media-libs/libcanberra-0.30-r8::gentoo USE="udev -alsa -gstreamer -oss
> -pulseaudio -tdb"
>
>     The following REQUIRED_USE flag constraints are unsatisfied:
>       udev? ( alsa )
>
> (dependency required by "kde-plasma/kwin-x11-6.7.5-r2::gentoo" [ebuild])
> (dependency required by
> "lxqt-base/lxqt-meta-2.4.0::gentoo[window-manager]" [ebuild])
> (dependency required by "lxqt-base/lxqt-meta" [argument])
>
>
> Since this is a systemd system udev is a part of systemd so why all the
> trouble?
>

I use openrc so I'm not sure on systemd.  Keep in mind, USE flags are 
different from packages.  You don't emerge a USE flag.  You enable or 
disable them as needed to enable or disable something you want or don't 
want.  In your case, go to /etc/portage/make.conf and find the USE flag 
line.  Add udev and alsa to that line.  Then emerge again.  It is 
usually a good idea to do a emerge -auDN world but since this is a new 
install, just emerging what you want should be OK for now.  The reason I 
would add that to make.conf, you will likely want sound and also is 
sound.  If you try to do it package by package, you will have large 
package.use files.  If you add it to make.conf, that's all you need.

This is what I was talking about in other reply.  Gentoo is confusing at 
first.  Once you learn how to deal with things, it gets a lot easier.  
If you install a complete system with a GUI and a desktop like KDE or 
Gnome, you will have a good idea of how things work.  Also, once you get 
the install done, you only change things if you need something new or if 
something new comes out that needs something new.

Also, do a man equery and check out the u and h options.  I find that 
tool to be a huge help.  If you don't have it, emerge gentoolkit will 
install it.

Hope that helps.

Dale

:-)  :-)
Technical Details
Message-ID: <NVdnH-9wIJ-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <NV5Tb-9szf-11@gated-at.bofh.it> <NV5Tb-9szf-9@gated-at.bofh.it> <NV78C-9tbZ-21@gated-at.bofh.it> <NVdnH-9wIJ-3@gated-at.bofh.it> <NVdnH-9wIJ-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Dale <rdalek1967@gmail.com>
Newsgroups: linux.gentoo.user
Subject: Re: [gentoo-user] New user lxqt installation
Date: Tue, 03 Nov 2026 04:30:01 +0100
Message-ID: <NVdnH-9wIJ-1@gated-at.bofh.it>
References: <NV5Tb-9szf-11@gated-at.bofh.it> <NV5Tb-9szf-9@gated-at.bofh.it> <NV78C-9tbZ-21@gated-at.bofh.it> <NVdnH-9wIJ-3@gated-at.bofh.it> <NVdnH-9wIJ-5@gated-at.bofh.it>
X-Original-To: Gentoo User <gentoo-user@lists.gentoo.org>
X-Gm-Message-State: APuU4Z+smjNKOoka1huUe8boh9UjfbqftW2QJYD/sQNSP5VcMfp/12fl
	U4PS3FNduAz3J4JdjbKOMC9KhVnM6ZheCEQ04Ujq9WuhtqLaq5o2jYTZ2ixgsw==
X-Gm-Gg: AYBFou3q5yr97JK8vkFTRnlkgA5KO+GuDDvSbpIMMW6GsyyAsn+Lo15CaMnrRrLsYka
	D1pao+r0w/n/nBZrq2slL8uU5i3tHNzq/xchCh7p/Tn+FojuVjs3lwndgyON0UoDRm7F2sKBsgQ
	+DSj8lcmpqG8wrY7KzYYQeCTvS++kDWoBAqZX99tuG32T+oSO1ZYR4xADbHy4Ym9BVDZAYKoqZG
	mR3qK/Z2ORjk8uMSNBCsTmjOGwz+ZnehDjLXzM1cEYdvQ3ulP6P5uEZ3/4dE1a8PI/2diw1r6w4
	L4BH4D+FNXGCZr2eDsDid3mXL2lSeiFRGHL3wLPArxrlkIhhGRM+RhauPmFCVBv+X3ecmrmyYhP
	1BWqgVx6bk+oB8/VV0X5rBZ71C0EAmyqOxSXOl+SzI5Y8vt3T2Twrl6/nwtmqcBxKXT5JFaij59
	Hq4riCKp9Znr8vLqdbVq+Br29gS/BX+8gkHjk/SGgbwaTUxSWHAwA2eEoN2X2pINynqBDvD+iXC
	XAghT1bPTnijFGeKgN0s5gYHWPtcOKwU4I4SExLvZKOG7LzzQPVhOrpemexjE2D6ilQWUykxByo
	eDKkXT6GlCHPxKVwjFAh9fRcxZOtzfStryNt5QPKOWwjlaIj3DRwT5lPkiPGRhjMWZI=
X-Received: by 2002:a05:6214:5905:b0:91c:6e91:3fd0 with SMTP id 6a1803df08f44-91ca47ae779mr198741136d6.0.1793676500086;
        Mon, 02 Nov 2026 19:28:20 -0800 (PST)
List-ID: Gentoo Linux mail <gentoo-user.gentoo.org>
Reply-To: gentoo-user@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Approved: robomod@news.nic.it
Lines: 297
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 2 Nov 2026 21:28:18 -0600
X-Original-Message-ID: <56fe1a2f-4121-4192-b43f-571281453d7e@gmail.com>
X-Original-References: <79dc910a-493d-446e-9167-5f53d4f9d3b6@oldfart.online>
 <0FE40E18-52D2-471C-8FB9-E4BA0A5D66A9@gmail.com>
 <dfdd8a4e-7ecf-48c3-b1e2-420531729d1a@oldfart.online>
 <defd4ece-9836-4723-9eab-c6c6cf6f0336@gmail.com>
 <7a160a59-4e9a-42f0-aa64-598f1c56fcaf@oldfart.online>