Public bug reported:

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/apt/apt-file/fi.archive.ubuntu.com_ubuntu_dists_gutsy-
updates_Contents-i386.gz: not in gzip format

gzip: /var/cache/apt/apt-file/fi.archive.ubuntu.com_ubuntu_dists_gutsy-
updates_Contents-i386.gz: not in gzip format

gzip: /var/cache/apt/apt-file/fi.archive.ubuntu.com_ubuntu_dists_gutsy-
updates_Contents-i386.gz: not in gzip format

gzip: /var/cache/apt/apt-file/fi.archive.ubuntu.com_ubuntu_dists_gutsy-
backports_Contents-i386.gz: not in gzip format

gzip: /var/cache/apt/apt-file/fi.archive.ubuntu.com_ubuntu_dists_gutsy-
proposed_Contents-i386.gz: not in gzip format

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/apt/apt-file
total 13608
-rw-r--r-- 1 root root     6170 2006-04-07 16:04 
fi.archive.ubuntu.com_ubuntu_dists_gutsy-backports_Contents-i386.gz
-rw-r--r-- 1 root root 13888467 2007-10-17 06:11 
fi.archive.ubuntu.com_ubuntu_dists_gutsy_Contents-i386.gz
-rw-r--r-- 1 root root     6170 2006-04-07 16:04 
fi.archive.ubuntu.com_ubuntu_dists_gutsy-proposed_Contents-i386.gz
-rw-r--r-- 1 root root     6170 2006-04-07 16:04 
fi.archive.ubuntu.com_ubuntu_dists_gutsy-updates_Contents-i386.gz

vnix$ file /var/cache/apt/apt-file/*
/var/cache/apt/apt-file/fi.archive.ubuntu.com_ubuntu_dists_gutsy-backports_Contents-i386.gz:
 HTML document text
/var/cache/apt/apt-file/fi.archive.ubuntu.com_ubuntu_dists_gutsy_Contents-i386.gz:
           gzip compressed data, from Unix, max compression
/var/cache/apt/apt-file/fi.archive.ubuntu.com_ubuntu_dists_gutsy-proposed_Contents-i386.gz:
  HTML document text
/var/cache/apt/apt-file/fi.archive.ubuntu.com_ubuntu_dists_gutsy-updates_Contents-i386.gz:
   HTML document text

vnix$  head 
/var/cache/apt/apt-file/fi.archive.ubuntu.com_ubuntu_dists_gutsy-proposed_Contents-i386.gz
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
<title> 404 File was not found in NIC </title>
</head>
<body bgcolor="#ffffff">

<center>
<!-- <img src="http://www.funet.fi/funet/ftp/hamster-transparent-logo.gif";>-->

It would be nice, though, if apt-file could check that the downloaded
files are in the expected format before committing them.

** Affects: apt-file (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Please check integrity of downloaded files
https://bugs.launchpad.net/bugs/176753
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to