apt-get --show-upgraded upgrade

17/04/2016 - 13:20 von Marc Haber | Report spam
Hallo,

mag mir mal jemand erklàren, was die Aktion von apt-get
ist?

Die Ausgabe ist in beiden Fàllen dieselbe:

|[2/502]mh@fan:~$ sudo apt-get upgrade
|Reading package lists... Done
|Building dependency tree
|Reading state information... Done
|Calculating upgrade... Done
|The following packages were automatically installed and are no longer required:
| [Paketliste]
|Use 'sudo apt autoremove' to remove them.
|The following packages have been kept back:
| [Paketliste]
|The following packages will be upgraded:
| [Paketliste]
|91 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
|Need to get 160 MB of archives.
|After this operation, 3099 kB of additional disk space will be used.
|Do you want to continue? [Y/n] n
|Abort.
|[3/503]mh@fan:~$ sudo apt-get --show-upgraded upgrade
|Reading package lists... Done
|Building dependency tree
|Reading state information... Done
|Calculating upgrade... Done
|The following packages were automatically installed and are no longer required:
| [Paketliste]
|Use 'sudo apt autoremove' to remove them.
|The following packages have been kept back:
| [Paketliste]
|The following packages will be upgraded:
| [Paketliste]
|91 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
|Need to get 160 MB of archives.
|After this operation, 3099 kB of additional disk space will be used.
|Do you want to continue? [Y/n] n
|Abort.
|[4/504]mh@fan:~$

(auf einem nicht brandaktuellen sid ohne dass "APT::Get::Show-Upgraded
Yes;" in apt.conf gesetzt wàre)

Macht --show-upgraded überhaupt noch was?

Grüße
Marc
Marc Haber | " Questions are the | Mailadresse im Header
Mannheim, Germany | Beginning of Wisdom " | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834
 

Lesen sie die antworten

#1 Sven Joachim
17/04/2016 - 15:00 | Warnen spam
Am 17.04.2016 um 11:45 schrieb Marc Haber:

Hallo,

mag mir mal jemand erklàren, was die Aktion von apt-get
ist?



Normalerweise keine.

Die Ausgabe ist in beiden Fàllen dieselbe:

(auf einem nicht brandaktuellen sid ohne dass "APT::Get::Show-Upgraded
Yes;" in apt.conf gesetzt wàre)



Es ist mittlerweile default, aber erst seit knapp 13 Jahren:

,-
| apt (0.5.10) unstable; urgency=low
|
| * Make APT::Get::Show-Upgraded (aka apt-get -u) default to true.
|
| -- Matt Zimmerman Sun, 31 Aug 2003 21:12:39 -0400
`-

Macht --show-upgraded überhaupt noch was?



Nur falls APT::Get::Show-Upgraded auf "false" gesetzt wurde, etwa in
apt.conf(5).

Viele Grüße,
Sven

Ähnliche fragen