Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2748  / 1 Year ago, mon, may 15, 2023, 12:09:59

I’m running Kubuntu 18.10 and when I run sudo apt-get update, I see 3 update-able:



http://gb.archive.ubuntu.com/ubuntu cosmic-updates InRelease[83.2kb ]
http://gb.archive.ubuntu.com/Ubuntu cosmic-backports InRelease [74.6kb]
https://security.ubuntu.com/Ubuntu cosmic-security InRelease [83.2kb]


Then when I run sudo apt-get upgrade, it says 0 to upgrade:



0 to newly install and 0 to remove  and 0 to upgrade


But on my first command sudo apt-get update, I see 3 get listed above and when I run the update, I get the 0 to upgrade 0 to Newly install, etc.



Am I missing something? I am new to Linux. Someone help please much appreciated.


More From » apt

 Answers
5

If your apt-get update looks like this:



Hit:1 http://archive.ubuntu.com/ubuntu cosmic InRelease
Hit:2 http://security.ubuntu.com/ubuntu cosmic-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu cosmic-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu cosmic-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.


Or:



Hit:1 http://security.ubuntu.com/ubuntu cosmic-security InRelease
Get:2 http://archive.ubuntu.com/ubuntu cosmic InRelease [242 kB]
Get:3 http://archive.ubuntu.com/ubuntu cosmic-updates InRelease [83.2 kB]
Get:4 http://archive.ubuntu.com/ubuntu cosmic-backports InRelease [74.6 kB]
Get:5 http://archive.ubuntu.com/ubuntu cosmic/multiverse amd64 Packages [195 kB]
Get:6 http://archive.ubuntu.com/ubuntu cosmic/restricted amd64 Packages [13.6 kB]
Get:7 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages [11.6 MB]
Get:8 http://archive.ubuntu.com/ubuntu cosmic/main amd64 Packages [1342 kB]
Get:9 http://archive.ubuntu.com/ubuntu cosmic-updates/multiverse amd64 Packages [1075 B]
Get:10 http://archive.ubuntu.com/ubuntu cosmic-updates/universe amd64 Packages [218 kB]
Get:11 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 Packages [146 kB]
Get:12 http://archive.ubuntu.com/ubuntu cosmic-backports/universe amd64 Packages [3019 B]
Fetched 14.0 MB in 5s (2835 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.


That doesn't mean that there are packages that can be updated (as the last line explicitly says). What you are seeing is apt fetching package lists from the repositories. But the package lists tell apt that there are no new versions of the software that's installed on your system, and so there's nothing to upgrade.



See also:




[#6540] Tuesday, May 16, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ionodest

Total Points: 252
Total Questions: 122
Total Answers: 100

Location: Liechtenstein
Member since Tue, Apr 27, 2021
3 Years ago
;