1318: apt-get update fails if /tmp is not a tmpfs

Bug #2054311 reported by Heinrich Schuchardt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Manual Tests
New
Undecided
Unassigned

Bug Description

Following the instructions:

root@workstation5:/# apt update; apt install hello
Get:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease [270 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease [119 kB]
Err:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
  Couldn't create temporary file /tmp/apt.conf.QdqhOm for passing config to apt-key
Get:3 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease [109 kB]
Err:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
  Couldn't create temporary file /tmp/apt.conf.IuMOu0 for passing config to apt-key
Err:3 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
  Couldn't create temporary file /tmp/apt.conf.KOhxCK for passing config to apt-key
Get:4 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease [110 kB]
Err:4 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
  Couldn't create temporary file /tmp/apt.conf.z6aeMm for passing config to apt-key
Reading package lists... Done
W: GPG error: http://ports.ubuntu.com/ubuntu-ports jammy InRelease: Couldn't create temporary file /tmp/apt.conf.QdqhOm for passing config to apt-key
E: The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed.
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://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease: Couldn't create temporary file /tmp/apt.conf.IuMOu0 for passing config to apt-key
E: The repository 'http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease' is not signed.
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://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease: Couldn't create temporary file /tmp/apt.conf.KOhxCK for passing config to apt-key
E: The repository 'http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease' is not signed.
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://ports.ubuntu.com/ubuntu-ports jammy-security InRelease: Couldn't create temporary file /tmp/apt.conf.z6aeMm for passing config to apt-key
E: The repository 'http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease' is not signed.
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.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package hello

After 'mount tmp -tmpfs base/tmp' the test succeeded.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.