Hello guys, I got a ibm x335 series 2 x netburst xeon with 4gb of ram. I don't know exactly what and when happens, but since 2/3 weeks ago, I got dpkg 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 dpkg status, available and diversions from old. I've rebooted. 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 No luck till now. Any suggestion? Luca Stramenga [EMAIL PROTECTED]