Difference between revisions of "Apt upgrade"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
* <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>
  
[[apt update -y && apt upgrade -y]]
+
* <code>[[apt update -y && apt upgrade -y]]</code>
  
 
== Example ==
 
== Example ==

Revision as of 08:06, 30 March 2023

  • apt upgrade
  • apt upgrade -s, --simulate, --just-print, --dry-run, --recon, --no-act

Example

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

See also

Advertising: