Can't install awstats on Ubuntu 8.04 ... apt-get newb alert!

(running 8.04 because I needed a certain version of MySQL, and that was the easiest LAMP stack to create that had what I needed).

Anyway, I'm trying to install awstats.

I get the following error:

root@li53-24:/etc# apt-get install awstats
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  libgeo-ipfree-perl libnet-dns-perl libnet-ip-perl
Recommended packages:
  libnet-xwhois-perl
The following NEW packages will be installed:
  awstats
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 908kB of archives.
After this operation, 5009kB of additional disk space will be used.
Err http://security.ubuntu.com hardy-updates/main awstats 6.7.dfsg-1ubuntu0.1
  404 Not Found [IP: 91.189.92.166 80]
Err http://security.ubuntu.com hardy-security/main awstats 6.7.dfsg-1ubuntu0.1
  404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/a/awstats/awstats_6.7.dfsg-1ubuntu0.1_all.deb  404 Not Found [IP: 91.189.92.166 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I poked around, and there was a security update issued yesterday. I don't know if that's causing my problems.

I assume what's wrong is either

1) apt-get needs to get an updated list of packages somewhere

2) I need to update some other packages before I can install awstats

3) I just need to wait until that security update propagates around

4) some other answer, and I'm just stupid.

Can anyone shed light on this situation?

Thanks,

Eric.

7 Replies

Did you try
> E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?

apt-get update will probably fix it.

With apt based systems, it's always worth running "apt-get update" before doing any installs, so as to refresh your cache of available packages. Without it you could end up trying to download an old removed version of the package.

Thanks, obs + sweh!

I was confused between "upgrade" and "update". I didn't want to make huge changes (even though this is my test linode).

Running update allowed the install to complete!

Have a read of

http://manpages.ubuntu.com/manpages/har … get.8.html">http://manpages.ubuntu.com/manpages/hardy/en/man8/apt-get.8.html

It tells you all the cool things apt can do ;)

@obs:

It tells you all the cool things apt can do ;)

nf@channel:~$ apt-get moo
         (__)
         (oo)
   /------\/
  / |    ||
 *  /\---/\
    ~~   ~~
...."Have you mooed today?"...
nf@channel:~$

![](http://upload.wikimedia.org/wikipedia/c … de_moo.png">http://upload.wikimedia.org/wikipedia/commons/c/c6/Aptitude_moo.png" />

@ericholtman:

I was confused between "upgrade" and "update". I didn't want to make huge changes (even though this is my test linode).

You are running 'upgrade' on a regular basis, right?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct