The officially official Devuan Forum!

You are not logged in.

#1 2017-12-07 18:49:28

chillfan
Member
Registered: 2016-12-01
Posts: 56  

Upgrading to ASCII instructions

For those who want to upgrade to ASCII, I have made the instructions available on my wiki here. The instructions are only for upgrading from Devuan Jessie to Devuan ASCII. I expect this to be straight forward except for non-standard installs, but please open an issue if you experience any problems.

Offline

#2 2017-12-08 13:24:54

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

Re: Upgrading to ASCII instructions

A couple of additional notes:

If you don't have the kernel metapackage installed (e.g. linux-image-amd64) then you won't get the new kernel automatically on dist-upgrade and will need to install linux-image-4.9.0-4-<arch> or install the metapackage and dist-upgrade again. After installing the new kernel, you should reboot, so you're running the new kernel.

You might lose policykit-1 on the dist-upgrade. Unless you're a stoic minimalist, you'll want to reinstall it.

If you're upgrading from debian jessie or stretch, you'll need to remove systemd and systemd-shim after the upgrade. You might need to reinstall some other packages, too.

If you're upgrading from debian with gnome, you are a glutton for punishment, and you are heading for a big adventure. It can be done, but a fresh install would be easier and faster.

Offline

#3 2017-12-09 04:11:38

chillfan
Member
Registered: 2016-12-01
Posts: 56  

Re: Upgrading to ASCII instructions

[Updated post]

Instructions to migrate from Debian are now available here.

Last edited by chillfan (2017-12-15 10:12:28)

Offline

#4 2018-03-27 20:59:07

keb
Member
Registered: 2017-06-14
Posts: 10  

Re: Upgrading to ASCII instructions

i tried the upgrade instructions and it got an error and wont go any further.  currently not sure whether it is safe to reboot or i can do something to get it moving again.  transcript of apt-get dist-upgrade is at
https://pastebin.com/jaZb27ap

where is the place to "open an issue"?

Last edited by keb (2018-03-27 21:05:43)

Offline

#5 2018-03-27 21:15:10

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

Re: Upgrading to ASCII instructions

It's a known issue.

https://dev1galaxy.org/viewtopic.php?id=1950
https://lists.dyne.org/lurker/message/2 … 27.en.html

TL;DR:

rm /etc/init.d/udev

Then repeat the upgrade.

Offline

#6 2018-04-01 10:32:40

Geoff 42
Member
Registered: 2016-12-15
Posts: 462  

Re: Upgrading to ASCII instructions

I have just upgraded my desktop machine from Jessie to Ascii, following Chillfan's write-up.
https://git.devuan.org/dev1fanboy/Upgra … e-to-ascii

I am using lxde.

I prepared the sources.list, the keyring upgrade and the update from within X. I then used <ctrl><alt><F1> to get the console before I did the dist-upgrade. This took about an hour and a half, although I do have quite a lot of stuff installed! The upgrade of flightgear-base-data was over 1GB on its own...
I have the kernel metapackage installed, so 4.9 got pulled in. I also have Xen installed, but I don't use it very often and have grub set-up to default to not using Xen. I noticed that the upgrade fiddled with this. When I rebooted, the grub menu theme had been changed a bit and was quite hard to read, but I managed to select the 4.9 kernel, although it hung. I then rebooted and tried the 3.16 kernel and that was ok. I have since booted ok with 4.9 and it is fine, although it seems to take a bit longer to boot.

I was able to do the eudev stuff as above

rm /etc/init.d/udev
apt-get dist-upgrade

the only problem is that in the ps uaxf listing, eudev shows up as udevd. I'm trying to remember how it appeared in Jessie, was it systemd-udevd?

I also did the elogind stuff

apt-get install libpolkit-backend-1-0-elogind libpolkit-gobject-1-0-elogind

so that I can still shutdown from lxpanel, although there is a warning, it is displayed very briefly but I think it is org.freedesktop.DBus.Error.Noreply.

I also installed lxdm, which replaced slim.

By this point it was basically working and I can log in and have an lxde session.

There are some programs which need a bit of investigation and I will go into details elsewhere, but include :-
Postfix is running in compatability mode :- https://dev1galaxy.org/viewtopic.php?id=1971
PostgreSQL has gone from 9.4 to 9.6 and needs attention :- https://dev1galaxy.org/viewtopic.php?id=1968
runit as a process supervisor was not started, see :- https://dev1galaxy.org/viewtopic.php?pid=8190#p8190
Apache2 seems ok
Claws-mail works and but HTML needs attention :- https://dev1galaxy.org/viewtopic.php?id=1895
Raleigh theme not working :- https://dev1galaxy.org/viewtopic.php?id=1945

Several updates to config files were offered, but generally I kept the current ones and am now going through them. The new configs tend to be in /etc and are suffixed .dpkg-dist so can be found with

find /etc -name '*.dpkg-dist'

The other place to look is in /var/log/apt/ term.log seems to have the info that may have scrolled off your screen during the upgrade and history.log lists the packages installed.

Geoff

Last edited by Geoff 42 (2018-04-05 10:03:12)

Offline

#7 2018-04-01 15:00:49

Geoff 42
Member
Registered: 2016-12-15
Posts: 462  

Re: Upgrading to ASCII instructions

One thing which I forgot to mention was that at the start of the dist-upgrade, it complained that it would run out of space on /var and refused to run. After running apt-get clean, there was still not much space left on /var. It was then that I spotted a large .iso file which I had left in /var/tmp. Removing this enabled the upgrade to proceed!

Geoff

Offline

Board footer