So under Ubuntu 21.04 I somehow end up with a file specifying an apt source that trigger a warning saying that the repository hirsute InRelease
doesn't have the component bionic-security
.
I was wondering if I could safely remove some part of the corresponding line, the whole line, or event the whole /etc/apt/sources.list.d/archive_uri-http_security_ubuntu_com_ubuntu-hirsute.list
file, without introduce some security vulnerabilities on the system. Or otherwise, what would be the correct safe way to fix this warning?
An other question that it rises for me is, is bionic some specific repository of Ubuntu which is supposed to be cross version?
Bellow is a list of command with their output to give more contextual information.
# LANG=C lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute
cat /etc/apt/sources.list.d/archive_uri-http_security_ubuntu_com_ubuntu-hirsute.list`
deb http://security.ubuntu.com/ubuntu hirsute main
deb-src http://security.ubuntu.com/ubuntu hirsute bionic-security main
LANG=C sudo apt update
Hit:1 http://fr.archive.ubuntu.com/ubuntu hirsute InRelease
Hit:2 http://fr.archive.ubuntu.com/ubuntu hirsute-updates InRelease
Hit:3 http://archive.canonical.com/ubuntu hirsute InRelease
Hit:4 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 http://fr.archive.ubuntu.com/ubuntu hirsute-backports InRelease
Hit:6 https://dl.yarnpkg.com/debian stable InRelease
Ign:7 https://dl.packager.io/srv/deb/opf/openproject/stable/11/ubuntu 20.04 InRelease
Get:8 https://dl.packager.io/srv/deb/opf/openproject/stable/11/ubuntu 20.04 Release
Hit:9 http://security.ubuntu.com/ubuntu hirsute-security InRelease
Hit:10 http://security.ubuntu.com/ubuntu hirsute InRelease
Fetched 1221 B in 1s (1420 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Skipping acquire of configured file 'bionic-security/source/Sources' as repository 'http://security.ubuntu.com/ubuntu hirsute InRelease' doesn't have the component 'bionic-security' (component misspelt in sources.list?)
hirsute bionic-security
withhirsute-security
. If you DON'T use source packages, simply comment out or delete that unused line. – user535733 May 24 '21 at 20:26