[ubuntu-us-ut] apt-file fetch failure
charlescurley at charlescurley.com
Thu Jan 8 04:11:12 GMT 2009
On Wed, Jan 07, 2009 at 06:23:05AM -0700, Aaron Toponce wrote:
> Charles Curley wrote:
> > I get this error message from the weekly apt-file run:
> > /etc/cron.weekly/apt-file:
> > Can't get http://archive.canonical.com/ubuntu/dists/intrepid/Contents-i386.gz
> If you have the canonical partner repository setup in your
> /etc/apt/sources.list, you'll get this error. Don't know why, but if you
> browse the URL you just posted, you'll see that the Contents-i386.gz
> file does not exist.
> > This is the command:
> > /usr/bin/apt-file update
> > I get the same results when I run it manually as root.
> This command should be run as root, as your unprivileged user doesn't
> have the permissions to write to /var/cache/apt/apt-file
I should have specified that the command I showed is the one cron
runs. Of course cron runs as root.
> > Any ideas? Thanks
> Unless you need the Canonical partner repository, I'd just take that out
> of your sources.
A simple, elegant solution to the problem. Done. Thanks.
Charles Curley /"\ ASCII Ribbon Campaign
Looking for fine software \ / Respect for open standards
and/or writing? X No HTML/RTF in email
http://www.charlescurley.com / \ No M$ Word docs in email
Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/ubuntu-us-ut/attachments/20090107/5489ced8/attachment.pgp
More information about the ubuntu-us-ut