3

I upgraded to Jessie last recently and when doing a lsb_release -a it reports that the release is 7 (instead of 8) and codename Jessie.

enter image description here

I did an update && upgrade && dist-upgrade when all sources point to jessie but no updates are available.

Another server I recently upgraded reports release 8 and Codename Jessie.

How can I fix this wrong information reported inside Release number ? Thanks

Tristan
  • 498
  • 2
  • 9
  • 27

1 Answers1

3

I got the same problem.

The 7 come from /etc/lsb-release :

DISTRIB_ID=Debian
DISTRIB_RELEASE=7
DISTRIB_CODENAME=
DISTRIB_DESCRIPTION=

However, it seems /etc/lsb-release file does not exist anymore in any package, but it has been kept back (I did not find any reported bug about it).

So just removed it:

rm /etc/lsb-release

lsb_release -a will so use /etc/os-release instead, which contains the good informations.

Xorax
  • 348
  • 4
  • 12