-   Linux - Newbie (
-   -   Package conflict (gir1.2-unity and when upgrading to Ubuntu 12.10... (

rpm 10-19-2012 06:15 AM

Package conflict (gir1.2-unity and when upgrading to Ubuntu 12.10...
Hi - first post here.

I'm trying to upgrade my xubuntu box from 12.04 to 12.10, via the command line.

I was a little confused at first about apt-get upgrade vs apt-get dist-upgrade vs do-dist-upgrade, and actually ran do-dist-upgrade before running apt-get dist-upgrade (I had been periodically running apt-get upgrade before, but never apt-get dist-upgrade).

I'm not sure if this has anything to do with the problem I'm now having, but thought I should mention it just in case. Anyhow, the system is now reporting that it is running Ubuntu 12.10 and my kernel is 3.5.0-17, but I cannot successfully complete an apt-get dist-upgrade because of an unmet dependency that I can't seem to fix because of some type of conflict:

apt-get dist-upgrade gives me this error:


The following packages have unmet dependencies:
 usb-creator-gtk : Depends: gir1.2-unity-5.0 but it is not installed
E: Unmet dependencies. Try using -f.

and when I try to fix it with apt-get -f install, I get this error:


Unpacking gir1.2-unity-5.0:amd64 (from .../gir1.2-unity-5.0_6.8.0-0ubuntu2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/gir1.2-unity-5.0_6.8.0-0ubuntu2_amd64.deb (--unpack):
 trying to overwrite '/usr/share/pyshared/gi/overrides/', which is also in package gir1.2-unity-4.0 4.0.6-0ubuntu3
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Can anyone clue me in as to what is happening, and how I might resolve it? It appears to be something to do with the Unity desktop environment but I don't know much else. I actually hardly ever access this machine via the GUI anyway, but still...

Thank you!


rpm 10-19-2012 08:03 AM

Well, after messing around further, i ran a:


sudo apt-get remove usb-creator-gtk
...and that seems to have gotten apt-get working normally again. I don't think i'll ever need usb-creator-gtk on this system, but I'd still be curious to know what went wrong here...

All times are GMT -5. The time now is 12:17 PM.