Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  LXDE 5, lxsession, etc.  (Read 2574 times)

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.358
    • Land of the Buckeye
LXDE 5, lxsession, etc.
« on: 2014/11/01, 19:38:50 »
Yesterday I seriously borked my little LXDE netbook installation.  It is fixed now, but I thought I would share what happened and what not to do at this time.

There is a transition in progress.  For a couple of days I was seeing the lxsession-edit package being removed during du, and then reinstalled during the du.  But there was no problem with performance of my netbook.  Being curious, I started looking and found that there were version 0.5.1-1 packages available in debian for some of the lxsession packages, and I somehow managed to force them onto my system.  Big mistake!  As a result, I lost my LXDE deskop completely, and was unable to revert back to the current working version 0.4.9.3.siduction versions due to a hung "pipe" problem in dpkg.

Of course, if I had done a little research before trying to install the 0.5.1-1 packages, I would have found this.


After I slept on the problem overnight, I was able to fix it by commenting out the debian repos, cleaning the /var/cache/apt/archive, purging everything lxde, and reinstalling it which it took it back (mostly) to 0.4.9.3.  Fortunately all my user configuration files were undamaged so once the working versions were installed, it all works fine again.  So leave your LXDE system alone and I would expect it to update correctly when the bugs are out of the 0.5x version packages.  Here is the working configuration:

Code: [Select]
root@tosh205:/# apt-cache policy lxde
lxde:
  Installed: 5
  Candidate: 5
  Version table:
 *** 5 0
        500 http://ftp.us.debian.org/debian/ unstable/main i386 Packages
        100 /var/lib/dpkg/status
     4+nmu2 0
        500 http://packages.siduction.org/fixes/ unstable/main i386 Packages
root@tosh205:/# apt-cache policy lxsession
lxsession:
  Installed: 0.4.9.3.siduction.4
  Candidate: 0.5.1-1
  Version table:
     0.5.1-1 0
        500 http://ftp.us.debian.org/debian/ unstable/main i386 Packages
 *** 0.4.9.3.siduction.4 0
        500 http://packages.siduction.org/extra/ unstable/main i386 Packages
        100 /var/lib/dpkg/status
     0.4.9.2-1+siduction2 0
        500 http://packages.siduction.org/fixes/ unstable/main i386 Packages
root@tosh205:/# apt-cache policy lxsession-edit
lxsession-edit:
  Installed: 0.4.9.3.siduction.4
  Candidate: 0.4.9.3.siduction.4
  Version table:
 *** 0.4.9.3.siduction.4 0
        500 http://packages.siduction.org/extra/ unstable/main i386 Packages
        100 /var/lib/dpkg/status
     0.4.9.2-1+siduction2 0
        500 http://packages.siduction.org/fixes/ unstable/main i386 Packages
root@tosh205:/# apt-cache policy lxsession-data
lxsession-data:
  Installed: 0.4.9.3.siduction.4
  Candidate: 0.4.9.3.siduction.4
  Version table:
 *** 0.4.9.3.siduction.4 0
        500 http://packages.siduction.org/extra/ unstable/main i386 Packages
        100 /var/lib/dpkg/status
     0.4.9.2-1+siduction2 0
        500 http://packages.siduction.org/fixes/ unstable/main i386 Packages
root@tosh205:/# apt-cache policy lxpanel
lxpanel:
  Installed: 0.7.2-1
  Candidate: 0.7.2-1
  Version table:
 *** 0.7.2-1 0
        500 http://ftp.us.debian.org/debian/ unstable/main i386 Packages
        100 /var/lib/dpkg/status
     0.7.0.siduction.8 0
        500 http://packages.siduction.org/extra/ unstable/main i386 Packages
« Last Edit: 2014/11/02, 12:09:19 by dibl »
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: LXDE 5, lxsession, etc.
« Reply #1 on: 2014/11/01, 20:13:28 »
stumbled over the same issue today - Solution:

Code: [Select]
apt-get purge lxsession-message-gtk
apt-get purge lxsession-default-app
apt-get purge lxsession-logout

done. Now just dist-upgrade if anything goes wrong, purge the old package in charge :)

EDIT: Notice to myself - never ever accept any ubuntu-influenced packaging in siduction.
« Last Edit: 2014/11/01, 20:18:55 by melmarker »
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)