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

Bug#43830: marked as done (apt: apt-get needs "*__Package" instead of "*_Package" with cdrom)



Your message dated Sun, 19 Sep 1999 19:43:48 -0700
with message-id <199909200243.TAA20371@gilgamesh.cse.ucsc.edu>
and subject line Uploaded apt 0.3.13 (source i386 all) to master
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 31 Aug 1999 12:34:48 +0000
Received: (qmail 23483 invoked from network); 31 Aug 1999 12:33:40 -0000
Received: from postfix.rhein.de (193.175.27.8)
  by master.debian.org with SMTP; 31 Aug 1999 12:33:40 -0000
Received: by postfix.rhein.de (Postfix, from userid 5)
	id E58F1129A1; Tue, 31 Aug 1999 14:33:08 +0200 (MET DST)
Received: from luv (luv)
	by aiur (rbsmtp 2.3pl8bMS);
	Tue Aug 31 14:33:08 1999
	using /var/spool/bsmtp/out/q17391.01.936102788
Received: from spinnaker.rhein.de (root@spinnaker.rhein.de [193.175.27.129])
	by luv.rhein.de (8.9.3/8.9.3/Debian/GNU) with ESMTP id NAA20268;
	Tue, 31 Aug 1999 13:45:37 +0200
Received: (from roland@localhost)
	by spinnaker.rhein.de (8.9.3/8.9.3/Debian/GNU) id NAA14222;
	Tue, 31 Aug 1999 13:45:35 +0200
Date: Tue, 31 Aug 1999 13:45:35 +0200
Message-Id: <199908311145.NAA14222@spinnaker.rhein.de>
From: Roland Rosenfeld <roland@spinnaker.de>
Subject: apt: apt-get needs "*__Package" instead of "*_Package" with cdrom
To: submit@bugs.debian.org
X-Mailer: bug 3.2.2
Sender: roland@spinnaker.rhein.de

Package: apt
Version: 0.3.11
Severity: normal

As you can see on the subject, this bug confuses me a bit...

Here's what happened:
I created a CD with some of the potato packages I received from the
net.  On this CD there is a directory debian/binary-i386/ with the
*.deb files in it.  I created Packages and Packages.gz (the latter one 
doesn't seem to be used by apt-cdrom) using:
        dpkg-scanpackages . /dev/null > Packages

Then I run 
        apt-cdrom -r add
and entered "debian-potato-1999-08-31" as the disc name.

Everything seems to be all right, /etc/apt/sources.list is extended by 
the following line:
deb "cdrom:debian-potato-1999-08-31/debian/binary-i386/" /

/var/state/apt/cdroms.list is extended by the following lines:
CD::1c1f77b2640898610b55a082d4f80f0e-2 "debian-potato-1999-08-31";
CD::1c1f77b2640898610b55a082d4f80f0e-2::Label "Debian GNU/Linux unstable 1999-08-31 misc binary-i386 ";

(the latter line comes from .disk/info on the CD).

and in /var/state/apt/lists two files are created:
debian-potato-1999-08-31_debian_binary-i386_Packages 
debian-potato-1999-08-31_debian_binary-i386_Release 

Up to this point everything seems okay.  But now I run 
        apt-get update
to update the list of available files.  

But this gives me the following message:

Err cdrom:debian-potato-1999-08-31/debian/binary-i386/ / Packages
  Please use apt-cdrom to make this CD recognized by APT. apt-get update cannot be used to add new CDs

I tried apt-get check and this gives me the message:

W: Couldn't stat source package list 'cdrom:debian-potato-1999-08-31/debian/binary-i386/ / Packages' (/var/state/apt/lists/debian-potato-1999-08-31_debian_binary-i386__Packages) - stat (2 Datei oder Verzeichnis nicht gefunden)
W: You may want to run apt-get update to correct these missing files

Now I see, that apt-cdrom created the file as *_Packages, which
apt-get seems to look for *__Packages.  Don't ask me why (with the
Linux Central CDs everything works correct with *_Packages).

Renaming the file from *_Packages to *__Packages works around this
problem.  But I do not have any idea, what I have done wrong.  Seems
to be a bug in apt-get, which add this duplicated underscore....

Ciao

        Roland

-- System Information
Debian Release: potato
Kernel Version: Linux spinnaker 2.2.12 #2 Don Aug 26 15:00:39 CEST 1999 i586 unknown

Versions of the packages apt depends on:
hi  libc6           2.1.2-0pre7    GNU C Library: Shared libraries and timezone
hi  libstdc++2.9-gl 2.91.66-2      The GNU stdc++ library (EGCS version)


Reply to: