upgrading_software_apt_linux_ubuntu_server_22_04_02
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
upgrading_software_apt_linux_ubuntu_server_22_04_02 [2023/06/19 01:36] – wikiadmin | upgrading_software_apt_linux_ubuntu_server_22_04_02 [2023/06/19 02:18] (current) – wikiadmin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Upgrading Software with APT on Linux Ubuntu Server 22.04.02 ====== | ====== Upgrading Software with APT on Linux Ubuntu Server 22.04.02 ====== | ||
- | **Upgrading software with Apt.** | + | **Upgrading software with Apt.** |
+ | |||
+ | Apt, the Advanced Packaging Tool, is a command line application at the heart of Debian systems which handles the installation, | ||
First use the Apt " | First use the Apt " | ||
Line 22: | Line 24: | ||
user@svr1: | user@svr1: | ||
[sudo] password for user: | [sudo] password for user: | ||
+ | </ | ||
+ | |||
+ | < | ||
Hit:1 http:// | Hit:1 http:// | ||
Get:2 http:// | Get:2 http:// | ||
Line 38: | Line 43: | ||
< | < | ||
user@svr1: | user@svr1: | ||
+ | </ | ||
+ | |||
+ | < | ||
Listing... Done | Listing... Done | ||
apparmor/ | apparmor/ | ||
Line 100: | Line 108: | ||
user@svr1: | user@svr1: | ||
</ | </ | ||
+ | |||
+ | < | ||
+ | user@svr1: | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | Reading package lists... Done | ||
+ | Building dependency tree... Done | ||
+ | Reading state information... Done | ||
+ | Calculating upgrade... Done | ||
+ | The following packages will be upgraded: | ||
+ | apparmor apport apt apt-utils bind9-dnsutils bind9-host bind9-libs distro-info-data dpkg fwupd fwupd-signed iptables | ||
+ | isc-dhcp-client isc-dhcp-common libapparmor1 libapt-pkg6.0 libfwupd2 libfwupdplugin5 libgssapi-krb5-2 libip4tc2 | ||
+ | libip6tc2 libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.5-0 libldap-common libmbim-glib4 libmbim-proxy | ||
+ | libmm-glib0 libnetplan0 libnss-systemd libpam-systemd libqmi-glib5 libqmi-proxy libsasl2-2 libsasl2-modules | ||
+ | libsasl2-modules-db libsystemd0 libudev1 libxtables12 mdadm modemmanager netplan.io open-vm-tools python3-apport | ||
+ | python3-problem-report python3-software-properties python3-tz software-properties-common systemd systemd-hwe-hwdb | ||
+ | systemd-sysv systemd-timesyncd tcpdump tzdata ubuntu-advantage-tools ubuntu-drivers-common udev | ||
+ | update-notifier-common | ||
+ | 59 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | ||
+ | Need to get 22.7 MB of archives. | ||
+ | After this operation, 1,428 kB of additional disk space will be used. | ||
+ | Do you want to continue? [Y/n] | ||
+ | </ | ||
+ | |||
+ | Answer the prompt: | ||
+ | |||
+ | < | ||
+ | Do you want to continue? [Y/n] Y | ||
+ | </ | ||
+ | |||
+ | The Upgrading Output follows: | ||
+ | |||
+ | < | ||
+ | Get:1 http:// | ||
+ | Get:2 http:// | ||
+ | Get:3 http:// | ||
+ | Get:4 http:// | ||
+ | Get:5 http:// | ||
+ | Get:6 http:// | ||
+ | Get:7 http:// | ||
+ | Get:8 http:// | ||
+ | Get:9 http:// | ||
+ | Get:10 http:// | ||
+ | Get:11 http:// | ||
+ | Get:12 http:// | ||
+ | Get:13 http:// | ||
+ | Get:14 http:// | ||
+ | Get:15 http:// | ||
+ | Get:16 http:// | ||
+ | Get:17 http:// | ||
+ | Get:18 http:// | ||
+ | Get:19 http:// | ||
+ | Get:20 http:// | ||
+ | Get:21 http:// | ||
+ | Get:22 http:// | ||
+ | Get:23 http:// | ||
+ | Get:24 http:// | ||
+ | Get:25 http:// | ||
+ | Get:26 http:// | ||
+ | Get:27 http:// | ||
+ | Get:28 http:// | ||
+ | Get:29 http:// | ||
+ | Get:30 http:// | ||
+ | Get:31 http:// | ||
+ | Get:32 http:// | ||
+ | Get:33 http:// | ||
+ | Get:34 http:// | ||
+ | Get:35 http:// | ||
+ | Get:36 http:// | ||
+ | Get:37 http:// | ||
+ | Get:38 http:// | ||
+ | Get:39 http:// | ||
+ | Get:40 http:// | ||
+ | Get:41 http:// | ||
+ | Get:42 http:// | ||
+ | Get:43 http:// | ||
+ | Get:44 http:// | ||
+ | Get:45 http:// | ||
+ | Get:46 http:// | ||
+ | Get:47 http:// | ||
+ | Get:48 http:// | ||
+ | Get:49 http:// | ||
+ | Get:50 http:// | ||
+ | Get:51 http:// | ||
+ | Get:52 http:// | ||
+ | Get:53 http:// | ||
+ | Get:54 http:// | ||
+ | Get:55 http:// | ||
+ | Get:56 http:// | ||
+ | Get:57 http:// | ||
+ | Get:58 http:// | ||
+ | Get:59 http:// | ||
+ | Fetched 22.7 MB in 9s (2,603 kB/s) | ||
+ | Extracting templates from packages: 100% | ||
+ | Preconfiguring packages ... | ||
+ | (Reading database ... 74047 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libnss-systemd: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libsystemd0: | ||
+ | Setting up libsystemd0: | ||
+ | (Reading database ... 74047 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking systemd-timesyncd (249.11-0ubuntu3.9) over (249.11-0ubuntu3.7) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking systemd-sysv (249.11-0ubuntu3.9) over (249.11-0ubuntu3.7) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libpam-systemd: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking systemd (249.11-0ubuntu3.9) over (249.11-0ubuntu3.7) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking udev (249.11-0ubuntu3.9) over (249.11-0ubuntu3.7) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libudev1: | ||
+ | Setting up libudev1: | ||
+ | (Reading database ... 74047 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libapparmor1: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libxtables12: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking iptables (1.8.7-1ubuntu5.1) over (1.8.7-1ubuntu5) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libip6tc2: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libip4tc2: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libapt-pkg6.0: | ||
+ | Setting up libapt-pkg6.0: | ||
+ | (Reading database ... 74047 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking dpkg (1.21.1ubuntu2.2) over (1.21.1ubuntu2.1) ... | ||
+ | Setting up dpkg (1.21.1ubuntu2.2) ... | ||
+ | dpkg-db-backup.service is a disabled or a static unit not running, not starting it. | ||
+ | (Reading database ... 74047 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking apt (2.4.9) over (2.4.8) ... | ||
+ | Setting up apt (2.4.9) ... | ||
+ | (Reading database ... 74047 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking apt-utils (2.4.9) over (2.4.8) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking ubuntu-drivers-common (1: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking update-notifier-common (3.192.54.6) over (3.192.54.5) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking open-vm-tools (2: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libk5crypto3: | ||
+ | Setting up libk5crypto3: | ||
+ | (Reading database ... 74049 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libkrb5support0: | ||
+ | Setting up libkrb5support0: | ||
+ | (Reading database ... 74049 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libkrb5-3: | ||
+ | Setting up libkrb5-3: | ||
+ | (Reading database ... 74049 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libgssapi-krb5-2: | ||
+ | Setting up libgssapi-krb5-2: | ||
+ | (Reading database ... 74049 files and directories currently installed.) | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking distro-info-data (0.52ubuntu0.4) over (0.52ubuntu0.2) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking isc-dhcp-client (4.4.1-2.3ubuntu2.4) over (4.4.1-2.3ubuntu2.3) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking isc-dhcp-common (4.4.1-2.3ubuntu2.4) over (4.4.1-2.3ubuntu2.3) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking netplan.io (0.105-0ubuntu2~22.04.3) over (0.105-0ubuntu2~22.04.1) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libnetplan0: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking tzdata (2023c-0ubuntu0.22.04.2) over (2023c-0ubuntu0.22.04.0) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking ubuntu-advantage-tools (27.14.4~22.04) over (27.13.5~22.04.1) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking apparmor (3.0.4-2ubuntu2.2) over (3.0.4-2ubuntu2.1) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking bind9-host (1: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking bind9-dnsutils (1: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking bind9-libs: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking tcpdump (4.99.1-3ubuntu0.1) over (4.99.1-3build2) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking python3-problem-report (2.20.11-0ubuntu82.5) over (2.20.11-0ubuntu82.4) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking python3-apport (2.20.11-0ubuntu82.5) over (2.20.11-0ubuntu82.4) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking apport (2.20.11-0ubuntu82.5) over (2.20.11-0ubuntu82.4) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking fwupd (1.7.9-1~22.04.3) over (1.7.9-1~22.04.1) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libfwupdplugin5: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libfwupd2: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libmbim-proxy (1.28.0-1~ubuntu20.04.1) over (1.26.2-1build1) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libmbim-glib4: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libmm-glib0: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libqmi-proxy (1.32.0-1ubuntu0.22.04.1) over (1.30.4-1) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libqmi-glib5: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking fwupd-signed (1.51.1~22.04.1+1.4-0ubuntu0.1) over (1.51~22.04.1+1.2-3ubuntu0.2) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libsasl2-modules-db: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libsasl2-2: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libldap-2.5-0: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libldap-common (2.5.14+dfsg-0ubuntu0.22.04.2) over (2.5.13+dfsg-0ubuntu0.22.04.1) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking libsasl2-modules: | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking mdadm (4.2-0ubuntu2) over (4.2-0ubuntu1) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking modemmanager (1.20.0-1~ubuntu22.04.1) over (1.18.6-1) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking software-properties-common (0.99.22.7) over (0.99.22.5) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking python3-software-properties (0.99.22.7) over (0.99.22.5) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking python3-tz (2022.1-1ubuntu0.22.04.1) over (2022.1-1ubuntu0.22.04.0) ... | ||
+ | Preparing to unpack .../ | ||
+ | Unpacking systemd-hwe-hwdb (249.11.3) over (249.11.2) ... | ||
+ | Setting up libip4tc2: | ||
+ | Setting up tcpdump (4.99.1-3ubuntu0.1) ... | ||
+ | Installing new version of config file / | ||
+ | Setting up libapparmor1: | ||
+ | Setting up apt-utils (2.4.9) ... | ||
+ | Setting up bind9-libs: | ||
+ | Setting up python3-problem-report (2.20.11-0ubuntu82.5) ... | ||
+ | Setting up libip6tc2: | ||
+ | Setting up distro-info-data (0.52ubuntu0.4) ... | ||
+ | Setting up update-notifier-common (3.192.54.6) ... | ||
+ | update-notifier-download.service is a disabled or a static unit not running, not starting it. | ||
+ | update-notifier-motd.service is a disabled or a static unit not running, not starting it. | ||
+ | Setting up libsasl2-modules: | ||
+ | Setting up libfwupd2: | ||
+ | Setting up isc-dhcp-client (4.4.1-2.3ubuntu2.4) ... | ||
+ | Installing new version of config file / | ||
+ | Setting up libnetplan0: | ||
+ | Setting up fwupd-signed (1.51.1~22.04.1+1.4-0ubuntu0.1) ... | ||
+ | Setting up systemd (249.11-0ubuntu3.9) ... | ||
+ | Setting up libldap-common (2.5.14+dfsg-0ubuntu0.22.04.2) ... | ||
+ | Setting up python3-apport (2.20.11-0ubuntu82.5) ... | ||
+ | Setting up netplan.io (0.105-0ubuntu2~22.04.3) ... | ||
+ | Setting up libsasl2-modules-db: | ||
+ | Setting up tzdata (2023c-0ubuntu0.22.04.2) ... | ||
+ | |||
+ | Current default time zone: ' | ||
+ | Local time is now: Mon Jun 19 01:42:14 UTC 2023. | ||
+ | Universal Time is now: Mon Jun 19 01:42:14 UTC 2023. | ||
+ | Run ' | ||
+ | |||
+ | Setting up apparmor (3.0.4-2ubuntu2.2) ... | ||
+ | Reloading AppArmor profiles | ||
+ | Skipping profile in / | ||
+ | Setting up python3-software-properties (0.99.22.7) ... | ||
+ | Setting up systemd-timesyncd (249.11-0ubuntu3.9) ... | ||
+ | Setting up udev (249.11-0ubuntu3.9) ... | ||
+ | Setting up libxtables12: | ||
+ | Setting up libsasl2-2: | ||
+ | Setting up systemd-hwe-hwdb (249.11.3) ... | ||
+ | Setting up open-vm-tools (2: | ||
+ | Installing new version of config file / | ||
+ | Setting up libmm-glib0: | ||
+ | Setting up isc-dhcp-common (4.4.1-2.3ubuntu2.4) ... | ||
+ | Setting up ubuntu-advantage-tools (27.14.4~22.04) ... | ||
+ | Installing new version of config file / | ||
+ | Installing new version of config file / | ||
+ | Installing new version of config file / | ||
+ | Removing obsolete conffile / | ||
+ | Setting up bind9-host (1: | ||
+ | Setting up libfwupdplugin5: | ||
+ | Setting up libmbim-glib4: | ||
+ | Setting up mdadm (4.2-0ubuntu2) ... | ||
+ | update-initramfs: | ||
+ | Sourcing file `/ | ||
+ | Sourcing file `/ | ||
+ | Generating grub configuration file ... | ||
+ | File descriptor 3 (pipe: | ||
+ | File descriptor 3 (pipe: | ||
+ | File descriptor 3 (pipe: | ||
+ | File descriptor 3 (pipe: | ||
+ | File descriptor 3 (pipe: | ||
+ | File descriptor 3 (pipe: | ||
+ | File descriptor 3 (pipe: | ||
+ | File descriptor 3 (pipe: | ||
+ | File descriptor 3 (pipe: | ||
+ | File descriptor 3 (pipe: | ||
+ | Found linux image: / | ||
+ | Found initrd image: / | ||
+ | File descriptor 3 (pipe: | ||
+ | File descriptor 3 (pipe: | ||
+ | Warning: os-prober will not be executed to detect other bootable partitions. | ||
+ | Systems on them will not be added to the GRUB boot configuration. | ||
+ | Check GRUB_DISABLE_OS_PROBER documentation entry. | ||
+ | done | ||
+ | Setting up systemd-sysv (249.11-0ubuntu3.9) ... | ||
+ | Setting up ubuntu-drivers-common (1: | ||
+ | Setting up iptables (1.8.7-1ubuntu5.1) ... | ||
+ | Setting up libnss-systemd: | ||
+ | Setting up libmbim-proxy (1.28.0-1~ubuntu20.04.1) ... | ||
+ | Setting up libldap-2.5-0: | ||
+ | Setting up software-properties-common (0.99.22.7) ... | ||
+ | Setting up apport (2.20.11-0ubuntu82.5) ... | ||
+ | apport-autoreport.service is a disabled or a static unit, not starting it. | ||
+ | Setting up python3-tz (2022.1-1ubuntu0.22.04.1) ... | ||
+ | Setting up libpam-systemd: | ||
+ | Setting up bind9-dnsutils (1: | ||
+ | Setting up libqmi-glib5: | ||
+ | Setting up libqmi-proxy (1.32.0-1ubuntu0.22.04.1) ... | ||
+ | Setting up modemmanager (1.20.0-1~ubuntu22.04.1) ... | ||
+ | Setting up fwupd (1.7.9-1~22.04.3) ... | ||
+ | fwupd-offline-update.service is a disabled or a static unit not running, not starting it. | ||
+ | fwupd-refresh.service is a disabled or a static unit not running, not starting it. | ||
+ | fwupd.service is a disabled or a static unit not running, not starting it. | ||
+ | Processing triggers for libc-bin (2.35-0ubuntu3.1) ... | ||
+ | Processing triggers for man-db (2.10.2-1) ... | ||
+ | Processing triggers for dbus (1.12.20-2ubuntu4.1) ... | ||
+ | Processing triggers for initramfs-tools (0.140ubuntu13.1) ... | ||
+ | update-initramfs: | ||
+ | Scanning processes... | ||
+ | Scanning candidates... | ||
+ | Scanning processor microcode... | ||
+ | Scanning linux images... | ||
+ | |||
+ | Running kernel seems to be up-to-date. | ||
+ | |||
+ | The processor microcode seems to be up-to-date. | ||
+ | </ | ||
+ | |||
+ | A graphical option box opens: | ||
+ | |||
+ | < | ||
+ | Select which services from the list to restart. | ||
+ | </ | ||
+ | |||
+ | Just accept the services that are preselected to restart by tabbing down to highlight the " | ||
+ | |||
+ | < | ||
+ | Restarting services... | ||
+ | | ||
+ | Service restarts being deferred: | ||
+ | / | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | No containers need to be restarted. | ||
+ | |||
+ | No user sessions are running outdated binaries. | ||
+ | |||
+ | No VM guests are running outdated hypervisor (qemu) binaries on this host. | ||
+ | user@svr1: | ||
+ | </ | ||
+ | |||
+ | |||
+ | Summary of APT commands, or alternate apt-get commands, and their functions: | ||
+ | |||
+ | |||
+ | |||
+ | < | ||
+ | apt: apt-get: | ||
+ | |||
+ | apt update apt-get update | ||
+ | apt upgrade apt-get upgrade | ||
+ | apt install apt-get install | ||
+ | apt remove apt-get remove | ||
+ | apt purge apt-get purge | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | Apt has a few extra commands: | ||
+ | |||
+ | < | ||
+ | |||
+ | Command: | ||
+ | |||
+ | apt search | ||
+ | apt edit-sources Edit / | ||
+ | really a shortcut command which opens a text editor. | ||
+ | |||
+ | apt list List all of the installed applications. | ||
+ | apt show List the details of an application, | ||
+ | </ | ||
+ | |||
+ | Credit goes to TomsHardware.com for the explanation of the apt command and the basis of this Article. | ||
+ | |||
+ | To learn more about the specific usage of all of these apt commands | ||
+ | |||
+ | Please see: [[https:// | ||
+ |
upgrading_software_apt_linux_ubuntu_server_22_04_02.1687138569.txt.gz · Last modified: 2023/06/19 01:36 by wikiadmin