Linux - [solucionado] files list file for package 'libcurl3' is missing final newline

 
Vista:
Imágen de perfil de xve
Val: 311
Oro
Ha mantenido su posición en Linux (en relación al último mes)
Gráfica de Linux

[solucionado] files list file for package 'libcurl3' is missing final newline

Publicado por xve (837 intervenciones) el 04/05/2013 11:32:28
Hola a todos, aqui os adjunto como he solucionado el problema:

files list file for package 'libcurl3' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)


Intentaba instalar el paquete hdparm cuando me apareció este error:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# apt-get install hdparm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  apmd
The following NEW packages will be installed:
  hdparm
0 upgraded, 1 newly installed, 0 to remove and 218 not upgraded.
Need to get 0 B/101 kB of archives.
After this operation, 307 kB of additional disk space will be used.
Selecting previously deselected package hdparm.
(Reading database ... 80%dpkg: unrecoverable fatal error, aborting:
 files list file for package 'libcurl3' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)


Después de buscar un rato, la solución fue simple... elimine el archivo:
1
rm -rf /var/lib/dpkg/info/libcurl3.list

y volví a instalar ya sin ningún problema.

Espero que le sirva a alguien...
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder