Error Install Paket

Saat Saya mencoba menginstalkan paket Sisfokol-SMK di BlankOn 7 Pattimura, muncul pesan error seperti di bawah ini :
(Reading database … 136041 files and directories currently installed.)
Preparing to replace sisfokol-smk 3.0-0blankon1 (using
…/sisfokol-smk_3.0-0blankon1_all.deb) …
Unpacking replacement sisfokol-smk …
dpkg (subprocess): unable to execute old post-removal script
(/var/lib/dpkg/info/sisfokol-smk.postrm): Exec format error
dpkg: warning: subprocess old post-removal script returned error exit status 2
dpkg – trying script from the new package instead …
dpkg (subprocess): unable to execute new post-removal script
(/var/lib/dpkg/tmp.ci/postrm): Exec format error
dpkg: error processing
/var/cache/apt/archives/sisfokol-smk_3.0-0blankon1_all.deb (–unpack):
subprocess new post-removal script returned error exit status 2
dpkg (subprocess): unable to execute new post-removal script
(/var/lib/dpkg/tmp.ci/postrm): Exec format error
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/sisfokol-smk_3.0-0blankon1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:

Jika ada yang mencoba menginstal paket apa saja dan muncul pesan error yang kurang lebih sama dengan error di atas, bisa menggunakan rapalan ini :


sudo rm /var/lib/dpkg/info/sisfokol-smk.postrm
sudo rm /var/lib/dpkg/info/sisfokol-smk.list

setelah itu
sudo apt-get clean all

setelah itu lagi
sudo apt-get install sisfokol-smk

2 responses to this post.

  1. wow this really good blog content

    Reply

  2. sisfokol itu software apaan bang ?

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: