*some more info...* I got a ibm x335 series 2 x netburst xeon with 4gb of ram Debian 4.0 kernel 2.6.22-cks1
I don't know exactly what and when happens, but since 2/3 weeks ago, I got dpkg misteriously broken. Trying --install, --remove, the result is always the same: *unable to install updated status of 'packet_name'<: No such file or directory and segfault error.* Here it is what I got if I try to remove f.e. ncftp: *XeonServer:/var/lib/dpkg# apt-get remove ncftp Lettura della lista dei pacchetti in corso... Fatto Generazione dell'albero delle dipendenze in corso... Fatto I seguenti pacchetti saranno RIMOSSI: ncftp 0 aggiornati, 0 installati, 1 da rimuovere e 3 non aggiornati. È necessario prendere 0B di archivi. Dopo l'estrazione, verranno liberati 1094kB di spazio su disco. Continuare [S/n]? S dpkg: errore processando ncftp (--remove): impossibile installare lo stato aggiornato di `ncftp'<: No such file or directory E: Sub-process /usr/bin/dpkg received a segmentation fault.* Sounds like dpkg can't write to its database file (/var/lib/dpkg/status). The output of: ls -l /var/lib/dpkg: *drwxr-xr-x 2 root root 4096 2008-07-01 12:57 alternatives -rw-r--r-- 1 root root 0 2008-07-01 13:36 available -rw-r--r-- 1 root root 0 2008-07-01 13:35 available-old -rw-r--r-- 1 root root 8 2007-09-29 22:30 cmethopt -rw-r--r-- 1 root root 2095 2008-07-01 13:02 diversions -rw-r--r-- 1 root root 2095 2007-09-29 22:37 diversions-old drwxr-xr-x 2 root root 57344 2007-01-02 00:00 info -rw-r----- 1 root root 0 2008-07-01 13:36 lock -rw-r----- 1 root root 0 2008-07-01 12:33 methlock drwxr-xr-x 5 root root 4096 2007-09-29 22:29 methods drwxr-xr-x 2 root root 4096 2007-01-02 00:00 parts -rw-r--r-- 1 root root 47 2007-09-29 22:36 statoverride -rw-r--r-- 1 root root 0 2007-09-29 22:30 statoverride-old -rw-r--r-- 1 root root 1869718 2008-07-01 13:36 status -rw-r--r-- 1 root root 1869748 2008-07-01 12:09 status.bak -rw-r--r-- 1 root root 1869718 2008-07-01 13:35 status-old drwxr-xr-x 2 root root 4096 2008-07-01 13:36 updates * I recovered 'status', 'available' and 'diversions' files from -old versions. I did reboot. I've also downloaded "dpkg_1.13.25_i386.deb" wich is actually the version I got installed and tried to recover it with: * # ar x dpkg_version_arch.deb # mv data.tar.gz /data.tar.gz # cd / # tar xzfv data.tar.gz* I was suspecting could be a memory issue, because since the last two weeks I've found another strange kernel error causing apparently only vsftpd to not work properly: *BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000 printing eip: f8a8216f *pde = 00000000 Oops: 0000 [#1] SMP Modules linked in: ipv6 button ac battery reiserfs loop ext3 jbd mbcache dm_mirror dm_snapshot dm_mod raid1 raid0 md_mod ide_generic ide_cd cdrom sd_mod generic ohci_hcd tg3 mptspi mptscsih mptbase scsi_transport_spi scsi_mod usbcore serverworks ide_core thermal processor fan CPU: 0 EIP: 0060:[<f8a8216f>] Not tainted VLI EFLAGS: 00210202 (2.6.18-5-686 #1) EIP is at 0xf8a8216f eax: f8a834f6 ebx: 00000005 ecx: f8a88c93 edx: ffffff38 esi: 0000002f edi: 00000000 ebp: f65ee000 esp: f65eff98 ds: 007b es: 007b ss: 0068 Process vsftpd (pid: 2092, ti=f65ee000 task=c312caa0 task.ti=f65ee000) Stack: 0000082c f65effbc dfa97740 f8a766cb 00000005 0000002f 0000002f f8a92ea9 00000000 00000005 00000003 00000000 0000002f 0000002f bf88da58 000000bb 0000007b c010007b 000000bb b7fc1410 00000073 00200246 bf88da04 0000007b Call Trace: Code: 89 d0 83 c4 04 5b 5e c3 57 56 53 83 ec 10 8b 7c 24 2c e8 00 00 00 00 58 2d 65 ec ff ff ba 38 ff ff ff 83 b8 dd 5c 00 00 00 74 44 <8b> 07 89 44 24 08 c7 44 24 0c 00 00 00 00 e8 92 40 ff ff 89 c3 EIP: [<f8a8216f>] 0xf8a8216f SS:ESP 0068:f65eff98* I thoug was a kernel problem but today I booted the original kernel: Linux 2.6.18-5-686 #1 SMP Mon Dec 24 16:41:07 UTC 2007 i686 GNU/Linux same issues!! Any suggestion will be appreciated.