Fix dpkg error "dpkg: error processing (--unpack) trying to overwrite…"

7:44 AM

I have a feedback on my article about installing ProZilla Download Accelerator, he said that he encountered this problem:

Sedang membuka paket prozilla (dari .../prozilla_2.0.4-build2~tahutek~oneiric_amd64.deb) ...
dpkg: ada kesalahan saat memproses /var/cache/apt/archives/prozilla_2.0.4-build2~tahutek~oneiric_amd64.deb (--unpack): mencoba menimpa '/usr/share/locale/locale.alias', yang juga ada dalam paket locales 2.13+git20110622-2

The above error is in Indonesian, the English version about the error is shown on the picture below:


Please take a closer look at the red-marked area! Today we are going to fix this problem. OK, let's get started!

Simply, type the following command:
  • cd /var/cache/apt/archives/
  • sudo dpkg -i --force-overwrite 'file_name'
  • sudo apt-get -f install

Replace "file_name" with the suitable one. In this case, the troublesome file is "prozilla_2.0.4-build2~tahutek~oneiric_amd64.deb". So, you must replace "file_name" with "prozilla_2.0.4-build2~tahutek~oneiric_amd64.deb".
  • cd /var/cache/apt/archives/
  • sudo dpkg -i --force-overwrite prozilla_2.0.4-build2~tahutek~oneiric_amd64.deb
  • sudo apt-get -f install

You can use this trick to another file that cause such an error.

Regards :)

0 comments

» read more....

Fix VirtualBox Error "Failed to access the USB subsystem" on Ubuntu 11.10 Oneiric Ocelot

5:51 AM

When you run VirtualBox at the first time on Ubuntu 11.10 Oneiric Ocelot, you may get this following error message: "Failed to access the USB subsystem. VirtualBox is not currently allowed to access USB devices. You can change this by adding your user to the 'vboxusers' group. Please see the user manual for more detailed explanation."


As describe in the error message, we must add the user to 'vboxusers' group to fix this problem. Unfortunately, there is no GUI tool to manage users and groups on Ubuntu 11.10 Oneiric Ocelot (yet). So, we must do it manually by using command line.

Assume that we have user "hok00age" and we'll add him to member of "vboxusers" group. Simply type the following command:
  • sudo usermod -a -G vboxusers hok00age
Make sure you have done it correctly by checking "/etc/group" file:
  • cat /etc/group

Restart your computer and once computer restarted, run VirtualBox and check if the problem is fixed.

Enjoy :)

0 comments

» read more....