Masalah Statoverride di Ubuntu

Pagi ini saya mendapatkan satu masalah ketika hendak menginstall postgresql-8.2 di komputer ubuntuku.

[email protected]:~$ sudo apt-get install postgresql-8.2
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  postgresql-client-8.2 postgresql-client-common postgresql-common
Suggested packages:
  oidentd ident-server postgresql-doc-8.2
The following NEW packages will be installed:
  postgresql-8.2 postgresql-client-8.2 postgresql-client-common
  postgresql-common
0 upgraded, 4 newly installed, 0 to remove and 895 not upgraded.
Need to get 1007kB/4379kB of archives.
After unpacking 17.4MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://au.archive.ubuntu.com gutsy/main postgresql-client-common 78 [41.9kB]
Get:2 http://au.archive.ubuntu.com gutsy-updates/main postgresql-client-8.2 8.2.6-0ubuntu0.7.10.1 [863kB]
Get:3 http://au.archive.ubuntu.com gutsy/main postgresql-common 78 [102kB]    
Fetched 1007kB in 1m49s (9209B/s)                                             
Preconfiguring packages ...
dpkg: syntax error: unknown group `root' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)

Tiap kali saya coba instal, selalu muncul eror seperti itu. Setelah coba cari-cari di google akhirnya ketemu satu solusinya. File statoverride terletak di /var/lib/dpkg/statoverride.

[email protected]:~$ more /var/lib/dpkg/statoverride
root Debian-exim 0640 /etc/exim4/passwd.client
hplip root 755 /var/run/hplip

Untuk menghilangkan file yang mengganggu tersebut gunakan perintah dpkg-statoverride dengan opsi remove, tapi jangan lupa mem-backup terlebih dahulu untuk berjaga-jaga. Gunakan perintah ini untuk mengatasi masalah statoverride :

k4t[email protected]:~$ sudo dpkg-statoverride --remove /var/run/hplip
[email protected]:~$ sudo dpkg-statoverride --remove /etc/exim4/passwd.client

 

Kemudian saya coba instal lagi dan berhasil. Bagi saya langkah-langkah tadi berhasil mengatasi masalah statoverride itu.