Andy,
On 19 Aug 2009, at 14:21, Andy Smith wrote:
On Wed, Aug 19, 2009 at 01:39:45PM +0100, Jocke Selin
wrote:
So, a shutdown -h in terminal and then a power-up
in Zen console.
Check!
Yep. You may want to log in to the xen shell console first so that
a) you know you can get in before you shut anything down, and b) you
can watch it shut down.
Good point! :)
Get:13
http://apt-cacher.lon.bitfolk.com hardy-updates/universe
linux-
image-2.6.24-24-xen 2.6.24-24.59 [18.8MB]
45% [13 linux-image-2.6.24-24-xen 8967518/18.8MB 47%]
----
Both of them are stuck around 45% download...
The apt-cacher will proxy a connection to the real Ubuntu mirrors if
it doesn't have the file locally, so it could be that the mirrors
are overloaded.
Righto - I didn't realise that it fetches the files "real time" for
the
first time. Quite natural now when mentioned.
Is it still happening?
As of a few seconds ago, yes. Still happening.
Okay. Can you try first an "apt-get update" and try it again?
I think it *is* some problem with apt-cache because it seems to have
first downloaded that package at 0741Z today. I've nuked its cache
now; it should proxy it again when someone asks for it.
Yes, worked perfectly on both VPS' now. Thanks for your help! :)
I will reboot them as soon as I can find a suitable moment.
mirror hostname)?
Such as to
http://gb.archive.ubuntu.com/ instead of
http://apt-cacher.lon.bitfolk.com ?
I can yes. I am, however, a bit reluctant to mess with live
servers. If
it's what it takes to get things going, then naturally I'm up for it.
In general the apt-cache URLs look like:
http://apt-cacher.lon.bitfolk.com/ubuntu/gb.archive.ubuntu.com/ubuntu/
The part after the first "ubuntu/" is the source mirror and path
that apt-cache will use if it doesn't have the file. Allowed hosts
for the Ubuntu apt-cacher are:
archive.ubuntu.com/ubuntu/
gb.archive.ubuntu.com/ubuntu/
security.ubuntu.com/ubuntu/
www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu/
ubuntu-archive.datahop.it/ubuntu/
so you control which of the above mirrors you use.
Very interesting. I've heard of APT caches before, but I've never used
them. Let alone set one up. Thanks for the info. :)
But in this case I don't think it will help as the
update will be
coming from
security.ubuntu.com and also because I think it is a
problem with the apt-cacher.
Seems to have been!
Thanks!!
Cheers,
/Jocke