Siduction Forum

Siduction Forum => Upgrade Warnings (DE / EN) => Topic started by: timc on 2013/08/13, 14:01:06

Title: [Solved] 13-Aug dist-upgrade breaks LXDE
Post by: timc on 2013/08/13, 14:01:06
This morning's dist-upgrade broke my LXDE. It removed lxsession-edit and lxpolkit. Now my panel is not displayed.

If I try to reinstall lxsession-edit, it says it will remove lxde lxde-common lxde-core lxinput lxsession siduction-settings-lxde

Here is the history log:

Code: [Select]
Start-Date: 2013-08-13  06:38:30
Commandline: apt-get dist-upgrade
Install: libgee2:amd64 (0.6.8-1, automatic)
Upgrade: whowatch:amd64 (1.6.0a-2, 1.8.4-1), apt:amd64 (0.9.9.4, 0.9.10), python-minimal:amd64 (2.7.5-3, 2.7.5-4), libpciaccess0:amd64 (0.13.1-2, 0.13.2-1), rpcbind:amd64 (0.2.0-8, 0.2.0-8.1), libx11-xcb1:amd64 (1.6.0-1, 1.6.1-1), libxi6:amd64 (1.7.1.901-1, 1.7.2-1), apt-utils:amd64 (0.9.9.4, 0.9.10), libx11-data:amd64 (1.6.0-1, 1.6.1-1), parted:amd64 (2.3-13, 2.3-14), libbz2-1.0:amd64 (1.0.6-4, 1.0.6-5), libxtst6:amd64 (1.2.1-1+deb7u1, 1.2.2-1), libapt-inst1.5:amd64 (0.9.9.4, 0.9.10), libxt6:amd64 (1.1.3-1+deb7u1, 1.1.4-1), curl:amd64 (7.31.0-2, 7.32.0-1), libxv1:amd64 (1.0.7-1+deb7u1, 1.0.9-1), libparted0debian1:amd64 (2.3-13, 2.3-14), bzip2:amd64 (1.0.6-4, 1.0.6-5), libxfont1:amd64 (1.4.5-2, 1.4.6-1), libaa1:amd64 (1.4p5-40, 1.4p5-41), xserver-xorg-video-intel:amd64 (2.21.14-1, 2.21.14-4), libapt-pkg4.12:amd64 (0.9.9.4, 0.9.10), python:amd64 (2.7.5-3, 2.7.5-4), libpython-stdlib:amd64 (2.7.5-3, 2.7.5-4), libcurl3:amd64 (7.31.0-2, 7.32.0-1), libxxf86vm1:amd64 (1.1.2-1+deb7u1, 1.1.3-1), lxsession:amd64 (0.4.6.1-4, 0.4.9.2-1), libx11-6:amd64 (1.6.0-1, 1.6.1-1), libxxf86dga1:amd64 (1.1.3-2+deb7u1, 1.1.4-1), libcurl3-gnutls:amd64 (7.31.0-2, 7.32.0-1), libxvmc1:amd64 (1.0.7-2, 1.0.8-1)
Remove: lxsession-edit:amd64 (0.2.0-3), lxpolkit:amd64 (0.1.0-4)
End-Date: 2013-08-13  06:40:25


Tim
Title: 13-Aug dist-upgrade breaks LXDE
Post by: michaa7 on 2013/08/13, 14:54:04
Try

Code: [Select]
apt-get install lxsession-edit=0.2.0-3 lxpolkit=0.1.0-4 lxsession=0.4.6.1-4
(not sure if I missed a package, try appending the "-s" option at the end)

Observing the "remove" part of the output of "apt-get dist-upgrade" would avoid this hassle - as you know for sure.
Title: RE: 13-Aug dist-upgrade breaks LXDE
Post by: dibl on 2013/08/13, 15:32:52
Yep -- I can't get my LXDE netbook past the slim login.

But michaa7, when I try your install command, apt will remove lxde, lxde-common, lxde-core, lxinput, and lxsession.  So I don't think I want to do that.

I maybe was half-asleep when I upgraded it this morning, but I did not see anything to be removed.

?
Title: RE: 13-Aug dist-upgrade breaks LXDE
Post by: timc on 2013/08/13, 16:07:22
santa in the irc channel says he is working to fix it. It's not ready yet, though.

Tim
Title: Re: RE: 13-Aug dist-upgrade breaks LXDE
Post by: michaa7 on 2013/08/13, 16:13:24
Quote from: "dibl"
...But michaa7, when I try your install command, apt will remove lxde, lxde-common, lxde-core, lxinput, and lxsession.  So I don't think I want to do that.


Sure you don't want to do that.

I do not run lxde, so I cannot test which updated packages caused the removal of the two packages.

