[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#34080: APT install phase breaks on unrecognized distribution names like "hamm"



Package: apt
Version: 0.1.8


The installation phase of APT breaks if it doesn't
recognize the distribution designator.  It seems to
revert to "stable" instead of what was specified.

One result is that breaks when directories are named 
with a release code name such as "hamm".  It also won't 
work on arbitrary directory names (I tested "staxxxble").

Here is an excerpt of a deselect session with apt:



********* [A]ccess: 

...
I see you already have a source list.

------------------------------------------------------------------------
deb file:/root/mirror/debian staxxxble main contrib non-free
#deb ftp://ftp.debian.org/debian stable main contrib non-free
#deb http://llug.sep.bnl.gov/debian stable main contrib non-free
------------------------------------------------------------------------


********** [U]pdate:


Get file:/root/mirror/debian/ staxxxble/contrib Packages
Get file:/root/mirror/debian/ staxxxble/main Packages
Get file:/root/mirror/debian/ staxxxble/non-free Packages
...
Information about 1852 package(s) was updated.

********** [I]nstall:

...
Need to get 89.3k of archives. After unpacking 177k will be used.
Do you want to continue? [Y/n] 

Get file:/root/mirror/debian/ staxxxble/main cdrecord [89.3k]

Error file:/root/mirror/debian/ staxxxble/main cdrecord
 Unable to stat
/root/mirror/debian/dists/stable/main/binary-i386/otherosfs/cdrecord_1.6final-0.2.deb
No such file or directory


Note how the "Get file:" and "Error file:" lines both
correctly say "staxxxble", but the "Unable to stat"
line shows that APT tried "stable" instead of the
specified name.

I had the same trouble when I tried "hamm"--the "Get
file:" and "Error file:" lines said "hamm/main", and
the "Unabled to stat" line said ".../stable/..."
instead of "hamm".



Somewhere, earlier, APT warning that it didn't recognize
a release designator.  I would guess that the but is
near the check that emits that warning.



Daniel
-- 
Daniel Barclay
dsb@smart.net
(Hmm.  A little worrisome:  http://www.anonymizer.com/snoop.cgi )


Reply to: