resulting in error mails like this one:
CRON-APT RUN [/etc/cron-apt/config]: Tue May 22 04:00:01 CEST 2012
CRON-APT SLEEP: 3161, Tue May 22 04:52:42 CEST 2012
CRON-APT ACTION: 3-download
CRON-APT LINE: /usr/bin/aptitude -o Acquire::http::Dl-Limit=2000 dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
The following packages will be upgraded:
icedtea-6-jre-cacao icedtea-6-jre-jamvm linux-headers-3.2.0-24
[...]
update-manager-core update-manager-kde
20 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 53.3 MB/98.0 MB of archives. After unpacking 2030 kB will be used.
Writing extended state information...
Get: 1 http://pi.wiss-stud/ubuntu/ precise-updates/main linux-image-3.2.0-24-generic amd64 3.2.0-24.38 [38.3 MB]
[...]
Fetched 53.3 MB in 23s (2243 kB/s)
E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
seems, this is still an issue with cron-apt:
$ apt-cache policy aptitude
aptitude:
Installed: 0.6.6-1ubuntu1
Candidate: 0.6.6-1ubuntu1
/etc/cron- apt/config: /usr/bin/ aptitude :http:: Dl-Limit= 2000"
MAILON="error"
APTCOMMAND=
OPTIONS="-o Acquire:
$ cat action.d/0-update :Show-Upgraded= true Show-Upgraded= true
update -o quiet=2
$ cat action.d/3-download
autoclean -y
dist-upgrade -d -y -o APT::Get:
$ cat action.d/5-install
autoclean -y
dist-upgrade --safe-resolver -y -o APT:Get:
resulting in error mails like this one: apt/config] : Tue May 22 04:00:01 CEST 2012 :http:: Dl-Limit= 2000 dist-upgrade -d -y -o APT::Get: :Show-Upgraded= true 6-jre-cacao icedtea-6-jre-jamvm linux-headers- 3.2.0-24 manager- core update-manager-kde pi.wiss- stud/ubuntu/ precise- updates/ main linux-image- 3.2.0-24- generic amd64 3.2.0-24.38 [38.3 MB] apt/extended_ states. tmp
CRON-APT RUN [/etc/cron-
CRON-APT SLEEP: 3161, Tue May 22 04:52:42 CEST 2012
CRON-APT ACTION: 3-download
CRON-APT LINE: /usr/bin/aptitude -o Acquire:
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
The following packages will be upgraded:
icedtea-
[...]
update-
20 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 53.3 MB/98.0 MB of archives. After unpacking 2030 kB will be used.
Writing extended state information...
Get: 1 http://
[...]
Fetched 53.3 MB in 23s (2243 kB/s)
E: Failed to write temporary StateFile /var/lib/
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
I'm not quite sure, if this bug really is the relevant one, but i was redirected to this bug in: https:/ /bugs.launchpad .net/ubuntu/ +source/ apt/+bug/ 999810 because the other bug is only related to apt-get.