- Back to Home »
- tutorial linux , tutorial ubuntu »
- Fix: dpkg error "trying to overwrite package2 which is also in package1"
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)
Terminal Commands:
|
---|
sudo dpkg -i --force-overwrite /var/cache/apt/archives/package2.deb
|
sudo apt-get install -f
|