dpkg --unpack: unable to create /usr/lib/dpkg/mksplit.dpkg-new
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg |
New
|
Undecided
|
Unassigned | ||
dpkg (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I was updating some lucid boxes (apt-get update; apt-get upgrade).
# lsb_release -rd
Description: Ubuntu 10.04.4 LTS
Release: 10.04
In one of them things worked like a charm.
But in another one the upgrading failed because of not being able to write to /var/cache/
Executing "apt-get clean" solved this problem, but then the upgrade fails because it cannot create /usr/lib/
-- 8< --
Extrayendo plantillas para los paquetes: 100%
Preconfigurando paquetes ...
(Leyendo la base de datos ... 00%
23767 ficheros y directorios instalados actualmente.)
Preparando para reemplazar dpkg 1.15.5.6ubuntu4.5 (usando .../dpkg_
Desempaquetando el reemplazo de dpkg ...
dpkg: error al procesar /var/cache/
unable to create `/usr/lib/
dpkg-deb: el subproceso paste fue terminado por la señal (Broken pipe)
Se encontraron errores al procesar:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
-- 8< -- My translation of the error message:
Extracting templates for the packages: 100%
Preconfiguring packages
(Reading data base ... 00%
23767 archives and directories currently installed.)
Preparing to replace dpkg 1.15.5.6ubuntu4.5 (using .../dpkg_
Unpacking the replacement of dpkg ...
dpkg: error processing /var/cache/
unable to create `/usr/lib/
dpkg-deb: the subprocess paste was terminated by the signal (Broken pipe)
There were errors processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
-- >8 --
Trying "dpkg -i /var/cache/
-- 8< --
(Leyendo la base de datos ... 00%
23767 ficheros y directorios instalados actualmente.)
Preparando para reemplazar dpkg 1.15.5.6ubuntu4.5 (usando .../dpkg_
Desempaquetando el reemplazo de dpkg ...
dpkg: error al procesar /var/cache/
unable to create `/usr/lib/
dpkg-deb: el subproceso paste fue terminado por la señal (Broken pipe)
Se encontraron errores al procesar:
/var/cache/
-- >8 --
-- 8< -- Output of apt-cache policy dpkg
dpkg:
Instalados: 1.15.5.6ubuntu4.5
Candidato: 1.15.5.6ubuntu4.6
Tabla de versión:
1.
500 http://
*** 1.15.5.6ubuntu4.5 0
500 http://
100 /var/lib/
1.
500 http://
-- >8 --
affects: | sugar-0.88 (Ubuntu) → dpkg (Ubuntu) |