broken...

Dorita Rostkier-Edelstein drostkier at yahoo.com
Sat Oct 20 13:27:44 UTC 2007


Leonard,

Thanks a lot, it seems to have worked!

Dorita


Leonard Chatagnier <lenc5570 at sbcglobal.net> wrote: 
--- Dorita Rostkier-Edelstein 
wrote:

> I have the following problem in my system and do not
> know how to fix it. As a result I am unable to
> install packages and to update the system:
> 
> 
> 
> waydo at waydo-laptop:~$ sudo apt-get -f upgrade
> Password:
> Reading package lists... Done
> Building dependency tree... Done
> Correcting dependencies... failed.
> The following packages have unmet dependencies:
>   cpp-4.0: Depends: gcc-4.0-base (= 4.0.3-1ubuntu5)
> but 4.0.3-4 is installed
>   g++-4.0: Depends: gcc-4.0-base (= 4.0.3-1ubuntu5)
> but 4.0.3-4 is installed
>   gcc-4.0: Depends: gcc-4.0-base (= 4.0.3-1ubuntu5)
> but 4.0.3-4 is installed
>   libgcc1: Depends: gcc-4.0-base (= 4.0.3-1ubuntu5)
> but 4.0.3-4 is installed
>   libstdc++6: Depends: gcc-4.0-base (=
> 4.0.3-1ubuntu5) but 4.0.3-4 is installed
>   libstdc++6-4.0-dev: Depends: gcc-4.0-base (=
> 4.0.3-1ubuntu5) but  4.0.3-4 is installed
> E: Error, pkgProblemResolver::Resolve generated
> breaks, this may be caused by held packages.
> E: Unable to correct dependencies
> 
> Thanks,
> 
> Dorita
> > 

Hello Dorita,
See if this works.  First unhold any packages that are
on hold:

Sudo aptitude unhold 


Aptitude is supposed to be better at fixing broken
dependencies than apt-get.

Then do:

sudo aptitude -f install

If this command completes without error you should be
OK.  Then do a sudo aptitude update && sudo aptitude
upgrade to be sure you have picked up everything.
If this doesn't work, you need more capable help than
I can give.
Good luck,

Len 


Leonard Chatagnier
lenc5570 at sbcglobal.net

-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




  =====================================
Dr. Dorita Rostkier-Edelstein, Ph.D.
Dept. of Applied Math., Env. Sci. Division
IIBR, Israel
   
  Israel Meteorological Society Council Member
   
  doritar at iibr.gov.il
  drostkier at yahoo.com
=====================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071020/0f19130f/attachment.html>


More information about the ubuntu-users mailing list