Hola, instalé apache2 y despues hice aptitude purge apache2 y me dejó /etc/apache2 y /etc/init.d/apache2 ambos como quedaron despues del purge los borré a mano, ahora quiero instalar de nuevo apache2 y no funciona, queda un paquete que no puedo desinstalar que es apache2-mpm-worker; si hago:
aptitude purge apache2-mpm-worker me sale esto:
Código PHP:
Desinstalando apache2-mpm-worker ...
invoke-rc.d: unknown initscript, /etc/init.d/apache2 not found.
dpkg: error al procesar apache2-mpm-worker (--remove):
el subproceso pre-removal script devolvió el código de salida de error 100
Se encontraron errores al procesar:
apache2-mpm-worker
y cada vez que quiero instalar algo intenta desinstalar ese paquete y no lo puee desintalar.
Por ahí leí un hilo que haga un strace e hice esto:
strace aptitude update y me sale esto:
Código PHP:
read(5, "", 1202) = 0
stat64("/var/lib/apt/lists/mirrors.kernel.org_debian_dists_testing_Release", {st_mode=S_IFREG|0644, st_size=74380, ...}) = 0
open("/var/lib/apt/lists/mirrors.kernel.org_debian_dists_testing_Release", O_RDONLY) = 6
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=74380, ...}) = 0
read(6, "Origin: Debian\nLabel: Debian\nSui"..., 74636) = 74380
read(6, "", 256) = 0
close(6) = 0
close(5) = 0
lstat64("/var/cache/apt/srcpkgcache.bin", {st_mode=S_IFREG|0644, st_size=6931424, ...}) = 0
open("/var/cache/apt/srcpkgcache.bin", O_RDWR|O_CREAT|O_TRUNC, 0666) = 5
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
fchmod(5, 0644) = 0
write(5, "\334v\376\230\4\0\0\0\1\0X!(\0008\0000\0\34\0\24\0\20\0"..., 6931344) = 6931344
fsync(5) = 0
lseek(5, 0, SEEK_SET) = 0
write(5, "\334v\376\230\4\0\0\0\0\0X!(\0008\0000\0\34\0\24\0\20\0"..., 8536) = 8536
fsync(5) = 0
close(5) = 0
stat64("/var/lib/dpkg/status", {st_mode=S_IFREG|0644, st_size=306013, ...}) = 0
) = 34o lista de paquetes... 99%uetes... 99"..., 34
open("/var/lib/dpkg/status", O_RDONLY) = 5
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
read(5, "Package: localization-confignSta"..., 32768) = 32768
) = 34o lista de paquetes... 99%uetes... 99"..., 34
stat64("/var/lib/dpkg/status", {st_mode=S_IFREG|0644, st_size=306013, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=306013, ...}) = 0
read(5, "lled\nPriority: standard\nSection:"..., 32726) = 32726
read(5, "ority: optional\nSection: utils\nI"..., 32714) = 32714
read(5, "ed on ispell dictionary put toge"..., 32348) = 32348
read(5, "-down 84f18c5a3becc3bc18e3e44623"..., 32417) = 32417
read(5, "Config-Version: 3.0.14a-3sarge2\n"..., 32556) = 32556
read(5, ".Debian\n\nPackage: bsdmainutils\nS"..., 31493) = 31493
read(5, "n: 5.5-5\nDepends: libc6 (>= 2.3."..., 32576) = 32576
read(5, "5), modconf\nRecommends: locales\n"..., 32442) = 32442
read(5, "mapper; it allows usage of the d"..., 31849) = 13973
read(5, "", 17876) = 0
close(5) = 0
msync(0x40439000, 6934257, MS_SYNC) = 0
msync(0x40439000, 8536, MS_SYNC) = 0
munmap(0x40439000, 12582912) = 0
ftruncate(4, 6934257) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=6934257, ...}) = 0
mmap2(NULL, 6934257, PROT_READ, MAP_SHARED, 4, 0) = 0x40439000
close(4) = 0
) = 36o lista de paquetes... Hechotes... He"..., 36
write(1, "n", 1
) = 1
munmap(0x40439000, 6934257) = 0
close(3) = 0
munmap(0x4001b000, 4096) = 0
exit_group(0) = ?
Process 1261 detached
P.D.: Uso Debian testing
Saludos y.... alguna idea como borrar ese paquete para que todo vuelva a la normalidad???