File corrupt, re-install all packages?

用緊ubuntu 12.04, 發覺harddisk有badblocks, 行左
fsck.ext4 -f -c -y -v /dev/sda1
去checkdisk

有d programs 行唔到如gthumb, re-install 一次就ok
但有d就唔得如filezilla,會出下面error
Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 460: elf_machine_rela_relative: Assertion `((reloc->r_info) & 0xffffffff) == 8' failed!

應該有其他file corrupt左, 嘗試用synaptic re-install 所有packages, 但synaptic crash左.
有無方法補救?

用緊ubuntu 12.04, 發覺harddisk有badblocks, 行左
fsck.ext4 -f -c -y -v /dev/sda1
去checkdisk

有d pro ...
steveni 發表於 2012-5-19 13:11


aptitude may come to rescue of package installation , have a shot with sudo
apt-get install aptitude
aptitude reinstall '~i'

TOP

回復 2# travel

download 完 packages 之後就
Segmentation fault (core dumped)

可能要重新裝過ubuntu ...  >_<

TOP

I would suggest copy and pasting the error so others know when it happens :)

How about trying this to fix possibly corrupted dpkg database, or broken dependencies left over by previous unfinished installation:
sudo apt-get -f install
sudo dpkg --configure -a

TOP

回復 2# travel
  1. dpkg -l | awk '{print $2}'  | while read pk; do aptitude purge $pk; done
複製代碼
係慢少少,去得快。

TOP

回復 4# howdy


    Would think is --fix

TOP

回復  travel

download 完 packages 之後就
Segmentation fault (core dumped)

可能要重新裝過ubuntu .. ...
steveni 發表於 2012-5-19 15:16



   冇時間的話重裝可能最快捷方便,不過慢慢trace 可能學到更多

TOP

試左 apt-get -f install, dpkg --configure -a
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
好似唔得...

aptitude purge 會做d咩? 會唔會uninstall d packages?

試過 cruft , check唔到有問題file, 可能d file存在,只不過corrupt左

等有時間再唔得就重裝...

TOP

本帖最後由 roytam1 於 2012-5-20 17:02 編輯

http://www.mail-archive.com/debi ... .org/msg137173.html

TOP