Index
Subject
: Re: LUG: Yet Another Ubuntu Question
From
: tjoshea@ncsu.[redacted]
Date
: Thu, 03 Nov 2005 11:38:02 -0500
Parent
Hi Ken,
Your apt-get sources should be defined in /etc/apt/sources.list
since your initial install is done you will most likely want to remove the
cd-rom sources and change them to web-based updates from more current
online repositories, here is a common sources.list for breezy which you
should be able to drop in and apt-get update/upgrade/install successfully
using.
Cheers,
-Tim
<sources.list>
## Uncomment the following two lines to fetch updated software from the
network
deb http://archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://archive.ubuntu.com/ubuntu hoary main restricted
## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://archive.ubuntu.com/ubuntu hoary-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu hoary-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://archive.ubuntu.com/ubuntu hoary universe
deb-src http://archive.ubuntu.com/ubuntu hoary universe
deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted
deb http://security.ubuntu.com/ubuntu hoary-security universe
deb-src http://security.ubuntu.com/ubuntu hoary-security universe
deb http://archive.ubuntu.com/ubuntu hoary multiverse
deb-src http://archive.ubuntu.com/ubuntu hoary multiverse
deb http://archive.ubuntu.com/ubuntu hoary-backports main restricted
universe multiverse
Or copy and paste the following over your existing sources.list if you're
using Breezy (5.10): ## Uncomment the following two lines to fetch updated
software from the network
deb http://archive.ubuntu.com/ubuntu breezy main restricted
deb-src http://archive.ubuntu.com/ubuntu breezy main restricted
## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu breezy-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://archive.ubuntu.com/ubuntu breezy universe
deb-src http://archive.ubuntu.com/ubuntu breezy universe
deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted
deb http://security.ubuntu.com/ubuntu breezy-security universe
deb-src http://security.ubuntu.com/ubuntu breezy-security universe
deb http://archive.ubuntu.com/ubuntu breezy multiverse
deb-src http://archive.ubuntu.com/ubuntu breezy multiverse
</source.list>
> Trying to get my Ubuntu box to make use of the APC UPS connected to
> it. Checked the APC web page and found that they do support Linux and ran
> apt-get install on the package. Here is the error messages I get:
>
> Failed to fetch
> http://us.archive.ubuntu.com/ubuntu/pool/universe/a/apcupsd/apcupsd_3.10.17-2_i386.deb
> MD5Sum mismatch
> W: Couldn't stat source package list cdrom://Ubuntu 5.10 _Breezy Badger_ -
> Preview i386 (20050908) breezy/main Packages
> (/var/lib/apt/lists/Ubuntu%205.10%20%5fBreezy%20Badger%5f%20-%20Preview%20i386%20(20050908)_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_ -
> Preview i386 (20050908) breezy/restricted Packages
> (/var/lib/apt/lists/Ubuntu%205.10%20%5fBreezy%20Badger%5f%20-%20Preview%20i386%20(20050908)_dists_breezy_restricted_binary-i386_Packages)
> - stat (2 No such file or directory)
> W: You may want to run apt-get update to correct these problems
> E: Unable to fetch some archives, maybe run apt-get update or try with
> --fix-missing?
>
>
> It seems that every time I run apt-get install, I get the two errors about
> being unable to "stat source package list cdrom ..."
>
> I have run update etc but with no apparent effect.
>
> Any ideas/suggestions would be appreciated.
>
> TIA
>
> Ken Whichard
> Class 0f '61
> Experienced Solaris Sysop
> Very new Ubuntu Sysop
>
>
>