Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I typed sudo apt-get install shutter on the terminal.

I got the following error. Please help me how to fix this?

Shutter:

Depends: gnome-web-photo but it is not installable
Depends: libgnome2-perl but it is not installable
Depends: libgnome2-vfs-perl but it is not installable
Depends: libgnome2-wnck-perl but it is not installable
Depends: libgoo-canvas-perl but it is not installable
Depends: libgtk2-imageview-perl but it is not installable
Depends: libgtk2-trayicon-perl but it is not installable
Depends: libgtk2-unique-perl but it is not installable
Depends: libnet-dbus-perl but it is not installable
Depends: libproc-processtable-perl but it is not installable
Depends: libwww-mechanize-perl but it is not installable
Depends: libx11-protocol-perl but it is not installable
Depends: libxml-simple-perl but it is not installable
Depends: perlmagick but it is not installable
Depends: libpath-class-perl but it is not installable
Depends: libjson-perl but it is not installable
Depends: libjson-xs-perl but it is not installable
Depends: libnet-dropbox-api-perl but it is not installable
Depends: libfile-which-perl but it is not installable
Depends: libproc-simple-perl but it is not installable
Depends: libsort-naturally-perl but it is not installable
E: Unable to correct problems, you have held broken packages.
share|improve this question

1 Answer 1

I had this problem with Shutter some time ago, the reason is that you got broken dependencies. Run this in Terminal:

sudo apt-get autoremove
sudo apt-get install -f

You can also use some Tweaks from time to time to clean your apt cache, configs, etc. For example Ubuntu Tweak, that what I used when this happend. After this I advice you to use Synaptic or Ubuntu Software Center to install Shutter.

share|improve this answer
    
hi Vladdy, thanks for the tip. it worked and there is a small problem again. –  ChillarAnand Nov 18 '13 at 15:17
    
Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: shutter : Depends: libxml-simple-perl but it is not going to be installed E: Unable to correct problems, you have held broken packages. –  ChillarAnand Nov 18 '13 at 15:17
    
try to run: sudo apt-get update && sudo apt-get upgrade it's good if you did it after removing broken packages. Sometimes a fresh OS restart also helps. Again what I used with terminal is Ubuntu Tweak: sudo add-apt-repository ppa:tualatrix/ppa sudo apt-get update sudo apt-get install ubuntu-tweak sudo apt-get dist-upgrade Start Janitor and clean everything. –  Surfer Nov 18 '13 at 15:27
    
If you really have held package, you can try this: askubuntu.com/questions/363200/… --- unhold the held packages, remove them, and then reinstall. –  Rmano Nov 18 '13 at 15:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.