package manager troubleshooting procedure terminal output

Asked by Aaron Connolly on 2017-10-09

aconn91@aconn91-ThinkPad-Edge-E540:~$ ubuntu-support-status
Support status summary of 'aconn91-ThinkPad-Edge-E540':

You have 2049 packages (100.0%) that can not/no longer be downloaded
You have 0 packages (0.0%) that are unsupported

Run with --show-unsupported, --show-supported or --show-all to see more details
aconn91@aconn91-ThinkPad-Edge-E540:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
aconn91@aconn91-ThinkPad-Edge-E540:~$ dpkg --print-foreign-architectures
i386
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo grep -R roxy /etc/apt/*
[sudo] password for aconn91:
aconn91@aconn91-ThinkPad-Edge-E540:~$ grep roxy /etc/environment
aconn91@aconn91-ThinkPad-Edge-E540:~$ echo $http_proxy

aconn91@aconn91-ThinkPad-Edge-E540:~$ echo $ftp_proxy

aconn91@aconn91-ThinkPad-Edge-E540:~$ grep roxy /etc/bash.bashrc
aconn91@aconn91-ThinkPad-Edge-E540:~$ grep roxy ~/.bashrc
aconn91@aconn91-ThinkPad-Edge-E540:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo fuser -vvv /var/lib/dpkg/lock
                     USER PID ACCESS COMMAND
/var/lib/dpkg/lock: root 29701 F.... dpkg
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo fuser -vvv /var/cache/apt/archives/lock
                     USER PID ACCESS COMMAND
/var/cache/apt/archives/lock:
                     root 3331 F.... aptd
                     root 3597 F.... aptd
aconn91@aconn91-ThinkPad-Edge-E540:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
aconn91@aconn91-ThinkPad-Edge-E540:~$ ^C
aconn91@aconn91-ThinkPad-Edge-E540:~$ uname -a
Linux aconn91-ThinkPad-Edge-E540 4.10.0-35-generic #39~16.04.1-Ubuntu SMP Wed Sep 13 09:02:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo rm /var/lib/apt/lists/lock
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo rm /var/cache/apt/archives/lock
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo rm /var/lib/dpkg/lock
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
aconn91@aconn91-ThinkPad-Edge-E540:~$
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
cp: cannot stat '/var/lib/dpkg/available-old': No such file or directory
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
cp: cannot stat '/var/lib/dpkg/available-old': No such file or directory
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo rm -rf /var/lib/dpkg/updates/*
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo rm -rf /var/lib/apt/lists
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo rm /var/cache/apt/*.bin
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo mkdir /var/lib/apt/lists
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo mkdir /var/lib/apt/lists/partial
aconn91@aconn91-ThinkPad-Edge-E540:~$ LANG=C;sudo apt-get clean
aconn91@aconn91-ThinkPad-Edge-E540:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo dpkg --configure -a
Setting up intel-microcode (3.20170707.1~ubuntu16.04.0) ...
update-initramfs: deferring update (trigger activated)
intel-microcode: microcode will be updated at next boot
Setting up libappstream-glib8:amd64 (0.5.13-1ubuntu5) ...
Setting up gnome-software-common (3.20.5-0ubuntu0.16.04.6) ...
Setting up libgtk2.0-common (2.24.30-1ubuntu1.16.04.2) ...
Setting up apt-transport-https (1.2.24) ...
Setting up xserver-xorg-hwe-16.04 (1:7.7+16ubuntu3~16.04.1) ...
Setting up libwacom-common (0.22-1~ubuntu16.04.1) ...
Setting up libwacom2:amd64 (0.22-1~ubuntu16.04.1) ...
Setting up xserver-xorg-legacy-hwe-16.04 (2:1.19.3-1ubuntu1~16.04.2) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up session-shortcuts (1.2ubuntu0.16.04.1) ...
Setting up gvfs-common (1.28.2-1ubuntu1~16.04.2) ...
Setting up sudo (1.8.16-0ubuntu1.5) ...
Setting up tor (0.3.1.7-1~xenial+1) ...

Configuration file '/etc/tor/torrc'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ? Your options are:
    Y or I : install the package maintainer's version
    N or O : keep your currently-installed version
      D : show the differences between the versions
      Z : start a shell to examine the situation
 The default action is to keep your current version.
*** torrc (Y/I/N/O/D/Z) [default=N] ? Y
Installing new version of config file /etc/tor/torrc ...
Setting up mesa-vdpau-drivers:amd64 (17.0.7-0ubuntu0.16.04.2) ...
Setting up gvfs-bin (1.28.2-1ubuntu1~16.04.2) ...
Setting up apparmor (2.10.95-0ubuntu2.7) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
update-initramfs: Generating /boot/initrd.img-4.10.0-35-generic
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module i915
Setting up libpackagekit-glib2-16:amd64 (0.8.17-4ubuntu6~gcc5.4ubuntu1.2) ...
Setting up libinput-bin (1.6.3-1ubuntu1~16.04.1) ...
Setting up libpulse0:amd64 (1:8.0-0ubuntu3.4) ...
Setting up libxfont1:amd64 (1:1.5.1-1ubuntu0.16.04.2) ...
Setting up xserver-xorg-video-all-hwe-16.04 (1:7.7+16ubuntu3~16.04.1) ...
Setting up libfwup0:amd64 (0.5-2ubuntu5) ...
Setting up ubuntu-drivers-common (1:0.4.17.3) ...
Setting up snapd (2.27.5) ...
Setting up libwacom-bin (0.22-1~ubuntu16.04.1) ...
Setting up libsnapd-glib1:amd64 (1.13-0ubuntu0.16.04.1) ...
Setting up tor-geoipdb (0.3.1.7-1~xenial+1) ...
Setting up libpq5:amd64 (9.5.9-0ubuntu0.16.04) ...
Setting up unity-control-center-faces (15.04.0+16.04.20170214-0ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Setting up gvfs-libs:amd64 (1.28.2-1ubuntu1~16.04.2) ...
Setting up gnome-software (3.20.5-0ubuntu0.16.04.6) ...
Processing triggers for systemd (229-4ubuntu19) ...
Setting up elmerfem-csc (8.2-201710041517~91780af~ubuntu16.04.1) ...
Setting up cryptsetup-bin (2:1.6.6-5ubuntu2.1) ...
Setting up libplymouth4:amd64 (0.9.2-3ubuntu13.2) ...
Setting up unattended-upgrades (0.90ubuntu0.8) ...
Setting up snapd-login-service (1.13-0ubuntu0.16.04.1) ...
Setting up gir1.2-packagekitglib-1.0 (0.8.17-4ubuntu6~gcc5.4ubuntu1.2) ...
Setting up ubuntu-core-launcher (2.27.5) ...
Setting up snap-confine (2.27.5) ...
Setting up binutils (2.26.1-1ubuntu1~16.04.5) ...
Setting up xserver-xorg-input-all-hwe-16.04 (1:7.7+16ubuntu3~16.04.1) ...
Setting up libunity-control-center1 (15.04.0+16.04.20170214-0ubuntu1) ...
Setting up libwayland-cursor0:amd64 (1.12.0-1~ubuntu16.04.1) ...
Setting up linux-firmware (1.157.12) ...
update-initramfs: Generating /boot/initrd.img-4.10.0-35-generic
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module i915
update-initramfs: Generating /boot/initrd.img-4.10.0-33-generic
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module i915
update-initramfs: Generating /boot/initrd.img-4.10.0-27-generic
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module i915
update-initramfs: Generating /boot/initrd.img-4.8.0-58-generic
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module i915
Setting up libwhoopsie0:amd64 (0.2.52.5) ...
Setting up logrotate (3.8.7-2ubuntu2.16.04.2) ...
Setting up fwupdate (0.5-2ubuntu5) ...
System not running in EFI mode, not installing to EFI system partition.
efibootmgr: EFI variables are not supported on this system.
Setting up libgtk2.0-0:amd64 (2.24.30-1ubuntu1.16.04.2) ...
Setting up gvfs-daemons (1.28.2-1ubuntu1~16.04.2) ...
Setting up ubuntu-software (3.20.5-0ubuntu0.16.04.6) ...
Setting up libpulse-mainloop-glib0:amd64 (1:8.0-0ubuntu3.4) ...
Setting up libgail18:amd64 (2.24.30-1ubuntu1.16.04.2) ...
Setting up libpulsedsp:amd64 (1:8.0-0ubuntu3.4) ...
Setting up pulseaudio-utils (1:8.0-0ubuntu3.4) ...
Setting up fwupdate-signed (1.11.1+0.5-2ubuntu5) ...
System not running in EFI mode, not installing to EFI system partition.
Setting up libinput10:amd64 (1.6.3-1ubuntu1~16.04.1) ...
Setting up xfonts-utils (1:7.7+3ubuntu0.16.04.2) ...
Setting up libgail-common:amd64 (2.24.30-1ubuntu1.16.04.2) ...
Setting up whoopsie (0.2.52.5) ...
Setting up gvfs:amd64 (1.28.2-1ubuntu1~16.04.2) ...
Setting up plymouth (0.9.2-3ubuntu13.2) ...
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting up slack-desktop (2.8.1) ...
Setting up libgtk2.0-bin (2.24.30-1ubuntu1.16.04.2) ...
Setting up pulseaudio (1:8.0-0ubuntu3.4) ...
Setting up gvfs-backends (1.28.2-1ubuntu1~16.04.2) ...
Setting up unity-control-center (15.04.0+16.04.20170214-0ubuntu1) ...
Setting up plymouth-label (0.9.2-3ubuntu13.2) ...
Setting up plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.2) ...
update-initramfs: deferring update (trigger activated)
Setting up cryptsetup (2:1.6.6-5ubuntu2.1) ...
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting up gvfs-fuse (1.28.2-1ubuntu1~16.04.2) ...
Setting up pulseaudio-module-x11 (1:8.0-0ubuntu3.4) ...
Setting up pulseaudio-module-bluetooth (1:8.0-0ubuntu3.4) ...
Setting up plymouth-theme-ubuntu-logo (0.9.2-3ubuntu13.2) ...
update-initramfs: deferring update (trigger activated)
Setting up python3-update-manager (1:16.04.9) ...
Setting up python3-distupgrade (1:16.04.22) ...
Setting up ubuntu-release-upgrader-core (1:16.04.22) ...
Setting up ubuntu-release-upgrader-gtk (1:16.04.22) ...
Setting up update-manager-core (1:16.04.9) ...
Setting up update-notifier-common (3.168.5) ...
Setting up update-manager (1:16.04.9) ...
Setting up update-notifier (3.168.5) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
update-initramfs: Generating /boot/initrd.img-4.10.0-35-generic
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module i915
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo dpkg --clear-avail
aconn91@aconn91-ThinkPad-Edge-E540:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libwireshark6 libwiretap5 libwsutil6 linux-headers-4.10.0-27
  linux-headers-4.10.0-27-generic linux-headers-4.8.0-58
  linux-headers-4.8.0-58-generic linux-image-4.10.0-27-generic
  linux-image-4.8.0-58-generic linux-image-extra-4.10.0-27-generic
  linux-image-extra-4.8.0-58-generic snap-confine
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
aconn91@aconn91-ThinkPad-Edge-E540:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libwireshark6 libwiretap5 libwsutil6 linux-headers-4.10.0-27
  linux-headers-4.10.0-27-generic linux-headers-4.8.0-58
  linux-headers-4.8.0-58-generic linux-image-4.10.0-27-generic
  linux-image-4.8.0-58-generic linux-image-extra-4.10.0-27-generic
  linux-image-extra-4.8.0-58-generic snap-confine
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
aconn91@aconn91-ThinkPad-Edge-E540:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libwireshark6* libwiretap5* libwsutil6* linux-headers-4.10.0-27*
  linux-headers-4.10.0-27-generic* linux-headers-4.8.0-58*
  linux-headers-4.8.0-58-generic* linux-image-4.10.0-27-generic*
  linux-image-4.8.0-58-generic* linux-image-extra-4.10.0-27-generic*
  linux-image-extra-4.8.0-58-generic* snap-confine*
0 upgraded, 0 newly installed, 12 to remove and 0 not upgraded.
After this operation, 699 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 412039 files and directories currently installed.)
Removing libwireshark6:amd64 (2.0.2+ga16e22e-1) ...
Removing libwiretap5:amd64 (2.0.2+ga16e22e-1) ...
Removing libwsutil6:amd64 (2.0.2+ga16e22e-1) ...
Removing linux-headers-4.10.0-27-generic (4.10.0-27.30~16.04.2) ...
Removing linux-headers-4.10.0-27 (4.10.0-27.30~16.04.2) ...
Removing linux-headers-4.8.0-58-generic (4.8.0-58.63~16.04.1) ...
Removing linux-headers-4.8.0-58 (4.8.0-58.63~16.04.1) ...
Removing linux-image-extra-4.10.0-27-generic (4.10.0-27.30~16.04.2) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.0-27-generic /boot/vmlinuz-4.10.0-27-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.0-27-generic /boot/vmlinuz-4.10.0-27-generic
update-initramfs: Generating /boot/initrd.img-4.10.0-27-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.10.0-27-generic /boot/vmlinuz-4.10.0-27-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.10.0-27-generic /boot/vmlinuz-4.10.0-27-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.10.0-27-generic /boot/vmlinuz-4.10.0-27-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.10.0-27-generic /boot/vmlinuz-4.10.0-27-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.10.0-35-generic
Found initrd image: /boot/initrd.img-4.10.0-35-generic
Found linux image: /boot/vmlinuz-4.10.0-33-generic
Found initrd image: /boot/initrd.img-4.10.0-33-generic
Found linux image: /boot/vmlinuz-4.10.0-27-generic
Found initrd image: /boot/initrd.img-4.10.0-27-generic
Found linux image: /boot/vmlinuz-4.8.0-58-generic
Found initrd image: /boot/initrd.img-4.8.0-58-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
done
Purging configuration files for linux-image-extra-4.10.0-27-generic (4.10.0-27.30~16.04.2) ...
Removing linux-image-4.10.0-27-generic (4.10.0-27.30~16.04.2) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.10.0-27-generic /boot/vmlinuz-4.10.0-27-generic
update-initramfs: Deleting /boot/initrd.img-4.10.0-27-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.10.0-27-generic /boot/vmlinuz-4.10.0-27-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.10.0-35-generic
Found initrd image: /boot/initrd.img-4.10.0-35-generic
Found linux image: /boot/vmlinuz-4.10.0-33-generic
Found initrd image: /boot/initrd.img-4.10.0-33-generic
Found linux image: /boot/vmlinuz-4.8.0-58-generic
Found initrd image: /boot/initrd.img-4.8.0-58-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
done
Purging configuration files for linux-image-4.10.0-27-generic (4.10.0-27.30~16.04.2) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.10.0-27-generic /boot/vmlinuz-4.10.0-27-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.10.0-27-generic /boot/vmlinuz-4.10.0-27-generic
Removing linux-image-extra-4.8.0-58-generic (4.8.0-58.63~16.04.1) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.8.0-58-generic /boot/vmlinuz-4.8.0-58-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.8.0-58-generic /boot/vmlinuz-4.8.0-58-generic
update-initramfs: Generating /boot/initrd.img-4.8.0-58-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.8.0-58-generic /boot/vmlinuz-4.8.0-58-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.8.0-58-generic /boot/vmlinuz-4.8.0-58-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.8.0-58-generic /boot/vmlinuz-4.8.0-58-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.8.0-58-generic /boot/vmlinuz-4.8.0-58-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.10.0-35-generic
Found initrd image: /boot/initrd.img-4.10.0-35-generic
Found linux image: /boot/vmlinuz-4.10.0-33-generic
Found initrd image: /boot/initrd.img-4.10.0-33-generic
Found linux image: /boot/vmlinuz-4.8.0-58-generic
Found initrd image: /boot/initrd.img-4.8.0-58-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
done
Purging configuration files for linux-image-extra-4.8.0-58-generic (4.8.0-58.63~16.04.1) ...
Removing linux-image-4.8.0-58-generic (4.8.0-58.63~16.04.1) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.8.0-58-generic /boot/vmlinuz-4.8.0-58-generic
update-initramfs: Deleting /boot/initrd.img-4.8.0-58-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.8.0-58-generic /boot/vmlinuz-4.8.0-58-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.10.0-35-generic
Found initrd image: /boot/initrd.img-4.10.0-35-generic
Found linux image: /boot/vmlinuz-4.10.0-33-generic
Found initrd image: /boot/initrd.img-4.10.0-33-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
done
Purging configuration files for linux-image-4.8.0-58-generic (4.8.0-58.63~16.04.1) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.8.0-58-generic /boot/vmlinuz-4.8.0-58-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.8.0-58-generic /boot/vmlinuz-4.8.0-58-generic
Removing snap-confine (2.27.5) ...
Purging configuration files for snap-confine (2.27.5) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
aconn91@aconn91-ThinkPad-Edge-E540:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Get:1 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1201 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial/main i386 Packages [1196 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main Translation-en [568 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 DEP-11 Metadata [733 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/main DEP-11 64x64 Icons [409 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [8344 B]
Get:11 http://archive.ubuntu.com/ubuntu xenial/restricted i386 Packages [8684 B]
Get:12 http://archive.ubuntu.com/ubuntu xenial/restricted Translation-en [2908 B]
Get:13 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 DEP-11 Metadata [186 B]
Get:14 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7532 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial/universe i386 Packages [7512 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en [4354 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial/universe amd64 DEP-11 Metadata [3410 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial/universe DEP-11 64x64 Icons [7448 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages [140 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 DEP-11 Metadata [63.8 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial/multiverse DEP-11 64x64 Icons [230 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [637 kB]
Get:25 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [606 kB]
Get:26 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [267 kB]
Get:27 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [305 kB]
Get:28 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [200 kB]
Get:29 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7972 B]
Get:30 http://archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [7988 B]
Get:31 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2692 B]
Get:32 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata [157 B]
Get:33 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [538 kB]
Get:34 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [515 kB]
Get:35 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [218 kB]
Get:36 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [172 kB]
Get:37 http://archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [232 kB]
Get:38 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [15.3 kB]
Get:39 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [14.5 kB]
Get:40 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [7544 B]
Get:41 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5888 B]
Get:42 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [14.3 kB]
Get:43 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4860 B]
Get:44 http://archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages [4852 B]
Get:45 http://archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [3220 B]
Get:46 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3328 B]
Get:47 http://archive.ubuntu.com/ubuntu xenial-backports/main DEP-11 64x64 Icons [29 B]
Get:48 http://archive.ubuntu.com/ubuntu xenial-backports/restricted amd64 DEP-11 Metadata [194 B]
Get:49 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [5896 B]
Get:50 http://archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages [5896 B]
Get:51 http://archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [3060 B]
Get:52 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [4588 B]
Get:53 http://archive.ubuntu.com/ubuntu xenial-backports/universe DEP-11 64x64 Icons [2717 B]
Get:54 http://archive.ubuntu.com/ubuntu xenial-backports/multiverse amd64 DEP-11 Metadata [216 B]
Get:55 http://archive.ubuntu.com/ubuntu xenial-backports/multiverse DEP-11 64x64 Icons [29 B]
Get:56 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [358 kB]
Get:57 http://archive.ubuntu.com/ubuntu xenial-security/main i386 Packages [333 kB]
Get:58 http://archive.ubuntu.com/ubuntu xenial-security/main Translation-en [159 kB]
Get:59 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [60.3 kB]
Get:60 http://archive.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [67.1 kB]
Get:61 http://archive.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [7352 B]
Get:62 http://archive.ubuntu.com/ubuntu xenial-security/restricted i386 Packages [7364 B]
Get:63 http://archive.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2432 B]
Get:64 http://archive.ubuntu.com/ubuntu xenial-security/restricted amd64 DEP-11 Metadata [200 B]
Get:65 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [169 kB]
Get:66 http://archive.ubuntu.com/ubuntu xenial-security/universe i386 Packages [148 kB]
Get:67 http://archive.ubuntu.com/ubuntu xenial-security/universe Translation-en [89.9 kB]
Get:68 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [49.2 kB]
Get:69 http://archive.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [69.7 kB]
Get:70 http://archive.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [2760 B]
Get:71 http://archive.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [2916 B]
Get:72 http://archive.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1236 B]
Get:73 http://archive.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [212 B]
Get:74 http://archive.ubuntu.com/ubuntu xenial-security/multiverse DEP-11 64x64 Icons [29 B]
Fetched 41.0 MB in 5min 30s (124 kB/s)
Reading package lists... Done
aconn91@aconn91-ThinkPad-Edge-E540:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:4 http://archive.ubuntu.com/ubuntu xenial-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
aconn91@aconn91-ThinkPad-Edge-E540:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list.d/aims-ubuntu-sagemath-xenial.list

     1 # deb http://ppa.launchpad.net/aims/sagemath/ubuntu xenial main
     2 # deb-src http://ppa.launchpad.net/aims/sagemath/ubuntu xenial main
     3 # deb-src http://ppa.launchpad.net/aims/sagemath/ubuntu xenial main
     4 # deb-src http://ppa.launchpad.net/aims/sagemath/ubuntu xenial main

/etc/apt/sources.list.d/elmer-csc-ubuntu-ubuntu-elmer-csc-ppa-xenial.list

     1 # deb http://ppa.launchpad.net/elmer-csc-ubuntu/elmer-csc-ppa/ubuntu xenial main
     2 # deb-src http://ppa.launchpad.net/elmer-csc-ubuntu/elmer-csc-ppa/ubuntu xenial main

/etc/apt/sources.list.d/fkrull-ubuntu-deadsnakes-xenial.list

     1 # deb http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu xenial main
     2 # deb-src http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu xenial main

/etc/apt/sources.list.d/otto-kesselgulasch-ubuntu-gimp-xenial.list

     1 # deb http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial main
     2 # deb-src http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial main

/etc/apt/sources.list.d/slack.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 # deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://archive.ubuntu.com/ubuntu xenial main restricted
     6 # deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted
    11 # deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 deb http://archive.ubuntu.com/ubuntu xenial universe
    17 # deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial universe
    18 deb http://archive.ubuntu.com/ubuntu xenial-updates universe
    19 # deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-updates universe
    20
    21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    22 ## team, and may not be under a free licence. Please satisfy yourself as to
    23 ## your rights to use the software. Also, please note that software in
    24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25 ## security team.
    26 deb http://archive.ubuntu.com/ubuntu xenial multiverse
    27 # deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial multiverse
    28 deb http://archive.ubuntu.com/ubuntu xenial-updates multiverse
    29 # deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
    30
    31 ## N.B. software from this repository may not have been tested as
    32 ## extensively as that contained in the main release, although it includes
    33 ## newer versions of some applications which may provide useful features.
    34 ## Also, please note that software in backports WILL NOT receive any review
    35 ## or updates from the Ubuntu security team.
    36 deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
    37 # deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
    38
    39 ## Uncomment the following two lines to add software from Canonical's
    40 ## 'partner' repository.
    41 ## This software is not part of Ubuntu, but is offered by Canonical and the
    42 ## respective vendors as a service to Ubuntu users.
    43 # deb http://archive.canonical.com/ubuntu xenial partner
    44 # deb-src http://archive.canonical.com/ubuntu xenial partner
    45
    46 deb http://archive.ubuntu.com/ubuntu xenial-security main restricted
    47 # deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
    48 deb http://archive.ubuntu.com/ubuntu xenial-security universe
    49 # deb-src http://security.ubuntu.com/ubuntu xenial-security universe
    50 deb http://archive.ubuntu.com/ubuntu xenial-security multiverse
    51 # deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
    52 # deb http://deb.torproject.org/torproject.org xenial main
    53 # deb-src http://deb.torproject.org/torproject.org xenial main
aconn91@aconn91-ThinkPad-Edge-E540:~$ sudo dpkg --audit

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Aaron Connolly
Solved:
2017-10-09
Last query:
2017-10-09
Last reply:
Aaron Connolly (aconn91) said : #1

sorry i think i did this incorrectly