During my last run of the update manager, I got an error about a broken package. I went into Synaptic and found that it was the Cardapio menu replacement. I completely removed all packages relating to it, then tried to reinstall. I got this error:
E: /var/cache/apt/archives/cardapio-gnomepanel_0.9.179-ubuntu1-maverick1_i386.deb: trying to overwrite '/usr/bin/cardapio-gnome-panel-applet', which is also in package cardapio 0.9.180-ubuntu1-maverick1
I searched AU and found a similar issue. The solution to that problem was found here.
I tried following those instructions, first using the force-overwrite flag, and when that didn't work, the force-all flag. force-all seemed to work, but when I tried running update, I'm still getting errors. Here's the entire terminal session; can anyone help me out?
esther@esther-linux:~$ sudo dpkg -i --force-all /var/cache/apt/archives/cardapio-gnomepanel_0.9.179-ubuntu1-maverick1_i386.deb
(Reading database ... 184583 files and directories currently installed.)
Preparing to replace cardapio-gnomepanel 0.9.179-ubuntu1-maverick1 (using .../cardapio-gnomepanel_0.9.179-ubuntu1-maverick1_i386.deb) ...
Unpacking replacement cardapio-gnomepanel ...
dpkg: cardapio-gnomepanel: dependency problems, but configuring anyway as you requested:
cardapio-gnomepanel depends on cardapio; however:
Package cardapio is not installed.
Setting up cardapio-gnomepanel (0.9.179-ubuntu1-maverick1) ...
esther@esther-linux:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
cardapio
The following NEW packages will be installed:
cardapio
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/460kB of archives.
After this operation, 2,474kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 184583 files and directories currently installed.)
Unpacking cardapio (from .../cardapio_0.9.180-ubuntu1-maverick1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/cardapio_0.9.180-ubuntu1-maverick1_i386.deb (--unpack):
trying to overwrite '/usr/bin/cardapio-gnome-panel-applet', which is also in package cardapio-gnomepanel 0.9.179-ubuntu1-maverick1
Errors were encountered while processing:
/var/cache/apt/archives/cardapio_0.9.180-ubuntu1-maverick1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)