[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



Control: notfound -1 1.0.10.2
Control: found -1 1.1.3

(fixing up metadata to reflect report)

On Mon, Dec 14, 2015 at 11:42:34AM -0500, The Wanderer wrote:
> Couldn't create tempfiles for splitting up
> /var/lib/apt/lists/ftp.us.debian.org_debian_dists_testing_InRelease

The code doing the splitting is present since 0.9.8 (~2013), so that is
probably really about the tempfiles rather than this code itself as it
didn't change much.

I guess its permission related as this code is now executed as _apt
rather than as root. You can disable privilege dropping temporarily with
-o APT::Sandbox::User=root

Interesting might be the permissions of your $TMPDIR: stat /tmp $TMPDIR
Potentially also how you mount it (if you do it): mount | grep tmpfs
[I see that you haven't followed the systemd switch yet, which suggests
you could have other "new" default options not as default like a non-
persistent /tmp as well]

You could also try moving /var/lib/apt/lists away. There is no 'partial'
in this file path, so maybe some bad file is stuck in there doing bad
things. While at it: Anything interesting in the partial/ subdirectory
and does the mention file looks at least reasonable? The files are all
Hit's – what modification time have the files in the lists/ dir?

I presume 1.1.3 was the first apt you tried of the 1.1 series, right?


>   Could not execute 'apt-key' to verify signature (is gnupg installed?)

(That is a catch-all message printed after we had a failure higher up
the chain [which was probably very technical like this one] – with the
"most likely" cause added in a few layman terms as we do it in a few
other error messages as well.)


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


Reply to: