Re: FW: dpkg_multicd_0.13 and boot-disks 2.1.6 still broken..
Jim Westveer wrote:
> > >
> > > Wrong Disk. I need "Debian GNU/Linux slink" but I found
> > > "Debian GNU/Linux slink (2.1) 1/5 main binary section 1 SAM1990130
> > > Please change the disks and press enter
> > >
> > > ...hummmm...
>
> > Can you please check the source of dpkg-multicd? I remember that I
> > removed the restriction that only the first two words as CD identifier
> > were recognized.
>
> Yea, in install around line 94, he tries to see if the package described
> in the file Packages.cd under X-medium, matches the disk currently available
> (thisdisk).....but....
>
> I am not astute enough to figure out who is chopping the string short.
> Obviously $thisdisk has the chopped string, and $medium has the correct
> value. I checked the CD I created, and the Packages.cd file has the
> correct disk name under X-medium.
Can you try the following patch:
Index: install
===================================================================
RCS file: /home/archive/debian/dpkg-multicd/install,v
retrieving revision 1.8
diff -u -r1.8 install
--- install 1999/01/26 23:04:46 1.8
+++ install 1999/02/01 10:07:10
@@ -91,7 +91,7 @@
while (<P>) {
s/\s*\n$//;
$package= $_ if s/^Package: //i;
- /^X-Medium:\s+(.*)\s*/ and $medium = $1;
+ /^X-Medium:\s+(.*)$/ and $medium = $1;
@filename= split(/ /,$_) if s/^Filename: //i;
@msdosfilename= split(/ /,$_) if s/^MSDOS-Filename: //i;
}
I don't think that I understand the code since the messages on the
screen and the code differ - at least in my interpretataion.
Regards,
Joey
--
If you come from outside of Finland, you live in wrong country.
-- motd of irc.funet.fi
Please always Cc to me when replying to me on the lists.
Reply to: