Please check integrity of downloaded files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-file (Ubuntu) |
Fix Released
|
Wishlist
|
Daniel Hahler |
Bug Description
Binary package hint: apt-file
I installed apt-file yesterday, and would have expected it to work by today (the computer has been running for all this time). However, it doesn't, mostly.
vnix$ time apt-file search nosuchfile
gzip: /var/cache/
gzip: /var/cache/
gzip: /var/cache/
gzip: /var/cache/
gzip: /var/cache/
real 0m21.708s
user 0m19.381s
sys 0m0.696s
vnix$ uptime
21:43:01 up 2 days, 19:24, 5 users, load average: 1.23, 0.74, 0.38
In other words, the system is not under extremely heavy load or anything, and the operation takes forever. Running "sudo apt-file update" didn't clear this up, either.
However, this does appear to be just a transient problem:
vnix$ ls -l /var/cache/
total 13608
-rw-r--r-- 1 root root 6170 2006-04-07 16:04 fi.archive.
-rw-r--r-- 1 root root 13888467 2007-10-17 06:11 fi.archive.
-rw-r--r-- 1 root root 6170 2006-04-07 16:04 fi.archive.
-rw-r--r-- 1 root root 6170 2006-04-07 16:04 fi.archive.
vnix$ file /var/cache/
/var/cache/
/var/cache/
/var/cache/
/var/cache/
vnix$ head /var/cache/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://
<html>
<head>
<title> 404 File was not found in NIC </title>
</head>
<body bgcolor="#ffffff">
<center>
<!-- <img src="http://
It would be nice, though, if apt-file could check that the downloaded files are in the expected format before committing them.
Changed in apt-file: | |
assignee: | nobody → blueyed |
importance: | Undecided → Wishlist |
status: | New → In Progress |
See also bug #176754 for the problem with the Funet mirror.