Header Ads

dpkg error: trying to overwrite X, which is also in package Y


Jika ada konflik pakej macam ni:
dpkg: error processing /var/cache/apt/archives/pakejA (--unpack):
trying to overwrite `/usr/lib/pakejB', which is also in package pakejC
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
pakejA
E: Sub-process /usr/bin/dpkg returned an error code (1)
(di mana pakejA,pakejB dan pakejC tu nama pakej yang terlibat)
buka terminal dan copy paste-edit
sudo dpkg -i --force-overwrite direktoripakejA/pakejA
kemudian cuba
sudo apt-get -f install

No comments

Terima kasih.