package manager troubleshooting procedure

Asked by Matt Watson

ubuntu-support-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 120, in <module>
    with apt.Cache() as cache:
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 113, in __init__
    self.open(progress)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 164, in open
    self._cache = apt_pkg.Cache(progress)
apt_pkg.Error: E:Opening /etc/apt/sources.list.d/antonio_chiurazzi-ubuntu-ppa-zesty.list - ifstream::ifstream (13: Permission denied), E:The list of sources could not be read.
ironmatt@Ironmatt-5762:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
ironmatt@Ironmatt-5762:~$ dpkg --print-foreign-architectures
i386
ironmatt@Ironmatt-5762:~$ sudo grep -R roxy /etc/apt/*
ironmatt@Ironmatt-5762:~$ grep roxy /etc/environment
ironmatt@Ironmatt-5762:~$ echo $http_proxy

ironmatt@Ironmatt-5762:~$ echo $ftp_proxy

ironmatt@Ironmatt-5762:~$ grep roxy /etc/bash.bashrc
ironmatt@Ironmatt-5762:~$ grep roxy ~/.bashrc
ironmatt@Ironmatt-5762:~$ cat /etc/apt/apt.conf

ironmatt@Ironmatt-5762:~$ sudo fuser -vvv /var/lib/dpkg/lock
ironmatt@Ironmatt-5762:~$ sudo fuser -vvv /var/cache/apt/archives/lock
ironmatt@Ironmatt-5762:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.04
DISTRIB_CODENAME=zesty
DISTRIB_DESCRIPTION="Ubuntu 17.04"
ironmatt@Ironmatt-5762:~$ uname -a
Linux Ironmatt-5762 4.10.0-28-generic #32-Ubuntu SMP Fri Jun 30 05:32:18 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
ironmatt@Ironmatt-5762:~$ sudo rm /var/lib/apt/lists/lock
rm: cannot remove '/var/lib/apt/lists/lock': No such file or directory
ironmatt@Ironmatt-5762:~$ sudo rm /var/cache/apt/archives/lock
ironmatt@Ironmatt-5762:~$ sudo rm /var/lib/dpkg/lock
ironmatt@Ironmatt-5762:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup

ironmatt@Ironmatt-5762:~$
ironmatt@Ironmatt-5762:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
ironmatt@Ironmatt-5762:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
ironmatt@Ironmatt-5762:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
ironmatt@Ironmatt-5762:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
cp: cannot stat '/var/lib/dpkg/available-old': No such file or directory
ironmatt@Ironmatt-5762:~$ sudo rm -rf /var/lib/dpkg/updates/*
ironmatt@Ironmatt-5762:~$ sudo rm -rf /var/lib/apt/lists
ironmatt@Ironmatt-5762:~$ sudo rm /var/cache/apt/*.bin
ironmatt@Ironmatt-5762:~$ sudo mkdir /var/lib/apt/lists
ironmatt@Ironmatt-5762:~$ sudo mkdir /var/lib/apt/lists/partial
ironmatt@Ironmatt-5762:~$ LANG=C;sudo apt-get clean
ironmatt@Ironmatt-5762:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
ironmatt@Ironmatt-5762:~$ sudo dpkg --configure -a
Setting up wps-office (10.1.0.5672~a21) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for update-notifier-common (3.179) ...
ttf-mscorefonts-installer: processing...
Processing triggers for shared-mime-info (1.8-1) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Setting up ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ...
user did not accept the mscorefonts-eula license
Processing triggers for hicolor-icon-theme (0.15-1) ...
Processing triggers for fontconfig (2.11.94-0ubuntu2) ...
ironmatt@Ironmatt-5762:~$ sudo dpkg --clear-avail
ironmatt@Ironmatt-5762:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ironmatt@Ironmatt-5762:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ironmatt@Ironmatt-5762:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ironmatt@Ironmatt-5762:~$
ironmatt@Ironmatt-5762:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Get:1 http://us.archive.ubuntu.com/ubuntu zesty InRelease [243 kB]
Get:2 http://security.ubuntu.com/ubuntu zesty-security InRelease [89.2 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu zesty-updates InRelease [89.2 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu zesty/main i386 Packages [1204 kB]
Get:5 http://security.ubuntu.com/ubuntu zesty-security/universe i386 Packages [53.5 kB]
Get:6 http://security.ubuntu.com/ubuntu zesty-security/universe amd64 Packages [53.3 kB]
Get:7 http://security.ubuntu.com/ubuntu zesty-security/universe Translation-en [35.2 kB]
Get:8 http://security.ubuntu.com/ubuntu zesty-security/universe amd64 DEP-11 Metadata [14.4 kB]
Get:9 http://security.ubuntu.com/ubuntu zesty-security/universe DEP-11 64x64 Icons [31.0 kB]
Get:10 http://security.ubuntu.com/ubuntu zesty-security/universe DEP-11 128x128 Icons [93.2 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 Packages [1207 kB]
Get:12 http://security.ubuntu.com/ubuntu zesty-security/main amd64 Packages [108 kB]
Get:13 http://security.ubuntu.com/ubuntu zesty-security/main i386 Packages [106 kB]
Get:14 http://archive.ubuntu.com/ubuntu precise-security InRelease [55.7 kB]
Ign:15 http://archive.canonical.com/ubuntu precise InRelease
Get:16 http://security.ubuntu.com/ubuntu zesty-security/main Translation-en [48.5 kB]
Get:17 http://security.ubuntu.com/ubuntu zesty-security/main amd64 DEP-11 Metadata [11.7 kB]
Get:18 http://archive.canonical.com/ubuntu precise Release [8180 B]
Get:19 http://security.ubuntu.com/ubuntu zesty-security/main DEP-11 64x64 Icons [9219 B]
Get:20 http://security.ubuntu.com/ubuntu zesty-security/main DEP-11 128x128 Icons [24.9 kB]
Get:21 http://security.ubuntu.com/ubuntu zesty-security/restricted amd64 Packages [2168 B]
Get:22 http://security.ubuntu.com/ubuntu zesty-security/restricted i386 Packages [2156 B]
Get:23 http://security.ubuntu.com/ubuntu zesty-security/restricted Translation-en [1280 B]
Get:24 http://security.ubuntu.com/ubuntu zesty-security/restricted amd64 DEP-11 Metadata [192 B]
Get:25 http://security.ubuntu.com/ubuntu zesty-security/multiverse i386 Packages [1976 B]
Get:26 http://security.ubuntu.com/ubuntu zesty-security/multiverse amd64 Packages [1824 B]
Get:27 http://archive.canonical.com/ubuntu precise Release.gpg [198 B]
Get:28 http://security.ubuntu.com/ubuntu zesty-security/multiverse Translation-en [1020 B]
Get:29 http://security.ubuntu.com/ubuntu zesty-security/multiverse amd64 DEP-11 Metadata [208 B]
Get:30 http://security.ubuntu.com/ubuntu zesty-security/multiverse DEP-11 64x64 Icons [29 B]
Ign:14 http://archive.ubuntu.com/ubuntu precise-security InRelease
Get:31 http://archive.ubuntu.com/ubuntu precise-updates InRelease [55.7 kB]
Get:32 http://security.ubuntu.com/ubuntu zesty-security/multiverse DEP-11 128x128 Icons [29 B]
Ign:27 http://archive.canonical.com/ubuntu precise Release.gpg
Get:33 http://archive.ubuntu.com/ubuntu precise-proposed InRelease [55.7 kB]
Get:34 http://us.archive.ubuntu.com/ubuntu zesty/main Translation-en [577 kB]
Ign:31 http://archive.ubuntu.com/ubuntu precise-updates InRelease
Get:35 http://archive.canonical.com/ubuntu precise/partner Sources [5731 B]
Get:36 http://archive.ubuntu.com/ubuntu precise-backports InRelease [55.7 kB]
Ign:33 http://archive.ubuntu.com/ubuntu precise-proposed InRelease
Get:37 http://archive.canonical.com/ubuntu precise/partner i386 Packages [7795 B]
Get:38 http://archive.canonical.com/ubuntu precise/partner amd64 Packages [6913 B]
Get:39 http://archive.canonical.com/ubuntu precise/partner Translation-en [4440 B]
Ign:36 http://archive.ubuntu.com/ubuntu precise-backports InRelease
Get:40 http://archive.ubuntu.com/ubuntu precise-security/restricted Sources [4643 B]
Get:41 http://archive.ubuntu.com/ubuntu precise-security/universe Sources [57.9 kB]
Get:42 http://archive.ubuntu.com/ubuntu precise-security/main Sources [150 kB]
Get:43 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 DEP-11 Metadata [536 kB]
Get:44 http://archive.ubuntu.com/ubuntu precise-security/multiverse Sources [3032 B]
Get:45 http://archive.ubuntu.com/ubuntu precise-security/main i386 Packages [377 kB]
Get:46 http://us.archive.ubuntu.com/ubuntu zesty/main DEP-11 64x64 Icons [373 kB]
Get:47 http://archive.ubuntu.com/ubuntu precise-security/main amd64 Packages [375 kB]
Get:48 http://us.archive.ubuntu.com/ubuntu zesty/main DEP-11 128x128 Icons [936 kB]
Get:49 http://archive.ubuntu.com/ubuntu precise-security/main Translation-en [188 kB]
Get:50 http://us.archive.ubuntu.com/ubuntu zesty/universe amd64 Packages [8068 kB]
Get:51 http://archive.ubuntu.com/ubuntu precise-security/restricted i386 Packages [10.8 kB]
Get:52 http://archive.ubuntu.com/ubuntu precise-security/restricted amd64 Packages [10.9 kB]
Get:53 http://archive.ubuntu.com/ubuntu precise-security/restricted Translation-en [2802 B]
Get:54 http://archive.ubuntu.com/ubuntu precise-security/universe amd64 Packages [145 kB]
Get:55 http://archive.ubuntu.com/ubuntu precise-security/universe i386 Packages [154 kB]
Get:56 http://archive.ubuntu.com/ubuntu precise-security/universe Translation-en [93.2 kB]
Get:57 http://archive.ubuntu.com/ubuntu precise-security/multiverse i386 Packages [3537 B]
Get:58 http://archive.ubuntu.com/ubuntu precise-security/multiverse amd64 Packages [3367 B]
Get:59 http://archive.ubuntu.com/ubuntu precise-security/multiverse Translation-en [1993 B]
Get:60 http://archive.ubuntu.com/ubuntu precise-updates/main Sources [503 kB]
Ign:61 http://extras.ubuntu.com/ubuntu precise InRelease
Get:62 http://extras.ubuntu.com/ubuntu precise Release [11.9 kB]
Get:63 http://extras.ubuntu.com/ubuntu precise Release.gpg [72 B]
Ign:63 http://extras.ubuntu.com/ubuntu precise Release.gpg
Get:64 http://extras.ubuntu.com/ubuntu precise/main Sources [8130 B]
Get:65 http://archive.ubuntu.com/ubuntu precise-updates/multiverse Sources [10.5 kB]
Get:66 http://archive.ubuntu.com/ubuntu precise-updates/universe Sources [137 kB]
Get:67 http://extras.ubuntu.com/ubuntu precise/main i386 Packages [10.8 kB]
Get:68 http://extras.ubuntu.com/ubuntu precise/main amd64 Packages [10.8 kB]
Get:69 http://archive.ubuntu.com/ubuntu precise-updates/restricted Sources [8837 B]
Get:70 http://archive.ubuntu.com/ubuntu precise-updates/main i386 Packages [745 kB]
Get:71 http://archive.ubuntu.com/ubuntu precise-updates/main amd64 Packages [741 kB]
Get:72 http://archive.ubuntu.com/ubuntu precise-updates/main Translation-en [344 kB]
Get:73 http://archive.ubuntu.com/ubuntu precise-updates/restricted amd64 Packages [15.4 kB]
Get:74 http://archive.ubuntu.com/ubuntu precise-updates/restricted i386 Packages [15.3 kB]
Get:75 http://archive.ubuntu.com/ubuntu precise-updates/restricted Translation-en [3686 B]
Get:76 http://archive.ubuntu.com/ubuntu precise-updates/universe amd64 Packages [288 kB]
Get:77 http://us.archive.ubuntu.com/ubuntu zesty/universe i386 Packages [8037 kB]
Get:78 http://archive.ubuntu.com/ubuntu precise-updates/universe i386 Packages [297 kB]
Get:79 http://archive.ubuntu.com/ubuntu precise-updates/universe Translation-en [174 kB]
Get:80 http://archive.ubuntu.com/ubuntu precise-updates/multiverse amd64 Packages [17.1 kB]
Get:81 http://archive.ubuntu.com/ubuntu precise-updates/multiverse i386 Packages [17.3 kB]
Get:82 http://archive.ubuntu.com/ubuntu precise-updates/multiverse Translation-en [10.1 kB]
Get:83 http://archive.ubuntu.com/ubuntu precise-proposed/main Sources [938 B]
Get:84 http://archive.ubuntu.com/ubuntu precise-proposed/main amd64 Packages [958 B]
Get:85 http://archive.ubuntu.com/ubuntu precise-proposed/main i386 Packages [958 B]
Get:86 http://archive.ubuntu.com/ubuntu precise-proposed/main Translation-en [493 B]
Get:87 http://archive.ubuntu.com/ubuntu precise-proposed/universe amd64 Packages [1971 B]
Get:88 http://archive.ubuntu.com/ubuntu precise-proposed/universe i386 Packages [2952 B]
Get:89 http://archive.ubuntu.com/ubuntu precise-proposed/universe Translation-en [1186 B]
Get:90 http://archive.ubuntu.com/ubuntu precise-backports/multiverse Sources [5750 B]
Get:91 http://archive.ubuntu.com/ubuntu precise-backports/main Sources [5922 B]
Get:92 http://archive.ubuntu.com/ubuntu precise-backports/universe Sources [44.2 kB]
Get:93 http://archive.ubuntu.com/ubuntu precise-backports/main amd64 Packages [6477 B]
Get:94 http://archive.ubuntu.com/ubuntu precise-backports/main i386 Packages [6478 B]
Get:95 http://archive.ubuntu.com/ubuntu precise-backports/main Translation-en [5737 B]
Get:96 http://archive.ubuntu.com/ubuntu precise-backports/universe amd64 Packages [46.3 kB]
Get:97 http://archive.ubuntu.com/ubuntu precise-backports/universe i386 Packages [46.1 kB]
Get:98 http://archive.ubuntu.com/ubuntu precise-backports/universe Translation-en [35.9 kB]
Get:99 http://archive.ubuntu.com/ubuntu precise-backports/multiverse amd64 Packages [5419 B]
Get:100 http://archive.ubuntu.com/ubuntu precise-backports/multiverse i386 Packages [5413 B]
Get:101 http://archive.ubuntu.com/ubuntu precise-backports/multiverse Translation-en [4852 B]
Get:102 http://us.archive.ubuntu.com/ubuntu zesty/universe Translation-en [4671 kB]
Get:103 http://us.archive.ubuntu.com/ubuntu zesty/universe amd64 DEP-11 Metadata [2713 kB]
Get:104 http://us.archive.ubuntu.com/ubuntu zesty/universe DEP-11 64x64 Icons [7842 kB]
Get:105 http://us.archive.ubuntu.com/ubuntu zesty/universe DEP-11 128x128 Icons [18.2 MB]
Get:106 http://us.archive.ubuntu.com/ubuntu zesty/restricted amd64 Packages [8672 B]
Get:107 http://us.archive.ubuntu.com/ubuntu zesty/restricted i386 Packages [8648 B]
Get:108 http://us.archive.ubuntu.com/ubuntu zesty/restricted Translation-en [2724 B]
Get:109 http://us.archive.ubuntu.com/ubuntu zesty/restricted amd64 DEP-11 Metadata [185 B]
Get:110 http://us.archive.ubuntu.com/ubuntu zesty/multiverse i386 Packages [147 kB]
Get:111 http://us.archive.ubuntu.com/ubuntu zesty/multiverse amd64 Packages [154 kB]
Get:112 http://us.archive.ubuntu.com/ubuntu zesty/multiverse Translation-en [109 kB]
Get:113 http://us.archive.ubuntu.com/ubuntu zesty/multiverse amd64 DEP-11 Metadata [43.3 kB]
Get:114 http://us.archive.ubuntu.com/ubuntu zesty/multiverse DEP-11 64x64 Icons [207 kB]
Get:115 http://us.archive.ubuntu.com/ubuntu zesty/multiverse DEP-11 128x128 Icons [476 kB]
Get:116 http://us.archive.ubuntu.com/ubuntu zesty-updates/universe amd64 Packages [87.4 kB]
Get:117 http://us.archive.ubuntu.com/ubuntu zesty-updates/universe i386 Packages [87.4 kB]
Get:118 http://us.archive.ubuntu.com/ubuntu zesty-updates/universe Translation-en [51.5 kB]
Get:119 http://us.archive.ubuntu.com/ubuntu zesty-updates/universe amd64 DEP-11 Metadata [71.4 kB]
Get:120 http://us.archive.ubuntu.com/ubuntu zesty-updates/universe DEP-11 64x64 Icons [75.9 kB]
Get:121 http://us.archive.ubuntu.com/ubuntu zesty-updates/universe DEP-11 128x128 Icons [191 kB]
Get:122 http://us.archive.ubuntu.com/ubuntu zesty-updates/main amd64 Packages [165 kB]
Get:123 http://us.archive.ubuntu.com/ubuntu zesty-updates/main i386 Packages [163 kB]
Get:124 http://us.archive.ubuntu.com/ubuntu zesty-updates/main Translation-en [74.9 kB]
Get:125 http://us.archive.ubuntu.com/ubuntu zesty-updates/main amd64 DEP-11 Metadata [51.9 kB]
Get:126 http://us.archive.ubuntu.com/ubuntu zesty-updates/main DEP-11 64x64 Icons [23.9 kB]
Get:127 http://us.archive.ubuntu.com/ubuntu zesty-updates/main DEP-11 128x128 Icons [64.4 kB]
Get:128 http://us.archive.ubuntu.com/ubuntu zesty-updates/restricted amd64 Packages [2508 B]
Get:129 http://us.archive.ubuntu.com/ubuntu zesty-updates/restricted i386 Packages [2492 B]
Get:130 http://us.archive.ubuntu.com/ubuntu zesty-updates/restricted Translation-en [1444 B]
Get:131 http://us.archive.ubuntu.com/ubuntu zesty-updates/restricted amd64 DEP-11 Metadata [193 B]
Get:132 http://us.archive.ubuntu.com/ubuntu zesty-updates/multiverse i386 Packages [10.7 kB]
Get:133 http://us.archive.ubuntu.com/ubuntu zesty-updates/multiverse amd64 Packages [10.5 kB]
Get:134 http://us.archive.ubuntu.com/ubuntu zesty-updates/multiverse Translation-en [5284 B]
Get:135 http://us.archive.ubuntu.com/ubuntu zesty-updates/multiverse amd64 DEP-11 Metadata [5840 B]
Get:136 http://us.archive.ubuntu.com/ubuntu zesty-updates/multiverse DEP-11 64x64 Icons [9203 B]
Get:137 http://us.archive.ubuntu.com/ubuntu zesty-updates/multiverse DEP-11 128x128 Icons [18.7 kB]
Fetched 63.2 MB in 36s (1721 kB/s)
Reading package lists... Done
W: GPG error: http://archive.ubuntu.com/ubuntu precise-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: The repository 'http://archive.ubuntu.com/ubuntu precise-security InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.canonical.com/ubuntu precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: The repository 'http://archive.canonical.com/ubuntu precise Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.ubuntu.com/ubuntu precise-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: The repository 'http://archive.ubuntu.com/ubuntu precise-updates InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.ubuntu.com/ubuntu precise-proposed InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: The repository 'http://archive.ubuntu.com/ubuntu precise-proposed InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.ubuntu.com/ubuntu precise-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: The repository 'http://archive.ubuntu.com/ubuntu precise-backports InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://extras.ubuntu.com/ubuntu precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
W: The repository 'http://extras.ubuntu.com/ubuntu precise Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
ironmatt@Ironmatt-5762:~$ ANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Hit:1 http://security.ubuntu.com/ubuntu zesty-security InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu zesty InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu zesty-updates InRelease
Ign:4 http://extras.ubuntu.com/ubuntu precise InRelease
Ign:5 http://archive.canonical.com/ubuntu precise InRelease
Get:6 http://archive.ubuntu.com/ubuntu precise-security InRelease [55.7 kB]
Hit:7 http://extras.ubuntu.com/ubuntu precise Release
Hit:8 http://archive.canonical.com/ubuntu precise Release
Get:9 http://extras.ubuntu.com/ubuntu precise Release.gpg [72 B]
Get:10 http://archive.canonical.com/ubuntu precise Release.gpg [198 B]
Get:11 http://archive.ubuntu.com/ubuntu precise-updates InRelease [55.7 kB]
Ign:9 http://extras.ubuntu.com/ubuntu precise Release.gpg
Ign:10 http://archive.canonical.com/ubuntu precise Release.gpg
Get:12 http://archive.ubuntu.com/ubuntu precise-proposed InRelease [55.7 kB]
Ign:6 http://archive.ubuntu.com/ubuntu precise-security InRelease
Get:13 http://archive.ubuntu.com/ubuntu precise-backports InRelease [55.7 kB]
Ign:11 http://archive.ubuntu.com/ubuntu precise-updates InRelease
Ign:12 http://archive.ubuntu.com/ubuntu precise-proposed InRelease
Ign:13 http://archive.ubuntu.com/ubuntu precise-backports InRelease
Fetched 223 kB in 1s (165 kB/s)
Reading package lists... Done
W: GPG error: http://extras.ubuntu.com/ubuntu precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
W: The repository 'http://extras.ubuntu.com/ubuntu precise Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.canonical.com/ubuntu precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: The repository 'http://archive.canonical.com/ubuntu precise Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.ubuntu.com/ubuntu precise-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: The repository 'http://archive.ubuntu.com/ubuntu precise-security InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.ubuntu.com/ubuntu precise-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: The repository 'http://archive.ubuntu.com/ubuntu precise-updates InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.ubuntu.com/ubuntu precise-proposed InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: The repository 'http://archive.ubuntu.com/ubuntu precise-proposed InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.ubuntu.com/ubuntu precise-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: The repository 'http://archive.ubuntu.com/ubuntu precise-backports InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
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.
ironmatt@Ironmatt-5762:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list.d/doctormo-ubuntu-opencv-zesty.list

cat: /etc/apt/sources.list.d/doctormo-ubuntu-opencv-zesty.list: Permission denied

/etc/apt/sources.list.d/noobslab-ubuntu-apps-zesty.list

cat: /etc/apt/sources.list.d/noobslab-ubuntu-apps-zesty.list: Permission denied

/etc/apt/sources.list.d/tualatrix-ppa-zesty.list

cat: /etc/apt/sources.list.d/tualatrix-ppa-zesty.list: Permission denied

/etc/apt/sources.list.d/antonio_chiurazzi-ubuntu-ppa-zesty.list

cat: /etc/apt/sources.list.d/antonio_chiurazzi-ubuntu-ppa-zesty.list: Permission denied

/etc/apt/sources.list.d/gijzelaar-ubuntu-opencv2-zesty.list

cat: /etc/apt/sources.list.d/gijzelaar-ubuntu-opencv2-zesty.list: Permission denied

/etc/apt/sources.list.d/kubuntu-ppa-ubuntu-ppa-zesty.list

cat: /etc/apt/sources.list.d/kubuntu-ppa-ubuntu-ppa-zesty.list: Permission denied

/etc/apt/sources.list

     1 ###### Ubuntu Main Repos
     2 # deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
     3 # deb-src http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
     4
     5 ###### Ubuntu Update Repos
     6 deb http://archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
     7 deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
     8 deb http://archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
     9 deb http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    10 deb-src http://archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
    11 deb-src http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
    12 deb-src http://archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
    13 deb-src http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    14
    15 ###### Ubuntu Partner Repo
    16 deb http://archive.canonical.com/ubuntu precise partner
    17 deb-src http://archive.canonical.com/ubuntu precise partner
    18
    19 ###### Ubuntu Extras Repo
    20 deb http://extras.ubuntu.com/ubuntu precise main
    21 deb-src http://extras.ubuntu.com/ubuntu precise main
    22
    23 deb http://us.archive.ubuntu.com/ubuntu/ zesty main universe restricted multiverse
    24 deb http://security.ubuntu.com/ubuntu/ zesty-security universe main restricted multiverse
    25 deb http://us.archive.ubuntu.com/ubuntu/ zesty-updates universe main restricted multiverse
ironmatt@Ironmatt-5762:~$ sudo dpkg --audit
ironmatt@Ironmatt-5762:~$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Did you by any chance upgrade directly from Precise to Zesty?

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

There seem to be several different issues with your system.
One of them is related to access to the sources.list configuration files, and I suggest tackling that first.

What is the output of the commands

sudo ls -l /etc/apt/sources.list
sudo ls -l /etc/apt/sources.list.d/

Revision history for this message
Matt Watson (ironmatt613) said :
#3

ironmatt@Ironmatt-5762:~$ sudo ls -l /etc/apt/sources.list
[sudo] password for ironmatt:
-rw-r--r-- 1 root root 1473 Jul 30 11:48 /etc/apt/sources.list
ironmatt@Ironmatt-5762:~$ sudo ls -l /etc/apt/sources.list.d/
total 108
-rw-r--r-- 1 root root 146 Jul 30 11:48
antonio_chiurazzi-ubuntu-ppa-zesty.list
-rw-r--r-- 1 root root 146 Jul 30 11:48
antonio_chiurazzi-ubuntu-ppa-zesty.list
.save
-rw-r--r-- 1 root root 79 Jul 30 11:48 arc-theme.list
-rw-r--r-- 1 root root 79 Jul 30 11:48 arc-theme.list.save
-rw-r--r-- 1 root root 134 Jul 30 11:48 doctormo-ubuntu-opencv-zesty.list
-rw-r--r-- 1 root root 134 Jul 30 11:48
doctormo-ubuntu-opencv-zesty.list.save
-rw-r--r-- 1 root root 138 Jul 30 11:48
gijzelaar-ubuntu-opencv2-zesty.list
-rw-r--r-- 1 root root 138 Jul 30 11:48
gijzelaar-ubuntu-opencv2-zesty.list.sav
e
-rw-r--r-- 1 root root 138 Jul 30 11:48
gnome3-team-ubuntu-gnome3-zesty.list
-rw-r--r-- 1 root root 138 Jul 30 11:48
gnome3-team-ubuntu-gnome3-zesty.list.sa
ve
-rw-r--r-- 1 root root 134 Jul 30 11:48 kubuntu-ppa-ubuntu-ppa-zesty.list
-rw-r--r-- 1 root root 134 Jul 30 11:48
kubuntu-ppa-ubuntu-ppa-zesty.list.save
-rw-r--r-- 1 root root 142 Jul 30 11:48
nilarimogard-ubuntu-webupd8-zesty.list
-rw-r--r-- 1 root root 142 Jul 30 11:48
nilarimogard-ubuntu-webupd8-zesty.list.
save
-rw-r--r-- 1 root root 130 Jul 30 11:48 noobslab-ubuntu-apps-zesty.list
-rw-r--r-- 1 root root 130 Jul 30 11:48
noobslab-ubuntu-apps-zesty.list.save
-rw-r--r-- 1 root root 120 Jul 30 11:48 numix-ubuntu-ppa-zesty.list
-rw-r--r-- 1 root root 120 Jul 30 11:48 numix-ubuntu-ppa-zesty.list.save
-rw-r--r-- 1 root root 3242 Jul 24 11:09 sources.list.save
-rw-r--r-- 1 root root 67 Jul 30 11:48 tualatrix-ppa-zesty.list
-rw-r--r-- 1 root root 67 Jul 30 11:48 tualatrix-ppa-zesty.list.save
-rw-r--r-- 1 root root 79 Jul 30 11:48 vertex-theme.list
-rw-r--r-- 1 root root 79 Jul 30 11:48 vertex-theme.list.save
-rw-r--r-- 1 root root 210 Jul 30 11:48
webupd8team-ubuntu-gnome3-zesty.list
-rw-r--r-- 1 root root 138 Jul 30 11:48
webupd8team-ubuntu-gnome3-zesty.list.sa
ve
-rw-r--r-- 1 root root 152 Jul 30 11:48
webupd8team-ubuntu-y-ppa-manager-zesty.
list
-rw-r--r-- 1 root root 152 Jul 30 11:48
webupd8team-ubuntu-y-ppa-manager-zesty.
list.save
ironmatt@Ironmatt-5762:~$

On Sun, Jul 30, 2017 at 2:38 AM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #654171 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/654171
>
> Manfred Hampl requested more information:
> There seem to be several different issues with your system.
> One of them is related to access to the sources.list configuration files,
> and I suggest tackling that first.
>
> What is the output of the commands
>
> sudo ls -l /etc/apt/sources.list
> sudo ls -l /etc/apt/sources.list.d/
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/654171
>
> You received this question notification because you asked the question.
>

Revision history for this message
Matt Watson (ironmatt613) said :
#4

no
yak to zesty
accidentally got the precise repos in an attempt to restore the missing
/etc/apt/sources.list files

On Sat, Jul 29, 2017 at 6:02 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #654171 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/654171
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> Did you by any chance upgrade directly from Precise to Zesty?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/654171
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

The access rights settings seem ok now, did you change them?

What output do you get now for the command

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

(last but one in step 6 of https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure )

Revision history for this message
Matt Watson (ironmatt613) said :
#6

ironmatt@Ironmatt-5762:~$ find /etc/apt -name '*.list' -exec bash -c 'echo
-e "\n$1\n"; cat -n
> "$1"' _ '{}' \;

/etc/apt/sources.list.d/doctormo-ubuntu-opencv-zesty.list

     1

     2

On Tue, Aug 1, 2017 at 1:28 AM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #654171 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/654171
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> The access rights settings seem ok now, did you change them?
>
> What output do you get now for the command
>
> find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n
> "$1"' _ '{}' \;
>
> (last but one in step 6 of
> https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
> )
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/654171
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

Please do not try to copy and paste commands from your e-mail message. Most e-mail system break commands into pieces that they do not work.

Please open your question document on https://answers.launchpad.net/ubuntu/+source/apt/+question/654171 and copy the command from comment #5 and paste it into a terminal window for execution.

What output do you get?

Revision history for this message
Matt Watson (ironmatt613) said :
#8

ironmatt@Ironmatt-5762:~$ find /etc/apt -name '*.list' -exec bash -c 'echo
-e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list.d/doctormo-ubuntu-opencv-zesty.list

cat: /etc/apt/sources.list.d/doctormo-ubuntu-opencv-zesty.list: Permission
denied

/etc/apt/sources.list.d/webupd8team-ubuntu-y-ppa-manager-zesty.list

cat: /etc/apt/sources.list.d/webupd8team-ubuntu-y-ppa-manager-zesty.list:
Permission denied

/etc/apt/sources.list.d/noobslab-ubuntu-apps-zesty.list

cat: /etc/apt/sources.list.d/noobslab-ubuntu-apps-zesty.list: Permission
denied

/etc/apt/sources.list.d/webupd8team-ubuntu-gnome3-zesty.list

cat: /etc/apt/sources.list.d/webupd8team-ubuntu-gnome3-zesty.list:
Permission denied

/etc/apt/sources.list.d/numix-ubuntu-ppa-zesty.list

cat: /etc/apt/sources.list.d/numix-ubuntu-ppa-zesty.list: Permission denied

/etc/apt/sources.list.d/gnome3-team-ubuntu-gnome3-zesty.list

cat: /etc/apt/sources.list.d/gnome3-team-ubuntu-gnome3-zesty.list:
Permission denied

/etc/apt/sources.list.d/tualatrix-ppa-zesty.list

cat: /etc/apt/sources.list.d/tualatrix-ppa-zesty.list: Permission denied

/etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-zesty.list

cat: /etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-zesty.list:
Permission denied

/etc/apt/sources.list.d/antonio_chiurazzi-ubuntu-ppa-zesty.list

cat: /etc/apt/sources.list.d/antonio_chiurazzi-ubuntu-ppa-zesty.list:
Permission denied

/etc/apt/sources.list.d/gijzelaar-ubuntu-opencv2-zesty.list

cat: /etc/apt/sources.list.d/gijzelaar-ubuntu-opencv2-zesty.list:
Permission denied

/etc/apt/sources.list.d/arc-theme.list

cat: /etc/apt/sources.list.d/arc-theme.list: Permission denied

/etc/apt/sources.list.d/vertex-theme.list

cat: /etc/apt/sources.list.d/vertex-theme.list: Permission denied

/etc/apt/sources.list.d/kubuntu-ppa-ubuntu-ppa-zesty.list

cat: /etc/apt/sources.list.d/kubuntu-ppa-ubuntu-ppa-zesty.list: Permission
denied

/etc/apt/sources.list

     1 ###### Ubuntu Main Repos
     2 # deb http://archive.ubuntu.com/ubuntu/ zesty main restricted
universe multiverse
     3 # deb-src http://archive.ubuntu.com/ubuntu/ zesty main restricted
universe multiverse
     4
     5 ###### Ubuntu Update Repos
     6 deb http://archive.ubuntu.com/ubuntu/ zesty-security main restricted
universe multiverse
     7 deb http://archive.ubuntu.com/ubuntu/ zesty-updates main restricted
universe multiverse
     8 # deb http://archive.ubuntu.com/ubuntu/ zesty-proposed main
restricted universe multiverse
     9 deb http://archive.ubuntu.com/ubuntu/ zesty-backports main
restricted universe multiverse
    10 deb-src http://archive.ubuntu.com/ubuntu/ zesty-security main
restricted universe multiverse
    11 deb-src http://archive.ubuntu.com/ubuntu/ zesty-updates main
restricted universe multiverse
    12 deb-src http://archive.ubuntu.com/ubuntu/ zesty-proposed main
restricted universe multiverse
    13 deb-src http://archive.ubuntu.com/ubuntu/ zesty-backports main
restricted universe multiverse
    14
    15 ###### Ubuntu Partner Repo
    16 deb http://archive.canonical.com/ubuntu zesty partner
    17 deb-src http://archive.canonical.com/ubuntu zesty partner
    18
    19 ###### Ubuntu Extras Repo
    20 deb http://extras.ubuntu.com/ubuntu zesty main
    21 deb-src http://extras.ubuntu.com/ubuntu zesty main
    22
    23 deb http://archive.ubuntu.com/ubuntu zesty main universe restricted
multiverse
    24 deb http://security.ubuntu.com/ubuntu/ zesty-security universe main
restricted multiverse
    25 deb http://archive.ubuntu.com/ubuntu zesty-updates universe main
restricted multiverse
ironmatt@Ironmatt-5762:~$

On Tue, Aug 1, 2017 at 10:09 AM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #654171 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/654171
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Please do not try to copy and paste commands from your e-mail message.
> Most e-mail system break commands into pieces that they do not work.
>
> Please open your question document on
> https://answers.launchpad.net/ubuntu/+source/apt/+question/654171 and
> copy the command from comment #5 and paste it into a terminal window for
> execution.
>
> What output do you get?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/654171
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

This is weird.

Please try executing the following commands :

ls -lad /etc/apt/sources.list.d/
ls -l /etc/apt/sources.list.d/tualatrix-ppa-zesty.list
cat -n /etc/apt/sources.list.d/tualatrix-ppa-zesty.list
sudo cat -n /etc/apt/sources.list.d/tualatrix-ppa-zesty.list
which cat
ls -l `which cat`

Revision history for this message
Matt Watson (ironmatt613) said :
#10

ironmatt@Ironmatt-5762:~$ ls -lad /etc/apt/sources.list.d/
drw-r--r-- 2 root root 4096 Jul 30 11:48 /etc/apt/sources.list.d/
ironmatt@Ironmatt-5762:~$ ls -l /etc/apt/sources.list.d/tualatrix-ppa-zesty.listls: cannot access '/etc/apt/sources.list.d/tualatrix-ppa-zesty.list': Permission denied
ironmatt@Ironmatt-5762:~$ cat -n /etc/apt/sources.list.d/tualatrix-ppa-zesty.list
cat: /etc/apt/sources.list.d/tualatrix-ppa-zesty.list: Permission denied
ironmatt@Ironmatt-5762:~$ sudo cat -n /etc/apt/sources.list.d/tualatrix-ppa-zesty.list
[sudo] password for ironmatt:
     1 # deb-src http://ppa.launchpad.net/tualatrix/ppaubuntu zesty main
     2
ironmatt@Ironmatt-5762:~$ which cat
/bin/cat
ironmatt@Ironmatt-5762:~$ ls -l `which cat`
-rwxr-xr-x 1 root root 35064 Mar 1 02:33 /bin/cat
ironmatt@Ironmatt-5762:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

Ok, I think I finally see the error in the access rights.

issue the commands

sudo chmod a-x /etc/apt/sources.list.d/

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

and report the results.
(again: please copy them from launchpad, and not from your mail)

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#12

Oops, sorry, a typo error.

The first command must of course be

sudo chmod a+x /etc/apt/sources.list.d/

Revision history for this message
Matt Watson (ironmatt613) said :
#13

ironmatt@Ironmatt-5762:~$ sudo chmod a+x /etc/apt/sources.list.d/
ironmatt@Ironmatt-5762:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list.d/doctormo-ubuntu-opencv-zesty.list

     1 # deb http://ppa.launchpad.net/doctormo/opencv/ubuntu zesty main
     2 # deb-src http://ppa.launchpad.net/doctormo/opencv/ubuntu zesty main

/etc/apt/sources.list.d/webupd8team-ubuntu-y-ppa-manager-zesty.list

     1 deb http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu zesty main
     2 # deb-src http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu zesty main

/etc/apt/sources.list.d/noobslab-ubuntu-apps-zesty.list

     1 # deb http://ppa.launchpad.net/noobslab/apps/ubuntu zesty main
     2 # deb-src http://ppa.launchpad.net/noobslab/apps/ubuntu zesty main

/etc/apt/sources.list.d/webupd8team-ubuntu-gnome3-zesty.list

     1 deb http://ppa.launchpad.net/webupd8team/gnome3/ubuntu zesty main
     2 # deb-src http://ppa.launchpad.net/webupd8team/gnome3/ubuntu zesty main
     3 # deb-src http://ppa.launchpad.net/webupd8team/gnome3/ubuntu zesty main

/etc/apt/sources.list.d/numix-ubuntu-ppa-zesty.list

     1 deb http://ppa.launchpad.net/numix/ppa/ubuntu zesty main
     2 # deb-src http://ppa.launchpad.net/numix/ppa/ubuntu zesty main

/etc/apt/sources.list.d/gnome3-team-ubuntu-gnome3-zesty.list

     1 deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu zesty main
     2 # deb-src http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu zesty main

/etc/apt/sources.list.d/tualatrix-ppa-zesty.list

     1 # deb-src http://ppa.launchpad.net/tualatrix/ppaubuntu zesty main
     2

/etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-zesty.list

     1 deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu zesty main
     2 # deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu zesty main

/etc/apt/sources.list.d/antonio_chiurazzi-ubuntu-ppa-zesty.list

     1 # deb http://ppa.launchpad.net/antonio.chiurazzi/ppa/ubuntu zesty main
     2 # deb-src http://ppa.launchpad.net/antonio.chiurazzi/ppa/ubuntu zesty main

/etc/apt/sources.list.d/gijzelaar-ubuntu-opencv2-zesty.list

     1 # deb http://ppa.launchpad.net/gijzelaar/opencv2/ubuntu zesty main
     2 # deb-src http://ppa.launchpad.net/gijzelaar/opencv2/ubuntu zesty main

/etc/apt/sources.list.d/arc-theme.list

     1 deb http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04/ /
     2 deb http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04/ /

/etc/apt/sources.list.d/vertex-theme.list

     1 deb http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04/ /

/etc/apt/sources.list.d/kubuntu-ppa-ubuntu-ppa-zesty.list

     1 # deb http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu zesty main
     2 # deb-src http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu zesty main

/etc/apt/sources.list

     1 ###### Ubuntu Main Repos
     2 # deb http://archive.ubuntu.com/ubuntu/ zesty main restricted universe multiverse
     3 # deb-src http://archive.ubuntu.com/ubuntu/ zesty main restricted universe multiverse
     4
     5 ###### Ubuntu Update Repos
     6 deb http://archive.ubuntu.com/ubuntu/ zesty-security main restricted universe multiverse
     7 deb http://archive.ubuntu.com/ubuntu/ zesty-updates main restricted universe multiverse
     8 # deb http://archive.ubuntu.com/ubuntu/ zesty-proposed main restricted universe multiverse
     9 deb http://archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse
    10 deb-src http://archive.ubuntu.com/ubuntu/ zesty-security main restricted universe multiverse
    11 deb-src http://archive.ubuntu.com/ubuntu/ zesty-updates main restricted universe multiverse
    12 deb-src http://archive.ubuntu.com/ubuntu/ zesty-proposed main restricted universe multiverse
    13 deb-src http://archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse
    14
    15 ###### Ubuntu Partner Repo
    16 deb http://archive.canonical.com/ubuntu zesty partner
    17 deb-src http://archive.canonical.com/ubuntu zesty partner
    18
    19 ###### Ubuntu Extras Repo
    20 deb http://extras.ubuntu.com/ubuntu zesty main
    21 deb-src http://extras.ubuntu.com/ubuntu zesty main
    22
    23 deb http://archive.ubuntu.com/ubuntu zesty main universe restricted multiverse
    24 deb http://security.ubuntu.com/ubuntu/ zesty-security universe main restricted multiverse
    25 deb http://archive.ubuntu.com/ubuntu zesty-updates universe main restricted multiverse
ironmatt@Ironmatt-5762:~$

Revision history for this message
Matt Watson (ironmatt613) said :
#14

Thanks Manfred Hampl, that solved my question.