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

Bug#807948: apt: 'update' fails with 'Couldn't create tempfiles for splitting up' InRelease files



Package: apt
Version: 1.0.10.2
Severity: important

Dear Maintainer,

When I upgrade to apt 1.1.3 or later (tested with both that and 1.1.4),
and then run 'apt-get update' or 'apt update', I get results like the
following:

========
Ign:1 http://ftp.us.debian.org/debian stable InRelease
Hit:2 http://ftp.us.debian.org/debian testing InRelease
Err:2 http://ftp.us.debian.org/debian testing InRelease

Couldn't create tempfiles for splitting up
/var/lib/apt/lists/ftp.us.debian.org_debian_dists_testing_InRelease
  Could not execute 'apt-key' to verify signature (is gnupg installed?)
Hit:3 http://ftp.us.debian.org/debian stable Release

Err:4 http://ftp.us.debian.org/debian stable Release.gpg

  At least one invalid signature was encountered.
Ign:5 http://download.videolan.org/pub/debian/stable  InRelease

Hit:6 http://download.videolan.org/pub/debian/stable  Release
Err:7 http://download.videolan.org/pub/debian/stable  Release.gpg
  At least one invalid signature was encountered.
Hit:8 http://security.debian.org stable/updates InRelease
Err:8 http://security.debian.org stable/updates InRelease't create
tempfiles for splitting up
/var/lib/apt/lists/security.debian.org_dists_stable_updates_InRelease
  Could not execute 'apt-key' to verify signature (is gnupg installed?)
Hit:9 http://security.debian.org testing/updates InRelease
Err:9 http://security.debian.org testing/updates InRelease splitting up
/var/lib/apt/lists/security.debian.org_dists_testing_updates_InRelease
  Could not execute 'apt-key' to verify signature (is gnupg installed?)
Reading package lists... Done
W: An error occurred during the signature verification. The repository
is not updated and the previous index files will be used. GPG error:
http://ftp.us.debian.org/debian testing InRelease: Could not execute
'apt-key' to verify signature (is gnupg installed?)
W: An error occurred during the signature verification. The repository
is not updated and the previous index files will be used. GPG error:
http://ftp.us.debian.org/debian stable Release: At least one invalid
signature was encountered.
W: An error occurred during the signature verification. The repository
is not updated and the previous index files will be used. GPG error:
http://download.videolan.org/pub/debian/stable  Release: At least one
invalid signature was encountered.
W: An error occurred during the signature verification. The repository
is not updated and the previous index files will be used. GPG error:
http://security.debian.org stable/updates InRelease: Could not execute
'apt-key' to verify signature (is gnupg installed?)
W: An error occurred during the signature verification. The repository
is not updated and the previous index files will be used. GPG error:
http://security.debian.org testing/updates InRelease: Could not execute
'apt-key' to verify signature (is gnupg installed?)
W: Failed to fetch
http://ftp.us.debian.org/debian/dists/testing/InRelease  Could not
execute 'apt-key' to verify signature (is gnupg installed?)
W: Failed to fetch
http://security.debian.org/dists/stable/updates/InRelease  Could not
execute 'apt-key' to verify signature (is gnupg installed?)
W: Failed to fetch
http://security.debian.org/dists/testing/updates/InRelease  Could not
execute 'apt-key' to verify signature (is gnupg installed?)
W: Failed to fetch
http://ftp.us.debian.org/debian/dists/stable/Release.gpg  At least one
invalid signature was encountered.
W: Failed to fetch
http://download.videolan.org/pub/debian/stable/Release.gpg  At least one
invalid signature was encountered.
W: Some index files failed to download. They have been ignored, or old
ones used instead.
========

As the below should indicate, I do have gnupg installed.

Downgrading back to apt 1.0.10.2 (which is a manual process involving
multiple passes with dpkg, due to dependency problems) restores
functionality.

A problem which looks like the same issue has been reported by an Ubuntu
user:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1524196

The configuration information below was captured from a system where the
downgrade back to 1.0.10.2 had been completed. The pins against apt and
aptitude-common are to prevent dist-upgrades from bringing back the
broken configuration again.

As far as I'm aware, nothing about my system should prevent this from
working. However, I've been unable to figure out how to get meaningful
information about what is failing.

If there is anything I can do to help track this down, please do not
hesitate to let me know.

-- 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::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image-4\.1\.0-2-amd64$";
APT::NeverAutoRemove:: "^linux-image-4\.2\.0-1-amd64$";
APT::NeverAutoRemove:: "^linux-headers-4\.1\.0-2-amd64$";
APT::NeverAutoRemove:: "^linux-headers-4\.2\.0-1-amd64$";
APT::NeverAutoRemove:: "^linux-image-extra-4\.1\.0-2-amd64$";
APT::NeverAutoRemove:: "^linux-image-extra-4\.2\.0-1-amd64$";
APT::NeverAutoRemove:: "^linux-signed-image-4\.1\.0-2-amd64$";
APT::NeverAutoRemove:: "^linux-signed-image-4\.2\.0-1-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-image-4\.1\.0-2-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-image-4\.2\.0-1-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-headers-4\.1\.0-2-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-headers-4\.2\.0-1-amd64$";
APT::NeverAutoRemove:: "^gnumach-image-4\.1\.0-2-amd64$";
APT::NeverAutoRemove:: "^gnumach-image-4\.2\.0-1-amd64$";
APT::NeverAutoRemove:: "^.*-modules-4\.1\.0-2-amd64$";
APT::NeverAutoRemove:: "^.*-modules-4\.2\.0-1-amd64$";
APT::NeverAutoRemove:: "^.*-kernel-4\.1\.0-2-amd64$";
APT::NeverAutoRemove:: "^.*-kernel-4\.2\.0-1-amd64$";
APT::NeverAutoRemove:: "^linux-backports-modules-.*-4\.1\.0-2-amd64$";
APT::NeverAutoRemove:: "^linux-backports-modules-.*-4\.2\.0-1-amd64$";
APT::NeverAutoRemove:: "^linux-tools-4\.1\.0-2-amd64$";
APT::NeverAutoRemove:: "^linux-tools-4\.2\.0-1-amd64$";
APT::NeverAutoRemove:: "^postgresql-";
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::Clean-Installed "false";
APT::Architectures "";
APT::Architectures:: "amd64";
APT::Architectures:: "i386";
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/cdrom";
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";
Aptitude "";
Aptitude::ProblemResolver "";
Aptitude::ProblemResolver::SolutionCost "priority, removals,
canceled-actions";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/apt-listbugs apt";
DPkg::Pre-Install-Pkgs:: "adequate --help >/dev/null 2>&1 || exit 0;
exec adequate --user nobody --apt-preinst";
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/sbin/apt-listbugs "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "3";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::InfoFD "20";
DPkg::Tools::Options::adequate "";
DPkg::Tools::Options::adequate::Version "2";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "adequate --help >/dev/null 2>&1 || exit 0; exec
adequate --debconf --user nobody --pending";
AptListbugs "";
AptListbugs::Severities "critical,grave,serious";
Adequate "";
Adequate::Enabled "false";
CommandLine "";
CommandLine::AsString "apt-config dump";

-- /etc/apt/preferences --

#Package: iceweasel
#Pin: version 24.*
#Pin-Priority: 1001

Package: iceweasel
Pin: version 38.*
Pin-Priority: 1001

Package: icedove
Pin: version 31.*
Pin-Priority: 1001

#Package: xulrunner-1.9.1
#Pin: version 1.9.1*
#Pin-Priority: 1001

#Package: libglib2.0-0
#Pin: release a=stable
#Pin-Priority: 1001

Package: systemd-sysv
Pin: version *
Pin-Priority: -1

#Explanation: Try to keep sid in the sources list but not use it except
intentionally
#Package: *
#Pin: release a=testing
#Pin-Priority: 900

#Explanation: Prevent graphics driver from being removed due to newer X
#Package: fglrx-driver
#Pin: release a=testing
#Pin-Priority: 990

Explanation: Prevent removal of a local custom package designed to
depend on (and prevent removal of) other packages, without limiting
those other packages to any particular version
Package: removal-prevention
Pin: version 1.*
Pin-Priority: 1001

#Explanation: Avoid bug 772096, lack of autoscrolling in KildClient.
#Package: libgtk-3-0
#Package: libgtk-3-common
#Pin: version 3.12.*
#Pin-Priority: 1001

#Explanation: Prevent graphics driver from being removed due to newer X
#Package: xserver-xorg-core
#Pin: version 2:1.16.*
#Pin-Priority: 990

Explanation: Prevent 'apt-get update' breakage related to gnupg /
apt-key, present in apt version 1.1.3
Package: apt
Pin: version 1.0.*
Pin-Priority: 1001

Explanation: Same as above
Package: aptitude-common
Pin: version 0.7.4-1
Pin-Priority: 1001

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

#

# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official amd64 NETINST
Binary-1 20110205-14:31]/ squeeze main

#deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official amd64 NETINST
Binary-1 20110205-14:31]/ squeeze main

## needed for a 2.x version of icedove, but apparently no longer available
#deb http://ftp.us.debian.org/debian/ lenny main non-free contrib
#deb-src http://ftp.us.debian.org/debian/ lenny main non-free contrib

deb http://ftp.us.debian.org/debian/ stable main non-free contrib
deb-src http://ftp.us.debian.org/debian/ stable main non-free contrib
deb http://ftp.us.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.us.debian.org/debian/ testing main non-free contrib

#deb http://ftp.us.debian.org/debian/ sid main non-free contrib
#deb-src http://ftp.us.debian.org/debian/ sid main non-free contrib

#deb http://ftp.us.debian.org/debian/ experimental main non-free contrib
#deb-src http://ftp.us.debian.org/debian/ experimental main non-free contrib

deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free

#deb http://ftp.us.debian.org/debian/ stable-updates main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ stable-updates main contrib
non-free

## added to look for older versions of Flash and/or newer versions of
pre-4.x Iceweasel, in hopes of fixing Flash animation playback
#deb http://archive.debian.org/debian/ lenny main non-free contrib
#deb-src http://archive.debian.org/debian/ lenny main non-free contrib

## added to install Acrobat Reader for the Progressive.com signing
limitation, grrrrrrrr
#deb http://archive.canonical.com/ precise partner

# added for libdvdcss, trying to get MPlayer DVD playback working again...
deb http://download.videolan.org/pub/debian/stable/ /
deb-src http://download.videolan.org/pub/debian/stable/ /

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages apt depends on:
ii  debian-archive-keyring  2014.3
ii  gnupg                   1.4.19-6
ii  libapt-pkg4.16          1.0.10.2
ii  libc6                   2.19-22
ii  libgcc1                 1:5.2.1-23
ii  libstdc++6              5.2.1-23

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc     <none>
ii  aptitude    0.7.4-1
ii  dpkg-dev    1.18.3
ii  python-apt  1.0.1

-- debconf-show failed


Reply to: