try with -f option `sudo apt-get -f install <package name>` if it fails you may want to clean the locally downloaded repositories `sudo apt-get autoclean`
On Fri, Oct 12, 2012 at 12:35 PM, Everest K.C. <[email protected]>wrote: > Hello, > I am running Ubuntu 12.04.1 and I am getting errors with the > dependencies. I searched the solution but couldn't find one that worked. > The error that I get is as below: > > everest@everest-Inspiron-1525:~$ sudo apt-get install python2.7-dev > 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: > python2.7-dev : Depends: python2.7 (= 2.7.3-0ubuntu3) but > 2.7.3-0ubuntu3.1 is to be installed > Depends: libpython2.7 (= 2.7.3-0ubuntu3) but > 2.7.3-0ubuntu3.1 is to be installed > E: Unable to correct problems, you have held broken packages. > > Its not only for this I can't install any programming library. :( > Please help. > > > -- > With Regards, > Everest K.C. > BE Computer Engineering > Institute of Engineering, Pulchowk Campus > URL: http://www.everestkc.com.np > > > -- > FOSS Nepal mailing list: [email protected] > http://groups.google.com/group/foss-nepal > To unsubscribe, e-mail: [email protected] > > Mailing List Guidelines: > http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines > Community website: http://www.fossnepal.org/ > -- FOSS Nepal mailing list: [email protected] http://groups.google.com/group/foss-nepal To unsubscribe, e-mail: [email protected] Mailing List Guidelines: http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines Community website: http://www.fossnepal.org/
