Broken Dependencies
Posted: Mon Jul 27, 2009 6:26 pm
I was installing a .deb file when I encountered this message:
Your System has broken dependencies. Application cannot continue until this is fixed. To fix it, run 'gksudo synaptic' or 'sudo apt-get install -f' in a terminal window.
I tried sudo apt-get install -f first but it wasn't successful.
Then I tried gksudo synaptic and tried "fix broken dependencies but I got an error message (please see screenshot to view the message because I can't copy it).
Any ideas on how to fix this? Thanks!
Your System has broken dependencies. Application cannot continue until this is fixed. To fix it, run 'gksudo synaptic' or 'sudo apt-get install -f' in a terminal window.
I tried sudo apt-get install -f first but it wasn't successful.
Code: Select all
sudo apt-get install -f
[sudo] password for jason:
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:
libemeraldengine0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
arc-wise
The following NEW packages will be installed:
arc-wise
0 upgraded, 1 newly installed, 0 to remove and 69 not upgraded.
1 not fully installed or removed.
Need to get 0B/414kB of archives.
After this operation, 590kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
arc-wise
Authentication warning overridden.
(Reading database ... 128803 files and directories currently installed.)
Unpacking arc-wise (from .../arc-wise_2.6-0~ppa1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/arc-wise_2.6-0~ppa1_all.deb (--unpack):
trying to overwrite `/usr/share/gdm/themes/Arc-Wise/suspend.png', which is also in package mint-artwork-gnome
Errors were encountered while processing:
/var/cache/apt/archives/arc-wise_2.6-0~ppa1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
jason@Archmage ~ $
jason@Archmage ~ $ apt-get autoremove
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
jason@Archmage ~ $ sudo apt-get autoremove
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:
arc-colors: Depends: arc-wise but it is not installed
E: Unmet dependencies. Try using -f.
jason@Archmage ~ $ apt-get -f install
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
jason@Archmage ~ $ 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:
libemeraldengine0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
arc-wise
The following NEW packages will be installed:
arc-wise
0 upgraded, 1 newly installed, 0 to remove and 69 not upgraded.
1 not fully installed or removed.
Need to get 0B/414kB of archives.
After this operation, 590kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
arc-wise
Authentication warning overridden.
(Reading database ... 128803 files and directories currently installed.)
Unpacking arc-wise (from .../arc-wise_2.6-0~ppa1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/arc-wise_2.6-0~ppa1_all.deb (--unpack):
trying to overwrite `/usr/share/gdm/themes/Arc-Wise/suspend.png', which is also in package mint-artwork-gnome
Errors were encountered while processing:
/var/cache/apt/archives/arc-wise_2.6-0~ppa1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any ideas on how to fix this? Thanks!