If nothing else works you may downgrade *all* the packages installed (see history log), which, I addmit, isn't a handy solution.
But you could have a look which *rdepends* got updated in the last d-u. And then downgrade those packages together with the ones mentioned already.

There is no other way then to track down step by step all involved packages except waiting and hopeing.
Title: RE: Re: RE: 13-Aug dist-upgrade breaks LXDE
Post by: dibl on 2013/08/13, 16:26:02
It's not a "production" machine, it's just my netbook for casual use, and I'm not going anywhere with it today, so I'll just wait.  Good to hear that Santa is taking a look at it.  If it's fixed in a few days that's soon enough for me (sorry Tim).  :)
Title: Re: RE: 13-Aug dist-upgrade breaks LXDE
Post by: michaa7 on 2013/08/13, 16:31:11
This *simulation* works here on i386 (it proves there are no unmet dependencies with this downgrade):
Code: [Select]
# apt-get install lxsession-edit/testing lxpolkit/testing lxde/testing  lxde-core/testing  lxinput/testing  lxde-common/testing  lxsession/testing -s
Quote
# apt-get install lxsession-edit/testing lxpolkit/testing lxde/testing  lxde-core/testing  lxinput/testing  lxde-common/testing  lxsession/testing -s
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.      
Statusinformationen werden eingelesen.... Fertig
Version »0.2.0-3« (Debian:7.1/stable, Debian:unstable, Debian:testing [i386]) für »lxsession-edit« gewählt.
Version »0.1.0-4« (Debian:7.1/stable, Debian:unstable, Debian:testing [i386]) für »lxpolkit« gewählt.
Version »4+nmu1« (Debian:7.1/stable, Debian:unstable, Debian:testing [all]) für »lxde« gewählt.
Version »4+nmu1« (Debian:7.1/stable, Debian:unstable, Debian:testing [all]) für »lxde-core« gewählt.
Version »0.3.2-1« (Debian:7.1/stable, Debian:unstable, Debian:testing [i386]) für »lxinput« gewählt.
Version »0.5.5-6« (Debian:7.1/stable, Debian:unstable, Debian:testing [all]) für »lxde-common« gewählt.
Version »0.4.6.1-4« (Debian:7.1/stable, Debian:testing [i386]) für »lxsession« gewählt.
Die folgenden zusätzlichen Pakete werden installiert:
  galculator lxde-icon-theme lxpanel lxrandr lxshortcut lxterminal
Vorgeschlagene Pakete:
  lxlauncher lxtask
Empfohlene Pakete:
  lxmusic network-manager-gnome xscreensaver
Die folgenden NEUEN Pakete werden installiert:
  galculator lxde lxde-common lxde-core lxde-icon-theme lxinput lxpanel lxpolkit lxrandr lxsession lxsession-edit
  lxshortcut lxterminal
0 aktualisiert, 13 neu installiert, 0 zu entfernen und 133 nicht aktualisiert.
Inst galculator (2.1.2-1 Debian:unstable [i386])
Inst lxsession (0.4.6.1-4 Debian:7.1/stable, Debian:testing [i386])
Inst lxde-common (0.5.5-6 Debian:7.1/stable, Debian:unstable, Debian:testing [all])
Inst lxpanel (0.5.10-1 Debian:7.1/stable, Debian:unstable, Debian:testing [i386])
Inst lxde-core (4+nmu1 Debian:7.1/stable, Debian:unstable, Debian:testing [all])
Inst lxde-icon-theme (0.5.0-1 Debian:7.1/stable, Debian:unstable, Debian:testing [all])
Inst lxinput (0.3.2-1 Debian:7.1/stable, Debian:unstable, Debian:testing [i386])
Inst lxrandr (0.1.2-3 Debian:7.1/stable, Debian:unstable, Debian:testing [i386])
Inst lxsession-edit (0.2.0-3 Debian:7.1/stable, Debian:unstable, Debian:testing [i386])
Inst lxshortcut (0.1.2-3 Debian:7.1/stable, Debian:unstable, Debian:testing [i386])
Inst lxterminal (0.1.11-4 Debian:7.1/stable, Debian:unstable, Debian:testing [i386])
Inst lxde (4+nmu1 Debian:7.1/stable, Debian:unstable, Debian:testing [all])
Inst lxpolkit (0.1.0-4 Debian:7.1/stable, Debian:unstable, Debian:testing [i386])
Conf galculator (2.1.2-1 Debian:unstable [i386])
Conf lxsession (0.4.6.1-4 Debian:7.1/stable, Debian:testing [i386])
Conf lxde-common (0.5.5-6 Debian:7.1/stable, Debian:unstable, Debian:testing [all])
Conf lxpanel (0.5.10-1 Debian:7.1/stable, Debian:unstable, Debian:testing [i386])
Conf lxde-core (4+nmu1 Debian:7.1/stable, Debian:unstable, Debian:testing [all])
Conf lxde-icon-theme (0.5.0-1 Debian:7.1/stable, Debian:unstable, Debian:testing [all])
Conf lxinput (0.3.2-1 Debian:7.1/stable, Debian:unstable, Debian:testing [i386])
Conf lxrandr (0.1.2-3 Debian:7.1/stable, Debian:unstable, Debian:testing [i386])
Conf lxsession-edit (0.2.0-3 Debian:7.1/stable, Debian:unstable, Debian:testing [i386])
Conf lxshortcut (0.1.2-3 Debian:7.1/stable, Debian:unstable, Debian:testing [i386])
Conf lxterminal (0.1.11-4 Debian:7.1/stable, Debian:unstable, Debian:testing [i386])
Conf lxde (4+nmu1 Debian:7.1/stable, Debian:unstable, Debian:testing [all])
Conf lxpolkit (0.1.0-4 Debian:7.1/stable, Debian:unstable, Debian:testing [i386])
Title: Re: RE: 13-Aug dist-upgrade breaks LXDE
Post by: piper on 2013/08/13, 17:04:23
Quote from: "timc"
santa in the irc channel says he is working to fix it. It's not ready yet, though.

