The officially official Devuan Forum!

You are not logged in.

#1 2018-08-12 13:07:21

fred43
Member
Registered: 2018-08-03
Posts: 15  

Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

The DE is:

lightdm with libpam-elogind, a partial xfce4-desktop  and the exim4-light-daemon

Warning:

If you are in a hurry - don't do it! Read any output from 'aptitude' very carefully when it presents you with alternatives to work around dependency problems.

IMPORTANT: You have to be familiar with a testing-branch but a degree in rocket science is not required.

My Motivation for doing it:

Using Debian-testing for *many* years I suddenly had that "bee in the bonnet" to move a Devuan-stable to the testing branch. My present Debian-testing (with sysv-init) is actually my main OS but I started feeling a bit uncomfortable since consolkit-1 got dropped by the Debian-Team and with no elogind and friends in sight to replace it.

Preamble:

This is not a HowTo Document rather a collection of comments and tips to get the job done in one way or another (makeshift aproach). Moving a DE from stable (ascii) to testing (beowulf) is presently a *fairly* clumsy business. The emphasis is on *moving* a DE.

Now lets get this out of our way. Right now, merged/beowulf and merged/ceres is not functioning the same way as the Debian buster and sid branches. It seems that Devuan specific packages are not trickling down fast enough from experimental to unstable to testing. I can well imagine that the Devuan-Project just simply does not have the resources and manpower to do it any faster.

For that very reason one can't just do an apt-get dist-upgrade! For a DE you need devuan-branded 'policykit-1' and 'consolekit and friends' or 'libpam-elogind and friends'. These packages are presently simply *not* available in beowulf or ceres.

Now let's start.

The tools I used are aptitude (ncurses bases package manager which in IMHO is a bit cleverer in working out dependeny-problems as apt-get) and orphaner (an alternative for finding unused packages) from the deborphan package.

I reduced the DE (in my case, xfce4) but left lightdm and the mailserver (apt-listchanges) installed.

I recommend to make a backup of the root-partition.

Changed in the /etc/apt/sources.list the word 'ascii' to 'beowulf' and created a file /etc/apt/preferences.d/avoid_some_beo with the following content:

  Package: policykit-1
  Pin: release a=beowulf
  Pin-Priority: -1

  Package: libpolkit-agent-1-0
  Pin: release a=beowulf
  Pin-Priority: -1 

  Package: libpolkit-backend-1-0
  Pin: release a=beowulf
  Pin-Priority: -1

  Package: libpolkit-gobject-1-0
  Pin: release a=beowulf
  Pin-Priority: -1

and then I issued the command: apt-get update

Remember "apt-get dist-upgrade" does give you a hosed system. If you don't believe me try it with the -s switch and then you will notice that the new debian-branded policykit-1 will be installed which in turn uninstalls the devuan-branded vital stuff (ie libpolkit-backend-elogind-1-0).

Now I started from the terminal (as root) the application aptitude and then I pressed: U for Upgrade.

aptitude then told me that it has got a dependency problem. In response to it, press: e and cycle through the 2 or 3 different solutions to the dependency-problem.

Accept the one where policykit-1 will not be upgraded and libpolkit-backend-elogind-1-0 and friends will be left in place (not wiped out).

Press: g and inspect the displayed list for correctness and confirm the correctness by pressing g again otherwise cancel pending action.

After completion of the upgrade under the heading "Obsolete and Locally Created Packages", I did find libpam-elogind and friends. This confirms that apparently all went well, in other words the vital ascii based devuan-branded packages did make the migration.

Then I closed aptitude and used orphaner to tell me which packages orphaner thinks are obsolete and I recorded the name of these packages on a piece of paper.

After closing orphaner and starting aptitude again I then carefully removed the *truly* obsolete packages and landed with the following list in aptitude:

elogind, eudev, libpam-elogind, clearlook-phenix-darkpurpy-themes, gnome-icon-theme-extras,
linux-image-4.9.0.7-amd64, libelogind0, libeudev1, libpolkit-backend-elogind-1-0,
libpolkit-gobject-elogind-1-0, libuper-glib1 and darkpurpy-icon-theme.

Then I closed aptitude again.

In order to reflect the fact that this is a Devuan and not a Debian-Distro make changes to the following files in the /etc directory: devuan_verson, issue, issue.net and os-release. 

I issued the command: update-grub

and then rebooted the OS - and all worked!!! Mind you, the command su behaves differently (had to read the mail which apt-listchange generated for me). BTW, gksu is gone because Debian ditched it but pkexec works

I reinstalled the print-server (no problem during the install and is fully functional) and then pulseaudio. There is however a slight initial problem with pulseaudio! I had to edit the file /etc/pulse/client.conf.d/00-disable-autospawn.conf as per instruction inside that file and pulseaudio works now perfectly.

Note: As I use eth0, I can't tell you if the wifi-packages will function properly. Personally, ignoring network-manager, I don't see a reason why they should not work.

My final ramblings:

My beowulf-system seems to run fine. I know, its early days but I must admit I expected it to be worse. My "Beowulf Desktop Environment" has 11 Devuan packages from ascii, 6 from beowulf and the rest is *pure* Debian buster.

Will I keep this installation? Most probably I will but let's wait and see if the beowulf-branch develops towards a more functional state of affairs, in other words in a less makeshift migration setup. I personally do not like the idea to have *vital* packages borrowed from the ascii-branch but with a bit of pinning etc it can be controlled. BTW, I re-activated the ascii-branch but gave it a very low preference except for the presently vital ascii-packages.

My  thanks to the Devuan devs, testers and bug-reporters for providing a good OS without the systemd octopus. I tip my hat!

Last edited by fred43 (2018-09-11 14:03:50)

Offline

#2 2018-09-09 10:34:09

fred43
Member
Registered: 2018-08-03
Posts: 15  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

A follow up:

A month later I can report that Beowulf is now my main OS. No deal breakers, it just runs without any nasty surprises.

The install is now a fully functional Digital Audio Workstation beside a fairly conventional Desktop Environment install. On a side-note, I personally find it easier to maintain a "testing-os" instead of a "stable-os with backports" which in turn has got its own problems when stable changes to old-stable.

The actual migration is still clumsy as the Devuan-Developers have not yet done anything to make the upgrading easier for the DE-users. No kudos for that, however the critical packages from the Ascii-branch do work in Beowulf! After a successful migration with a bit of pinning and by putting some packages on hold the Beowulf-Installation is easy to maintain.

I think the migration to Beowulf is well worth the effort.

Offline

#3 2018-09-11 17:29:22

willbprogz227
Member
Registered: 2018-09-06
Posts: 31  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

Great post, thank you for it! smile


Blessed and forgiven in the Pacific Northwest of the U.S.! smile

Offline

#4 2018-09-12 02:57:05

willbprogz227
Member
Registered: 2018-09-06
Posts: 31  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

Thanks to this post, I'm back on Devuan Beowulf from Linux Mint!  Hooray! big_smile


Blessed and forgiven in the Pacific Northwest of the U.S.! smile

Offline

#5 2018-09-12 03:31:12

golinux
Administrator
Registered: 2016-11-25
Posts: 3,295  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

Indeed.  Welcome home.

Offline

#6 2018-09-12 13:28:10

fred43
Member
Registered: 2018-08-03
Posts: 15  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

willbprogz227, whoow.... that I call determination. Congrats!

Offline

#7 2018-10-24 22:44:41

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

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

I just did this a few days ago. Thanks for blazing a trail. It seems to be getting easier. Here's what I did -

Installed Refracta 9 (ascii with xfce installed a la carte, lxdm, elogind)
Added beowulf main repo to sources.list. Did not disable ascii repos.
Pinned policykit-1 and its libraries to the ascii versions.
Then ran apt-get update && apt-get dist-upgrade
Installed the 4.18 kernel, ran apt-get autoremove (only 3 or 4 packages got removed)
Rebooted.

It seems to be working. Shutdown/reboot buttons work in desktop and login screen. Mount/unmount removable drives on the desktop works. And I just got out of a video conference in chromium, so camera and mic are working, too.

Here's the pin file I used:  NOTE: It is no longer necessary to pin policykit packages.

Package: policykit-1
Pin: version 0.105-18* 
Pin-Priority: 1001

Package: libpolkit-agent-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-backend-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-gobject-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Last edited by fsmithred (2019-03-17 16:10:35)

Offline

#8 2018-10-25 18:42:34

willbprogz227
Member
Registered: 2018-09-06
Posts: 31  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

fsmithred wrote:

I just did this a few days ago. Thanks for blazing a trail. It seems to be getting easier. Here's what I did -

Thank you so much for this! smile  I'm going to try this later today and see how it goes.


Blessed and forgiven in the Pacific Northwest of the U.S.! smile

Offline

#9 2018-10-26 11:06:05

dxrobertson
Member
Registered: 2017-05-04
Posts: 232  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

