Linux-Noob Forums

Full Version: ubuntu is not being nice...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Now right now I get an error every time I use apt-get...

 

ex:

Code:
W: Couldn't stat source package list http://ca.archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ca.archive.ubuntu.com breezy/main Packages (/var/lib/apt/lists/ca.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://ca.archive.ubuntu.com breezy/restricted Packages (/var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_breezy_restricted_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ca.archive.ubuntu.com breezy-updates/main Packages (/var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_breezy-updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ca.archive.ubuntu.com breezy-updates/restricted Packages (/var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_breezy-updates_restricted_binary-i386_Packages) - stat (2 No such file or directory)W: Couldn't stat source package list http://ca.archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ca.archive.ubuntu.com breezy/main Packages (/var/lib/apt/lists/ca.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://ca.archive.ubuntu.com breezy/restricted Packages (/var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_breezy_restricted_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ca.archive.ubuntu.com breezy-updates/main Packages (/var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_breezy-updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ca.archive.ubuntu.com breezy-updates/restricted Packages (/var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_breezy-updates_restricted_binary-i386_Packages) - stat (2 No such file or directory)W: You may want to run apt-get update to correct these problems




 

 

This is what happens after I run apt-get update

 



Code:
root@ubuntu:/home/paul# apt-get update
Get:1 http://security.ubuntu.com breezy-security Release.gpg [189B]
Get:2 http://security.ubuntu.com breezy-security Release [19.6kB]
Hit http://security.ubuntu.com breezy-security/main Packages
Hit http://security.ubuntu.com breezy-security/restricted Packages
Hit http://security.ubuntu.com breezy-security/main Sources
Hit http://security.ubuntu.com breezy-security/restricted Sources
Err http://ca.archive.ubuntu.com breezy Release.gpg
Could not connect to ca.archive.ubuntu.com:80 (206.75.218.53), connection time d out
Err http://ca.archive.ubuntu.com breezy-updates Release.gpg
Could not connect to ca.archive.ubuntu.com:80 (206.75.218.53), connection time d out
Fetched 19.8kB in 8m0s (41B/s)
Failed to fetch http://ca.archive.ubuntu.com/ubuntu/dists/breezy/Release.gpg  Co uld not connect to ca.archive.ubuntu.com:80 (206.75.218.53), connection timed ou t
Failed to fetch http://ca.archive.ubuntu.com/ubuntu/dists/breezy-updates/Release .gpg  Could not connect to ca.archive.ubuntu.com:80 (206.75.218.53), connection timed out
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavail able)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another proc ess using it?




 

 

What the?

 

Now installing rpm's is still iffy so if some one could explain it that would be awesome...thanks


Quote:Could not connect to ca.archive.ubuntu.com:80 (206.75.218.53), connection timed out
 

A quick check.. and I cannot get that site either, edit your apt.conf (/etc/apt.conf) and replace all the ca with ca2

 

[/url][url=http://ca2.archive.ubuntu.com/]http://ca2.archive.ubuntu.com/ which is active

 

Then run update again. Also ensure that you are doing it as root.


I edited the file by hand :) ...but right now im haveing an issue with VMware...

 

What is the location of the directory of C header files that match your running

kernel? [/usr/src/linux/include]

...what is a C header file?