Posted by : Unknown Minggu, 01 Maret 2015

Fix: dpkg error "trying to overwrite package2 

which is also in package1"


Ini adalah masalah yang umum ketika menginstal paket di Ubuntu, hal ini terjadi ketika beberapa file yang sudah terinstal di sistem dan proses instalasi yang baru mencoba untuk menimpa file-file yang sudah ada,  maka dpkg aka menghentikan proses penginstalan paket yang baru. Anda melihat hal semacam ini kesalahan dalam terminal:

dpkg: error processing /var/cache/apt/archives/package2 (--unpack): trying to overwrite '/usr/share/app/data/package_file2', which is also in package package1 1.0 dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/package2.deb E: Sub-process /usr/bin/dpkg returned an error code (1)


This error is easy to fix. Open Terminal (Press Ctrl+Alt+T) and copy the following command in terminal but replace (package2 with your package name):

Leave a Reply

Berkomentarlah dengan Baik, Bijak, dan pastinya membangun..

Subscribe to Posts | Subscribe to Comments

Click

idblognetwork

- Copyright © Aris Source -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -