How i Complile C Programs in Ubuntu

Sebastian Gil sebastianhgil at gmail.com
Fri Jun 2 15:37:18 UTC 2006


2006/6/2, Sumesh K.S <iamubuntu at gmail.com>:
> I tried it. But I get this Message
>  Reading package lists... Done
>  Building dependency tree... Done
>  W: Couldn't stat source package list cdrom://Ubuntu 5.10 _Breezy Badger_ -
> Release i386 (20051012) breezy/main Packages
> (/var/lib/apt/lists/Ubuntu%205.10%20%5fBreezy%20Badger%5f%20-%20Release%20i386%20(20051012)_dists_breezy_main_binary-i386_Packages)
> - stat (2 No such file or directory)
>  W: Couldn't stat source package list cdrom://Ubuntu 5.10 _Breezy Badger_ -
> Release i386 (20051012) breezy/restricted Packages
> (/var/lib/apt/lists/Ubuntu%205.10%20%5fBreezy%20Badger%5f%20-%20Release%20i386%20(20051012)_dists_breezy_restricted_binary-i386_Packages)
> - stat (2 No such file or directory)
>  W: Couldn't stat source package list http://archive.ubuntu.com breezy/main
> Packages
> (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_main_binary-i386_Packages)
> - stat (2 No such file or directory)
>  W: Couldn't stat source package list http://archive.ubuntu.com breezy/main
> Packages
> (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_main_binary-i386_Packages)
> - stat (2 No such file or directory)
>  W: You may want to run apt-get update to correct these problems
>  E: Couldn't find package build-essential
>
> Please Help Me..............................
>

Did you try what the error message suggested?

sudo apt-get update




More information about the ubuntu-users mailing list