Debian Bookworm install - lsb-release package dependency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Medium
|
Unassigned |
Bug Description
EG 3.11
The lsb-release package which provides the lsb_release command wasn't installed by default on a couple of Debian Bookworm systems.
Symptom that I noticed was an apt update error.
Ign:4 http://
Err:5 http://
404 Not Found [IP: 217.196.149.55 80]
Reading package lists... Done
My /etc/apt/
deb [signed-
Missing the release codename before -pgdb.
So without lsb_release being available, the Makefile.debian script fails to setup the apt repo corretly.
fgrep -r 'RELEASE_CODENAME' *
extras/
extras/
I'll try and test this with a fresh bookworm install sometime to confirm it.
The fix will be to add lsb-release as a dependency package for Bookworm.
Josh
Changed in evergreen: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: install-upgrade |
Debian dropped support for LSB in 2015: https:/ /wiki.debian. org/DebianLsb
The document above says to install the lsb package. When I try to do so on Bookworm, I get the following:
Package lsb is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
lsb_release is installed on my test Debian Bookworm VM. I don't remember if I had to install it manually or not.
lsb_release only partially works on Debian Bookworm:
$ lsb_release
No LSB modules are available.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
$ lsb_release -cs
No LSB modules are available.
bookworm
There is a package named 'lsb-base.' Installing it does not help.
That said, installing the lsb-release package should work. Just note that LSB support on Debian Bookworm is broken/gone. It may work well enough for our purposes, but it may stop working in future Debian releases.
Aside:
This is bad news for people using certain printer drivers. I've had to install lsb on Ubuntu to get certain Epson drivers to work. I wonder if those printers will work in the absence of a functioning lsb package?