Tim


+1
Title: RE: Re: RE: 13-Aug dist-upgrade breaks LXDE
Post by: timc on 2013/08/13, 20:47:04
Current status: lxpanel and pcmanfm now install cleanly. However, I still cannot reinstall lxsession-edit and lxpolkit without it wanting to remove lxde lxde-common lxde-core lxinput lxsession siduction-settings-lxde

So, my desktop still works, but there are no panel and menu.

Tim
Title: Re: RE: Re: RE: 13-Aug dist-upgrade breaks LXDE
Post by: Santa on 2013/08/14, 14:37:39
Quote from: "timc"
Current status: lxpanel and pcmanfm now install cleanly. However, I still cannot reinstall lxsession-edit and lxpolkit without it wanting to remove lxde lxde-common lxde-core lxinput lxsession siduction-settings-lxde

So, my desktop still works, but there are no panel and menu.

Tim


Hello Tim,

lxsession-edit and lxpolkit are removed because lxsession conflicts against them.

I have just checked the changelog of latest lxsession upload to sid: http://packages.qa.debian.org/l/lxsession/news/20130812T123425Z.html
This shows this was done on purpose, so I tend to think the removal is ok.

However, if I'm not mistaken, at the same time when you did the upgrade a couple of packages (lxpanel and pcmanfm) had to be held back because a couple of packages are waiting in debian's NEW queue and a third package was broken by debian. Given the removal of lxsession-edit and lxpolkit seem fine, I think those 3 packages were the cause of the problem (they were are also the reason why lxde was uninstallable yesterday in the morning). Perhaps you have now a misconfiguration as a result of having a half-upgraded lxde, but this is just a conjecture.

One thing is true: with our current packages in the fixes repository, in a virtual machine I have an lxde installed from the firestarter amd64 iso; I upgraded it and apparently it works without losing the panel or any other issue. Also the fixes/ packages made lxde installable again.

So, could you test with a new user account?
Title: RE: Re: RE: Re: RE: 13-Aug dist-upgrade breaks LXDE
Post by: dibl on 2013/08/14, 15:00:46
I think there's still an issue in the pcmanfm dependency chain.  pcmanfm depends on libfm1 (among others).  libfm1 depends on libfm-data.  On my LXDE netbook, apt refuses to install libfm1 because of the dependency on libfm-data. "E: Unable to correct problems, you have held broken packages."

But trying to install libfm-data generates the "libfm-data is already the newest version" message.
Title: Re: RE: Re: RE: Re: RE: 13-Aug dist-upgrade breaks LXDE
Post by: Santa on 2013/08/14, 18:42:01
Quote from: "dibl"
I think there's still an issue in the pcmanfm dependency chain.  pcmanfm depends on libfm1 (among others).  libfm1 depends on libfm-data.  On my LXDE netbook, apt refuses to install libfm1 because of the dependency on libfm-data. "E: Unable to correct problems, you have held broken packages."

But trying to install libfm-data generates the "libfm-data is already the newest version" message.


Aha. Thanks for notcing, it seems this only happens in i386, I'm working on it.
Title: RE: Re: RE: Re: RE: Re: RE: 13-Aug dist-upgrade breaks LXDE
Post by: timc on 2013/08/14, 19:37:54
@Santa, I created a new user account. It is slightly different - there is a blank white image at the bottom left of the screen that looks a little like a panel. But clicking on it does nothing.

So, how about a different question. What if I were to remove the LXDE packages and try to reinstall LXDE? Is there a metapackage for doing that? Would my configurations remain intact? There is a section in the Siduction manual about desktops, but it only really seems to address KDE.

Thank you for your help and any advice you can give me.

Tim
Title: Re: RE: Re: RE: Re: RE: Re: RE: 13-Aug dist-upgrade breaks L
Post by: Santa on 2013/08/15, 19:39:35
Quote from: "timc"
@Santa, I created a new user account. It is slightly different - there is a blank white image at the bottom left of the screen that looks a little like a panel. But clicking on it does nothing.


I have been investigating a bit more about this. I can reproduce the problem you have with a new user account and also just rebooting after the upgrade.

To sum up the current state of this, the upgrade to the latest debian lxde packages means the following:
1 - Removal of lxsession-edit and lxpolkit (which seems fine for now).
2 - They were uninstallable for various reasons, but we fixed this problem in fixes/
3 - After rebooting after the upgrade, the panel doesn't work, we still not have a fix for this, so if you haven't upgraded yet, I recommend you to hold the dist-upgrade for now.

Quote from: "timc"

So, how about a different question. What if I were to remove the LXDE packages and try to reinstall LXDE? Is there a metapackage for doing that? Would my configurations remain intact? There is a section in the Siduction manual about desktops, but it only really seems to address KDE.

Thank you for your help and any advice you can give me.

Tim


Reinstalling won't help, I'd recommend you to until we have fixed properly this broken debian packages. In any case the metapackage is called 'lxde'.
Title: RE: Re: RE: Re: RE: Re: RE: Re: RE: 13-Aug dist-upgrade brea
Post by: Santa on 2013/08/15, 23:34:25
Update:

After various hours of work, we have pushed various packages related to lxde in fixes/. We think the issues should be fixed now, please le us know if now lxde works for you or not. Thank you.
Title: RE: Re: RE: Re: RE: Re: RE: Re: RE: 13-Aug dist-upgrade brea
Post by: dibl on 2013/08/16, 00:02:28
I have messed around trying to verify that I have all the necessary LXDE packages installed, and I think I do, but I still cannot get past the slim login manager. I don't mind reinstalling on this netbook, but in case the problem is with the system (vs. the user), perhaps I should request assistance and review the system configuration.  Is there a list somewhere of the required packages for a complete LXDE desktop?   (Tomorrow is soon enough -- I know what time it is in Europe!)
Title: RE: Re: RE: Re: RE: Re: RE: Re: RE: 13-Aug dist-upgrade brea
Post by: timc on 2013/08/16, 00:28:22
In the past half hour or so, there are some new packages, including lxpanel, that have made major improvements with the problem. I can now get a working panel at login, but to get it, I had to add "@lxpanel" to ~/,config/lxsession/LXDE/autostart. That never had to be there, before.

Also, my key combinations (such as Super+w to open the web browser) no longer work. It seems they have made many changes to the way LXDE works.

Tim
Title: Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: 13-Aug dist-upgrade
Post by: dibl on 2013/08/16, 17:08:34
Quote from: "dibl"
I have messed around trying to verify that I have all the necessary LXDE packages installed, and I think I do, but I still cannot get past the slim login manager. I don't mind reinstalling on this netbook, but in case the problem is with the system (vs. the user), perhaps I should request assistance and review the system configuration.  Is there a list somewhere of the required packages for a complete LXDE desktop?   (Tomorrow is soon enough -- I know what time it is in Europe!)


My bad -- the problem was something in the user's home folder configuration.  Deleting the user and his home folder, and then adding the new user solved the issue -- LXDE desktop and panel are behaving as expected for a new user, so I concur this is a solved item.
Title: RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: 13-Aug dist-upgr
Post by: timc on 2013/08/16, 22:18:03
The reason my key combos don't work again is because LXDE is once again mis-mapping keycode 133, even though I have code in place to remap it, correctly. I suspect the problem is that my code is in the same file where I had to add code to start lxpanel, yesterday.

Damn, this mess just goes around and around.

Here is that file, ~/.config/lxsession/LXDE/autostart:

Code: [Select]

@lxpanel
@xmodmap ~/.Xmodmap


Why is the xmodmap command no longer being executed?

Tim
Title: RE: Re: RE: Re: RE: Re: RE: Re: RE: Re: RE: 13-Aug dist-upgr
Post by: timc on 2013/08/16, 23:19:15
Ok, I got the preceding post's problem fixed with coruja's help. I learned that the autostart in ~/.config/lxsession/LXDE, if found, prevents the autostart in /etc/xdg/lxsession/LXDE from being executed. After that tidbit of info, it was easy to put everything I need into ~/.config/lxsession/LXDE/autostart and have it all work in a consistent manner.

Now my LXDE profile works, my lxpanel looks nice like it used to, and my key combos work. Everything is good, again.

Tim