This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Updates mit zurückgehaltenen Paketen
#1
Ich hab immer wieder bei Updates auf der Kommandozeile mit apt-get das Verhalten, daß zurückgehaltene Pakete gemeldet werden. Zunächst war mir nicht klar was das bedeutet, und auf vielen Seiten im Netz werden falsche Ratschläge erteilt. Das betrifft z.B. die Verwendung des apt-get Befehls.

Es ist zwar richtig das man den Befehl "sudo apt-get update && sudo apt-get dist-upgrade" benutzen sollte, damit auch immer alle Abhängigkeiten aktualisiert werden, und das System nicht mit der Zeit festgefahren wird. Das hat mit den zurückgehaltenen Paketen während der Updates aber nichts zu tun. Die Ursache für zurückgehaltene Pakete sind die sogenannten "Phased Updates".

Zu dem Thema habe ich 2 interessante Seiten gefunden:
https://curius.de/2022/09/ubuntu-zurueck...d-updates/
https://wiki.ubuntuusers.de/Aktualisieru...ed_update/

Das Ganze ist also kein Fehler, sondern ein gezielt erzeugtes Verhalten. Wenn das also passiert, lehnt Euch entspannt zurück und wartet geduldig ab, bis Eurer Rechner mit dem Update dran ist. :-) So verstehe ich zumindest die Erklärungen auf den beiden verlinkten Seiten.
Mein Heimatgrid: https://swissgrid.opensim.ch
Zitieren
#2
Danke Jules, die Seite von Gerrit finde ich super. Da werden auch viele interessante Themen angsprochen. Die Ubuntu-Wiki ist das fachliche

Meisterwerk und gehört zu meiner Pflichtlektüre! Bei mir sieht update-upgrade heute mal so aus:

Last login: Fri Nov 18 12:44:19 2022 from ganz weit weg!

schnukki@winterland:~$ sudo apt update

[sudo] password for schnukki: habe ich vergessen:-)

Hit:1 http://de.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:3 https://download.mono-project.com/repo/ubuntu stable-focal InRelease
Get:4 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:5 http://de.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:6 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2232 kB]
Get:7 http://de.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [389 kB]
Get:8 http://de.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1424 kB]
Get:9 http://de.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [202 kB]
Get:10 http://de.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [999 kB]
Get:11 http://de.archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [1859 kB]
Get:12 http://de.archive.ubuntu.com/ubuntu focal-security/main Translation-en [305 kB]
Get:13 http://de.archive.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [11.2 kB]
Get:14 http://de.archive.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1332 kB]
Get:15 http://de.archive.ubuntu.com/ubuntu focal-security/restricted Translation-en [188 kB]
Get:16 http://de.archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages [772 kB]
Get:17 http://de.archive.ubuntu.com/ubuntu focal-security/universe Translation-en [148 kB]
Get:18 http://de.archive.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [16.7 kB]
Fetched 10.2 MB in 5s (2251 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.

schnukki@winterland:~$ sudo apt upgrade

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
#
# News about significant security updates, features and services will
# appear here to raise awareness and perhaps tease /r/Linux Wink
# Use 'pro config set apt_news=false' to hide this and future APT news.
#
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

schnukki@winterland:~$ sudo apt update && sudo apt upgrade -y

Hit:1 http://de.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 https://download.mono-project.com/repo/ubuntu stable-focal InRelease
Hit:5 http://de.archive.ubuntu.com/ubuntu focal-security InRelease
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
#
# News about significant security updates, features and services will
# appear here to raise awareness and perhaps tease /r/Linux Wink
# Use 'pro config set apt_news=false' to hide this and future APT news.
#
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

schnukki@winterland:~$
All done!
Zitieren


Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste