Difference between revisions of "Apt upgrade"
Jump to navigation
Jump to search
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
* <code>[[apt]] upgrade</code> | * <code>[[apt]] upgrade</code> | ||
+ | * <code>[[apt upgrade -qqq]]</code> | ||
* <code>apt upgrade -s, --simulate, --just-print, [[--dry-run]], --recon, --no-act</code> | * <code>apt upgrade -s, --simulate, --just-print, [[--dry-run]], --recon, --no-act</code> | ||
Line 7: | Line 8: | ||
* <code>[[apt -qq -y update]] > /dev/null && apt upgrade -y > [[/dev/null]] &</code> | * <code>[[apt -qq -y update]] > /dev/null && apt upgrade -y > [[/dev/null]] &</code> | ||
− | + | * <code>[[apt update -y && apt upgrade -y]]</code> | |
+ | |||
+ | * <code>[[apt -qqq update -y && apt -qqq upgrade -y; echo $?]]</code> | ||
== Example == | == Example == | ||
Line 32: | Line 35: | ||
* <code>[[do-release-upgrade]]</code> | * <code>[[do-release-upgrade]]</code> | ||
* <code>[[snap refresh]]</code> | * <code>[[snap refresh]]</code> | ||
+ | * <code>[[npm install -g npm]]</code> | ||
== See also == | == See also == |
Latest revision as of 12:32, 31 January 2024
apt upgrade
apt upgrade -qqq
apt upgrade -s, --simulate, --just-print, --dry-run, --recon, --no-act
apt upgrade linux-image-generic
apt -qq -y update > /dev/null && apt upgrade -y > /dev/null &
Example[edit]
apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: mariadb-server 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
apt upgrade E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
Failed to reload daemon: Refusing to reload, not enough space available on /run/systemd. Currently, 1.9M are free, but a safety buffer of 16.0M is enforced.
Related terms[edit]
apt update && apt upgrade
,apt dist-upgrade
grub
/etc/apt/sources.list
apt --fix-broken install
do-release-upgrade
snap refresh
npm install -g npm
See also[edit]
APT
:wajig
,apt-cache
,add-apt-repository
PPA,apt
[install
|remove
|purge | show | list | changelog
|update
|upgrade
],do-release-upgrade
,apt-mark
,apt full-upgrade
,sources.list
, APT Automatic updates,unattended-upgrade
,apt-transport-https
,apt-get update
,/etc/apt/
,/etc/apt/apt.conf.d/50unattended-upgrades
,/etc/apt/apt.conf.d/
,/etc/apt/apt.conf.d/20auto-upgrades
,apt-file, apt-utils
- Ubuntu, Ubuntu releases, snap, MAAS, PPA, Canonical Livepatch, Ubuntu Advantage, netplan, multipass, Landscape, Subiquity,
lsb_release
, Ubuntu MATE, Wayland
Advertising: