[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

What's the "apt" equivalent of "apt-get upgrade"?



$ sudo /usr/bin/apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-headers-amd64 linux-image-amd64
The following packages will be upgraded:
  bind9-dnsutils bind9-host bind9-libs intel-microcode openjdk-21-jdk
  openjdk-21-jdk-headless openjdk-21-jre openjdk-21-jre-headless
8 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 142 MB of archives.
After this operation, 653 kB of additional disk space will be used.

$ sudo /usr/bin/apt upgrade
Upgrading:
  bind9-dnsutils   linux-headers-amd64      openjdk-21-jre
  bind9-host       linux-image-amd64        openjdk-21-jre-headless
  bind9-libs       openjdk-21-jdk
  intel-microcode  openjdk-21-jdk-headless
Installing dependencies:
  linux-headers-6.12.48+deb13-amd64   linux-image-6.12.48+deb13-amd64
  linux-headers-6.12.48+deb13-common  linux-kbuild-6.12.48+deb13
Suggested packages:
  linux-doc-6.12  debian-kernel-handbook
Summary:
  Upgrading: 10, Installing: 4, Removing: 0, Not Upgrading: 0
  Download size: 265 MB
  Space needed: 340 MB / 27.2 GB available




How do I get "apt upgrade" to behave like "apt-get upgrade", that is, to upgrade packages very conservatively?



--
Ottavio Caruso

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Reply to: