about lsb_release -a
I successfully upgraded my server from
After that the
lsb_release -acommand returns :
No LSB modules are available. Distributor ID: Debian Description: Devuan GNU/Linux 1.0 (jessie) Release: 7 Codename: jessie
- because debian/jessie is 8.x, I wonder if the Release number is ok ?
my /etc/debian_release is
apt-cache policy base-filesis :
base-files: Installed: 8+devuan7 Candidate: 8+devuan7 Version table: *** 8+devuan7 0 990 http://auto.mirror.devuan.org/merged/ jessie/main amd64 Packages 100 /var/lib/dpkg/status
Sorry, I can't reproduce it on a freshly installed Devuan, and I have a machine I upgraded from Debian Squeeze to Devuan Jessie. Both machines show:
$ lsb_release -a No LSB modules are available. Distributor ID: Devuan Description: Devuan GNU/Linux 1.0 (jessie) Release: 1.0 Codename: jessie
Note that I do not have
/etc/debian_releaseanymore . Did you leave some Debian repositories in your
/etc/apt/sources.list?Edited by hellekin
I don't have debian repository in my
I read the lsb_release code (and the python module code) to found where the information is found. I discovered I have a
DISTRIB_ID=Debian DISTRIB_RELEASE=7 DISTRIB_CODENAME= DISTRIB_DESCRIPTION=
dpkgdon't know where it comes. I renamed it, now it seems fixed. a
lsb_release -areturns a clean :
No LSB modules are available. Distributor ID: Devuan Description: Devuan GNU/Linux 1.0 (jessie) Release: 1.0 Codename: jessie
Now my issue is fixed but ...
I also still have a
$ cat /etc/debian_version 7.11
I played a little with him...
# dpkg -S /etc/debian_version base-files: /etc/debian_version # rm /etc/debian_version # apt-get install --reinstall base-files 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Preparing to unpack .../base-files_8+devuan7_amd64.deb ... Unpacking base-files (8+devuan7) over (8+devuan7) ... Processing triggers for man-db (184.108.40.206-5) ... Setting up base-files (8+devuan7) ... # ls /etc/deb* debconf.conf debsums-ignore # dpkg -S /etc/debian_version dpkg-query: no path found matching pattern /etc/debian_version # echo 7.11 > /etc/debian_version # dpkg -S /etc/debian_version dpkg-query: no path found matching pattern /etc/debian_version # rm /etc/debian_version
I don't understand why the /etc/debian_version seems coming from base-files (8+devuan7) and not after the reinstall of the same packet.
Because base-files_8+devuan7_amd64.deb doesn't include /etc/debian_version. You can check this (i.e. for amd64):
dpkg -c /var/cache/apt/archives/base-files_8+devuan7_amd64.deb
I suppose file /etc/debian_version comes from Debian installation and has change date before migration date to Devuan - You should check it change date before remove:
Maybe base-files should removes /etc/debian_version during installation to avoid confusion.
After my server...
Yesterday I upgraded my laptop from debian/wheezy to devuan/jessie.
I don't get the issue about
lsb_release -a. The
/etc/lsb-releasedoes not exists.
I also still have the
/etc/debian_versionafter devuan upgrade. Yes it was created by the debian's base-files package.
Yes, maybe devuan base-files (or another cleanup tool for devuan) should remove the /etc/debian_version.