LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-19-2012, 06:15 AM   #1
rpm
LQ Newbie
 
Registered: Sep 2012
Location: Oxford, UK
Distribution: Ubuntu
Posts: 3

Rep: Reputation: Disabled
Question Package conflict (gir1.2-unity and Unity.py) 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:

Code:
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:

Code:
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/Unity.py', which is also in package gir1.2-unity-4.0 4.0.6-0ubuntu3
Errors were encountered while processing:
 /var/cache/apt/archives/gir1.2-unity-5.0_6.8.0-0ubuntu2_amd64.deb
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!

robin

Last edited by rpm; 10-19-2012 at 06:17 AM.
 
Old 10-19-2012, 08:03 AM   #2
rpm
LQ Newbie
 
Registered: Sep 2012
Location: Oxford, UK
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: Disabled
Well, after messing around further, i ran a:

Code:
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Move unity launcher to the bottom with Unity Bottom Launcher | PPA Ubuntu LXer Syndicated Linux News 0 12-19-2011 12:30 AM
[SOLVED] 'You do not have the correct hardware to run unity'... Then booting into Unity.... ThatPerson Ubuntu 7 09-25-2011 01:24 PM
LXer: Intel SNA With Unity, Unity 2D & GNOME Shell LXer Syndicated Linux News 0 09-11-2011 06:40 AM
[SOLVED] How to use Ubuntu 11.04 Unity capt_coaldale Linux - Desktop 7 07-11-2011 01:27 AM
Ubuntu 11.04's Unity: What's new Kenny_Strawn Linux - News 0 01-21-2011 06:27 PM


All times are GMT -5. The time now is 01:09 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration