Couldn't create temporary file /tmp/apt.conf.fsIutr for passing config to apt-key
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I tried to run
http://
I downloaded http://
mkdir base
sudo tar -C base -zxf focal-base-
sudo mount --bind /proc base/proc
sudo mount --bind /sys base/sys
sudo mount --bind /dev base/dev
sudo mount --bind /dev/pts base/dev/pts
sudo cp /etc/resolv.conf base/etc/
sudo chroot base
apt-get update results in:
Get:1 http://
Get:2 http://
Err:1 http://
Couldn't create temporary file /tmp/apt.
Err:2 http://
Couldn't create temporary file /tmp/apt.
Get:3 http://
Err:3 http://
Couldn't create temporary file /tmp/apt.
Get:4 http://
Err:4 http://
Couldn't create temporary file /tmp/apt.
Reading package lists... Done
W: GPG error: http://
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
As touch /tmp/apt.
Changed in apt (Ubuntu): | |
status: | New → Invalid |
Outside the chroot these are my mounts relevant for the test:
$ mount | grep /home vgubuntu- home on /home type ext4 (rw,relatime) temp/base/ proc type proc (rw,nosuid, nodev,noexec, relatime) temp/base/ sys type sysfs (rw,nosuid, nodev,noexec, relatime) temp/base/ dev type devtmpfs (rw,nosuid, relatime, size=7940560k, nr_inodes= 1985140, mode=755, inode64) temp/base/ dev/pts type devpts (rw,nosuid, noexec, relatime, gid=5,mode= 620,ptmxmode= 000)
/dev/mapper/
proc on /home/user/
sysfs on /home/user/
udev on /home/user/
devpts on /home/user/