Skip to content

Instantly share code, notes, and snippets.

@atiq-cs
Created July 22, 2017 21:33
Show Gist options
  • Save atiq-cs/6acf0dc92d3fbb99d690c39dee6b0617 to your computer and use it in GitHub Desktop.
Save atiq-cs/6acf0dc92d3fbb99d690c39dee6b0617 to your computer and use it in GitHub Desktop.
apt-get update and upgrade examaple
# apt-get update
Ign:1 http://ftp.us.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Get:3 http://ftp.us.debian.org/debian stretch-updates InRelease [88.5 kB]
Get:4 http://ftp.us.debian.org/debian stretch Release [118 kB]
Get:5 http://ftp.us.debian.org/debian stretch Release.gpg [2,373 B]
Get:6 http://ftp.us.debian.org/debian stretch/main Sources [6,749 kB]
Get:7 http://ftp.us.debian.org/debian stretch/main amd64 Packages [7,095 kB]
Get:8 http://ftp.us.debian.org/debian stretch/main Translation-en [5,393 kB]
Fetched 19.4 MB in 11s (1,744 kB/s)
Reading package lists... Done
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
adwaita-icon-theme apt apt-utils base-files gnome-settings-daemon libapt-inst2.0 libapt-pkg5.0 libgnutls30 libnss-myhostname libopenmpt0 libpam-systemd libperl5.24 libpulse-mainloop-glib0 libpulse0 libpulsedsp libsystemd0 libudev1 linux-image-amd64 openssh-client opens
perl-base perl-modules-5.24 pulseaudio pulseaudio-module-bluetooth pulseaudio-utils systemd systemd-sysv udev
31 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.8 MB of archives.
After this operation, 154 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.us.debian.org/debian stretch/main amd64 base-files amd64 9.9+deb9u1 [67.2 kB]
Get:2 http://ftp.us.debian.org/debian stretch/main amd64 libperl5.24 amd64 5.24.1-3+deb9u1 [3,524 kB]
Get:3 http://ftp.us.debian.org/debian stretch/main amd64 perl amd64 5.24.1-3+deb9u1 [219 kB]
Get:4 http://ftp.us.debian.org/debian stretch/main amd64 perl-base amd64 5.24.1-3+deb9u1 [1,343 kB]
Get:5 http://ftp.us.debian.org/debian stretch/main amd64 perl-modules-5.24 all 5.24.1-3+deb9u1 [2,723 kB]
Get:6 http://ftp.us.debian.org/debian stretch/main amd64 libapt-pkg5.0 amd64 1.4.7 [916 kB]
Get:7 http://ftp.us.debian.org/debian stretch/main amd64 libapt-inst2.0 amd64 1.4.7 [192 kB]
Get:8 http://ftp.us.debian.org/debian stretch/main amd64 apt amd64 1.4.7 [1,231 kB]
Get:9 http://ftp.us.debian.org/debian stretch/main amd64 apt-utils amd64 1.4.7 [410 kB]
Get:10 http://ftp.us.debian.org/debian stretch/main amd64 systemd-sysv amd64 232-25+deb9u1 [80.7 kB]
Get:11 http://ftp.us.debian.org/debian stretch/main amd64 libpam-systemd amd64 232-25+deb9u1 [187 kB]
Get:12 http://ftp.us.debian.org/debian stretch/main amd64 libsystemd0 amd64 232-25+deb9u1 [280 kB]
Get:13 http://ftp.us.debian.org/debian stretch/main amd64 libnss-myhostname amd64 232-25+deb9u1 [105 kB]
Get:14 http://ftp.us.debian.org/debian stretch/main amd64 systemd amd64 232-25+deb9u1 [2,462 kB]
Get:15 http://ftp.us.debian.org/debian stretch/main amd64 udev amd64 232-25+deb9u1 [1,113 kB]
Get:16 http://ftp.us.debian.org/debian stretch/main amd64 libudev1 amd64 232-25+deb9u1 [124 kB]
Get:17 http://ftp.us.debian.org/debian stretch/main amd64 libgnutls30 amd64 3.5.8-5+deb9u2 [895 kB]
Get:18 http://ftp.us.debian.org/debian stretch/main amd64 openssh-sftp-server amd64 1:7.4p1-10+deb9u1 [39.5 kB]
Get:19 http://ftp.us.debian.org/debian stretch/main amd64 openssh-server amd64 1:7.4p1-10+deb9u1 [332 kB]
Get:20 http://ftp.us.debian.org/debian stretch/main amd64 openssh-client amd64 1:7.4p1-10+deb9u1 [778 kB]
Get:21 http://ftp.us.debian.org/debian stretch/main amd64 adwaita-icon-theme all 3.22.0-1+deb9u1 [11.5 MB]
Get:22 http://ftp.us.debian.org/debian stretch/main amd64 pulseaudio-module-bluetooth amd64 10.0-1+deb9u1 [86.0 kB]
Get:23 http://ftp.us.debian.org/debian stretch/main amd64 libpulsedsp amd64 10.0-1+deb9u1 [53.5 kB]
Get:24 http://ftp.us.debian.org/debian stretch/main amd64 pulseaudio-utils amd64 10.0-1+deb9u1 [85.1 kB]
Get:25 http://ftp.us.debian.org/debian stretch/main amd64 pulseaudio amd64 10.0-1+deb9u1 [1,080 kB]
Get:26 http://ftp.us.debian.org/debian stretch/main amd64 libpulse-mainloop-glib0 amd64 10.0-1+deb9u1 [44.1 kB]
Get:27 http://ftp.us.debian.org/debian stretch/main amd64 libpulse0 amd64 10.0-1+deb9u1 [283 kB]
Get:28 http://ftp.us.debian.org/debian stretch/main amd64 gnome-settings-daemon amd64 3.22.2-2+deb9u2 [1,119 kB]
Get:29 http://ftp.us.debian.org/debian stretch/main amd64 libopenmpt0 amd64 0.2.7386~beta20.3-3+deb9u2 [482 kB]
Get:30 http://ftp.us.debian.org/debian stretch/main amd64 linux-image-amd64 amd64 4.9+80+deb9u1 [6,902 B]
Get:31 http://ftp.us.debian.org/debian stretch/main amd64 os-prober amd64 1.76~deb9u1 [30.0 kB]
Fetched 31.8 MB in 29s (1,081 kB/s)
Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 143018 files and directories currently installed.)
Preparing to unpack .../base-files_9.9+deb9u1_amd64.deb ...
Unpacking base-files (9.9+deb9u1) over (9.9) ...
Setting up base-files (9.9+deb9u1) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 143018 files and directories currently installed.)
Preparing to unpack .../libperl5.24_5.24.1-3+deb9u1_amd64.deb ...
Unpacking libperl5.24:amd64 (5.24.1-3+deb9u1) over (5.24.1-3) ...
Preparing to unpack .../perl_5.24.1-3+deb9u1_amd64.deb ...
Unpacking perl (5.24.1-3+deb9u1) over (5.24.1-3) ...
Preparing to unpack .../perl-base_5.24.1-3+deb9u1_amd64.deb ...
Unpacking perl-base (5.24.1-3+deb9u1) over (5.24.1-3) ...
Setting up perl-base (5.24.1-3+deb9u1) ...
(Reading database ... 143018 files and directories currently installed.)
Preparing to unpack .../perl-modules-5.24_5.24.1-3+deb9u1_all.deb ...
Unpacking perl-modules-5.24 (5.24.1-3+deb9u1) over (5.24.1-3) ...
Preparing to unpack .../libapt-pkg5.0_1.4.7_amd64.deb ...
Unpacking libapt-pkg5.0:amd64 (1.4.7) over (1.4.6) ...
Setting up libapt-pkg5.0:amd64 (1.4.7) ...
(Reading database ... 143018 files and directories currently installed.)
Preparing to unpack .../libapt-inst2.0_1.4.7_amd64.deb ...
Unpacking libapt-inst2.0:amd64 (1.4.7) over (1.4.6) ...
Preparing to unpack .../archives/apt_1.4.7_amd64.deb ...
Unpacking apt (1.4.7) over (1.4.6) ...
Setting up apt (1.4.7) ...
(Reading database ... 143018 files and directories currently installed.)
Preparing to unpack .../apt-utils_1.4.7_amd64.deb ...
Unpacking apt-utils (1.4.7) over (1.4.6) ...
Preparing to unpack .../systemd-sysv_232-25+deb9u1_amd64.deb ...
Unpacking systemd-sysv (232-25+deb9u1) over (232-25) ...
Preparing to unpack .../libpam-systemd_232-25+deb9u1_amd64.deb ...
Unpacking libpam-systemd:amd64 (232-25+deb9u1) over (232-25) ...
Preparing to unpack .../libsystemd0_232-25+deb9u1_amd64.deb ...
Unpacking libsystemd0:amd64 (232-25+deb9u1) over (232-25) ...
Setting up libsystemd0:amd64 (232-25+deb9u1) ...
(Reading database ... 143018 files and directories currently installed.)
Preparing to unpack .../libnss-myhostname_232-25+deb9u1_amd64.deb ...
Unpacking libnss-myhostname:amd64 (232-25+deb9u1) over (232-25) ...
Preparing to unpack .../systemd_232-25+deb9u1_amd64.deb ...
Unpacking systemd (232-25+deb9u1) over (232-25) ...
Preparing to unpack .../udev_232-25+deb9u1_amd64.deb ...
Unpacking udev (232-25+deb9u1) over (232-25) ...
Preparing to unpack .../libudev1_232-25+deb9u1_amd64.deb ...
Unpacking libudev1:amd64 (232-25+deb9u1) over (232-25) ...
Setting up libudev1:amd64 (232-25+deb9u1) ...
(Reading database ... 143018 files and directories currently installed.)
Preparing to unpack .../00-libgnutls30_3.5.8-5+deb9u2_amd64.deb ...
Unpacking libgnutls30:amd64 (3.5.8-5+deb9u2) over (3.5.8-5+deb9u1) ...
Preparing to unpack .../01-openssh-sftp-server_1%3a7.4p1-10+deb9u1_amd64.deb ...
Unpacking openssh-sftp-server (1:7.4p1-10+deb9u1) over (1:7.4p1-10) ...
Preparing to unpack .../02-openssh-server_1%3a7.4p1-10+deb9u1_amd64.deb ...
Unpacking openssh-server (1:7.4p1-10+deb9u1) over (1:7.4p1-10) ...
Preparing to unpack .../03-openssh-client_1%3a7.4p1-10+deb9u1_amd64.deb ...
Unpacking openssh-client (1:7.4p1-10+deb9u1) over (1:7.4p1-10) ...
Preparing to unpack .../04-adwaita-icon-theme_3.22.0-1+deb9u1_all.deb ...
Unpacking adwaita-icon-theme (3.22.0-1+deb9u1) over (3.22.0-1) ...
Preparing to unpack .../05-pulseaudio-module-bluetooth_10.0-1+deb9u1_amd64.deb ...
Unpacking pulseaudio-module-bluetooth (10.0-1+deb9u1) over (10.0-1) ...
Preparing to unpack .../06-libpulsedsp_10.0-1+deb9u1_amd64.deb ...
Unpacking libpulsedsp:amd64 (10.0-1+deb9u1) over (10.0-1) ...
Preparing to unpack .../07-pulseaudio-utils_10.0-1+deb9u1_amd64.deb ...
Unpacking pulseaudio-utils (10.0-1+deb9u1) over (10.0-1) ...
Preparing to unpack .../08-pulseaudio_10.0-1+deb9u1_amd64.deb ...
Unpacking pulseaudio (10.0-1+deb9u1) over (10.0-1) ...
Preparing to unpack .../09-libpulse-mainloop-glib0_10.0-1+deb9u1_amd64.deb ...
Unpacking libpulse-mainloop-glib0:amd64 (10.0-1+deb9u1) over (10.0-1) ...
Preparing to unpack .../10-libpulse0_10.0-1+deb9u1_amd64.deb ...
Unpacking libpulse0:amd64 (10.0-1+deb9u1) over (10.0-1) ...
Preparing to unpack .../11-gnome-settings-daemon_3.22.2-2+deb9u2_amd64.deb ...
Unpacking gnome-settings-daemon (3.22.2-2+deb9u2) over (3.22.2-2) ...
Preparing to unpack .../12-libopenmpt0_0.2.7386~beta20.3-3+deb9u2_amd64.deb ...
Unpacking libopenmpt0:amd64 (0.2.7386~beta20.3-3+deb9u2) over (0.2.7386~beta20.3-3) ...
Preparing to unpack .../13-linux-image-amd64_4.9+80+deb9u1_amd64.deb ...
Unpacking linux-image-amd64 (4.9+80+deb9u1) over (4.9+80) ...
Preparing to unpack .../14-os-prober_1.76~deb9u1_amd64.deb ...
Unpacking os-prober (1.76~deb9u1) over (1.75) ...
Setting up perl-modules-5.24 (5.24.1-3+deb9u1) ...
Setting up libapt-inst2.0:amd64 (1.4.7) ...
Setting up libperl5.24:amd64 (5.24.1-3+deb9u1) ...
Setting up libnss-myhostname:amd64 (232-25+deb9u1) ...
Setting up libopenmpt0:amd64 (0.2.7386~beta20.3-3+deb9u2) ...
Setting up apt-utils (1.4.7) ...
Processing triggers for cracklib-runtime (2.9.2-5) ...
Processing triggers for libglib2.0-0:amd64 (2.50.3-2) ...
Setting up libgnutls30:amd64 (3.5.8-5+deb9u2) ...
Setting up os-prober (1.76~deb9u1) ...
Setting up libpulse0:amd64 (10.0-1+deb9u1) ...
Setting up linux-image-amd64 (4.9+80+deb9u1) ...
Setting up perl (5.24.1-3+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Setting up udev (232-25+deb9u1) ...
addgroup: The group `input' already exists as a system group. Exiting.
update-initramfs: deferring update (trigger activated)
Setting up systemd (232-25+deb9u1) ...
addgroup: The group `systemd-journal' already exists as a system group. Exiting.
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for dbus (1.10.18-1) ...
Setting up openssh-client (1:7.4p1-10+deb9u1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up adwaita-icon-theme (3.22.0-1+deb9u1) ...
Setting up libpulse-mainloop-glib0:amd64 (10.0-1+deb9u1) ...
Setting up libpulsedsp:amd64 (10.0-1+deb9u1) ...
Setting up pulseaudio-utils (10.0-1+deb9u1) ...
Setting up systemd-sysv (232-25+deb9u1) ...
Setting up openssh-sftp-server (1:7.4p1-10+deb9u1) ...
Setting up pulseaudio (10.0-1+deb9u1) ...
Setting up libpam-systemd:amd64 (232-25+deb9u1) ...
Setting up openssh-server (1:7.4p1-10+deb9u1) ...
Setting up pulseaudio-module-bluetooth (10.0-1+deb9u1) ...
Setting up gnome-settings-daemon (3.22.2-2+deb9u2) ...
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.9.0-3-amd64
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment