apt-get reports signature problem when /tmp is full

Bug #1822462 reported by Olaf Dietsche
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

1)
Description: Ubuntu Bionic Beaver (development branch)
Release: 18.04

2)
apt:
  Installed: 1.6.10
  Candidate: 1.6.10
  Version table:
 *** 1.6.10 100
        100 /var/lib/dpkg/status

3)
I would expect a helpful error message, saying there's not enough disk space, or maybe even pointing at the /tmp partition.

4)
My /tmp partition was full, when I tried `apt-get update`. It failed with the following errors:

Get:1 http://de.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Err:1 http://de.archive.ubuntu.com/ubuntu bionic InRelease
  Splitting up /var/lib/apt/lists/partial/de.archive.ubuntu.com_ubuntu_dists_bionic_InRelease into data and signature failed
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Err:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
  Splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_bionic-security_InRelease into data and signature failed
Get:3 http://de.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Err:3 http://de.archive.ubuntu.com/ubuntu bionic-updates InRelease
  Splitting up /var/lib/apt/lists/partial/de.archive.ubuntu.com_ubuntu_dists_bionic-updates_InRelease into data and signature failed
Get:4 http://de.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Err:4 http://de.archive.ubuntu.com/ubuntu bionic-backports InRelease
  Splitting up /var/lib/apt/lists/partial/de.archive.ubuntu.com_ubuntu_dists_bionic-backports_InRelease into data and signature failed
Reading package lists... Done
W: GPG error: http://de.archive.ubuntu.com/ubuntu bionic InRelease: Splitting up /var/lib/apt/lists/partial/de.archive.ubuntu.com_ubuntu_dists_bionic_InRelease into data and signature failed
E: The repository 'http://de.archive.ubuntu.com/ubuntu bionic 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://security.ubuntu.com/ubuntu bionic-security InRelease: Splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_bionic-security_InRelease into data and signature failed
E: The repository 'http://security.ubuntu.com/ubuntu bionic-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.
W: GPG error: http://de.archive.ubuntu.com/ubuntu bionic-updates InRelease: Splitting up /var/lib/apt/lists/partial/de.archive.ubuntu.com_ubuntu_dists_bionic-updates_InRelease into data and signature failed
E: The repository 'http://de.archive.ubuntu.com/ubuntu bionic-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://de.archive.ubuntu.com/ubuntu bionic-backports InRelease: Splitting up /var/lib/apt/lists/partial/de.archive.ubuntu.com_ubuntu_dists_bionic-backports_InRelease into data and signature failed
E: The repository 'http://de.archive.ubuntu.com/ubuntu bionic-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.

The hint at unsigned repositories is misleading and it took quite some time to figure out the real problem. Therefore, I would expect an error message pointing at the real culprit, which in this case was missing disk space.

---

After removing files from /tmp, apt-get update succeeds as expected:

Get:1 http://de.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:2 http://de.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Get:4 http://de.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Get:5 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1.019 kB]
Get:6 http://de.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]
Get:7 http://de.archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [9.184 B]
Get:8 http://de.archive.ubuntu.com/ubuntu bionic/restricted Translation-en [3.584 B]
Get:9 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8.570 kB]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [284 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [104 kB]
Get:12 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [4.296 B]
Get:13 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [2.192 B]
Get:14 http://de.archive.ubuntu.com/ubuntu bionic/universe Translation-en [4.941 kB]
Get:15 http://de.archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB]
Get:16 http://de.archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB]
Get:17 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [560 kB]
Get:18 http://de.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [207 kB]
Get:19 http://de.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [6.996 B]
Get:20 http://de.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [3.076 B]
Get:21 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [747 kB]
Get:22 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [196 kB]
Get:23 http://de.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [6.388 B]
Get:24 http://de.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [3.452 B]
Get:25 http://de.archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [1.024 B]
Get:26 http://de.archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [448 B]
Get:27 http://de.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [3.468 B]
Get:28 http://de.archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [1.604 B]
Fetched 4.649 kB in 4s (1.266 kB/s)
Reading package lists... Done

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt (Ubuntu):
status: New → Confirmed
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.