hallo und guten Abend strcat,
danke für deine schnelle Antwort.
Zitat von
strcat
Und was genau willst Du jetzt hören oder hab ich Deine Frage überlesen?
Also: ich denke wenn man nur einen Überblick darüber haben möchte was an updates erhältlich ist, dann kommt man
mit dem folgenden Befehl gut voran:
Code:
apt list --upgradable
das gilt für die moderneren Systeme:
für den Rest gilt:
https://unix.stackexchange.com/quest...t-install-them
For the old apt-get command the -u switch shows a list of packages that are available for upgrade:
Code:
# apt-get -u upgrade --assume-no
From the apt-get man page:
Code:
-u
--show-upgraded Show upgraded packages; Print out a list of all packages that are to be upgraded. Configuration Item: APT::Get::Show-Upgraded.
--assume-no Automatic "no" to all prompts. <== To prevent it from starting to install
Code:
apt-get --just-print upgrade
sehr interessant ist auch folgendes:
Is not read that easily, below is a perl one liner to parse apt-get's output:
Code:
apt-get --just-print upgrade 2>&1 | perl -ne 'if (/Inst\s([\w,\-,\d,\.,~,:,\+]+)\s\[([\w,\-,\d,\.,~,:,\+]+)\]\s\(([\w,\-,\d,\.,~,:,\+]+)\)? /i) {print "PROGRAM: $1 INSTALLED: $2 AVAILABLE: $3\n"}'
This should output something like:
Code:
PROGRAM: grub-pc INSTALLED: 1.99-21ubuntu3.1 AVAILABLE: 1.99-21ubuntu3.9
Meine o.g. Anfang ist mit der Frage beschäftigt: was man am besten wählen sollte:
a. sudo apt update
b. sudo apt dist-upgrade oder
c. sudo apt dist-upgrade -y
Für die Installation von Chrome und FileZilla verwende ich am besten Synaptic und den MX Package Installer.
Früher - als ich noch OpenSuse eingesetzt habe war dann und wann Thunderbird besser via Kommandozeile zu installieren als über Yast...
Dir strcat, jedenfalls vielen Dank für deine rasche Meldung.
Freue mich, hier in diesem tollen Forum zu sein.
VG
Lesezeichen