Comment 4 for bug 338464

Revision history for this message
Martin Olsson (mnemo) wrote : Re: [Jaunty] anjuta >2.25 needs Conflicts: libgbf-1-2

Today I got this weird broken package and it seems related. This is currently blocking me from installing lots of other apps like "elisa" etc. Is there a workaround I can use? I tried to remove anjuta (which I never use anyway) but the error seems to prevent me from even uninstalling the existing anjuta packages I have?

mnemo@kingfish:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  python-alsaaudio kpartx python-sqlalchemy python-utidylib timidity python-libvirt xvfb python-xlib python-feedparser libtidy-0.99-0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  anjuta
Suggested packages:
  libgtkmm2.0-dev libgnomemm2.0-dev
The following packages will be upgraded:
  anjuta
1 upgraded, 0 newly installed, 0 to remove and 45 not upgraded.
Need to get 0B/2261kB of archives.
After this operation, 1937kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 274345 files and directories currently installed.)
Preparing to replace anjuta 2:2.24.2-1ubuntu1 (using .../anjuta_2%3a2.25.902-0ubuntu2_amd64.deb) ...
Unpacking replacement anjuta ...
dpkg: error processing /var/cache/apt/archives/anjuta_2%3a2.25.902-0ubuntu2_amd64.deb (--unpack):
 trying to overwrite `/usr/bin/gbf-am-parse', which is also in package libgbf-1-2
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for menu ...
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/anjuta_2%3a2.25.902-0ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
mnemo@kingfish:~$ sudo apt-get remove libgbf-1-2
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  anjuta: Depends: libgbf-1-2 but it is not going to be installed
          Depends: anjuta-common (= 2:2.24.2-1ubuntu1) but 2:2.25.902-0ubuntu2 is to be installed
  libgbf-1-dev: Depends: libgbf-1-2 (= 2.24.1-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
mnemo@kingfish:~$ sudo apt-get remove anjuta
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  gnome-devel: Depends: anjuta (>= 2:2.4.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
mnemo@kingfish:~$ sudo apt-get remove elisa
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package elisa is not installed, so not removed
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  anjuta: Depends: anjuta-common (= 2:2.24.2-1ubuntu1) but 2:2.25.902-0ubuntu2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).