Wednesday, May 1, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1129  / 3 Years ago, thu, august 19, 2021, 12:36:27

Something's probably broken. On my machine I see this:


# ubuntu-security-status 
2131 packages installed, of which:
0 receive package updates with LTS until 4/2025
2131 packages are from third parties

Packages from third parties are not provided by the official Ubuntu
archive, for example packages from Personal Package Archives in
Launchpad.
For more information on the packages, run 'ubuntu-security-status
--thirdparty'.

This machine is not attached to an Ubuntu Advantage subscription.
See https://ubuntu.com/advantage

What's broken? What causes ubuntu-security-status to tell 0 receive package updates with LTS until 4/2025?


Notes



  • A second machine which once was 12.04 and is updated all along to 20.04.1 now shows a comparable output.

  • I use an apt-cache which is shown as 192.168.XX.XX:3142 below.

  • ddebs are needed for stap to function

  • /etc/apt/sources.list is 0 bytes as everything is managed below /etc/apt/sources.list.d/

  • The system was initially installed as 20.04 and now is 20.04.1


Some more info about my machine:


# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal

$ uname -a
Linux XXXX 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

# apt update && apt upgrade
Hit:1 http://packages.microsoft.com/repos/vscode stable InRelease
Ign:2 https://apache.bintray.com/couchdb-deb focal InRelease
Hit:3 http://dl.google.com/linux/chrome/deb stable InRelease
Get:4 https://apache.bintray.com/couchdb-deb focal Release [1838 B]
Hit:5 http://192.168.XX.XX:3142/de.archive.ubuntu.com/ubuntu focal InRelease
Hit:7 http://192.168.XX.XX:3142/de.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:8 http://192.168.XX.XX:3142/de.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:9 http://192.168.XX.XX:3142/security.ubuntu.com/ubuntu focal-security InRelease
Ign:10 http://192.168.XX.XX:3142/ddebs.ubuntu.com focal InRelease
Ign:11 http://192.168.XX.XX:3142/ddebs.ubuntu.com focal-updates InRelease
Ign:12 http://192.168.XX.XX:3142/ddebs.ubuntu.com focal-proposed InRelease
Hit:13 http://192.168.XX.XX:3142/ddebs.ubuntu.com focal Release
Hit:15 http://192.168.XX.XX:3142/ddebs.ubuntu.com focal-updates Release
Hit:17 http://192.168.XX.XX:3142/ddebs.ubuntu.com focal-proposed Release
Fetched 1838 B in 3s (551 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

More From » package-management

 Answers
2

The logic of that program tests package sources to see if they are from archive.canonical.com. If not, they are assumed to be third party.


Test for yourself by changing your apt source from it's current URL to archive.canonical.com. Then run ubuntu-security-status again. It should work properly.


This is arguably a bug, since folks using some legitimate mirrors and apt-proxies will get spurious results. It's a Python 3 script (/usr/bin/ubuntu-security-status), so anybody is welcome to follow the logic and code up a solution to contribute.


[#2892] Thursday, August 19, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
afyess

Total Points: 437
Total Questions: 120
Total Answers: 107

Location: San Marino
Member since Fri, Jul 3, 2020
4 Years ago
afyess questions
;