The officially official Devuan Forum!

You are not logged in.

#1 2018-04-18 16:03:05

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

[Solved?] Upgrade to remove LXDE

I am running Ascii and have just tried

apt-get update
apt-get dist-upgrade

and it tells me

The following packages will be REMOVED:
  consolekit lxde lxde-core lxsession lxsession-logout openbox-lxde-session slim

I have declined this kind offer and have not yet had a chance to work out why it wants to remove LXDE.

Geoff

Last edited by Geoff 42 (2018-04-19 14:12:24)

Offline

#2 2018-04-18 19:41:23

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: [Solved?] Upgrade to remove LXDE

My laptop has a different history but is currently also on Ascii with LXDE. On this machine dist-upgrade produces :-

# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  docbook-xml docbook-xsl libept1.5.0 librarian0 libunique-1.0-0 libxml2-utils linux-image-4.9.0-3-amd64 linux-image-4.9.0-4-amd64 linux-image-4.9.0-5-amd64 rarian-compat sgml-data
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  libpolkit-backend-1-0-elogind lxde lxde-core lxsession lxsession-logout openbox-lxde-session policykit-1 synaptic
The following NEW packages will be installed:
  libpolkit-gobject-1-0 libpolkit-gobject-elogind-1-0
The following packages will be upgraded:
  devuan-baseconf elogind eudev libelogind0 libeudev1 libpam-elogind libperl5.24 libpolkit-agent-1-0 libpolkit-gobject-1-0-elogind libudev1 perl perl-base perl-modules-5.24 python-wicd sysv-rc task-british-desktop task-english tasksel tasksel-data udev wicd
  wicd-daemon wicd-gtk
23 upgraded, 2 newly installed, 8 to remove and 0 not upgraded.
Need to get 10.4 MB of archives.
After this operation, 8,881 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

These packages are a bit different from my desktop machine, but it still wants to rmove LXDE.

Geoff

Offline

#3 2018-04-18 19:50:10

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: [Solved?] Upgrade to remove LXDE

I have just spotted Golinux' link to

https://dev1galaxy.org/viewtopic.php?pid=8217#p8217

I thought that I had the elogin stuff sorted, but will have to check again.

Geoff

Offline

#4 2018-04-18 19:52:33

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [Solved?] Upgrade to remove LXDE

I'd try aptitude why lxde and the same with the other packages that it wants to remove. Find out what brought them in. It's probably being replaced. And it's probably related to the new versions of elogind and/or policykit-1 that were put in ascii earlier today.

You're the second one today with something like this. (Looks like a metapackage issue.)

Offline

#5 2018-04-19 08:24:17

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: [Solved?] Upgrade to remove LXDE

I did try aptitude, but the info was not obviously helpful :-

# aptitude why lxde
i   lxde-core Suggests lxde
# aptitude why lxde-core
i   lxde Depends lxde-core
# aptitude why-not lxde
Manually installed, current version 9, priority optional
No dependencies require to remove lxde
# aptitude why-not lxde-core
Manually installed, current version 9, priority optional
No dependencies require to remove lxde-core

I'm now going to work through your post from Irrwahn, which Golinux linked to.

Geoff

Last edited by Geoff 42 (2018-04-19 08:25:22)

Offline

#6 2018-04-19 08:47:35

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: [Solved?] Upgrade to remove LXDE

I think that everything appears to be correct, the following are installed :-

policykit-1              0.105-18+devuan2.4
libpolkit-agent-1-0      0.105-18+devuan2.4
libpolkit-backend-1-0-elogind      0.105-18+devuan2.4
libpolkit-gobject-1-0-elogind      0.105-18+devuan2.4

These all want to go from v2.4 to 2.9

On my desktop consolekit is installed.

pam-auth-update offers

Pluggable Authentication Modules (PAM) determine how authentication, authorization,
and password changing are handled on the system, as well as allowing configuration
of additional actions to take when starting user sessions.
 
Some PAM module packages provide profiles that can be used to automatically adjust 
he behavior of all PAM-using applications on the system.  Please indicate which of 
hese behaviors you wish to enable.

PAM profiles to enable:

[*] Unix authentication
[*] GNOME Keyring Daemon - Login keyring management
[*] elogind Session Management
[*] Inheritable Capabilities Management

I left these all selected and tabbed to <OK> and hit <return>.

apt-get still wants to remove LXDE.

Geoff

Offline

#7 2018-04-19 09:08:08

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: [Solved?] Upgrade to remove LXDE

Investigating with Synaptic, and trying marking for upgrade, suggests that
upgrading policykit-1 wants to remove

libpolkit-backend-1-0-elogind
libpolkit-gobject-1-0-elogind

and install

libpolkit-backend-1-0
libpolkit-gobject-1-0
libpolkit-backend-consolekit-1-0
libpolkit-gobject-consolekit-1-0

Marking consolekit for removal would remove

lxde lxde-core lxsession lxsession-logout openbox-lxde-session slim

I haven't worked out yet why it wants to remove consolekit, but that would remove LXDE.

Geoff

Offline

#8 2018-04-19 09:20:11

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: [Solved?] Upgrade to remove LXDE

Looking at my posting from my laptop, I see that it wanted to remove policykit-1, so a quick check in Synaptic shows that removing policykit-1 would also remove LXDE.

Geoff

Offline

#9 2018-04-19 09:42:38

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: [Solved?] Upgrade to remove LXDE

# apt-cache depends consolekit
 :
  Depends: libpolkit-gobject-1-0
    libpolkit-gobject-1-0-systemd

Neither of those is installed.

If I ask it to install libpolkit-gobject-1-0

then it will remove :-

libpolkit-backend-1-0-elogind
libpolkit-gobject-1-0-elogind
policykit-1-gnome

and install

libpolkit-gobject-consolekit-1-0
lxpolkit

and upgrade

libpolkit-agent-1-0

If I ask it to install

libpolkit-backend-1-0

then it will also remove

cups-pk-helper
upower
xfce4-power-manager

and also install

libpolkit-gobject-1-0-systemd

I think that I will try and install libpolkit-gobject-1-0, but I will post this while my machine is still working!

Geoff

No, it won't do it, "Fix broken packages first".

Last edited by Geoff 42 (2018-04-19 09:45:43)

Offline

#10 2018-04-19 11:34:26

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [Solved?] Upgrade to remove LXDE

You should be able to have both elogind and consolekit installed. Which one is used is determined by which backend is installed. What happens (after fixing broken) if you try to install
libpolkit-backend-consolekit-1-0
libpolkit-gobject-consolekit-1-0

I think those will satisfy the deps so it won't ask for libpolkit-gobject-1-0-systemd

I can try this today. (Install lxde and then upgrade)

Offline

#11 2018-04-19 13:13:19

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [Solved?] Upgrade to remove LXDE

Well, I tried it, and I didn't run into any problems.

What I did:

installed to real hard drive with desktop-live-lxde iso I made a couple months ago. (task-lxde-desktop was installed)
apt-get update
apt-get upgrade
apt-get dist-upgade

I automatically got the two new libpolkit packages for consolekit (-backend and -gobject)

I'm using slim here. Did you change your display manager?

Offline

#12 2018-04-19 13:26:53

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: [Solved?] Upgrade to remove LXDE

# apt-get install libpolkit-backend-consolekit-1-0 libpolkit-gobject-consolekit-1-0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  chromium-inspector libavcodec56 libavresample2 libopenjpeg5 libschroedinger-1.0-0 libvpx1 libwebp5 libwebpdemux1 libx264-142
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 policykit-1
The following packages will be REMOVED:
  libpolkit-backend-1-0-elogind libpolkit-gobject-1-0-elogind
The following NEW packages will be installed:
  libpolkit-backend-1-0 libpolkit-backend-consolekit-1-0 libpolkit-gobject-1-0 libpolkit-gobject-consolekit-1-0
The following packages will be upgraded:
  libpolkit-agent-1-0 policykit-1
2 upgraded, 4 newly installed, 2 to remove and 25 not upgraded.
Need to get 186 kB of archives.
After this operation, 43.0 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

That looks as though it shouldn't break too much. Is it ok that it would remove libpolkit-backend-1-0-elogind and libpolkit-gobject-1-0-elogind?

I had used slim earlier, but had switched to lxdm after upgrading to Ascii.

Geoff

Offline

#13 2018-04-19 13:39:36

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: [Solved?] Upgrade to remove LXDE

I see that Penguinwrangler has hit the same sort of problem with KDE
https://dev1galaxy.org/viewtopic.php?id=2007
and has managed to work round it by installing libpolkit-backend-elogind-1-0. I had a look at that and it wanted to remove LXDE.

Geoff

Offline

#14 2018-04-19 13:57:15

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: [Solved?] Upgrade to remove LXDE

I saw the thread on DNG https://lists.dyne.org/lurker/message/2 … 53.en.html and have decided to go for it!

# apt-get install libpolkit-backend-consolekit-1-0 libpolkit-gobject-consolekit-1-0

This runs without errors and now I can run

# apt-get update
# apt-get dist-upgrade

And this runs without error. I now need to see if I can do things like shutdown.

Geoff

Offline

#15 2018-04-19 14:02:14

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: [Solved?] Upgrade to remove LXDE

Yes, I can select "reboot" from the exit menu and it still works, although it does still produce the GDBus error message which I reported elsewhere.
https://dev1galaxy.org/viewtopic.php?pid=8185#p8185

The early signs are that this works ok, with the suggestion that maybe elogind doesn't work with LXDE.

Geoff

Last edited by Geoff 42 (2018-04-19 14:06:13)

Offline

#16 2018-04-19 15:36:46

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: [Solved?] Upgrade to remove LXDE

I have performed the same commands on my LXDE laptop and that also still works nicely and can also reboot from the exit menu.

Geoff

Offline

#17 2018-04-19 16:42:53

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [Solved?] Upgrade to remove LXDE

Geoff 42 wrote:

The early signs are that this works ok, with the suggestion that maybe elogind doesn't work with LXDE.

When I tested two months ago, I was able to use elogind with lxde. I would try that now, except that I already wiped that lxde install. All those *kit packages just went through a lot of changes, so it might be different now.

Anyway, it sound like you fixed it. If you use consolekit or elogind, you must have the corresponding libpolkit packages with it. Those are what determines which one gets used.

This problem might now be fixed for upgrades from jessie and new installs of ascii. For upgrades from ascii to ascii, the suggested fix seems to be working.

Offline

#18 2018-04-19 18:04:03

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: [Solved?] Upgrade to remove LXDE

If I mark libpolkit-{backend|gobject}-elogind-1-0 for installation, then it wants to remove lxde. This is the case whether the 1-0 is at the end or in the middle.

I do have elogind, libelogind0 and libpam-elogind installed and elogind is running as is the console-kit-daemon.

Geoff

Offline

#19 2018-04-20 13:28:03

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: [Solved?] Upgrade to remove LXDE

I have had a quick look at libpolkit-{backend|gobject}-elogind-1-0 to see if there is a problem.

$ aptitude why-not libpolkit-backend-elogind-1-0
i   libpolkit-backend-consolekit-1-0 Conflicts libpolkit-backend-elogind-1-0
$ aptitude why-not libpolkit-gobject-elogind-1-0
i   libpolkit-gobject-consolekit-1-0 Conflicts libpolkit-gobject-elogind-1-0

It appears that the libpolkits need either consolekit or elogind, but not both  and LXDE only works with the consolekit versions.

Geoff

Offline

#20 2018-04-20 22:37:14

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [Solved?] Upgrade to remove LXDE

Devs have been looking at this today, and the consensus is that lxde is an abomination. If you have it working, that's good. Don't look at the ugly combination of packages. Meanwhile, I'm getting ready to purge all desktop environments from all of my computers.

Offline

#21 2018-04-21 05:55:42

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: [Solved?] Upgrade to remove LXDE

I did initially have a look at LXQT :-
https://dev1galaxy.org/viewtopic.php?id=94
but I reverted to LXDE as lxqt-panel pulled in libpulse0 and libsystemd0.

Geoff

Offline

#22 2018-04-21 09:47:18

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [Solved?] Upgrade to remove LXDE

How are you running X without libsystemd0???

Offline

#23 2018-04-21 10:27:04

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: [Solved?] Upgrade to remove LXDE

Yes, X does pull in libsystemd0, so maybe I shouldn't be too worried, but I thought that the fewer packages that pull in libsystemd0, the better.

As I check up, I see that I also have libpulse0 installed. If I were to remove that, then that would take out, inter alia :-
chromium, ffmpeg, flightgear, gimp, kodi, qemu, vlc, wireshark

I do not have pulseaudio installed but I do have apulse.

Is it easy to convey the abominability (?) that the devs felt about LXDE.

Geoff

Offline

#24 2018-04-21 12:17:25

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [Solved?] Upgrade to remove LXDE

lxde pulls in an odd combination of packages for both consolekit and elogind. All the other desktops are fine with one of those. (kde and lxqt use elogind, the others work with just consolekit.)

Offline

#25 2018-04-23 09:14:24

Geoff 42
Member
Registered: 2016-12-15
Posts: 461  

Re: [Solved?] Upgrade to remove LXDE

I have now re-installed LXQT alongside LXDE. I did this by installing lxde. If I were to install task-lxqt-desktop, it would remove lxde and consolekit and install the elogind stuff.

I can select either lxde or lxqt from the lxdm login screen and they both work. lxde is fine, but with lxqt it does want me to enter the root password as the first thing. I have not yet worked out why it is doing this, but I guess that this is a problem with not having all the elogind stuff installed. Generally lxqt does seem to work reasonably well although I have not had a chance to polish it to my liking yet.

Is lxqt the way forwards? Should we be moving away from lxde?

Geoff

Offline

Board footer