Thanks to all who posted their instructions.  I have now successfully upgraded 2 PCs to Beowulf.  I started out with my own personal minimal XFCE install, but results are similar.

Added beowulf to sources.list:

deb http://us.deb.devuan.org/merged beowulf main non-free contrib

Created /etc/apt/preferences.d/beowulf with contents from fsmithred's pin:

fsmithred wrote:

Here's the pin file I used:

Package: policykit-1
Pin: version 0.105-18* 
Pin-Priority: 1001

Package: libpolkit-agent-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-backend-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-gobject-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Then ran apt-get update
Then apt-get dist-upgrade

I had no sound on one of my machines that uses pulse.  Debain seems to have changed pulse to be inited via systemd, there is mention in the notes to change the respawn if not using systemd.  This will no doubt be a new change for Devuan to handle.  Edit /etc/pulse/client.conf.d/00-disable-autospawn.conf:

# On linux systems, disable autospawn by default
# If you are not using systemd, comment out this line
#DXRautospawn=no

Another odd problem I had is that the XFCE desktop would randomly sometimes take minutes to appear.  This delay occurs after the LightDM login.  At the LightDM login screen I changed from Default Xsession to Xfce session and ran a few tests and the delay does not "seam" to occur (still testing).  From looking at the lightdm.log and seat0-grater.log, there are differences in the processing, and the delay can be seen in the logs on the Default Xsession runs.

Offline

#10 2018-12-17 10:57:42

Panopticon
Member
Registered: 2018-01-27
Posts: 306  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

I tried this today on an lxqt netinstall on a dell box i have. After the initial massive upgrade (1.1 GB) and reboot the 4.18 kernel did not boot up for me just hung at a black screen so i tried the back ported 4.17 kernel image and it seems to work for my box. I did have issues with the right gcc compiler for the headers for 4.17 and commenting out the ascii repos in apt/sources list except for the ascii backports repo then update and upgrade did the trick to get the correct compiler package for the headers. Im not on that machine now but i pinned lxqt-policykits backends and elogind and haven't had any issues so far rebooting or powering off. Ill post the pin file i used tomorrow as im not on that computer for now. Anyhow just wanted to babble a bit and say thanks for this thread, helped me get to Beowulf/testing using lxqt.

From here how could i help devuan using testing?

Offline

#11 2018-12-18 06:57:47

Panopticon
Member
Registered: 2018-01-27
Posts: 306  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

So here is the pin file i made, not sure if all that is needed.

Package: lxqt-policykit
Pin: version 0.11.1-1*
Pin-Priority: 1001

Package: lxqt-policykit-l10n
Pin: version 0.11.2-1*
Pin-Priority: 1001

Package: libpolkit-agent-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-backend-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-backend-elogind-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-gobject-elogind-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-gobject-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Offline

#12 2018-12-21 02:55:52

aut0exec
Member
Registered: 2018-11-21
Posts: 81  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

Thanks everyone for posting their experiences with this! Had been trying to do this with Cinnamon and your experiences helped me to get Cinnamon 3.8.8 working from Ceres as well!

The only issue experienced was an issue with minissdpd. It kept failing but I don't need/use it anyways so it was removed!

Here is the /etc/apt/preferences.d/beowulf file I used

Package: policykit-1
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-agent-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-backend-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-backend-elogind-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-gobject-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Package: libpolkit-gobject-elogind-1-0
Pin: version 0.105-18*
Pin-Priority: 1001

Offline

#13 2018-12-28 19:21:55

Doge
Member
From: 127.0.0.1
Registered: 2017-10-22
Posts: 5  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

@fred43

I'm really really grateful for making this thread because without this thread I would have had to move to some other distro since I needed some packages from beowulf and after upgrading to beowulf, libpolkit issue arised.

dxrobertson wrote:

I had no sound on one of my machines that uses pulse.  Debain seems to have changed pulse to be inited via systemd, there is mention in the notes to change the respawn if not using systemd.  This will no doubt be a new change for Devuan to handle.  Edit /etc/pulse/client.conf.d/00-disable-autospawn.conf:

# On linux systems, disable autospawn by default
# If you are not using systemd, comment out this line
#DXRautospawn=no

Thanks to you too. Without this post I would have had spent lots of time trying to fix audio because it was working fine with ascii.


Devuan Ascii/Ceres x64 ❤️

Offline

#14 2019-03-17 15:00:02

osvaldo
Member
Registered: 2019-03-17
Posts: 2  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

hi, I have upgraded my machine to beowulf. Thanks to all the people for their instructions. My steps.

# apt-get update && apt-get upgrade
Replaced all -ascii- to -beowulf- in /etc/apt/sources.list
Created /etc/apt/preferences.d/avoid_some_beo like fsmithred did.
# apt-get update
# apt-get upgrade
# apt-get dist-upgrade
# reboot

Issues:
firefox 67.0b2 tab crashes while playing any video
no audio in youtube video using vivaldi browser instead of firefox.
fish shell does not work.

Comment out autospawn in /etc/pulse/client.conf.d/00-disable-autospawn.conf fix firefox issues.
uninstall fish
purge fish configuration files and omf configuration files
install fish

Last edited by osvaldo (2019-03-19 16:15:26)

Offline

#15 2019-03-17 15:38:48

nixer
Member
From: North Carolina, USA
Registered: 2016-11-30
Posts: 210  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

Created /etc/apt/preferences.d/avoid_some_beo like fsmithred did.

It is my understanding that you do not need this any more.  You might want to try to remove it and see what wants to get updated.  Also, if you have them, you may be able to remove all references to ascii from sources.list .  I have done this to a couple of beowulf installs and it has caused no problems.  However, I do have one beowulf install where I still have ascii references in sources.list file so that I can use the ascii version of network-manager and its openvpn tools.

From what I have read and experienced, there have been at least two major improvements recently that makes beowulf closer to a beta state - first, the polkits got a major facelift a few weeks ago which have been applied with your dist-upgrade to beowulf, and second, you can run

apt install libelogind0

and this will make a noticable change to your system.

And may I add that the change produced with libelogind0 was very nice to see... (-;

Offline

#16 2019-03-17 16:13:44

osvaldo
Member
Registered: 2019-03-17
Posts: 2  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

I did what you suggested, everything seems fine. Thanks

Offline

#17 2019-05-21 04:30:19

neutrinosteak
Member
Registered: 2019-05-21
Posts: 2  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

osvaldo wrote:

hi, I have upgraded my machine to beowulf. Thanks to all the people for their instructions. My steps.

# apt-get update && apt-get upgrade
Replaced all -ascii- to -beowulf- in /etc/apt/sources.list
Created /etc/apt/preferences.d/avoid_some_beo like fsmithred did.
# apt-get update
# apt-get upgrade
# apt-get dist-upgrade
# reboot

Issues:
firefox 67.0b2 tab crashes while playing any video
no audio in youtube video using vivaldi browser instead of firefox.
fish shell does not work.

Comment out autospawn in /etc/pulse/client.conf.d/00-disable-autospawn.conf fix firefox issues.
uninstall fish
purge fish configuration files and omf configuration files
install fish

I tried this process on a fresh devuan install, and it went fine until I got to the reboot; now it just shows a grub menu with no options. I tried using chroot to run update-grub from an ascii Live-USB, and the update ran fine, it saw the new kernel and didn't throw any errors. But the grub menu is still empty on reboot. Does anyone have insight into what could have gone wrong?

Last edited by neutrinosteak (2019-05-21 05:25:40)

Offline

#18 2019-05-21 11:50:36

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

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

neutrinosteak: if it's a uefi system, this may help:
https://dev1galaxy.org/viewtopic.php?id=2676

Offline

#19 2019-05-21 17:11:36

Dutch_Master
Member
Registered: 2018-05-31
Posts: 282  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

Be aware you need to run the command boot-update after (re-)installing Grub or replacing a kernel. And you need to run it as root wink

Offline

#20 2019-05-21 18:16:20

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

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

Dutch_Master wrote:

Be aware you need to run the command boot-update after (re-)installing Grub or replacing a kernel. And you need to run it as root wink

That won't work so well in debian-based distros. (Won't work at all.)

grub-install [target] installs the bootloader. target is a drive or partition for legacy/bios systems, omitted for uefi systems.
update-grub creates the boot menu

Offline

#21 2019-05-21 21:26:02

Dutch_Master
Member
Registered: 2018-05-31
Posts: 282  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

Ah, you're right, my bad cool  On Funtoo, it works tongue

Offline

#22 2019-05-21 22:59:12

neutrinosteak
Member
Registered: 2019-05-21
Posts: 2  

Re: Tips for successfully migrating Ascii DE to Beowulf as of 11-08-2018

fsmithred wrote:

neutrinosteak: if it's a uefi system, this may help:
https://dev1galaxy.org/viewtopic.php?id=2676

Yup it's UEFI. I removed grub-efi-amd64-signed and ran grub-install, and it fixed my system! Thanks for pointing me in the right direction smile

Offline

Board footer