[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#784310: apt update always fails on experimental/non-free



Package: apt
Version: 1.0.9.9
Severity: normal

Since months i have an error during the apt update phase, always on
experimental/non-free. Initially i thought it was a temporary mirror
problem, because changing the repository the error went away.
But when in the next days i was doing another update, the error came back,
even with the changed mirror.

It happens on at least two machine of mine, an i386 and an amd64 arch, with
substantially the same sources.list and i think it started to show this
behaviour at the same time.
And it happens with aptitude too.

Apart from sources.list, i think i've never changed nothing from default
apt setup.

Try these steps, to me are always reproducible:
- Take my sources.list.
- If you are currently using the same mirror like mine, change it.
- apt update
- Look that no error are displayed: everything is correctly updated.
- Rerun: apt update
- Here i see an "Err" line on experimental/non-free Packages.

Here is my output:
-------------------------
root@etna:~# apt update
Get:1 http://httpredir.debian.org unstable InRelease [204 kB]
Get:2 http://httpredir.debian.org experimental InRelease [162 kB]
Get:3 http://httpredir.debian.org unstable/contrib Translation-en [42,1 kB]
Get:4 http://httpredir.debian.org unstable/main Translation-en [4.878 kB]    
Get:5 http://httpredir.debian.org unstable/non-free Translation-en [76,4 kB]         
Get:6 http://httpredir.debian.org experimental/contrib Translation-en [4.527 B]                                            
Get:7 http://httpredir.debian.org experimental/main Translation-en [429 kB]                           
Get:8 http://httpredir.debian.org unstable/main amd64 Packages [7.189 kB]                            
Get:9 http://httpredir.debian.org experimental/non-free Translation-en [10,2 kB]                                                              
Get:10 http://httpredir.debian.org experimental/contrib amd64 Packages [6.144 B]                                                                               
Get:11 http://httpredir.debian.org experimental/non-free amd64 Packages [13,9 kB]                                                   
Get:12 http://httpredir.debian.org unstable/non-free amd64 Packages [89,2 kB]                                                                                          
Get:13 http://httpredir.debian.org unstable/contrib amd64 Packages [54,1 kB]                                                                                           
Get:14 http://httpredir.debian.org experimental/main amd64 Packages [737 kB]                                                                                           
Fetched 13,9 MB in 24s (568 kB/s)                                                                                                                                      
Reading package lists... Done
Building dependency tree       
Reading state information... Done
34 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@etna:~#
root@etna:~# apt update
Get:1 http://httpredir.debian.org unstable InRelease [204 kB]
Hit http://httpredir.debian.org experimental InRelease          
Get:2 http://httpredir.debian.org experimental/contrib amd64 Packages/DiffIndex [7.819 B]
Get:3 http://httpredir.debian.org experimental/main amd64 Packages/DiffIndex [7.819 B]
Get:4 http://httpredir.debian.org experimental/non-free amd64 Packages/DiffIndex [7.819 B]
Get:5 http://httpredir.debian.org experimental/contrib Translation-en/DiffIndex [7.819 B]
Get:6 http://httpredir.debian.org experimental/main Translation-en/DiffIndex [7.819 B]
Get:7 http://httpredir.debian.org experimental/non-free Translation-en/DiffIndex [7.819 B]
Get:8 http://httpredir.debian.org unstable/main amd64 Packages/DiffIndex [7.876 B]
Get:9 http://httpredir.debian.org unstable/non-free amd64 Packages/DiffIndex [7.819 B]
Get:10 http://httpredir.debian.org unstable/contrib amd64 Packages/DiffIndex [7.819 B]                        
Get:11 http://httpredir.debian.org unstable/contrib Translation-en/DiffIndex [7.819 B]
Get:12 http://httpredir.debian.org unstable/main Translation-en/DiffIndex [7.876 B]
Get:13 http://httpredir.debian.org unstable/non-free Translation-en/DiffIndex [7.819 B]
Err http://httpredir.debian.org experimental/non-free amd64 Packages
  
Hit http://httpredir.debian.org experimental/non-free amd64 Packages
Fetched 298 kB in 4s (66,2 kB/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
34 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@etna:~# 
-------------------------

So when you change mirror and update for the first time you get no error.
And that's why in the past i thought was a mirror problem: because changing
mirror the error apparently went away.
But on subsequently updates the error is always present.

Cesare.


-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^linux-headers-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^linux-image-extra-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^linux-signed-image-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-image-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-headers-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^gnumach-image-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^.*-modules-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^.*-kernel-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^linux-backports-modules-.*-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^linux-tools-3\.16\.0-4-amd64$";
APT::VersionedKernelPackages "";
APT::VersionedKernelPackages:: "linux-image";
APT::VersionedKernelPackages:: "linux-headers";
APT::VersionedKernelPackages:: "linux-image-extra";
APT::VersionedKernelPackages:: "linux-signed-image";
APT::VersionedKernelPackages:: "kfreebsd-image";
APT::VersionedKernelPackages:: "kfreebsd-headers";
APT::VersionedKernelPackages:: "gnumach-image";
APT::VersionedKernelPackages:: ".*-modules";
APT::VersionedKernelPackages:: ".*-kernel";
APT::VersionedKernelPackages:: "linux-backports-modules-.*";
APT::VersionedKernelPackages:: "linux-tools";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Never-MarkAuto-Sections:: "oldlibs";
APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
APT::Never-MarkAuto-Sections:: "universe/oldlibs";
APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
APT::Architectures "";
APT::Architectures:: "amd64";
APT::Compressor "";
APT::Compressor::. "";
APT::Compressor::.::Name ".";
APT::Compressor::.::Extension "";
APT::Compressor::.::Binary "";
APT::Compressor::.::Cost "1";
APT::Compressor::gzip "";
APT::Compressor::gzip::Name "gzip";
APT::Compressor::gzip::Extension ".gz";
APT::Compressor::gzip::Binary "gzip";
APT::Compressor::gzip::Cost "2";
APT::Compressor::gzip::CompressArg "";
APT::Compressor::gzip::CompressArg:: "-9n";
APT::Compressor::gzip::UncompressArg "";
APT::Compressor::gzip::UncompressArg:: "-d";
APT::Compressor::bzip2 "";
APT::Compressor::bzip2::Name "bzip2";
APT::Compressor::bzip2::Extension ".bz2";
APT::Compressor::bzip2::Binary "bzip2";
APT::Compressor::bzip2::Cost "3";
APT::Compressor::bzip2::CompressArg "";
APT::Compressor::bzip2::CompressArg:: "-9";
APT::Compressor::bzip2::UncompressArg "";
APT::Compressor::bzip2::UncompressArg:: "-d";
APT::Compressor::xz "";
APT::Compressor::xz::Name "xz";
APT::Compressor::xz::Extension ".xz";
APT::Compressor::xz::Binary "xz";
APT::Compressor::xz::Cost "4";
APT::Compressor::xz::CompressArg "";
APT::Compressor::xz::CompressArg:: "-6";
APT::Compressor::xz::UncompressArg "";
APT::Compressor::xz::UncompressArg:: "-d";
APT::Compressor::lzma "";
APT::Compressor::lzma::Name "lzma";
APT::Compressor::lzma::Extension ".lzma";
APT::Compressor::lzma::Binary "xz";
APT::Compressor::lzma::Cost "5";
APT::Compressor::lzma::CompressArg "";
APT::Compressor::lzma::CompressArg:: "--format=lzma";
APT::Compressor::lzma::CompressArg:: "-9";
APT::Compressor::lzma::UncompressArg "";
APT::Compressor::lzma::UncompressArg:: "--format=lzma";
APT::Compressor::lzma::UncompressArg:: "-d";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";
Dir::Etc::trustedparts "trusted.gpg.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::solvers "";
Dir::Bin::solvers:: "/usr/lib/apt/solvers";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Bin::bzip2 "/bin/bzip2";
Dir::Bin::xz "/usr/bin/xz";
Dir::Bin::lzma "/usr/bin/xz";
Dir::Media "";
Dir::Media::MountPath "/media/apt";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
Dir::Ignore-Files-Silently:: "\.save$";
Dir::Ignore-Files-Silently:: "\.orig$";
Dir::Ignore-Files-Silently:: "\.distUpgrade$";
Acquire "";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom/";
Acquire::Languages "";
Acquire::Languages:: "en";
Acquire::Languages:: "none";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "test -x /usr/lib/needrestart/apt-pinvoke && /usr/lib/needrestart/apt-pinvoke || true";
CommandLine "";
CommandLine::AsString "apt-config dump";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

deb http://httpredir.debian.org/debian unstable main
deb http://httpredir.debian.org/debian unstable contrib
deb http://httpredir.debian.org/debian unstable non-free
deb http://httpredir.debian.org/debian experimental main
deb http://httpredir.debian.org/debian experimental contrib
deb http://httpredir.debian.org/debian experimental non-free

#deb http://ftp.it.debian.org/debian unstable main
#deb http://ftp.it.debian.org/debian unstable contrib
#deb http://ftp.it.debian.org/debian unstable non-free
#deb http://ftp.it.debian.org/debian experimental main
#deb http://ftp.it.debian.org/debian experimental contrib
#deb http://ftp.it.debian.org/debian experimental non-free

#deb http://mirrors.kernel.org/debian unstable main
#deb http://mirrors.kernel.org/debian unstable contrib
#deb http://mirrors.kernel.org/debian unstable non-free
#deb http://mirrors.kernel.org/debian experimental main
#deb http://mirrors.kernel.org/debian experimental contrib
#deb http://mirrors.kernel.org/debian experimental non-free


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apt depends on:
ii  debian-archive-keyring  2014.3
ii  gnupg                   1.4.18-7
ii  libapt-pkg4.12          1.0.9.9
ii  libc6                   2.19-18
ii  libgcc1                 1:5.1.1-3
ii  libstdc++6              5.1.1-3

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc     <none>
ii  aptitude    0.6.11-1+b1
pn  dpkg-dev    <none>
ii  python-apt  0.9.3.11

-- no debconf information


Reply to: