:: [DNG] Devuan on Raspberry Pi 2B
Top Page
Delete this message
Reply to this message
Author: Florian Zieboll
Date:  
To: DNG
Subject: [DNG] Devuan on Raspberry Pi 2B
Hello!

I just installed Devuan armhf on a headless Raspberry Pi 2 Model B,
using the raspian-ua-netinst image. The upgrade from this tiny Debian
Wheezy to Devuan Jessie /just worked/ - installing task-lxde-desktop
pulled in libsystemd0 as dependency of some "less essential" and easy
to remove packages, see below.

This is what I did:

Raspberry Pi 2 Model B, ethernetted.

1) get raspbian-ua-netinst-v1.0.7.img.xz from
https://github.com/debian-pi/raspbian-ua-netinst/releases/
2) xzcat image to sdcard
3) check installer‑config.txt -> release=wheezy
4) boot sdcard -> ~10 min unattended netinstall procedure
5) ssh root@???


### NOW LOGGED IN as root@??? ###

basic configuration:
# dpkg-reconfigure locales
# dpkg-reconfigure tzdata

edit /etc/apt/sources.list to contain only the line
deb http://apt.devuan.org/merged stable main

manually deploy the changes from the (currently broken) devuan-baseconf
package http://packages.devuan.org/devuan/pool/main/d/devuan-baseconf/
to
/etc/apt/preferences.d/
and
/etc/apt/apt.conf.d/

first apt-get update returns a warning about the missing apt
signing-key, so get the key (please verify key-id yourself):
# gpg && gpg --recv-keys 94532124541922FB
# gpg --export -a 94532124541922FB | apt-key add -

go devuan:
# apt-get update
# apt-get upgrade
# apt-get dist-upgrade

check for systemd:
# apt-get install aptitude
# aptitude search '?installed' | grep systemd
#

:-)

go gui:
# apt-get install debfoster && debfoster
# apt-get install task-lxde-desktop xrdp

(Now graphical remote/rdp login is possible.)

check for systemd:
  # aptitude search '?installed' | grep systemd
  i A libsystemd0        - systemd utility library


# dpkg -P libsystemd0
dpkg: dependency problems prevent removal of libsystemd0:armhf:
packagekit depends on libsystemd0.
sane-utils depends on libsystemd0.
gnome-disk-utility depends on libsystemd0.
libpulse0:armhf depends on libsystemd0.
gvfs-daemons depends on libsystemd0.
pulseaudio depends on libsystemd0.

dpkg: error processing libsystemd0 (--purge):
dependency problems - not removing
Errors were encountered while processing:
libsystemd0

  # apt-get remove libsystemd0
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages will be REMOVED:
    ca-certificates-java default-jre default-jre-headless gimp
    gnome-disk-utility gnome-mplayer gnome-orca gvfs gvfs-backends
    gvfs-daemons gvfs-fuse icedtea-7-jre-jamvm libasound2-plugins
    libespeak1 libfluidsynth1 libgegl-0.2-0 libgmlib1 libgmtk1
    libmikmod3 libpulse-mainloop-glib0 libpulse0 libpulsedsp
    libsdl-image1.2 libsdl-mixer1.2 libsdl-ttf2.0-0 libsdl1.2debian
    libsmpeg0 libsystemd0 mplayer2 openjdk-7-jre openjdk-7-jre-headless
    packagekit packagekit-tools pulseaudio pulseaudio-module-x11
    pulseaudio-utils python-pygame sane-utils speech-dispatcher
    speech-dispatcher-audio-plugins 
  0 upgraded, 0 newly installed, 40 to remove and 0 not upgraded. 
  After this operation, 109 MB disk space will be freed.
  Do you want to continue? [Y/n]


Yes, I want... To have sound working w/o PulseAudio, unprivileged users
need to be added to the "audio" group. That's it :-)

I'll report back after further testing. Hooray Devuan!

With kind regards,

Florian