:: Re: [DNG] upowerd - why does it run…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: onefang
Date:  
À: dng
Sujet: Re: [DNG] upowerd - why does it run on a desktop
On 2023-04-18 19:11:16, Jim Jackson wrote:
>
>
> > > > > Not all environments require it. On my system, it's only
> > > > > pulled in by xfce, which i don't actually use.
> > > > >
> ?> > > > for f in `apt-cache rdepends upower | grep -v upower | grep -v
> Reverse `;
> > > > > do dpkg -l $f 2>&1; done | grep -P '^ii'
> > > >
> > > > The important ones are
> > > >
> > > > ii  lxqt-powermanagement 0.16.0-1     amd64        power management module for LXQt
> > > > ii  lightdm        1.26.0-7+devuan3 amd64        simple display manager

> > > >
> > > > I use a simple setup of lightdm, openbox and lxpanel
> > >
> > > I'm using lxdm, openbox, and lxpanel on Chimaera. upower isn't
> > > installed, nor lxqt-powermanagement. I turn off the automatic install of
> > > recommends.
> >
> > cat /etc/apt/apt.conf.d/40nosuggestrecommends # any name will do
> >
> > Apt::Install-Suggests false;
> > Apt::Install-Recommends false;
>
> cat /etc/apt/apt.conf.d/01norecommend
>
> APT::Install-Recommends "0";
> APT::Install-Suggests "0";
>
> When I run a simulatated purge of lxqt-powermanagement it says ...
>
> apt-get -s purge lxqt-powermanagement
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> The following packages were automatically installed and are no longer
> required:
>
> ....snip BIG list ....
>
> Use 'apt autoremove' to remove them.
> The following packages will be REMOVED:
> lxqt* lxqt-powermanagement* task-lxqt-desktop*
> 0 upgraded, 0 newly installed, 3 to remove and 119 not upgraded.
> Purg task-lxqt-desktop [3.68+devuan4u1]
> Purg lxqt [30]
> Purg lxqt-powermanagement [0.16.0-1]
>
>
> Looking at the packages, lxqt depends on lxqt-powermanagement and
> lxqt-powermanagement depends on upower


"automatically installed and are no longer required:"

Means that these packages will not be uninstalled just yet. And you can
still mark some as "manually installed" to keep them before you do the
"apt autoclean" that will remove them.

> Anyway I made the /usr/libexec/upowerd non-executable, so it dbus can't
> start it up. All I seem to notice is dbus complaining in the syslog about
> not being able to start it.
>
> As I never hibernate or suspend - I just powerup and powerdown - this still
> all works.
>
> Thanks the various helpful pointers/comments along the way.


--
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.