apt's lists/partial fills disk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
APT |
New
|
Undecided
|
Unassigned | ||
apt (Ubuntu) |
Fix Released
|
High
|
Michael Vogt | ||
Vivid |
Fix Released
|
High
|
Michael Vogt |
Bug Description
Test case:
- there is a artificial test in test/integration now
- as this is server side dependent a regression test should be enough
Since I upgraded to vivid, apt fills the disk space at /var/lib/
I tried inspecting the file to see if there is a repetition of data, and there seems to be, as I have suspected.
First of all, the file is it.archive.
I used `tail` and `hexdump` to figure out whether a certain pattern shows up in the file. Here are some examples:
$ tail -c 200000 it.archive.
0000c80 8d9e 63ad bbdf 40a7 3f3e 2b4a 9b95 aa5a
0010c80 8d9e 63ad bbdf 40a7 3f3e 2b4a 9b95 aa5a
0020c80 8d9e 63ad bbdf 40a7 3f3e 2b4a 9b95 aa5a
0030c80 8d9e 63ad bbdf 40a7 3f3e 2b4a 9b95 aa5a
$ tail -c 200000 it.archive.
0000c80 8d9e 63ad bbdf 40a7 3f3e 2b4a 9b95 aa5a
0010c80 8d9e 63ad bbdf 40a7 3f3e 2b4a 9b95 aa5a
0020c80 8d9e 63ad bbdf 40a7 3f3e 2b4a 9b95 aa5a
0030c80 8d9e 63ad bbdf 40a7 3f3e 2b4a 9b95 aa5a
$ tail -c 200000 it.archive.
0002630 fd50 b08d 7082 1234 85b3 a61e 2921 e0cd
0012630 fd50 b08d 7082 1234 85b3 a61e 2921 e0cd
0022630 fd50 b08d 7082 1234 85b3 a61e 2921 e0cd
$ tail -c 200000 it.archive.
000fa90 747d 76a8 078a 67b6 60d9 83f5 5ff3 787c
001fa90 747d 76a8 078a 67b6 60d9 83f5 5ff3 787c
002fa90 747d 76a8 078a 67b6 60d9 83f5 5ff3 787c
As you can see, it seems that after the error, a certain pattern seems to repeat every exactly 0x10000 bytes. I attached a copy of those 0x10000 bytes that keep repeating (from an arbitrary offset).
---
$ lsb_release -rd
Description: Ubuntu Vivid Vervet (development branch)
Release: 15.04
$ apt-cache policy apt
apt:
Installed: 1.0.9.7ubuntu4
Candidate: 1.0.9.7ubuntu4
Version table:
*** 1.0.9.7ubuntu4 0
500 http://
100 /var/lib/
---
Do let me know if I can test further to see what could be wrong. I'll keep an eye next times the behavior repeat to make sure the file is the same / the pattern is the same and I'll report back. If you think the problem could be the Italy server, let me know and I'll try with a different one.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: apt 1.0.9.7ubuntu4
ProcVersionSign
Uname: Linux 3.19.0-13-generic x86_64
NonfreeKernelMo
ApportVersion: 2.17-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Apr 17 00:04:05 2015
SourcePackage: apt
UpgradeStatus: Upgraded to vivid on 2015-03-28 (19 days ago)
tags: | added: asked-to-upstream |
Changed in apt (Ubuntu): | |
importance: | Critical → High |
Changed in apt (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in apt (Ubuntu Vivid): | |
status: | Incomplete → Confirmed |
tags: | added: rls-w-incoming |
Changed in apt (Ubuntu): | |
status: | Confirmed → In Progress |
description: | updated |
Changed in apt (Ubuntu Vivid): | |
status: | Confirmed → In Progress |
This is the next day, and this time the offending file is: it.archive. ubuntu. com_ubuntu_ dists_vivid_ restricted_ binary- amd64_Packages. bz2
The repeating data is still 0x10000 bytes, but the contents are different (another copy attached).