16.10, Could not update, open terminal, software center

Asked by Eric

ericg@mainews:~$ ubuntu-support-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 5, in <module>
    import apt
ModuleNotFoundError: No module named 'apt'
ericg@mainews:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
ericg@mainews:~$ dpkg --print-foreign-architectures
i386
ericg@mainews:~$ sudo grep -R roxy /etc/apt/*
[sudo] password for ericg:
ericg@mainews:~$ grep roxy /etc/environment
ericg@mainews:~$ echo $http_proxy

ericg@mainews:~$ echo $ftp_proxy

ericg@mainews:~$ grep roxy /etc/bash.bashrc
ericg@mainews:~$ grep roxy ~/.bashrc
ericg@mainews:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
ericg@mainews:~$ sudo fuser -vvv /var/lib/dpkg/lock
ericg@mainews:~$ sudo fuser -vvv /var/cache/apt/archives/lock
ericg@mainews:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.10
DISTRIB_CODENAME=yakkety
DISTRIB_DESCRIPTION="Ubuntu 16.10"
ericg@mainews:~$ uname -a
Linux mainews 4.8.0-40-generic #43-Ubuntu SMP Thu Feb 23 16:01:19 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
ericg@mainews:~$ sudo rm /var/lib/apt/lists/lock
ericg@mainews:~$ sudo rm /var/cache/apt/archives/lock
ericg@mainews:~$ sudo rm /var/lib/dpkg/lock
ericg@mainews:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
ericg@mainews:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
ericg@mainews:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
ericg@mainews:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
ericg@mainews:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
cp: cannot stat '/var/lib/dpkg/available-old': No such file or directory
ericg@mainews:~$ sudo rm -rf /var/lib/dpkg/updates/*
ericg@mainews:~$ sudo rm -rf /var/lib/apt/lists
ericg@mainews:~$ sudo rm /var/cache/apt/*.bin
ericg@mainews:~$ sudo mkdir /var/lib/apt/lists
ericg@mainews:~$ sudo mkdir /var/lib/apt/lists/partial
ericg@mainews:~$ LANG=C;sudo apt-get clean
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
ericg@mainews:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
ericg@mainews:~$ sudo dpkg --configure -a
Setting up libboost-mpi-python1.61.0 (1.61.0+dfsg-2.1) ...
Setting up libboost-mpi1.61-dev (1.61.0+dfsg-2.1) ...
Setting up libboost-mpi-python1.61-dev (1.61.0+dfsg-2.1) ...
Processing triggers for libc-bin (2.24-3ubuntu2) ...
Setting up libboost-mpi-python-dev (1.61.0.2) ...
Setting up libboost-mpi-dev (1.61.0.2) ...
Setting up libboost-all-dev (1.61.0.2) ...
ericg@mainews:~$ sudo dpkg --clear-avail
ericg@mainews:~$ 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.
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
ericg@mainews:~$ 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.
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
ericg@mainews:~$ 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.
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
ericg@mainews:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Get:1 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease [102 kB]
Ign:2 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety InRelease
Get:3 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102 kB]
Get:4 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu yakkety InRelease [17.6 kB]
Get:5 http://security.ubuntu.com/ubuntu yakkety-security/restricted i386 Packages [5,196 B]
Ign:6 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety Release
Get:7 http://archive.ubuntu.com/ubuntu yakkety-proposed InRelease [102 kB]
Get:8 http://security.ubuntu.com/ubuntu yakkety-security/restricted amd64 Packages [5,180 B]
Get:9 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu yakkety/main i386 Packages [900 B]
Get:10 http://security.ubuntu.com/ubuntu yakkety-security/restricted Translation-en [1,880 B]
Get:11 http://archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
Get:12 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu yakkety/main amd64 Packages [896 B]
Get:13 http://security.ubuntu.com/ubuntu yakkety-security/restricted amd64 DEP-11 Metadata [186 B]
Get:14 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu yakkety/main Translation-en [460 B]
Get:15 http://security.ubuntu.com/ubuntu yakkety-security/multiverse amd64 Packages [2,844 B]
Ign:16 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main i386 Packages
Get:17 http://security.ubuntu.com/ubuntu yakkety-security/multiverse i386 Packages [3,008 B]
Get:18 http://security.ubuntu.com/ubuntu yakkety-security/multiverse Translation-en [1,268 B]
Ign:19 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 Packages
Get:20 http://archive.ubuntu.com/ubuntu yakkety-updates/restricted amd64 Packages [5,180 B]
Get:21 http://archive.ubuntu.com/ubuntu yakkety-updates/restricted i386 Packages [5,196 B]
Ign:22 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all Packages
Get:23 http://security.ubuntu.com/ubuntu yakkety-security/multiverse amd64 DEP-11 Metadata [212 B]
Get:24 http://archive.ubuntu.com/ubuntu yakkety-updates/restricted Translation-en [1,880 B]
Ign:25 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main Translation-en
Get:26 http://security.ubuntu.com/ubuntu yakkety-security/multiverse DEP-11 64x64 Icons [29 B]
Get:27 http://archive.ubuntu.com/ubuntu yakkety-updates/restricted amd64 DEP-11 Metadata [185 B]
Get:28 http://security.ubuntu.com/ubuntu yakkety-security/universe i386 Packages [39.9 kB]
Ign:29 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all DEP-11 Metadata
Get:30 http://archive.ubuntu.com/ubuntu yakkety-updates/multiverse i386 Packages [4,488 B]
Get:31 http://security.ubuntu.com/ubuntu yakkety-security/universe amd64 Packages [42.1 kB]
Ign:32 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 DEP-11 Metadata
Get:33 http://archive.ubuntu.com/ubuntu yakkety-updates/multiverse amd64 Packages [4,332 B]
Get:34 http://security.ubuntu.com/ubuntu yakkety-security/universe Translation-en [26.4 kB]
Get:35 http://archive.ubuntu.com/ubuntu yakkety-updates/multiverse Translation-en [2,136 B]
Ign:36 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main DEP-11 64x64 Icons
Get:37 http://archive.ubuntu.com/ubuntu yakkety-updates/multiverse amd64 DEP-11 Metadata [212 B]
Ign:16 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main i386 Packages
Get:38 http://archive.ubuntu.com/ubuntu yakkety-updates/multiverse DEP-11 64x64 Icons [29 B]
Get:39 http://security.ubuntu.com/ubuntu yakkety-security/universe amd64 DEP-11 Metadata [9,736 B]
Ign:19 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 Packages
Get:40 http://archive.ubuntu.com/ubuntu yakkety-updates/universe amd64 Packages [110 kB]
Get:41 http://security.ubuntu.com/ubuntu yakkety-security/universe DEP-11 64x64 Icons [6,224 B]
Ign:22 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all Packages
Get:42 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 Packages [101 kB]
Get:43 http://archive.ubuntu.com/ubuntu yakkety-updates/universe i386 Packages [107 kB]
Ign:25 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main Translation-en
Get:44 http://security.ubuntu.com/ubuntu yakkety-security/main i386 Packages [98.9 kB]
Ign:29 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all DEP-11 Metadata
Get:45 http://archive.ubuntu.com/ubuntu yakkety-updates/universe Translation-en [59.3 kB]
Get:46 http://security.ubuntu.com/ubuntu yakkety-security/main Translation-en [45.0 kB]
Ign:32 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 DEP-11 Metadata
Get:47 http://archive.ubuntu.com/ubuntu yakkety-updates/universe amd64 DEP-11 Metadata [102 kB]
Get:48 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 DEP-11 Metadata [8,272 B]
Ign:36 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main DEP-11 64x64 Icons
Get:49 http://security.ubuntu.com/ubuntu yakkety-security/main DEP-11 64x64 Icons [10.0 kB]
Get:50 http://archive.ubuntu.com/ubuntu yakkety-updates/universe DEP-11 64x64 Icons [126 kB]
Ign:16 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main i386 Packages
Ign:19 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 Packages
Get:51 http://archive.ubuntu.com/ubuntu yakkety-updates/main i386 Packages [189 kB]
Ign:22 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all Packages
Ign:25 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main Translation-en
Get:52 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64 Packages [192 kB]
Ign:29 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all DEP-11 Metadata
Ign:32 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 DEP-11 Metadata
Get:53 http://archive.ubuntu.com/ubuntu yakkety-updates/main Translation-en [84.7 kB]
Ign:36 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main DEP-11 64x64 Icons
Ign:16 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main i386 Packages
Get:54 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64 DEP-11 Metadata [147 kB]
Ign:19 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 Packages
Ign:22 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all Packages
Get:55 http://archive.ubuntu.com/ubuntu yakkety-updates/main DEP-11 64x64 Icons [85.8 kB]
Ign:25 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main Translation-en
Ign:29 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all DEP-11 Metadata
Get:56 http://archive.ubuntu.com/ubuntu yakkety-proposed/restricted i386 Packages [760 B]
Ign:32 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 DEP-11 Metadata
Get:57 http://archive.ubuntu.com/ubuntu yakkety-proposed/restricted amd64 Packages [760 B]
Get:58 http://archive.ubuntu.com/ubuntu yakkety-proposed/restricted Translation-en [304 B]
Ign:36 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main DEP-11 64x64 Icons
Get:59 http://archive.ubuntu.com/ubuntu yakkety-proposed/restricted amd64 DEP-11 Metadata [201 B]
Ign:16 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main i386 Packages
Get:60 http://archive.ubuntu.com/ubuntu yakkety-proposed/multiverse amd64 DEP-11 Metadata [212 B]
Ign:19 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 Packages
Get:61 http://archive.ubuntu.com/ubuntu yakkety-proposed/multiverse DEP-11 64x64 Icons [29 B]
Ign:22 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all Packages
Get:62 http://archive.ubuntu.com/ubuntu yakkety-proposed/universe i386 Packages [29.8 kB]
Get:63 http://archive.ubuntu.com/ubuntu yakkety-proposed/universe amd64 Packages [29.1 kB]
Ign:25 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main Translation-en
Get:64 http://archive.ubuntu.com/ubuntu yakkety-proposed/universe Translation-en [15.7 kB]
Ign:29 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all DEP-11 Metadata
Get:65 http://archive.ubuntu.com/ubuntu yakkety-proposed/universe amd64 DEP-11 Metadata [6,752 B]
Ign:32 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 DEP-11 Metadata
Get:66 http://archive.ubuntu.com/ubuntu yakkety-proposed/universe DEP-11 64x64 Icons [19.6 kB]
Ign:36 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main DEP-11 64x64 Icons
Get:67 http://archive.ubuntu.com/ubuntu yakkety-proposed/main amd64 Packages [46.9 kB]
Get:68 http://archive.ubuntu.com/ubuntu yakkety-proposed/main i386 Packages [46.0 kB]
Err:16 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main i386 Packages
  404 Not Found
Get:69 http://archive.ubuntu.com/ubuntu yakkety-proposed/main Translation-en [24.1 kB]
Ign:19 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 Packages
Get:70 http://archive.ubuntu.com/ubuntu yakkety-proposed/main amd64 DEP-11 Metadata [97.4 kB]
Ign:22 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all Packages
Get:71 http://archive.ubuntu.com/ubuntu yakkety-proposed/main DEP-11 64x64 Icons [72.2 kB]
Ign:25 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main Translation-en
Ign:29 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all DEP-11 Metadata
Get:72 http://archive.ubuntu.com/ubuntu yakkety/multiverse Sources [181 kB]
Ign:32 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 DEP-11 Metadata
Ign:36 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main DEP-11 64x64 Icons
Get:73 http://archive.ubuntu.com/ubuntu yakkety/main Sources [903 kB]
Ign:74 http://archive.ubuntu.com/ubuntu yakkety/restricted Sources
Get:75 http://archive.ubuntu.com/ubuntu yakkety/universe Sources [8,044 kB]
Get:76 http://archive.ubuntu.com/ubuntu yakkety/main i386 Packages [1,218 kB]
Get:77 http://archive.ubuntu.com/ubuntu yakkety/main amd64 Packages [1,222 kB]
Get:78 http://archive.ubuntu.com/ubuntu yakkety/main Translation-en [582 kB]
Get:79 http://archive.ubuntu.com/ubuntu yakkety/main amd64 DEP-11 Metadata [654 kB]
Get:80 http://archive.ubuntu.com/ubuntu yakkety/main DEP-11 64x64 Icons [368 kB]
Get:81 http://archive.ubuntu.com/ubuntu yakkety/universe i386 Packages [7,712 kB]
Ign:82 http://archive.ubuntu.com/ubuntu yakkety/universe amd64 Packages
Get:83 http://archive.ubuntu.com/ubuntu yakkety/universe Translation-en [4,484 kB]
Get:84 http://archive.ubuntu.com/ubuntu yakkety/universe amd64 DEP-11 Metadata [2,669 kB]
Get:85 http://archive.ubuntu.com/ubuntu yakkety/universe DEP-11 64x64 Icons [7,194 kB]
Get:86 http://archive.ubuntu.com/ubuntu yakkety/restricted amd64 Packages [8,416 B]
Get:87 http://archive.ubuntu.com/ubuntu yakkety/restricted i386 Packages [8,724 B]
Get:88 http://archive.ubuntu.com/ubuntu yakkety/restricted Translation-en [2,996 B]
Get:89 http://archive.ubuntu.com/ubuntu yakkety/restricted amd64 DEP-11 Metadata [187 B]
Get:90 http://archive.ubuntu.com/ubuntu yakkety/multiverse i386 Packages [141 kB]
Get:91 http://archive.ubuntu.com/ubuntu yakkety/multiverse amd64 Packages [146 kB]
Get:92 http://archive.ubuntu.com/ubuntu yakkety/multiverse Translation-en [108 kB]
Get:93 http://archive.ubuntu.com/ubuntu yakkety/multiverse amd64 DEP-11 Metadata [47.6 kB]
Get:94 http://archive.ubuntu.com/ubuntu yakkety/multiverse DEP-11 64x64 Icons [246 kB]
Get:74 http://archive.ubuntu.com/ubuntu yakkety/restricted Sources [5,376 B]
Get:82 http://archive.ubuntu.com/ubuntu yakkety/universe amd64 Packages [7,729 kB]
Fetched 46.3 MB in 3min 52s (199 kB/s)
Reading package lists... Done
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
W: The repository 'http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety Release' does not have a Release file.
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.
E: Failed to fetch http://ppa.launchpad.net/gearman-developers/ppa/ubuntu/dists/yakkety/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
ericg@mainews:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Hit:1 http://security.ubuntu.com/ubuntu yakkety-security InRelease
Ign:2 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety InRelease
Hit:3 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease
Hit:4 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu yakkety InRelease
Ign:5 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety Release
Get:6 http://archive.ubuntu.com/ubuntu yakkety-proposed InRelease [102 kB]
Ign:7 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main i386 Packages
Ign:8 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 Packages
Ign:9 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all Packages
Ign:10 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main Translation-en
Get:11 http://archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
Ign:12 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 DEP-11 Metadata
Ign:13 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all DEP-11 Metadata
Ign:14 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main DEP-11 64x64 Icons
Ign:7 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main i386 Packages
Ign:8 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 Packages
Ign:9 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all Packages
Ign:10 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main Translation-en
Ign:12 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 DEP-11 Metadata
Ign:13 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all DEP-11 Metadata
Ign:14 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main DEP-11 64x64 Icons
Ign:7 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main i386 Packages
Ign:8 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 Packages
Ign:9 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all Packages
Ign:10 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main Translation-en
Ign:12 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 DEP-11 Metadata
Ign:13 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all DEP-11 Metadata
Ign:14 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main DEP-11 64x64 Icons
Ign:7 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main i386 Packages
Ign:8 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 Packages
Ign:9 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all Packages
Ign:10 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main Translation-en
Ign:12 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 DEP-11 Metadata
Ign:13 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all DEP-11 Metadata
Ign:14 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main DEP-11 64x64 Icons
Ign:7 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main i386 Packages
Ign:8 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 Packages
Ign:9 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all Packages
Ign:10 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main Translation-en
Ign:12 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 DEP-11 Metadata
Ign:13 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all DEP-11 Metadata
Ign:14 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main DEP-11 64x64 Icons
Err:7 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main i386 Packages
  404 Not Found
Ign:8 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 Packages
Ign:9 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all Packages
Ign:10 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main Translation-en
Ign:12 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main amd64 DEP-11 Metadata
Ign:13 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main all DEP-11 Metadata
Ign:14 http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety/main DEP-11 64x64 Icons
Fetched 349 kB in 17s (20.2 kB/s)
Reading package lists... Done
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
W: The repository 'http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety Release' does not have a Release file.
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.
E: Failed to fetch http://ppa.launchpad.net/gearman-developers/ppa/ubuntu/dists/yakkety/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
ericg@mainews:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list.d/gearman-developers-ubuntu-ppa-yakkety.list

     1 deb http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety main
     2 # deb-src http://ppa.launchpad.net/gearman-developers/ppa/ubuntu yakkety main

/etc/apt/sources.list.d/maarten-baert-ubuntu-simplescreenrecorder-yakkety.list

     1 deb http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu yakkety main
     2 # deb-src http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu yakkety main

/etc/apt/sources.list

     1 # deb http://archive.ubuntu.com/ubuntu yakkety main universe restricted multiverse
     2 deb http://security.ubuntu.com/ubuntu/ yakkety-security restricted multiverse universe main
     3 deb http://archive.ubuntu.com/ubuntu yakkety-updates restricted multiverse universe main
     4 deb http://archive.ubuntu.com/ubuntu yakkety-proposed restricted multiverse universe main
     5 deb-src http://archive.ubuntu.com/ubuntu yakkety main universe restricted multiverse #Added by software-properties
     6 deb http://archive.ubuntu.com/ubuntu yakkety main universe restricted multiverse
ericg@mainews:~$ sudo dpkg --audit
ericg@mainews:~$

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Eric (eric-grimaldi) said :
#1

If that can help, just found out:

ericg@mainews:~$ sudo update-manager -d
Traceback (most recent call last):
  File "/usr/bin/update-manager", line 28, in <module>
    import gi
ModuleNotFoundError: No module named 'gi'

And here, cannot remove these:

N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
W: No Hash entry in Release file /var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release
E: Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages File not found - /var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages (2: No such file or directory)
E: Some index files failed to download. They have been ignored, or old ones used instead.

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

I see two issues, both of them just minor:

1. "N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension"
What is the output of
cat /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist
ls -l /etc/apt/apt.conf.d/

2. "E: Failed to fetch http://ppa.launchpad.net/gearman-developers/ppa/ubuntu/dists/yakkety/main/binary-i386/Packages 404 Not Found"
The gearman-developers PPA does not provide software for yakkety and has to be removed from the list of repositories.
sudo rm /etc/apt/sources.list.d/gearman-developers-ubuntu-ppa-yakkety.list

Revision history for this message
Eric (eric-grimaldi) said :
#3

Hello and thanks Manfred,

1. "N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension"

Here are the outputs:

cat /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist:
cat: /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist: No such file or directory

 ls -l /etc/apt/apt.conf.d/
total 64
-rw-rw-r-- 1 root root 49 Feb 23 17:25 00aptitude
-rw-rw-r-- 1 root root 40 Feb 23 17:24 00trustcdrom
-rw-r--r-- 1 root root 769 Oct 5 00:43 01autoremove
-r--r--r-- 1 root root 3160 Feb 25 10:08 01autoremove-kernels
-rw-r--r-- 1 root root 42 Oct 5 00:43 01-vendor-ubuntu
-rw-r--r-- 1 root root 168 Feb 23 18:40 10periodic
-rw-r--r-- 1 root root 108 Jul 13 2013 15update-stamp
-rw-r--r-- 1 root root 85 Jul 13 2013 20archive
-rw-r--r-- 1 root root 168 Feb 23 18:40 20auto-upgrades
-rw-r--r-- 1 root root 243 Dec 16 2009 20dbus
-rw-r--r-- 1 root root 202 Aug 24 2016 20listchanges
-rw-r--r-- 1 root root 1040 May 20 2016 20packagekit
-rw-r--r-- 1 root root 1438 Sep 16 18:16 50appstream
-rw-r--r-- 1 root root 2554 Feb 23 19:01 50unattended-upgrades
-rw-r--r-- 1 root root 182 Apr 27 2016 70debconf
-rw-r--r-- 1 root root 305 Jul 12 2016 99update-notifier

2. "E: Failed to fetch http://ppa.launchpad.net/gearman-developers/ppa/ubuntu/dists/yakkety/main/binary-i386/Packages 404 Not Found"
The gearman-developers PPA does not provide software for yakkety and has to be removed from the list of repositories.
sudo rm /etc/apt/sources.list.d/gearman-developers-ubuntu-ppa-yakkety.list

This one is done now thanks, but cannot get read of these, even with rm -f

W: No Hash entry in Release file /var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release
E: Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages File not found - /var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages (2: No such file or directory)
E: Some index files failed to download. They have been ignored, or old ones used instead.

Thanks.

Revision history for this message
Eric (eric-grimaldi) said :
#4

Concerning the APT bug I DLd the 1.3.3 from Michael Vogt....
It's ok, but can't update...

On 27 February 2017 at 16:34, Eric <email address hidden>
wrote:

> Your question #488329 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>
> Status: Answered => Open
>
> You are still having a problem:
> Hello and thanks Manfred,
>
> 1. "N: Ignoring file '20auto-upgrades.ucf-dist' in directory
> '/etc/apt/apt.conf.d/' as it has an invalid filename extension"
>
> Here are the outputs:
>
> cat /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist:
> cat: /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist: No such file or
> directory
>
> ls -l /etc/apt/apt.conf.d/
> total 64
> -rw-rw-r-- 1 root root 49 Feb 23 17:25 00aptitude
> -rw-rw-r-- 1 root root 40 Feb 23 17:24 00trustcdrom
> -rw-r--r-- 1 root root 769 Oct 5 00:43 01autoremove
> -r--r--r-- 1 root root 3160 Feb 25 10:08 01autoremove-kernels
> -rw-r--r-- 1 root root 42 Oct 5 00:43 01-vendor-ubuntu
> -rw-r--r-- 1 root root 168 Feb 23 18:40 10periodic
> -rw-r--r-- 1 root root 108 Jul 13 2013 15update-stamp
> -rw-r--r-- 1 root root 85 Jul 13 2013 20archive
> -rw-r--r-- 1 root root 168 Feb 23 18:40 20auto-upgrades
> -rw-r--r-- 1 root root 243 Dec 16 2009 20dbus
> -rw-r--r-- 1 root root 202 Aug 24 2016 20listchanges
> -rw-r--r-- 1 root root 1040 May 20 2016 20packagekit
> -rw-r--r-- 1 root root 1438 Sep 16 18:16 50appstream
> -rw-r--r-- 1 root root 2554 Feb 23 19:01 50unattended-upgrades
> -rw-r--r-- 1 root root 182 Apr 27 2016 70debconf
> -rw-r--r-- 1 root root 305 Jul 12 2016 99update-notifier
>
> 2. "E: Failed to fetch http://ppa.launchpad.net/
> gearman-developers/ppa/ubuntu/dists/yakkety/main/binary-i386/Packages 404
> Not Found"
> The gearman-developers PPA does not provide software for yakkety and has
> to be removed from the list of repositories.
> sudo rm /etc/apt/sources.list.d/gearman-developers-ubuntu-ppa-yakkety.list
>
> This one is done now thanks, but cannot get read of these, even with rm
> -f
>
> W: No Hash entry in Release file /var/lib/apt/lists/partial/_
> var_cache_apt-build_repository_dists_apt-build_Release
> W: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/_
> var_cache_apt-build_repository_dists_apt-build_Release
> E: Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
> File not found - /var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
> (2: No such file or directory)
> E: Some index files failed to download. They have been ignored, or old
> ones used instead.
>
> Thanks.
>
> --
> You received this question notification because you asked the question.
>

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

Which version of apt do you currently have?
Which version "1.3.3 from Michael Vogt"?
You should have 1.3.4 from the yakkety-updates repository.

What is the output of
apt-cache policy apt libapt-pkg5.0

Where does this "W: No Hash entry in Release file /var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release" message come from? It is not in the output of the troubleshooting procedure. What command did you execute to get it?

What is the output of
ls -l /var/lib/apt/lists/partial/

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

what is the output of:

grep -R gear /etc/apt/*

Thanks

Revision history for this message
Eric (eric-grimaldi) said :
#7

Hello and thanks again,

Here is the output of:
apt-cache policy apt libapt-pkg5.0:

apt:
  Installed: 1.3.4
  Candidate: 1.3.4
  Version table:
 *** 1.3.4 500
        500 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1.3.3 500
        500 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 Packages
     1.3.1 500
        500 http://archive.ubuntu.com/ubuntu yakkety/main amd64 Packages
libapt-pkg5.0:
  Installed: 1.3.4
  Candidate: 1.3.4
  Version table:
 *** 1.3.4 500
        500 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1.3.3 500
        500 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 Packages
     1.3.1 500
        500 http://archive.ubuntu.com/ubuntu yakkety/main amd64 Packages

and the output of:
 ls -l /var/lib/apt/lists/partial/

ls: cannot open directory '/var/lib/apt/lists/partial/': Permission denied

I don't know where that comes from. I've been installing a Bind9 and a DHCP and DDNS Kea server and I had a bit of fuss with Boost... and my Ubuntu install dates from not even a week... Actually I had an old dvd with Ubuntu 16.04 on it and I could not install it neither on CPU and laptop, same with an old version of MInt

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

Ok, then what is the output of

sudo ls -la /var/lib/apt/lists/partial/
sudo apt-get update

Revision history for this message
Eric (eric-grimaldi) said :
#9

Hey Andrew, and thanks

The output of:

grep -R gear /etc/apt/*

No output whatsoever.

Revision history for this message
Eric (eric-grimaldi) said :
#10

Manfred,

Here output of:

sudo ls -la /var/lib/apt/lists/partial/

total 40
drwx------ 2 _apt root 20480 Feb 27 16:34 .
drwxr-xr-x 3 root root 12288 Feb 27 16:03 ..
lrwxrwxrwx 1 root root 77 Feb 27 16:34 _var_cache_apt-build_repository_dists_apt-build_main_binary-amd64_Packages.gz -> /var/cache/apt-build/repository/dists/apt-build/main/binary-amd64/Packages.gz
-rw-r--r-- 1 root root 107 Feb 27 14:39 _var_cache_apt-build_repository_dists_apt-build_Release

Output of:

sudo apt-get update:

Get:1 file:/var/cache/apt-build/repository apt-build InRelease
Ign:1 file:/var/cache/apt-build/repository apt-build InRelease
Get:2 file:/var/cache/apt-build/repository apt-build Release [107 B]
Get:2 file:/var/cache/apt-build/repository apt-build Release [107 B]
Get:3 file:/var/cache/apt-build/repository apt-build Release.gpg
Ign:3 file:/var/cache/apt-build/repository apt-build Release.gpg
Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages [20 B]
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Err:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
  File not found - /var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages (2: No such file or directory)
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:12 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102 kB]
Get:13 http://archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
Get:14 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease [102 kB]
Get:15 http://archive.ubuntu.com/ubuntu yakkety-proposed InRelease [102 kB]
Fetched 553 kB in 4s (115 kB/s)
Reading package lists... Done
W: No Hash entry in Release file /var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release
E: Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages File not found - /var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages (2: No such file or directory)
E: Some index files failed to download. They have been ignored, or old ones used instead.

Revision history for this message
Eric (eric-grimaldi) said :
#11

I tried to check the repos by adding the repos one by one, no result

On 27 February 2017 at 17:32, Eric <email address hidden>
wrote:

> Your question #488329 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>
> Status: Needs information => Open
>
> You gave more information on the question:
> Manfred,
>
> Here output of:
>
> sudo ls -la /var/lib/apt/lists/partial/
>
> total 40
> drwx------ 2 _apt root 20480 Feb 27 16:34 .
> drwxr-xr-x 3 root root 12288 Feb 27 16:03 ..
> lrwxrwxrwx 1 root root 77 Feb 27 16:34 _var_cache_apt-build_
> repository_dists_apt-build_main_binary-amd64_Packages.gz ->
> /var/cache/apt-build/repository/dists/apt-build/
> main/binary-amd64/Packages.gz
> -rw-r--r-- 1 root root 107 Feb 27 14:39 _var_cache_apt-build_
> repository_dists_apt-build_Release
>
> Output of:
>
> sudo apt-get update:
>
> Get:1 file:/var/cache/apt-build/repository apt-build InRelease
> Ign:1 file:/var/cache/apt-build/repository apt-build InRelease
> Get:2 file:/var/cache/apt-build/repository apt-build Release [107 B]
> Get:2 file:/var/cache/apt-build/repository apt-build Release [107 B]
> Get:3 file:/var/cache/apt-build/repository apt-build Release.gpg
> Ign:3 file:/var/cache/apt-build/repository apt-build Release.gpg
> Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
> Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
> Get:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
> Ign:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
> Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
> Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
> Get:7 file:/var/cache/apt-build/repository apt-build/main
> Translation-en_US
> Ign:7 file:/var/cache/apt-build/repository apt-build/main
> Translation-en_US
> Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
> Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
> Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
> Metadata
> Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
> Metadata
> Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
> Metadata
> Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
> Metadata
> Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
> Icons
> Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
> Icons
> Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
> Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
> Get:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
> Ign:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
> Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
> Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
> Get:7 file:/var/cache/apt-build/repository apt-build/main
> Translation-en_US
> Ign:7 file:/var/cache/apt-build/repository apt-build/main
> Translation-en_US
> Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
> Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
> Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
> Metadata
> Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
> Metadata
> Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
> Metadata
> Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
> Metadata
> Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
> Icons
> Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
> Icons
> Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
> Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
> Get:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
> Ign:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
> Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
> Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
> Get:7 file:/var/cache/apt-build/repository apt-build/main
> Translation-en_US
> Ign:7 file:/var/cache/apt-build/repository apt-build/main
> Translation-en_US
> Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
> Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
> Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
> Metadata
> Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
> Metadata
> Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
> Metadata
> Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
> Metadata
> Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
> Icons
> Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
> Icons
> Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
> Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
> Get:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
> [20 B]
> Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
> Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
> Get:7 file:/var/cache/apt-build/repository apt-build/main
> Translation-en_US
> Ign:7 file:/var/cache/apt-build/repository apt-build/main
> Translation-en_US
> Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
> Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
> Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
> Metadata
> Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
> Metadata
> Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
> Metadata
> Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
> Metadata
> Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
> Icons
> Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
> Icons
> Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
> Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
> Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
> Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
> Get:7 file:/var/cache/apt-build/repository apt-build/main
> Translation-en_US
> Ign:7 file:/var/cache/apt-build/repository apt-build/main
> Translation-en_US
> Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
> Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
> Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
> Metadata
> Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
> Metadata
> Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
> Metadata
> Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
> Metadata
> Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
> Icons
> Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
> Icons
> Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
> Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
> Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
> Err:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
> File not found - /var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
> (2: No such file or directory)
> Get:7 file:/var/cache/apt-build/repository apt-build/main
> Translation-en_US
> Ign:7 file:/var/cache/apt-build/repository apt-build/main
> Translation-en_US
> Get:12 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102
> kB]
> Get:13 http://archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
> Get:14 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease [102 kB]
> Get:15 http://archive.ubuntu.com/ubuntu yakkety-proposed InRelease [102
> kB]
> Fetched 553 kB in 4s (115 kB/s)
> Reading package lists... Done
> W: No Hash entry in Release file /var/lib/apt/lists/partial/_
> var_cache_apt-build_repository_dists_apt-build_Release
> W: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/_
> var_cache_apt-build_repository_dists_apt-build_Release
> E: Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
> File not found - /var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
> (2: No such file or directory)
> E: Some index files failed to download. They have been ignored, or old
> ones used instead.
>
> --
> You received this question notification because you asked the question.
>

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

Try
sudo rm -v /var/lib/apt/lists/partial/*

Have you (after executing the troubleshooting procedure) installed the apt-build package? If yes, which what intention?

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

Revision history for this message
Eric (eric-grimaldi) said :
#13

Sorry, I was away for 45 mns with my son.

Yes I dld apt-build, with no real intention at the moment, but might be
useful now or then.

Output of:

sudo rm -v /var/lib/apt/lists/partial/*

[sudo] password for ericg:
rm: cannot remove '/var/lib/apt/lists/partial/*': No such file or directory

Output of:

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

at -n "$1"' _ '{}' \;

/etc/apt/sources.list.d/gearman-developers-ubuntu-ppa-yakkety.list

/etc/apt/sources.list.d/maarten-baert-ubuntu-simplescreenrecorder-yakkety.list

     1 #deb
http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu yakkety
main
     2 # deb-src
http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu yakkety
main

/etc/apt/sources.list.d/apt-build.list

     1 deb [trusted=yes] file:/var/cache/apt-build/repository apt-build
main

/etc/apt/sources.list

     1 deb http://archive.ubuntu.com/ubuntu yakkety main universe
restricted multiverse
     2 deb http://security.ubuntu.com/ubuntu/ yakkety-security
restricted multiverse universe main
     3 deb http://archive.ubuntu.com/ubuntu yakkety-updates restricted
multiverse universe main
     4 deb http://archive.ubuntu.com/ubuntu yakkety-proposed restricted
multiverse universe main
     5 deb-src http://archive.ubuntu.com/ubuntu yakkety main universe
restricted multiverse #Added by software-properties
     6 #deb http://archive.ubuntu.com/ubuntu yakkety main universe
restricted multiverse

On 27 February 2017 at 17:43, Manfred Hampl <
<email address hidden>> wrote:

> Your question #488329 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Try
> sudo rm -v /var/lib/apt/lists/partial/*
>
> Have you (after executing the troubleshooting procedure) installed the
> apt-build package? If yes, which what intention?
>
> What is now the output of
> find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"'
> _ '{}' \;
>
> --
> 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/488329
>
> You received this question notification because you asked the question.
>

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

I see contradictory information in your output.

In comment #10 the command "sudo ls -la /var/lib/apt/lists/partial/" lists a file and a link in that directory, but comment #13 now gives "No such file or directory" when trying to remove these files.

And adding additional software (apt-build) during the discussion to solve your problem has also contributed in a negative way, because it created additional errors.

Revision history for this message
Eric (eric-grimaldi) said :
#15

Sorry was away once more... About contradictory output I simply don't know.
I tried several times to force removal of the files then:
clean
autoclean
autoremove and
sudo
apt update..
It comes back.
About downloading apt-build, my mistake.

On 27 February 2017 at 19:47, Manfred Hampl <
<email address hidden>> wrote:

> Your question #488329 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> I see contradictory information in your output.
>
> In comment #10 the command "sudo ls -la /var/lib/apt/lists/partial/"
> lists a file and a link in that directory, but comment #13 now gives "No
> such file or directory" when trying to remove these files.
>
> And adding additional software (apt-build) during the discussion to
> solve your problem has also contributed in a negative way, because it
> created additional errors.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/
> 488329/+confirm?answer_id=13
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>
> You received this question notification because you asked the question.
>

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

What is now the output of

sudo apt-get update

?

Revision history for this message
Eric (eric-grimaldi) said :
#17

I cannot update apart from the terminal that I can only open with a right click on the desktop.
I have this no trespassing next to the network connection, and can't open the updater.
I think it's a problem with the dates updates, they are really weird and iI can't open the locale manager neither.
I did a checkup with Ubuntu earlier today, hope to have news soon.

Revision history for this message
Eric (eric-grimaldi) said :
#18

Output of:

sudo apt-get update is the same

[sudo] password for ericg:
Get:1 file:/var/cache/apt-build/repository apt-build InRelease
Ign:1 file:/var/cache/apt-build/repository apt-build InRelease
Get:2 file:/var/cache/apt-build/repository apt-build Release [107 B]
Get:2 file:/var/cache/apt-build/repository apt-build Release [107 B]
Get:3 file:/var/cache/apt-build/repository apt-build Release.gpg
Ign:3 file:/var/cache/apt-build/repository apt-build Release.gpg
Get:4 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
[20 B]
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Err:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
  File not found -
/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
(2: No such file or directory)
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:12 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102 kB]
Get:13 http://archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
Get:14 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease [102 kB]
Get:15 http://archive.ubuntu.com/ubuntu yakkety-proposed InRelease [102 kB]
Fetched 553 kB in 4s (138 kB/s)
Reading package lists... Done
W: No Hash entry in Release file
/var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release
W: Invalid 'Date' entry in Release file
/var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release
E: Failed to fetch
file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
File not found -
/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
(2: No such file or directory)
E: Some index files failed to download. They have been ignored, or old ones
used instead.

On 27 February 2017 at 21:17, Manfred Hampl <
<email address hidden>> wrote:

> Your question #488329 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> What is now the output of
>
> sudo apt-get update
>
> ?
>
> --
> 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/488329
>
> You received this question notification because you asked the question.
>

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

What is now the output of

ls -la /var/lib/apt/lists/partial/

All the error messages in your last output relate to apt-build. Maybe uninstalling that package resolves the related problems.

Revision history for this message
Eric (eric-grimaldi) said :
#20

here's the output of:

ls -la /var/lib/apt/lists/partial/

ericg@mainews:~$ sudo ls -la /var/lib/apt/lists/partial/
[sudo] password for ericg:
total 40
drwx------ 2 _apt root 20480 Feb 27 21:22 .
drwxr-xr-x 3 root root 12288 Feb 27 20:52 ..
lrwxrwxrwx 1 root root 77 Feb 27 21:22
_var_cache_apt-build_repository_dists_apt-build_main_binary-amd64_Packages.gz
->
/var/cache/apt-build/repository/dists/apt-build/main/binary-amd64/Packages.gz
-rw-r--r-- 1 root root 107 Feb 27 14:39
_var_cache_apt-build_repository_dists_apt-build_Release
ericg@mainews:~$

On 27 February 2017 at 21:43, Manfred Hampl <
<email address hidden>> wrote:

> Your question #488329 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> What is now the output of
>
> ls -la /var/lib/apt/lists/partial/
>
> All the error messages in your last output relate to apt-build. Maybe
> uninstalling that package resolves the related problems.
>
> --
> 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/488329
>
> You received this question notification because you asked the question.
>

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

Ok, and what is now the output of

sudo rm -v /var/lib/apt/lists/partial/_var*

?

Revision history for this message
Eric (eric-grimaldi) said :
#22

Removing apt-build:

ericg@mainews:~$ sudo rm -f apt-build
ericg@mainews:~$ sudo apt clean
ericg@mainews:~$ sudo apt autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
ericg@mainews:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Updating:

ericg@mainews:~$ sudo apt-get update
Get:1 file:/var/cache/apt-build/repository apt-build InRelease
Ign:1 file:/var/cache/apt-build/repository apt-build InRelease
Get:2 file:/var/cache/apt-build/repository apt-build Release [107 B]
Get:2 file:/var/cache/apt-build/repository apt-build Release [107 B]
Get:3 file:/var/cache/apt-build/repository apt-build Release.gpg
Ign:3 file:/var/cache/apt-build/repository apt-build Release.gpg
Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
[20 B]
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Err:5 file:/var/cache/apt-build/repository apt-build/main i386 Packages
  File not found -
/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
(2: No such file or directory)
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:12 http://archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
Get:13 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102 kB]
Get:14 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease [102 kB]
Get:15 http://security.ubuntu.com/ubuntu yakkety-security/universe amd64
DEP-11 Metadata [9,736 B]
Get:16 http://archive.ubuntu.com/ubuntu yakkety-proposed InRelease [102
kB]
Get:17 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 DEP-11
Metadata [8,276 B]
Get:18 http://security.ubuntu.com/ubuntu yakkety-security/main DEP-11 64x64
Icons [10.0 kB]
Get:19 http://archive.ubuntu.com/ubuntu yakkety-updates/universe amd64
DEP-11 Metadata [102 kB]
Get:20 http://archive.ubuntu.com/ubuntu yakkety-updates/universe DEP-11
64x64 Icons [122 kB]
Get:21 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64 DEP-11
Metadata [147 kB]
Get:22 http://archive.ubuntu.com/ubuntu yakkety-updates/main DEP-11 64x64
Icons [80.8 kB]
Get:23 http://archive.ubuntu.com/ubuntu yakkety-proposed/universe amd64
DEP-11 Metadata [6,752 B]
Get:24 http://archive.ubuntu.com/ubuntu yakkety-proposed/universe DEP-11
64x64 Icons [19.6 kB]
Get:25 http://archive.ubuntu.com/ubuntu yakkety-proposed/main amd64 DEP-11
Metadata [97.6 kB]
Fetched 1,157 kB in 7s (146
kB/s)
Reading package lists... Done
W: No Hash entry in Release file
/var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release
W: Invalid 'Date' entry in Release file
/var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release
E: Failed to fetch
file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
File not found -
/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
(2: No such file or directory)
E: Some index files failed to download. They have been ignored, or old ones
used instead.

Removing files

ericg@mainews:~$ sudo rm -f
/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
ericg@mainews:~$ sudo rm -f
/var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release
ericg@mainews:~$ sudo apt clean
ericg@mainews:~$ sudo apt autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
ericg@mainews:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Last update:

ericg@mainews:~$ sudo apt-get update
Get:1 file:/var/cache/apt-build/repository apt-build InRelease
Ign:1 file:/var/cache/apt-build/repository apt-build InRelease
Get:2 file:/var/cache/apt-build/repository apt-build Release [107 B]
Get:2 file:/var/cache/apt-build/repository apt-build Release [107 B]
Get:3 file:/var/cache/apt-build/repository apt-build Release.gpg
Ign:3 file:/var/cache/apt-build/repository apt-build Release.gpg
Get:4 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
[20 B]
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11
Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11
Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64
Icons
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Err:6 file:/var/cache/apt-build/repository apt-build/main i386 Packages
  File not found -
/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
(2: No such file or directory)
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:12 http://archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
Hit:13 http://security.ubuntu.com/ubuntu yakkety-security InRelease
Hit:14 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease
Hit:15 http://archive.ubuntu.com/ubuntu yakkety-proposed
InRelease
Fetched 247 kB in 4s (58.4 kB/s)
Reading package lists... Done
W: No Hash entry in Release file
/var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release
W: Invalid 'Date' entry in Release file
/var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release
E: Failed to fetch
file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
File not found -
/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages
(2: No such file or directory)
E: Some index files failed to download. They have been ignored, or old ones
used instead.

Will restart and try again without the update after removing apt-build

On 27 February 2017 at 21:50, Eric Grimaldi <email address hidden> wrote:

> here's the output of:
>
> ls -la /var/lib/apt/lists/partial/
>
> ericg@mainews:~$ sudo ls -la /var/lib/apt/lists/partial/
> [sudo] password for ericg:
> total 40
> drwx------ 2 _apt root 20480 Feb 27 21:22 .
> drwxr-xr-x 3 root root 12288 Feb 27 20:52 ..
> lrwxrwxrwx 1 root root 77 Feb 27 21:22 _var_cache_apt-build_
> repository_dists_apt-build_main_binary-amd64_Packages.gz ->
> /var/cache/apt-build/repository/dists/apt-build/
> main/binary-amd64/Packages.gz
> -rw-r--r-- 1 root root 107 Feb 27 14:39 _var_cache_apt-build_
> repository_dists_apt-build_Release
> ericg@mainews:~$
>
>
> On 27 February 2017 at 21:43, Manfred Hampl <question488329@answers.
> launchpad.net> wrote:
>
>> Your question #488329 on apt in Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>>
>> Status: Open => Needs information
>>
>> Manfred Hampl requested more information:
>> What is now the output of
>>
>> ls -la /var/lib/apt/lists/partial/
>>
>> All the error messages in your last output relate to apt-build. Maybe
>> uninstalling that package resolves the related problems.
>>
>> --
>> 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/488329
>>
>> You received this question notification because you asked the question.
>>
>
>

Revision history for this message
Eric (eric-grimaldi) said :
#23

Output of:

sudo rm -v /var/lib/apt/lists/partial/_var*

rm: cannot remove '/var/lib/apt/lists/partial/_var*': No such file or directory

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

1. uninstalling the package is not done with the command
sudo rm -f apt-build
but with a command like
sudo apt-get purge apt-build

2. please issue the following commands immediately one after the other

ls -la /var/lib/apt/lists/partial/
sudo rm -v /var/lib/apt/lists/partial/_var*

and copy/paste the output.

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

Sorry, slight modification required:

2. please issue the following commands immediately one after the other

sudo ls -la /var/lib/apt/lists/partial/
sudo rm -v /var/lib/apt/lists/partial/_var*

and copy/paste the output.

Revision history for this message
Eric (eric-grimaldi) said :
#26

Here are the 2 outputs:

ericg@mainews:~$ sudo ls -la /var/lib/apt/lists/partial/
total 40
drwx------ 2 _apt root 20480 Feb 27 21:55 .
drwxr-xr-x 3 root root 12288 Feb 27 21:51 ..
lrwxrwxrwx 1 root root 77 Feb 27 21:55
_var_cache_apt-build_repository_dists_apt-build_main_binary-amd64_Packages.gz
->
/var/cache/apt-build/repository/dists/apt-build/main/binary-amd64/Packages.gz
-rw-r--r-- 1 root root 107 Feb 27 14:39
_var_cache_apt-build_repository_dists_apt-build_Release
ericg@mainews:~$ sudo apt-get purge apt-build
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'apt-build' is not installed, so not removed
The following packages were automatically installed and are no longer
required:
  at dctrl-tools devscripts dput libappconfig-perl
libb-hooks-endofscope-perl
  libclass-method-modifiers-perl libclass-xsaccessor-perl
libdata-optlist-perl
  libdevel-globaldestruction-perl libdistro-info-perl
  libgetopt-long-descriptive-perl libimport-into-perl libio-stringy-perl
  libmodule-implementation-perl libmodule-runtime-perl libmoo-perl
  libnamespace-clean-perl libnumber-compare-perl libpackage-stash-perl
  libpackage-stash-xs-perl libparams-classify-perl libparams-util-perl
  libparams-validate-perl libpath-iterator-rule-perl libpath-tiny-perl
  libpod-constants-perl librole-tiny-perl libscalar-list-utils-perl
  libsort-key-perl libstrictures-perl libstring-copyright-perl
  libstring-escape-perl libsub-exporter-perl
libsub-exporter-progressive-perl
  libsub-identify-perl libsub-install-perl libtext-glob-perl
libtry-tiny-perl
  libunicode-utf8-perl libvariable-magic-perl licensecheck python3-magic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

On 27 February 2017 at 22:44, Manfred Hampl <
<email address hidden>> wrote:

> Your question #488329 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>
> Manfred Hampl requested more information:
> Sorry, slight modification required:
>
> 2. please issue the following commands immediately one after the other
>
> sudo ls -la /var/lib/apt/lists/partial/
> sudo rm -v /var/lib/apt/lists/partial/_var*
>
> and copy/paste the output.
>
> --
> 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/488329
>
> You received this question notification because you asked the question.
>

Revision history for this message
Eric (eric-grimaldi) said :
#27

Sorry here are the 2 commands outputs:

ericg@mainews:~$ sudo ls -la /var/lib/apt/lists/partial/
total 40
drwx------ 2 _apt root 20480 Feb 27 21:55 .
drwxr-xr-x 3 root root 12288 Feb 27 21:51 ..
lrwxrwxrwx 1 root root 77 Feb 27 21:55
_var_cache_apt-build_repository_dists_apt-build_main_binary-amd64_Packages.gz
->
/var/cache/apt-build/repository/dists/apt-build/main/binary-amd64/Packages.gz
-rw-r--r-- 1 root root 107 Feb 27 14:39
_var_cache_apt-build_repository_dists_apt-build_Release

ericg@mainews:~$ sudo rm -v /var/lib/apt/lists/partial/_var*
rm: cannot remove '/var/lib/apt/lists/partial/_var*': No such file or
directory

On 28 February 2017 at 00:29, Eric Grimaldi <email address hidden> wrote:

> Here are the 2 outputs:
>
> ericg@mainews:~$ sudo ls -la /var/lib/apt/lists/partial/
> total 40
> drwx------ 2 _apt root 20480 Feb 27 21:55 .
> drwxr-xr-x 3 root root 12288 Feb 27 21:51 ..
> lrwxrwxrwx 1 root root 77 Feb 27 21:55 _var_cache_apt-build_
> repository_dists_apt-build_main_binary-amd64_Packages.gz ->
> /var/cache/apt-build/repository/dists/apt-build/
> main/binary-amd64/Packages.gz
> -rw-r--r-- 1 root root 107 Feb 27 14:39 _var_cache_apt-build_
> repository_dists_apt-build_Release
> ericg@mainews:~$ sudo apt-get purge apt-build
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Package 'apt-build' is not installed, so not removed
> The following packages were automatically installed and are no longer
> required:
> at dctrl-tools devscripts dput libappconfig-perl
> libb-hooks-endofscope-perl
> libclass-method-modifiers-perl libclass-xsaccessor-perl
> libdata-optlist-perl
> libdevel-globaldestruction-perl libdistro-info-perl
> libgetopt-long-descriptive-perl libimport-into-perl libio-stringy-perl
> libmodule-implementation-perl libmodule-runtime-perl libmoo-perl
> libnamespace-clean-perl libnumber-compare-perl libpackage-stash-perl
> libpackage-stash-xs-perl libparams-classify-perl libparams-util-perl
> libparams-validate-perl libpath-iterator-rule-perl libpath-tiny-perl
> libpod-constants-perl librole-tiny-perl libscalar-list-utils-perl
> libsort-key-perl libstrictures-perl libstring-copyright-perl
> libstring-escape-perl libsub-exporter-perl libsub-exporter-progressive-
> perl
> libsub-identify-perl libsub-install-perl libtext-glob-perl
> libtry-tiny-perl
> libunicode-utf8-perl libvariable-magic-perl licensecheck python3-magic
> Use 'sudo apt autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>
>
> On 27 February 2017 at 22:44, Manfred Hampl <question488329@answers.
> launchpad.net> wrote:
>
>> Your question #488329 on apt in Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>>
>> Manfred Hampl requested more information:
>> Sorry, slight modification required:
>>
>> 2. please issue the following commands immediately one after the other
>>
>> sudo ls -la /var/lib/apt/lists/partial/
>> sudo rm -v /var/lib/apt/lists/partial/_var*
>>
>> and copy/paste the output.
>>
>> --
>> 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/488329
>>
>> You received this question notification because you asked the question.
>>
>
>

Revision history for this message
Eric (eric-grimaldi) said :
#28

Result of purge:

ericg@mainews:~$ sudo apt purge apt-build
[sudo] password for ericg:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'apt-build' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  at dctrl-tools devscripts dput libappconfig-perl libb-hooks-endofscope-perl
  libclass-method-modifiers-perl libclass-xsaccessor-perl libdata-optlist-perl
  libdevel-globaldestruction-perl libdistro-info-perl
  libgetopt-long-descriptive-perl libimport-into-perl libio-stringy-perl
  libmodule-implementation-perl libmodule-runtime-perl libmoo-perl
  libnamespace-clean-perl libnumber-compare-perl libpackage-stash-perl
  libpackage-stash-xs-perl libparams-classify-perl libparams-util-perl
  libparams-validate-perl libpath-iterator-rule-perl libpath-tiny-perl
  libpod-constants-perl librole-tiny-perl libscalar-list-utils-perl
  libsort-key-perl libstrictures-perl libstring-copyright-perl
  libstring-escape-perl libsub-exporter-perl libsub-exporter-progressive-perl
  libsub-identify-perl libsub-install-perl libtext-glob-perl libtry-tiny-perl
  libunicode-utf8-perl libvariable-magic-perl licensecheck python3-magic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Autoremove=>

ericg@mainews:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  at dctrl-tools devscripts dput libappconfig-perl libb-hooks-endofscope-perl
  libclass-method-modifiers-perl libclass-xsaccessor-perl libdata-optlist-perl
  libdevel-globaldestruction-perl libdistro-info-perl
  libgetopt-long-descriptive-perl libimport-into-perl libio-stringy-perl
  libmodule-implementation-perl libmodule-runtime-perl libmoo-perl
  libnamespace-clean-perl libnumber-compare-perl libpackage-stash-perl
  libpackage-stash-xs-perl libparams-classify-perl libparams-util-perl
  libparams-validate-perl libpath-iterator-rule-perl libpath-tiny-perl
  libpod-constants-perl librole-tiny-perl libscalar-list-utils-perl
  libsort-key-perl libstrictures-perl libstring-copyright-perl
  libstring-escape-perl libsub-exporter-perl libsub-exporter-progressive-perl
  libsub-identify-perl libsub-install-perl libtext-glob-perl libtry-tiny-perl
  libunicode-utf8-perl libvariable-magic-perl licensecheck python3-magic
0 upgraded, 0 newly installed, 43 to remove and 0 not upgraded.
After this operation, 5,735 kB disk space will be freed.
Do you want to continue? [Y/n]
Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 29, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
(Reading database ... 246249 files and directories currently installed.)
Removing at (3.1.18-2ubuntu1) ...
Removing dctrl-tools (2.24-2) ...
Removing devscripts (2.16.6ubuntu1) ...
Removing dput (0.9.6.4ubuntu3) ...
Removing libappconfig-perl (1.66-1) ...
Removing licensecheck (3.0.24-1) ...
Removing libnamespace-clean-perl (0.27-1) ...
Removing libb-hooks-endofscope-perl (0.21-1) ...
Removing libmoo-perl (2.002004-1) ...
Removing librole-tiny-perl (2.000003-1) ...
Removing libclass-method-modifiers-perl (2.12-1) ...
Removing libclass-xsaccessor-perl (1.19-2build5) ...
Removing libgetopt-long-descriptive-perl (0.100-1) ...
Removing libsub-exporter-perl (0.986-1) ...
Removing libdata-optlist-perl (0.110-1) ...
Removing libdevel-globaldestruction-perl (0.13-1) ...
Removing libdistro-info-perl (0.14build1) ...
Removing libimport-into-perl (1.002005-1) ...
Removing libio-stringy-perl (2.111-2) ...
Removing libparams-validate-perl (1.24-1) ...
Removing libpackage-stash-perl (0.37-1) ...
Removing libmodule-implementation-perl (0.09-1) ...
Removing libmodule-runtime-perl (0.014-2) ...
Removing libpath-iterator-rule-perl (1.009-1) ...
Removing libnumber-compare-perl (0.03-1) ...
Removing libpackage-stash-xs-perl (0.28-3) ...
Removing libparams-classify-perl (0.013-6) ...
Removing libparams-util-perl (1.07-3) ...
Removing libpath-tiny-perl (0.094-1) ...
Removing libpod-constants-perl (0.19-1) ...
Removing libscalar-list-utils-perl (1:1.45-1) ...
Removing libsort-key-perl (1.33-1build2) ...
Removing libstrictures-perl (2.000003-1) ...
Removing libstring-copyright-perl (0.003000-1) ...
Removing libstring-escape-perl (2010.002-1) ...
Removing libsub-exporter-progressive-perl (0.001011-1) ...
Removing libsub-identify-perl (0.12-2) ...
Removing libsub-install-perl (0.928-1) ...
Removing libtext-glob-perl (0.09-2) ...
Removing libtry-tiny-perl (0.27-1) ...
Removing libunicode-utf8-perl (0.60-1build2) ...
Removing libvariable-magic-perl (0.59-2) ...
Removing python3-magic (1:5.28-2ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...

Clean, autoclean and update (here the update went almost good)

ericg@mainews:~$ sudo apt clean
ericg@mainews:~$ sudo apt autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
ericg@mainews:~$ sudo apt update
Get:1 file:/var/cache/apt-build/repository apt-build InRelease
Ign:1 file:/var/cache/apt-build/repository apt-build InRelease
Get:2 file:/var/cache/apt-build/repository apt-build Release [107 B]
Get:2 file:/var/cache/apt-build/repository apt-build Release [107 B]
Get:3 file:/var/cache/apt-build/repository apt-build Release.gpg
Ign:3 file:/var/cache/apt-build/repository apt-build Release.gpg
Get:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main amd64 Packages [20 B]
Get:6 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Err:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
  File not found - /var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages (2: No such file or directory)
Get:6 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:12 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102 kB]
Get:13 http://archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
Get:14 http://security.ubuntu.com/ubuntu yakkety-security/universe amd64 DEP-11 Metadata [9,736 B]
Get:15 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 DEP-11 Metadata [8,280 B]
Get:16 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease [102 kB]
Get:17 http://archive.ubuntu.com/ubuntu yakkety-proposed InRelease [102 kB]
Get:18 http://archive.ubuntu.com/ubuntu yakkety-updates/universe i386 Packages [109 kB]
Get:19 http://archive.ubuntu.com/ubuntu yakkety-updates/universe amd64 Packages [111 kB]
Get:20 http://archive.ubuntu.com/ubuntu yakkety-updates/universe Translation-en [59.9 kB]
Get:21 http://archive.ubuntu.com/ubuntu yakkety-updates/universe amd64 DEP-11 Metadata [102 kB]
Get:22 http://archive.ubuntu.com/ubuntu yakkety-updates/universe DEP-11 64x64 Icons [126 kB]
Get:23 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64 DEP-11 Metadata [147 kB]
Get:24 http://archive.ubuntu.com/ubuntu yakkety-updates/main DEP-11 64x64 Icons [80.8 kB]
Get:25 http://archive.ubuntu.com/ubuntu yakkety-proposed/universe amd64 DEP-11 Metadata [6,756 B]
Get:26 http://archive.ubuntu.com/ubuntu yakkety-proposed/universe DEP-11 64x64 Icons [19.6 kB]
Get:27 http://archive.ubuntu.com/ubuntu yakkety-proposed/main amd64 DEP-11 Metadata [97.6 kB]
Fetched 1,431 kB in 10s (133 kB/s)
Reading package lists... Done
W: No Hash entry in Release file /var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release
E: Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages File not found - /var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages (2: No such file or directory)
E: Some index files failed to download. They have been ignored, or old ones used instead.

And when I try update again:

ericg@mainews:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ericg@mainews:~$ sudo apt update
Get:1 file:/var/cache/apt-build/repository apt-build InRelease
Ign:1 file:/var/cache/apt-build/repository apt-build InRelease
Get:2 file:/var/cache/apt-build/repository apt-build Release [107 B]
Get:2 file:/var/cache/apt-build/repository apt-build Release [107 B]
Get:3 file:/var/cache/apt-build/repository apt-build Release.gpg
Ign:3 file:/var/cache/apt-build/repository apt-build Release.gpg
Get:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Ign:6 file:/var/cache/apt-build/repository apt-build/main amd64 Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:6 file:/var/cache/apt-build/repository apt-build/main amd64 Packages [20 B]
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Ign:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Get:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Ign:7 file:/var/cache/apt-build/repository apt-build/main Translation-en_US
Get:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Ign:8 file:/var/cache/apt-build/repository apt-build/main Translation-en
Get:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Ign:9 file:/var/cache/apt-build/repository apt-build/main amd64 DEP-11 Metadata
Get:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Ign:10 file:/var/cache/apt-build/repository apt-build/main all DEP-11 Metadata
Get:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Ign:11 file:/var/cache/apt-build/repository apt-build/main DEP-11 64x64 Icons
Get:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
Err:4 file:/var/cache/apt-build/repository apt-build/main i386 Packages
  File not found - /var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages (2: No such file or directory)
Get:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Ign:5 file:/var/cache/apt-build/repository apt-build/main all Packages
Hit:12 http://security.ubuntu.com/ubuntu yakkety-security InRelease
Get:13 http://archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
Hit:14 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease
Hit:15 http://archive.ubuntu.com/ubuntu yakkety-proposed InRelease
Fetched 247 kB in 4s (59.6 kB/s)
Reading package lists... Done
W: No Hash entry in Release file /var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release
E: Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages File not found - /var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages (2: No such file or directory)
E: Some index files failed to download. They have been ignored, or old ones used instead.

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

I do not know what you have done to your system, but it seems extremely misconfigured.

e.g.
ModuleNotFoundError: No module named 'apt'
ModuleNotFoundError: No module named 'apt_pkg'

And the output
"""
ericg@mainews:~$ sudo ls -la /var/lib/apt/lists/partial/
total 40
drwx------ 2 _apt root 20480 Feb 27 21:55 .
drwxr-xr-x 3 root root 12288 Feb 27 21:51 ..
lrwxrwxrwx 1 root root 77 Feb 27 21:55 _var_cache_apt-build_repository_dists_apt-build_main_binary-amd64_Packages.gz -> /var/cache/apt-build/repository/dists/apt-build/main/binary-amd64/Packages.gz
-rw-r--r-- 1 root root 107 Feb 27 14:39 _var_cache_apt-build_repository_dists_apt-build_Release

ericg@mainews:~$ sudo rm -v /var/lib/apt/lists/partial/_var*
rm: cannot remove '/var/lib/apt/lists/partial/_var*': No such file or
directory
"""

is absolutely incomprehensible for me. The ls command lists files, but the rm command says that there are none.

Try again the following way:

sudo rm -rfv /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
ls -la /var/lib/apt/lists/partial
sudo rm -v /etc/apt/sources.list.d/apt-build.list
sudo apt-get update

What results do you get?

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

For

ModuleNotFoundError: No module named 'apt'
ModuleNotFoundError: No module named 'apt_pkg'

you might try reinstalling the python-apt package

What is the output of
apt-cache policy python-apt

Revision history for this message
slim utan (slimutan) said :
#31
Revision history for this message
Eric (eric-grimaldi) said :
#32

 sudo rm -rfv /var/lib/apt/lists

ericg@mainews:~$ sudo rm -rfv /var/lib/apt/lists
[sudo] password for ericg:
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_restricted_i18n_Translation-en'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_restricted_binary-amd64_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_multiverse_binary-i386_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_universe_binary-amd64_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_universe_dep11_Components-amd64.yml.gz'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_universe_dep11_icons-64x64.tar.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_main_dep11_Components-amd64.yml.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_universe_i18n_Translation-en'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_restricted_binary-i386_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_main_binary-i386_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_main_dep11_Components-amd64.yml.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_main_binary-amd64_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_multiverse_dep11_icons-64x64.tar.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_multiverse_dep11_Components-amd64.yml.gz'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_universe_i18n_Translation-en'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_main_i18n_Translation-en'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_multiverse_dep11_Components-amd64.yml.gz'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_multiverse_binary-i386_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_restricted_i18n_Translation-en'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_multiverse_binary-amd64_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_universe_binary-i386_Packages'
removed '/var/lib/apt/lists/lock'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_restricted_binary-i386_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_multiverse_binary-amd64_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_main_source_Sources'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_universe_binary-i386_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_restricted_binary-amd64_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_restricted_i18n_Translation-en'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_main_i18n_Translation-en'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_universe_binary-amd64_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_main_dep11_Components-amd64.yml.gz'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_multiverse_i18n_Translation-en'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_universe_source_Sources'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_main_dep11_icons-64x64.tar.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_multiverse_source_Sources'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_restricted_dep11_Components-amd64.yml.gz'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_universe_binary-amd64_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_main_dep11_icons-64x64.tar.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_InRelease'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_multiverse_dep11_icons-64x64.tar.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_main_i18n_Translation-en'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_universe_dep11_Components-amd64.yml.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_universe_dep11_icons-64x64.tar.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_restricted_dep11_Components-amd64.yml.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_restricted_dep11_Components-amd64.yml.gz'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_main_binary-i386_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_universe_dep11_icons-64x64.tar.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_multiverse_binary-i386_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_multiverse_i18n_Translation-en'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_multiverse_i18n_Translation-en'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_restricted_binary-i386_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_universe_dep11_Components-amd64.yml.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_main_binary-amd64_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_universe_binary-amd64_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_main_i18n_Translation-en'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_InRelease'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_restricted_binary-amd64_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_multiverse_binary-amd64_Packages'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_main_dep11_icons-64x64.tar.gz'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_universe_dep11_Components-amd64.yml.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_InRelease'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_universe_i18n_Translation-en'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_main_binary-amd64_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_multiverse_dep11_icons-64x64.tar.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_restricted_dep11_Components-amd64.yml.gz'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_main_binary-amd64_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_main_binary-i386_Packages'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_universe_binary-i386_Packages'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_universe_dep11_icons-64x64.tar.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_universe_binary-i386_Packages'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_restricted_binary-amd64_Packages'
removed
'/var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_main_binary-amd64_Packages.gz'
removed
'/var/lib/apt/lists/partial/_var_cache_apt-build_repository_dists_apt-build_Release'
removed directory '/var/lib/apt/lists/partial'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_InRelease'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_multiverse_dep11_Components-amd64.yml.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_restricted_source_Sources'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_main_dep11_icons-64x64.tar.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_multiverse_dep11_icons-64x64.tar.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety_multiverse_dep11_Components-amd64.yml.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_main_binary-i386_Packages'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_main_dep11_Components-amd64.yml.gz'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-proposed_universe_i18n_Translation-en'
removed
'/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_yakkety-updates_restricted_binary-i386_Packages'
removed
'/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_yakkety-security_restricted_i18n_Translation-en'
removed directory '/var/lib/apt/lists'

ericg@mainews:~$ sudo mkdir /var/lib/apt/lists

ericg@mainews:~$ sudo mkdir /var/lib/apt/lists/partial

ericg@mainews:~$ ls -la /var/lib/apt/lists/partial
total 8
drwxr-xr-x 2 root root 4096 Feb 28 05:49 .
drwxr-xr-x 3 root root 4096 Feb 28 05:49 ..

ericg@mainews:~$ sudo rm -v /etc/apt/sources.list.d/apt-build.list
removed '/etc/apt/sources.list.d/apt-build.list'

ericg@mainews:~$ sudo apt-get update
Get:1 http://archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
Get:2 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102 kB]
Get:3 http://security.ubuntu.com/ubuntu yakkety-security/restricted i386
Packages [5,196 B]
Get:4 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease [102
kB]
Get:5 http://security.ubuntu.com/ubuntu yakkety-security/restricted amd64
Packages [5,180 B]
Get:6 http://security.ubuntu.com/ubuntu yakkety-security/restricted
Translation-en [1,880 B]
Get:7 http://security.ubuntu.com/ubuntu yakkety-security/restricted amd64
DEP-11 Metadata [186 B]
Get:8 http://archive.ubuntu.com/ubuntu yakkety-proposed InRelease [102
kB]
Get:9 http://security.ubuntu.com/ubuntu yakkety-security/multiverse amd64
Packages [2,844 B]
Get:10 http://security.ubuntu.com/ubuntu yakkety-security/multiverse i386
Packages [3,008 B]
Get:11 http://archive.ubuntu.com/ubuntu yakkety/universe Sources [8,044 kB]
Get:12 http://security.ubuntu.com/ubuntu yakkety-security/multiverse
Translation-en [1,268 B]
Get:13 http://security.ubuntu.com/ubuntu yakkety-security/multiverse amd64
DEP-11 Metadata [212 B]
Get:14 http://security.ubuntu.com/ubuntu yakkety-security/multiverse DEP-11
64x64 Icons [29 B]
Get:15 http://security.ubuntu.com/ubuntu yakkety-security/universe amd64
Packages [42.4 kB]
Get:16 http://security.ubuntu.com/ubuntu yakkety-security/universe i386
Packages [40.2 kB]
Get:17 http://security.ubuntu.com/ubuntu yakkety-security/universe
Translation-en [26.6 kB]
Get:18 http://security.ubuntu.com/ubuntu yakkety-security/universe amd64
DEP-11 Metadata [9,716 B]
Get:19 http://security.ubuntu.com/ubuntu yakkety-security/universe DEP-11
64x64 Icons [6,229 B]
Get:20 http://security.ubuntu.com/ubuntu yakkety-security/main i386
Packages [99.6 kB]
Get:21 http://security.ubuntu.com/ubuntu yakkety-security/main amd64
Packages [102 kB]
Get:22 http://security.ubuntu.com/ubuntu yakkety-security/main
Translation-en [45.2 kB]
Get:23 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 DEP-11
Metadata [8,276 B]
Get:24 http://security.ubuntu.com/ubuntu yakkety-security/main DEP-11 64x64
Icons [10.0 kB]
Get:25 http://archive.ubuntu.com/ubuntu yakkety/main Sources [903
kB]
Get:26 http://archive.ubuntu.com/ubuntu yakkety/multiverse Sources [181
kB]
Get:27 http://archive.ubuntu.com/ubuntu yakkety/restricted Sources [5,376
B]
Get:28 http://archive.ubuntu.com/ubuntu yakkety/main i386 Packages [1,218
kB]
Get:29 http://archive.ubuntu.com/ubuntu yakkety/main amd64 Packages [1,222
kB]
Get:30 http://archive.ubuntu.com/ubuntu yakkety/main Translation-en [582
kB]
Get:31 http://archive.ubuntu.com/ubuntu yakkety/main amd64 DEP-11 Metadata
[654 kB]
Get:32 http://archive.ubuntu.com/ubuntu yakkety/main DEP-11 64x64 Icons
[368 kB]
Get:33 http://archive.ubuntu.com/ubuntu yakkety/universe i386 Packages
[7,712 kB]
Get:34 http://archive.ubuntu.com/ubuntu yakkety/universe amd64 Packages
[7,729 kB]
Get:35 http://archive.ubuntu.com/ubuntu yakkety/universe Translation-en
[4,484 kB]
Get:36 http://archive.ubuntu.com/ubuntu yakkety/universe amd64 DEP-11
Metadata [2,669 kB]
Get:37 http://archive.ubuntu.com/ubuntu yakkety/universe DEP-11 64x64 Icons
[7,194 kB]
Get:38 http://archive.ubuntu.com/ubuntu yakkety/restricted i386 Packages
[8,724 B]
Get:39 http://archive.ubuntu.com/ubuntu yakkety/restricted amd64 Packages
[8,416 B]
Get:40 http://archive.ubuntu.com/ubuntu yakkety/restricted Translation-en
[2,996 B]
Get:41 http://archive.ubuntu.com/ubuntu yakkety/restricted amd64 DEP-11
Metadata [187 B]
Get:42 http://archive.ubuntu.com/ubuntu yakkety/multiverse i386 Packages
[141 kB]
Get:43 http://archive.ubuntu.com/ubuntu yakkety/multiverse amd64 Packages
[146 kB]
Get:44 http://archive.ubuntu.com/ubuntu yakkety/multiverse Translation-en
[108 kB]
Get:45 http://archive.ubuntu.com/ubuntu yakkety/multiverse amd64 DEP-11
Metadata [47.6 kB]
Get:46 http://archive.ubuntu.com/ubuntu yakkety/multiverse DEP-11 64x64
Icons [246 kB]
Get:47 http://archive.ubuntu.com/ubuntu yakkety-updates/restricted amd64
Packages [5,180 B]
Get:48 http://archive.ubuntu.com/ubuntu yakkety-updates/restricted i386
Packages [5,196 B]
Get:49 http://archive.ubuntu.com/ubuntu yakkety-updates/restricted
Translation-en [1,880 B]
Get:50 http://archive.ubuntu.com/ubuntu yakkety-updates/restricted amd64
DEP-11 Metadata [185 B]
Get:51 http://archive.ubuntu.com/ubuntu yakkety-updates/multiverse amd64
Packages [4,332 B]
Get:52 http://archive.ubuntu.com/ubuntu yakkety-updates/multiverse i386
Packages [4,488 B]
Get:53 http://archive.ubuntu.com/ubuntu yakkety-updates/multiverse
Translation-en [2,136 B]
Get:54 http://archive.ubuntu.com/ubuntu yakkety-updates/multiverse amd64
DEP-11 Metadata [212 B]
Get:55 http://archive.ubuntu.com/ubuntu yakkety-updates/multiverse DEP-11
64x64 Icons [29 B]
Get:56 http://archive.ubuntu.com/ubuntu yakkety-updates/universe i386
Packages [109 kB]
Get:57 http://archive.ubuntu.com/ubuntu yakkety-updates/universe amd64
Packages [111 kB]
Get:58 http://archive.ubuntu.com/ubuntu yakkety-updates/universe
Translation-en [60.1 kB]
Get:59 http://archive.ubuntu.com/ubuntu yakkety-updates/universe amd64
DEP-11 Metadata [102 kB]
Get:60 http://archive.ubuntu.com/ubuntu yakkety-updates/universe DEP-11
64x64 Icons [126 kB]
Get:61 http://archive.ubuntu.com/ubuntu yakkety-updates/main i386 Packages
[189 kB]
Get:62 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64 Packages
[192 kB]
Get:63 http://archive.ubuntu.com/ubuntu yakkety-updates/main Translation-en
[84.9 kB]
Get:64 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64 DEP-11
Metadata [147 kB]
Get:65 http://archive.ubuntu.com/ubuntu yakkety-updates/main DEP-11 64x64
Icons [67.9 kB]
Get:66 http://archive.ubuntu.com/ubuntu yakkety-proposed/restricted amd64
Packages [760 B]
Get:67 http://archive.ubuntu.com/ubuntu yakkety-proposed/restricted i386
Packages [760 B]
Get:68 http://archive.ubuntu.com/ubuntu yakkety-proposed/restricted
Translation-en [304 B]
Get:69 http://archive.ubuntu.com/ubuntu yakkety-proposed/restricted amd64
DEP-11 Metadata [201 B]
Get:70 http://archive.ubuntu.com/ubuntu yakkety-proposed/multiverse amd64
DEP-11 Metadata [212 B]
Get:71 http://archive.ubuntu.com/ubuntu yakkety-proposed/multiverse DEP-11
64x64 Icons [29 B]
Get:72 http://archive.ubuntu.com/ubuntu yakkety-proposed/universe amd64
Packages [27.6 kB]
Get:73 http://archive.ubuntu.com/ubuntu yakkety-proposed/universe i386
Packages [28.3 kB]
Get:74 http://archive.ubuntu.com/ubuntu yakkety-proposed/universe
Translation-en [15.1 kB]
Get:75 http://archive.ubuntu.com/ubuntu yakkety-proposed/universe amd64
DEP-11 Metadata [6,740 B]
Get:76 http://archive.ubuntu.com/ubuntu yakkety-proposed/universe DEP-11
64x64 Icons [19.7 kB]
Get:77 http://archive.ubuntu.com/ubuntu yakkety-proposed/main i386 Packages
[46.0 kB]
Get:78 http://archive.ubuntu.com/ubuntu yakkety-proposed/main amd64
Packages [46.9 kB]
Get:79 http://archive.ubuntu.com/ubuntu yakkety-proposed/main
Translation-en [24.1 kB]
Get:80 http://archive.ubuntu.com/ubuntu yakkety-proposed/main amd64 DEP-11
Metadata [97.6 kB]
Get:81 http://archive.ubuntu.com/ubuntu yakkety-proposed/main DEP-11 64x64
Icons [72.2 kB]
Fetched 46.2 MB in 1min 33s (496
kB/s)
Reading package lists... Done

Thank you very much for all this.
This computer is a few years old, about 6yo and has seen numbers of distros
on it.
Several Windows first, then quite a few Linux distros from Ubuntu to Arch,
Fedora, Centos etc,,,
Secondly, there are many chances that this computer and 2 others were
hacked, a few years ago.
The only things that could prove it, was weird behaviors from these
computers and a small file found
with rkhunter. Another thing I remember is Google analytics was showing a
few visits/day to my websites,
but when I tried a few other apps to record the visits, I recall seeing
more than 1000/day...
Anyway, this is the past and I start from scratch again soon.

I need to strengthen my ways with security, and see if I can format totally
this computer(s).
I thought the problem was solved but then when I upgrade there are these
file:

sudo apt-get upgrade

Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 29, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'

here:

ericg@mainews:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libtiff5
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 147 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://security.ubuntu.com/ubuntu yakkety-security/main amd64
libtiff5 amd64 4.0.6-2ubuntu0.1 [147 kB]
Fetched 147 kB in 2s (66.8 kB/s)
Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 29, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
(Reading database ... 245444 files and directories currently installed.)
Preparing to unpack .../libtiff5_4.0.6-2ubuntu0.1_amd64.deb ...
Unpacking libtiff5:amd64 (4.0.6-2ubuntu0.1) over (4.0.6-2) ...
Setting up libtiff5:amd64 (4.0.6-2ubuntu0.1) ...
Processing triggers for libc-bin (2.24-3ubuntu2) ...

Can you please recommend a way to totally format the Hdds and systems?
I had installed Kea DHCP and DDNS server as well as Bind9 DNS server,
databases
etc.. But I won't run anything on this computer the way it is.

Thank you very much, your help is much appreciated...

Eric.

On 28 February 2017 at 02:41, Manfred Hampl <
<email address hidden>> wrote:

> Your question #488329 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> I do not know what you have done to your system, but it seems extremely
> misconfigured.
>
> e.g.
> ModuleNotFoundError: No module named 'apt'
> ModuleNotFoundError: No module named 'apt_pkg'
>
> And the output
> """
> ericg@mainews:~$ sudo ls -la /var/lib/apt/lists/partial/
> total 40
> drwx------ 2 _apt root 20480 Feb 27 21:55 .
> drwxr-xr-x 3 root root 12288 Feb 27 21:51 ..
> lrwxrwxrwx 1 root root 77 Feb 27 21:55 _var_cache_apt-build_
> repository_dists_apt-build_main_binary-amd64_Packages.gz ->
> /var/cache/apt-build/repository/dists/apt-build/
> main/binary-amd64/Packages.gz
> -rw-r--r-- 1 root root 107 Feb 27 14:39 _var_cache_apt-build_
> repository_dists_apt-build_Release
>
> ericg@mainews:~$ sudo rm -v /var/lib/apt/lists/partial/_var*
> rm: cannot remove '/var/lib/apt/lists/partial/_var*': No such file or
> directory
> """
>
> is absolutely incomprehensible for me. The ls command lists files, but
> the rm command says that there are none.
>
> Try again the following way:
>
> sudo rm -rfv /var/lib/apt/lists
> sudo mkdir /var/lib/apt/lists
> sudo mkdir /var/lib/apt/lists/partial
> ls -la /var/lib/apt/lists/partial
> sudo rm -v /etc/apt/sources.list.d/apt-build.list
> sudo apt-get update
>
> What results 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/488329
>
> You received this question notification because you asked the question.
>

Revision history for this message
Eric (eric-grimaldi) said :
#33

The results from sudo update, upgrade and dist-upgrade are GOOD!

ericg@mainews:~$ sudo apt-get update
[sudo] password for ericg:
Get:1 http://archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
Get:2 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102 kB]
Get:3 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease [102 kB]
Get:4 http://archive.ubuntu.com/ubuntu yakkety-proposed InRelease [102 kB]
Get:5 http://archive.ubuntu.com/ubuntu yakkety-updates/universe i386 Packages [115 kB]
Get:6 http://archive.ubuntu.com/ubuntu yakkety-updates/universe amd64 Packages [117 kB]
Get:7 http://archive.ubuntu.com/ubuntu yakkety-updates/universe Translation-en [63.2 kB]
Get:8 http://archive.ubuntu.com/ubuntu yakkety-updates/main i386 Packages [194 kB]
Get:9 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64 Packages [197 kB]
Get:10 http://archive.ubuntu.com/ubuntu yakkety-updates/main Translation-en [88.7 kB]
Fetched 1,329 kB in 7s (188 kB/s)
Reading package lists... Done
ericg@mainews:~$ sudo apt-get upgrade
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.
ericg@mainews:~$ sudo apt-get dist-upgrade
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.

Thanks a lot Manfred, for your time and efforts...
I'll try to secure as much as I can desktops and laptop, If I can, with a friend setup a bastion host, IPs, my passwords, etc...
Any advice is welcome!
All the best,
Eric.

Revision history for this message
Eric (eric-grimaldi) said :
#34

Good Morning, here's the output of:

apt-cache policy python-apt

ericg@mainews:~$ apt-cache policy python-apt
python-apt:
  Installed: (none)
  Candidate: 1.1.0~beta5
  Version table:
     1.1.0~beta5 500
        500 http://archive.ubuntu.com/ubuntu yakkety/main amd64 Packages

All seems OK now apparently...

On 28 February 2017 at 07:47, Manfred Hampl <
<email address hidden>> wrote:

> Your question #488329 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>
> Status: Needs information => Answered
>
> Manfred Hampl proposed the following answer:
> For
>
> ModuleNotFoundError: No module named 'apt'
> ModuleNotFoundError: No module named 'apt_pkg'
>
> you might try reinstalling the python-apt package
>
> What is the output of
> apt-cache policy python-apt
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/
> 488329/+confirm?answer_id=29
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>
> You received this question notification because you asked the question.
>

Revision history for this message
Eric (eric-grimaldi) said :
#35

Hello Manfred, actually I put the trailer in front of the car, I could
remove the apt-pkg file following your model with apt-build.
But still cannot access the date manager and the updater, terminal only on
desktop right click..

On 28 February 2017 at 09:03, Eric Grimaldi <email address hidden> wrote:

> Good Morning, here's the output of:
>
> apt-cache policy python-apt
>
> ericg@mainews:~$ apt-cache policy python-apt
> python-apt:
> Installed: (none)
> Candidate: 1.1.0~beta5
> Version table:
> 1.1.0~beta5 500
> 500 http://archive.ubuntu.com/ubuntu yakkety/main amd64 Packages
>
> All seems OK now apparently...
>
> On 28 February 2017 at 07:47, Manfred Hampl <question488329@answers.
> launchpad.net> wrote:
>
>> Your question #488329 on apt in Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>>
>> Status: Needs information => Answered
>>
>> Manfred Hampl proposed the following answer:
>> For
>>
>> ModuleNotFoundError: No module named 'apt'
>> ModuleNotFoundError: No module named 'apt_pkg'
>>
>> you might try reinstalling the python-apt package
>>
>> What is the output of
>> apt-cache policy python-apt
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https://answers.launchpad.net/ubuntu/+source/apt/+question/4
>> 88329/+confirm?answer_id=29
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>>
>> You received this question notification because you asked the question.
>>
>
>

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

If you try installing python-apt with the command

sudo apt-get install python-apt

What output do you get?

Revision history for this message
Eric (eric-grimaldi) said :
#37

ericg@mainews:~$ sudo apt-get install python-apt
+[sudo] password for ericg:
Sorry, try again.
[sudo] password for ericg:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  python-apt-dbg python-apt-doc
The following NEW packages will be installed:
  python-apt
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 142 kB of archives.
After this operation, 644 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu yakkety/main amd64 python-apt amd64
1.1.0~beta5 [142 kB]
Fetched 142 kB in 2s (63.6 kB/s)
/bin/sh: 1: /usr/bin/apt-listchanges: Permission denied
E: Sub-process /usr/bin/apt-listchanges --apt || test $? -lt 10 returned an
error code (1)
E: Failure running script /usr/bin/apt-listchanges --apt || test $? -lt 10

On 28 February 2017 at 17:07, Manfred Hampl <
<email address hidden>> wrote:

> Your question #488329 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> If you try installing python-apt with the command
>
> sudo apt-get install python-apt
>
> 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/488329
>
> You received this question notification because you asked the question.
>

Revision history for this message
Eric (eric-grimaldi) said :
#38

I think python came with a package from boost needed when downloading Kea
server.

On 28 February 2017 at 19:43, Eric Grimaldi <email address hidden> wrote:

>
> ericg@mainews:~$ sudo apt-get install python-apt
> +[sudo] password for ericg:
> Sorry, try again.
> [sudo] password for ericg:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Suggested packages:
> python-apt-dbg python-apt-doc
> The following NEW packages will be installed:
> python-apt
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 142 kB of archives.
> After this operation, 644 kB of additional disk space will be used.
> Get:1 http://archive.ubuntu.com/ubuntu yakkety/main amd64 python-apt
> amd64 1.1.0~beta5 [142 kB]
> Fetched 142 kB in 2s (63.6 kB/s)
> /bin/sh: 1: /usr/bin/apt-listchanges: Permission denied
> E: Sub-process /usr/bin/apt-listchanges --apt || test $? -lt 10 returned
> an error code (1)
> E: Failure running script /usr/bin/apt-listchanges --apt || test $? -lt 10
>
>
> On 28 February 2017 at 17:07, Manfred Hampl <question488329@answers.
> launchpad.net> wrote:
>
>> Your question #488329 on apt in Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>>
>> Status: Open => Needs information
>>
>> Manfred Hampl requested more information:
>> If you try installing python-apt with the command
>>
>> sudo apt-get install python-apt
>>
>> 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/488329
>>
>> You received this question notification because you asked the question.
>>
>
>

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

Do you know anything about apt-listchanges? Have you installed that manually, or modified something on the package's files etc.?

What is the output of
ls -l /usr/bin/apt-listchanges

Revision history for this message
Eric (eric-grimaldi) said :
#40

I've downloaded an apt package from launchpad i remember, but as i have
almost never used it (Launchpad)
 i might have done a mistake, like: in the readme file of the developer,
there was instructions that i thought would repair the already broken apt
it was -G Ninja, BTW I think Python comes also from that file here:
https://launchpad.net/ubuntu/+source/apt/1.3.4..

On 28 February 2017 at 20:14, Manfred Hampl <
<email address hidden>> wrote:

> Your question #488329 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Do you know anything about apt-listchanges? Have you installed that
> manually, or modified something on the package's files etc.?
>
> What is the output of
> ls -l /usr/bin/apt-listchanges
>
> --
> 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/488329
>
> You received this question notification because you asked the question.
>

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

I was not asking about the apt package, but the apt-listchanges package.

In normal cases there should not be any need for a manual download of packages ("I've downloaded an apt package ..."), but all software should be installed with help of the package management system (i.e. with programs like ubuntu-software, update-manager and synaptic, or with command line tools like apt, apt-get and eventually dpkg).

"I thought would repair the already broken apt" - You have to differentiate between a broken program (not running as expected) and broken package dependencies (i.e. one package is installed although another one which is a prerequisite is not installed).

What is now the output of
sudo apt-get update
sudo apt-get dist-upgrade
sudo dpkg --audit

And as already asked before: What is the output of
ls -l /usr/bin/apt-listchanges

Revision history for this message
Eric (eric-grimaldi) said :
#42

 the output of
> ls -l /usr/bin/apt-listchanges is

Total0

On 28 February 2017 at 21:14, Eric <email address hidden>
wrote:

> Your question #488329 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>
> Status: Needs information => Open
>
> You gave more information on the question:
> I've downloaded an apt package from launchpad i remember, but as i have
> almost never used it (Launchpad)
> i might have done a mistake, like: in the readme file of the developer,
> there was instructions that i thought would repair the already broken apt
> it was -G Ninja, BTW I think Python comes also from that file here:
> https://launchpad.net/ubuntu/+source/apt/1.3.4..
>
>
>
> On 28 February 2017 at 20:14, Manfred Hampl <
> <email address hidden>> wrote:
>
> > Your question #488329 on apt in Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
> >
> > Status: Open => Needs information
> >
> > Manfred Hampl requested more information:
> > Do you know anything about apt-listchanges? Have you installed that
> > manually, or modified something on the package's files etc.?
> >
> > What is the output of
> > ls -l /usr/bin/apt-listchanges
> >
> > --
> > 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/488329
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Eric (eric-grimaldi) said :
#43

I try to use the command line as much as I can, which is really basic..
Thanks for the rapid teaching that is much appreciated... (broken program
vs broken dependencies) (download vs Install)
Trying to answer fast, I bug a little bit sometimes :-)

ericg@mainews:~$ sudo apt-get update
Get:1 http://archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
Get:2 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102 kB]
Get:3 http://security.ubuntu.com/ubuntu yakkety-security/universe i386
Packages [40.4 kB]
Get:4 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease [102
kB]
Get:5 http://security.ubuntu.com/ubuntu yakkety-security/universe amd64
Packages [42.7 kB]
Get:6 http://security.ubuntu.com/ubuntu yakkety-security/universe
Translation-en [27.0 kB]
Get:7 http://archive.ubuntu.com/ubuntu yakkety-proposed InRelease [102 kB]
Get:8 http://archive.ubuntu.com/ubuntu yakkety-updates/universe amd64
Packages [117 kB]
Get:9 http://archive.ubuntu.com/ubuntu yakkety-updates/universe i386
Packages [115 kB]
Get:10 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64 Packages
[197 kB]
Get:11 http://archive.ubuntu.com/ubuntu yakkety-updates/main i386 Packages
[194 kB]
Fetched 1,287 kB in 6s (190
kB/s)
Reading package lists... Done

ericg@mainews:~$ sudo apt-get dist-upgrade
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.

ericg@mainews:~$ sudo dpkg --audit
ericg@mainews:~$ ls -l /usr/bin/apt-listchanges
total 0
ericg@mainews:~$

On 28 February 2017 at 21:34, Eric <email address hidden>
wrote:

> Your question #488329 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>
> Status: Needs information => Open
>
> You gave more information on the question:
> the output of
> > ls -l /usr/bin/apt-listchanges is
>
> Total0
>
> On 28 February 2017 at 21:14, Eric <email address hidden>
> wrote:
>
> > Your question #488329 on apt in Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
> >
> > Status: Needs information => Open
> >
> > You gave more information on the question:
> > I've downloaded an apt package from launchpad i remember, but as i have
> > almost never used it (Launchpad)
> > i might have done a mistake, like: in the readme file of the developer,
> > there was instructions that i thought would repair the already broken apt
> > it was -G Ninja, BTW I think Python comes also from that file here:
> > https://launchpad.net/ubuntu/+source/apt/1.3.4..
> >
> >
> >
> > On 28 February 2017 at 20:14, Manfred Hampl <
> > <email address hidden>> wrote:
> >
> > > Your question #488329 on apt in Ubuntu changed:
> > > https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
> > >
> > > Status: Open => Needs information
> > >
> > > Manfred Hampl requested more information:
> > > Do you know anything about apt-listchanges? Have you installed that
> > > manually, or modified something on the package's files etc.?
> > >
> > > What is the output of
> > > ls -l /usr/bin/apt-listchanges
> > >
> > > --
> > > 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/488329
> > >
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Eric (eric-grimaldi) said :
#44

I guess listchanges is about the systemd integration in Ubuntu?
I didn't change anything, I DLd the package, and uncompressed it with tar..

Sorry I thought I answered this already:

ericg@mainews:~$ ls -l /usr/bin/apt-listchanges
total 0
ericg@mainews:~$

On 28 February 2017 at 21:58, Eric <email address hidden>
wrote:

> Your question #488329 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>
> You gave more information on the question:
> I try to use the command line as much as I can, which is really basic..
> Thanks for the rapid teaching that is much appreciated... (broken program
> vs broken dependencies) (download vs Install)
> Trying to answer fast, I bug a little bit sometimes :-)
>
> ericg@mainews:~$ sudo apt-get update
> Get:1 http://archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
> Get:2 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102
> kB]
> Get:3 http://security.ubuntu.com/ubuntu yakkety-security/universe i386
> Packages [40.4 kB]
> Get:4 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease [102
> kB]
> Get:5 http://security.ubuntu.com/ubuntu yakkety-security/universe amd64
> Packages [42.7 kB]
> Get:6 http://security.ubuntu.com/ubuntu yakkety-security/universe
> Translation-en [27.0 kB]
> Get:7 http://archive.ubuntu.com/ubuntu yakkety-proposed InRelease [102 kB]
> Get:8 http://archive.ubuntu.com/ubuntu yakkety-updates/universe amd64
> Packages [117 kB]
> Get:9 http://archive.ubuntu.com/ubuntu yakkety-updates/universe i386
> Packages [115 kB]
> Get:10 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64
> Packages
> [197 kB]
> Get:11 http://archive.ubuntu.com/ubuntu yakkety-updates/main i386 Packages
> [194 kB]
> Fetched 1,287 kB in 6s (190
> kB/s)
> Reading package lists... Done
>
> ericg@mainews:~$ sudo apt-get dist-upgrade
> 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.
>
> ericg@mainews:~$ sudo dpkg --audit
> ericg@mainews:~$ ls -l /usr/bin/apt-listchanges
> total 0
> ericg@mainews:~$
>
>
> On 28 February 2017 at 21:34, Eric <email address hidden>
> wrote:
>
> > Your question #488329 on apt in Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
> >
> > Status: Needs information => Open
> >
> > You gave more information on the question:
> > the output of
> > > ls -l /usr/bin/apt-listchanges is
> >
> > Total0
> >
> > On 28 February 2017 at 21:14, Eric <<email address hidden>
> >
> > wrote:
> >
> > > Your question #488329 on apt in Ubuntu changed:
> > > https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
> > >
> > > Status: Needs information => Open
> > >
> > > You gave more information on the question:
> > > I've downloaded an apt package from launchpad i remember, but as i have
> > > almost never used it (Launchpad)
> > > i might have done a mistake, like: in the readme file of the
> developer,
> > > there was instructions that i thought would repair the already broken
> apt
> > > it was -G Ninja, BTW I think Python comes also from that file here:
> > > https://launchpad.net/ubuntu/+source/apt/1.3.4..
> > >
> > >
> > >
> > > On 28 February 2017 at 20:14, Manfred Hampl <
> > > <email address hidden>> wrote:
> > >
> > > > Your question #488329 on apt in Ubuntu changed:
> > > > https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
> > > >
> > > > Status: Open => Needs information
> > > >
> > > > Manfred Hampl requested more information:
> > > > Do you know anything about apt-listchanges? Have you installed that
> > > > manually, or modified something on the package's files etc.?
> > > >
> > > > What is the output of
> > > > ls -l /usr/bin/apt-listchanges
> > > >
> > > > --
> > > > 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/488329
> > > >
> > > > You received this question notification because you asked the
> question.
> > > >
> > >
> > > --
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Eric (eric-grimaldi) said :
#45

Manfred,

I've just used rm -rfv to remove the directory; apt-listchanges, shall I
recreate one?

ericg@mainews:~$ sudo rm -rfv /usr/bin/apt-listchanges
removed directory '/usr/bin/apt-listchanges'

ericg@mainews:~$ sudo apt-get update
Get:1 http://archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
Get:2 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102 kB]
Get:3 http://security.ubuntu.com/ubuntu yakkety-security/universe amd64
DEP-11 Metadata [9,736 B]
Get:4 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease [102
kB]
Get:5 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 DEP-11
Metadata [8,272 B]
Get:6 http://security.ubuntu.com/ubuntu yakkety-security/main DEP-11 64x64
Icons [10.0 kB]
Get:7 http://archive.ubuntu.com/ubuntu yakkety-proposed InRelease [102 kB]
Get:8 http://archive.ubuntu.com/ubuntu yakkety-updates/universe amd64
DEP-11 Metadata [102 kB]
Get:9 http://archive.ubuntu.com/ubuntu yakkety-updates/universe DEP-11
64x64 Icons [126 kB]
Get:10 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64 DEP-11
Metadata [147 kB]
Get:11 http://archive.ubuntu.com/ubuntu yakkety-updates/main DEP-11 64x64
Icons [76.3 kB]
Get:12 http://archive.ubuntu.com/ubuntu yakkety-proposed/universe amd64
DEP-11 Metadata [6,748 B]
Get:13 http://archive.ubuntu.com/ubuntu yakkety-proposed/main amd64 DEP-11
Metadata [97.6 kB]
Fetched 1,137 kB in 5s (190 kB/s)
Reading package lists... Done

ericg@mainews:~$ sudo apt-get upgrade
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.

ericg@mainews:~$ sudo apt-get dist-upgrade
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.
ericg@mainews:~$

On 28 February 2017 at 22:10, Eric Grimaldi <email address hidden> wrote:

> I guess listchanges is about the systemd integration in Ubuntu?
> I didn't change anything, I DLd the package, and uncompressed it with tar..
>
>
> Sorry I thought I answered this already:
>
> ericg@mainews:~$ ls -l /usr/bin/apt-listchanges
> total 0
> ericg@mainews:~$
>
> On 28 February 2017 at 21:58, Eric <email address hidden>
> wrote:
>
>> Your question #488329 on apt in Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>>
>> You gave more information on the question:
>> I try to use the command line as much as I can, which is really basic..
>> Thanks for the rapid teaching that is much appreciated... (broken program
>> vs broken dependencies) (download vs Install)
>> Trying to answer fast, I bug a little bit sometimes :-)
>>
>> ericg@mainews:~$ sudo apt-get update
>> Get:1 http://archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
>> Get:2 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102
>> kB]
>> Get:3 http://security.ubuntu.com/ubuntu yakkety-security/universe i386
>> Packages [40.4 kB]
>> Get:4 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease [102
>> kB]
>> Get:5 http://security.ubuntu.com/ubuntu yakkety-security/universe amd64
>> Packages [42.7 kB]
>> Get:6 http://security.ubuntu.com/ubuntu yakkety-security/universe
>> Translation-en [27.0 kB]
>> Get:7 http://archive.ubuntu.com/ubuntu yakkety-proposed InRelease [102
>> kB]
>> Get:8 http://archive.ubuntu.com/ubuntu yakkety-updates/universe amd64
>> Packages [117 kB]
>> Get:9 http://archive.ubuntu.com/ubuntu yakkety-updates/universe i386
>> Packages [115 kB]
>> Get:10 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64
>> Packages
>> [197 kB]
>> Get:11 http://archive.ubuntu.com/ubuntu yakkety-updates/main i386
>> Packages
>> [194 kB]
>> Fetched 1,287 kB in 6s (190
>> kB/s)
>> Reading package lists... Done
>>
>> ericg@mainews:~$ sudo apt-get dist-upgrade
>> 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.
>>
>> ericg@mainews:~$ sudo dpkg --audit
>> ericg@mainews:~$ ls -l /usr/bin/apt-listchanges
>> total 0
>> ericg@mainews:~$
>>
>>
>> On 28 February 2017 at 21:34, Eric <email address hidden>
>> wrote:
>>
>> > Your question #488329 on apt in Ubuntu changed:
>> > https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>> >
>> > Status: Needs information => Open
>> >
>> > You gave more information on the question:
>> > the output of
>> > > ls -l /usr/bin/apt-listchanges is
>> >
>> > Total0
>> >
>> > On 28 February 2017 at 21:14, Eric <<email address hidden>
>> pad.net>
>> > wrote:
>> >
>> > > Your question #488329 on apt in Ubuntu changed:
>> > > https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>> > >
>> > > Status: Needs information => Open
>> > >
>> > > You gave more information on the question:
>> > > I've downloaded an apt package from launchpad i remember, but as i
>> have
>> > > almost never used it (Launchpad)
>> > > i might have done a mistake, like: in the readme file of the
>> developer,
>> > > there was instructions that i thought would repair the already broken
>> apt
>> > > it was -G Ninja, BTW I think Python comes also from that file here:
>> > > https://launchpad.net/ubuntu/+source/apt/1.3.4..
>> > >
>> > >
>> > >
>> > > On 28 February 2017 at 20:14, Manfred Hampl <
>> > > <email address hidden>> wrote:
>> > >
>> > > > Your question #488329 on apt in Ubuntu changed:
>> > > > https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>> > > >
>> > > > Status: Open => Needs information
>> > > >
>> > > > Manfred Hampl requested more information:
>> > > > Do you know anything about apt-listchanges? Have you installed that
>> > > > manually, or modified something on the package's files etc.?
>> > > >
>> > > > What is the output of
>> > > > ls -l /usr/bin/apt-listchanges
>> > > >
>> > > > --
>> > > > 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/488329
>> > > >
>> > > > You received this question notification because you asked the
>> question.
>> > > >
>> > >
>> > > --
>> > > You received this question notification because you asked the
>> question.
>> > >
>> >
>> > --
>> > You received this question notification because you asked the question.
>> >
>>
>> --
>> You received this question notification because you asked the question.
>>
>
>

Revision history for this message
Eric (eric-grimaldi) said :
#46

Still cannot open the Language support and the Software and update tabs
from the settings, I believe, issues with my updating the language tab,
something happened then.. I don't remember a crash or something

On 28 February 2017 at 22:30, Eric Grimaldi <email address hidden> wrote:

> Manfred,
>
> I've just used rm -rfv to remove the directory; apt-listchanges, shall I
> recreate one?
>
> ericg@mainews:~$ sudo rm -rfv /usr/bin/apt-listchanges
> removed directory '/usr/bin/apt-listchanges'
>
> ericg@mainews:~$ sudo apt-get update
> Get:1 http://archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
> Get:2 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102
> kB]
> Get:3 http://security.ubuntu.com/ubuntu yakkety-security/universe amd64
> DEP-11 Metadata [9,736 B]
> Get:4 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease [102
> kB]
> Get:5 http://security.ubuntu.com/ubuntu yakkety-security/main amd64
> DEP-11 Metadata [8,272 B]
> Get:6 http://security.ubuntu.com/ubuntu yakkety-security/main DEP-11
> 64x64 Icons [10.0 kB]
> Get:7 http://archive.ubuntu.com/ubuntu yakkety-proposed InRelease [102 kB]
> Get:8 http://archive.ubuntu.com/ubuntu yakkety-updates/universe amd64
> DEP-11 Metadata [102 kB]
> Get:9 http://archive.ubuntu.com/ubuntu yakkety-updates/universe DEP-11
> 64x64 Icons [126 kB]
> Get:10 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64 DEP-11
> Metadata [147 kB]
> Get:11 http://archive.ubuntu.com/ubuntu yakkety-updates/main DEP-11 64x64
> Icons [76.3 kB]
> Get:12 http://archive.ubuntu.com/ubuntu yakkety-proposed/universe amd64
> DEP-11 Metadata [6,748 B]
> Get:13 http://archive.ubuntu.com/ubuntu yakkety-proposed/main amd64
> DEP-11 Metadata [97.6 kB]
> Fetched 1,137 kB in 5s (190 kB/s)
> Reading package lists... Done
>
> ericg@mainews:~$ sudo apt-get upgrade
> 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.
>
> ericg@mainews:~$ sudo apt-get dist-upgrade
> 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.
> ericg@mainews:~$
>
>
> On 28 February 2017 at 22:10, Eric Grimaldi <email address hidden>
> wrote:
>
>> I guess listchanges is about the systemd integration in Ubuntu?
>> I didn't change anything, I DLd the package, and uncompressed it with
>> tar..
>>
>>
>> Sorry I thought I answered this already:
>>
>> ericg@mainews:~$ ls -l /usr/bin/apt-listchanges
>> total 0
>> ericg@mainews:~$
>>
>> On 28 February 2017 at 21:58, Eric <email address hidden>
>> wrote:
>>
>>> Your question #488329 on apt in Ubuntu changed:
>>> https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>>>
>>> You gave more information on the question:
>>> I try to use the command line as much as I can, which is really basic..
>>> Thanks for the rapid teaching that is much appreciated... (broken program
>>> vs broken dependencies) (download vs Install)
>>> Trying to answer fast, I bug a little bit sometimes :-)
>>>
>>> ericg@mainews:~$ sudo apt-get update
>>> Get:1 http://archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
>>> Get:2 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102
>>> kB]
>>> Get:3 http://security.ubuntu.com/ubuntu yakkety-security/universe i386
>>> Packages [40.4 kB]
>>> Get:4 http://archive.ubuntu.com/ubuntu yakkety-updates InRelease [102
>>> kB]
>>> Get:5 http://security.ubuntu.com/ubuntu yakkety-security/universe amd64
>>> Packages [42.7 kB]
>>> Get:6 http://security.ubuntu.com/ubuntu yakkety-security/universe
>>> Translation-en [27.0 kB]
>>> Get:7 http://archive.ubuntu.com/ubuntu yakkety-proposed InRelease [102
>>> kB]
>>> Get:8 http://archive.ubuntu.com/ubuntu yakkety-updates/universe amd64
>>> Packages [117 kB]
>>> Get:9 http://archive.ubuntu.com/ubuntu yakkety-updates/universe i386
>>> Packages [115 kB]
>>> Get:10 http://archive.ubuntu.com/ubuntu yakkety-updates/main amd64
>>> Packages
>>> [197 kB]
>>> Get:11 http://archive.ubuntu.com/ubuntu yakkety-updates/main i386
>>> Packages
>>> [194 kB]
>>> Fetched 1,287 kB in 6s (190
>>> kB/s)
>>> Reading package lists... Done
>>>
>>> ericg@mainews:~$ sudo apt-get dist-upgrade
>>> 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.
>>>
>>> ericg@mainews:~$ sudo dpkg --audit
>>> ericg@mainews:~$ ls -l /usr/bin/apt-listchanges
>>> total 0
>>> ericg@mainews:~$
>>>
>>>
>>> On 28 February 2017 at 21:34, Eric <<email address hidden>
>>> >
>>> wrote:
>>>
>>> > Your question #488329 on apt in Ubuntu changed:
>>> > https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>>> >
>>> > Status: Needs information => Open
>>> >
>>> > You gave more information on the question:
>>> > the output of
>>> > > ls -l /usr/bin/apt-listchanges is
>>> >
>>> > Total0
>>> >
>>> > On 28 February 2017 at 21:14, Eric <<email address hidden>
>>> pad.net>
>>> > wrote:
>>> >
>>> > > Your question #488329 on apt in Ubuntu changed:
>>> > > https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>>> > >
>>> > > Status: Needs information => Open
>>> > >
>>> > > You gave more information on the question:
>>> > > I've downloaded an apt package from launchpad i remember, but as i
>>> have
>>> > > almost never used it (Launchpad)
>>> > > i might have done a mistake, like: in the readme file of the
>>> developer,
>>> > > there was instructions that i thought would repair the already
>>> broken apt
>>> > > it was -G Ninja, BTW I think Python comes also from that file here:
>>> > > https://launchpad.net/ubuntu/+source/apt/1.3.4..
>>> > >
>>> > >
>>> > >
>>> > > On 28 February 2017 at 20:14, Manfred Hampl <
>>> > > <email address hidden>> wrote:
>>> > >
>>> > > > Your question #488329 on apt in Ubuntu changed:
>>> > > > https://answers.launchpad.net/ubuntu/+source/apt/+question/488329
>>> > > >
>>> > > > Status: Open => Needs information
>>> > > >
>>> > > > Manfred Hampl requested more information:
>>> > > > Do you know anything about apt-listchanges? Have you installed that
>>> > > > manually, or modified something on the package's files etc.?
>>> > > >
>>> > > > What is the output of
>>> > > > ls -l /usr/bin/apt-listchanges
>>> > > >
>>> > > > --
>>> > > > 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/488329
>>> > > >
>>> > > > You received this question notification because you asked the
>>> question.
>>> > > >
>>> > >
>>> > > --
>>> > > You received this question notification because you asked the
>>> question.
>>> > >
>>> >
>>> > --
>>> > You received this question notification because you asked the question.
>>> >
>>>
>>> --
>>> You received this question notification because you asked the question.
>>>
>>
>>
>

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

Why are you always interfering with the package management system by manually downloading and unpacking programs and/or deleting system files? You are breaking interdependencies!

Apparently there are now some references to apt-listchanges files somewhere else, but you have deleted the apt-listchanges files.

I suggest that you reinstall apt-listchanges and then remove it again, but using the package management programs.

sudo apt-get install --reinstall apt-listchanges
sudo apt-get purge apt-listchanges

After that try

sudo apt-get install python-software-properties

and copy/paste all output.

Can you help with this problem?

Provide an answer of your own, or ask Eric for more information if necessary.

To post a message you must log in.