You are not logged in.

#1 2018-07-02 03:02:20

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,142
Website

dist-upgrade helium to buster (semi-official)

Note: buster is the testing distribution of Debian and will be rapidly updated for at least the next six months. These instructions could potentially break at any time, but I think that's unlikely, the goal is to produce the next stable release. Anyway, use at your own risk.

History...
https://forums.bunsenlabs.org/viewtopic.php?id=4741
https://forums.bunsenlabs.org/viewtopic.php?id=3403

This is an advanced tutorial, I won't be explaining USB transfers or partitioning schemes or drivers. I'm using the helium 64 bit ISO installed to an ext4 partition.

Update and Upgrade and Dist-Upgrade

1) On a fresh BL install login, exit bl-welcome, open a new terminal and update/upgrade...

sudo apt update && sudo apt upgrade && sudo apt --purge autormove

2) Change /etc/apt/sources.list so it looks like this, leave the bunsen.list alone...

deb https://deb.debian.org/debian buster main non-free contrib
# deb-src https://deb.debian.org/debian stretch main non-free contrib

deb http://security.debian.org testing/updates main contrib non-free
# deb-src http://security.debian.org testing/updates main contrib non-free

3) Logout of your session and switch to TTY1 (Ctrl-Alt-FnF1)

4) Enter your user name and password to login. I'm not screwing with having a display manager during the upgrade. Optional but recommended, remove it...

sudo apt purge --autoremove lightdm light-locker lightdm-gtk-greeter

5) Run...

sudo apt update && sudo apt upgrade && sudo apt --purge autoremove

This will take an hour, nearly 1,000 packages will be upgraded. I ignored all warnings except for cryptsetup, this will be a minor issue moving forward but means nothing now AFAICT. After the upgrade, I removed it as suggested by the warning and everything seems fine.

Your screen will blank after 10 minutes, and this will happen a few times. Hit any key to bring back your display.

You'll get a prompt a third of the way through to restart services automatically, left-arrow and Enter to choose "Yes".

6) Run...

sudo apt dist-upgrade && sudo apt --purge autoremove

7) Reinstall lightdm and light-locker...

sudo apt install lightdm lightdm-gtk-greeter light-locker

Reboot. There are a couple of very minor glitches in the desktop, I'll post the workarounds later.

Offline

#2 2018-07-02 03:57:02

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,142
Website

Re: dist-upgrade helium to buster (semi-official)

Pic or it didn't happen (OB set to only one desktop)...

Screenshot_2018-07-01_23-45-02.th.png

Last edited by hhh (2018-07-12 16:27:44)

Offline

#3 2018-07-02 04:25:30

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,142
Website

Re: dist-upgrade helium to buster (semi-official)

pnmixer. To get a nice systray icon back (already enabled in my screenshot), right-click the pnmixer icon and choose Preferences>View>Icon Theme>Use System Theme and Apply.

There's currently a bug in Xfce's volume notifications where a missing icon displays at minimum volume. I know there's a fix (create a symlink to the missing icon) but I can't find the filename ATM (status/volume-off I think.)

Offline

#4 2018-07-02 04:41:42

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,142
Website

Re: dist-upgrade helium to buster (semi-official)

hhh wrote:

I know there's a fix (create a symlink to the missing icon) but I can't find the filename ATM (status/volume-off I think.)

Yes, that's it, though I still can't find the bug report. Switch your icon theme from Paper-Bunsen to Paper and symlink /Paper/48x48/status/audio-volume-off.png to audio-volume-low.png in the same folder and logout. Done.

-edit- If you prefer the smaller, white icon provided by Paper-Bunsen, just create the shortcut in /usr/share/icons/Paper-Bunsen/24x24/status and set your theme back to Paper-Bunsen, logout.

Offline

#5 2018-07-04 05:59:25

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,681
Website

Re: dist-upgrade helium to buster (semi-official)

hhh wrote:

The giant power button on the tint2 panel is both hideous and, for now on BL, broken.

It works for me - brings up the bl-exit box.
It's the same icon you would get by upgrading tint2 from backports on stretch. Sure, we can use another one.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#6 2018-07-07 03:06:55

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,142
Website

Re: dist-upgrade helium to buster (semi-official)

johnraff wrote:
hhh wrote:

The giant power button on the tint2 panel is both hideous and, for now on BL, broken.

It works for me - brings up the bl-exit box.
It's the same icon you would get by upgrading tint2 from backports on stretch. Sure, we can use another one.

I'm sure you're right and that I'm guilty of an oversight, and I'll double-check when I get the opportunity. Not critical, we have about a year before buster, but I wanted to get ahead of these issues this time around. smile

Offline

#7 2018-07-07 03:15:22

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,681
Website

Re: dist-upgrade helium to buster (semi-official)

hhh wrote:

I wanted to get ahead of these issues this time around. smile

Yes, yes, yes. Let's all keep lists, and we can cross-compare every now and then. That year will be up before we know it...


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#8 2018-07-07 03:37:59

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,142
Website

Re: dist-upgrade helium to buster (semi-official)

johnraff wrote:

Let's all keep lists, and we can cross-compare every now and then.

Agreed!

Forum members, we need your help testing. The more hardware and setup info (other operating systems installed, how you installed/upgraded BL, etc...) we have, the better. Posts like "I followed the steps in such-and-such thread and this didn't work..." are very valuable.

Offline

#9 2018-07-12 16:32:22

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,142
Website

Re: dist-upgrade helium to buster (semi-official)

@johnraff, I've removed the Power Button comments in my previous post. It is working for me as you said, and the easiest removal method is via the tint2 GUI config, so those instructions needed to go. Adiós, muchachos!

Offline

#10 2018-08-31 02:47:52

damo
....moderator....
Registered: 2015-08-20
Posts: 4,397

Re: dist-upgrade helium to buster (semi-official)

So I followed @hhh's procedure, and it went quite well (I must have a faster machine and connection, because it only took a few minutes!).

Regarding the discontinued gksu...
I had a quick look at the menu items using gksudo, and changed them to pkexec

$ pkexec synaptic	<---- OK
--------
$ pkexec bl-file-manager
Thunar: Cannot open display: 

$ pkexec thunar		<---- OK
(thunar:7296): Gdk-WARNING **: 03:07:04.595: gdk_window_set_icon_list: icons too large
--------
$ pkexec bl-text-editor	<---- OK

$ pkexec geany
Unable to init server: Could not connect: Connection refused

Geany: cannot open display
--------
$ pkexec gparted	<---- OK
Unit tmp.mount does not exist, proceeding anyway.
======================
libparted : 3.2
======================
--------
$ pkexec x-terminal-emulator
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
You need to run terminator in an X environment. Make sure $DISPLAY is properly set

$ pkexec terminator
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
You need to run terminator in an X environment. Make sure $DISPLAY is properly set
--------
$ pkexec galternatives	<---- Fails looking for dialog-ok, dialog-error icons
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

(__main__.py:7593): Gtk-CRITICAL **: 03:09:24.969: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
Traceback (most recent call last):
  File "/usr/bin/galternatives", line 5, in <module>
    runpy.run_module('galternatives', run_name='__main__', alter_sys=True)
  File "/usr/lib/python3.6/runpy.py", line 205, in run_module
    return _run_module_code(code, init_globals, run_name, mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 96, in _run_module_code
    mod_name, mod_spec, pkg_name, script_name)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/galternatives/__main__.py", line 9, in <module>
    from galternatives.app import GAlternativesApp
  File "/usr/lib/python3/dist-packages/galternatives/app.py", line 5, in <module>
    from .gui import MainWindow, AboutDialog
  File "/usr/lib/python3/dist-packages/galternatives/gui.py", line 340, in <module>
    STATUS_ICONS.append(icontheme.load_icon(icon_name, 8, 0))
AttributeError: 'NoneType' object has no attribute 'load_icon'

Tint2 Poweroff icon:
There is also /usr/share/images/bunsen/exit/light/poweroff-sm.png, and the size can also be changed with

button_max_icon_size = 24

Buster seems to ship with extra PITA systemd units, which slow down the boot, so if you don't want a process looking for auto software updates then disable/mask apt-daily-upgrade.timer.

I also got the dreaded entropy bug which slowed the desktop loading after login, so I installed the haveged package.

There were also a bunch of warnings which went away after installing accountsservice.

And for nvidia users there is a critical bug in the nvidia-driver. I still have it working with bbswitch, but nvidia-settings isn't getting display information ( arandr does though - and shows me dozens of possible resolutions!)


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#11 2018-08-31 03:32:58

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,142
Website

Re: dist-upgrade helium to buster (semi-official)

Thanks for the report, damo!

Offline

#12 2018-09-01 00:24:10

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,681
Website

Re: dist-upgrade helium to buster (semi-official)

@damo thare should be no gksu entries in menu.xml for helium. We made the gksu-pkexec shift already, and added suitable permissions for bl-text-editor. Have you got some user config files in $HOME left over from helium? (Check /usr/share/bunsen/skel)

However, a compromise was reached (mostly in discussion between me and HoaS) about the file manager, and we decided not to generalize the permission for any file manager that might be set as bl-file-manager, just leaving it for Thunar, which already ships with permissions (like synaptic and gparted).


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#13 2018-09-01 16:13:36

damo
....moderator....
Registered: 2015-08-20
Posts: 4,397

Re: dist-upgrade helium to buster (semi-official)

^ Yeah, I just copied over my own menu.xml, having been out of the loop for a while hmm


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

Board footer

Powered by FluxBB