Package: multistrap
Version: 2.1.15~bpo60+1
Severity: normal

While diffing between two Debian squeeze chroots (one created by
deboostrap, the other by multistrap), I noticed that the multistrap
chroot leaves each package's .control files in /var/lib/dpkg/info/.  I
suspect that this a bug, given the following bit of multistrap code:

                        rename "./${tmpdir}/$mscript", 
"./${dpkgdir}info/$pkg${multi}.$mscript";
                        if ( $mscript eq "control" ) {
                                open (MSCRIPT, 
"./${dpkgdir}info/$pkg${multi}.$mscript");
                                my @scr=<MSCRIPT>;
                                close (MSCRIPT);
                                my @avail = grep(!/^$/, @scr);
                                print AVAIL @avail;
                                print STATUS @avail;
                                print AVAIL "\n";
                                print STATUS "Status: install ok unpacked\n";
                                unlink ("./${dpkgdir}info/$mscript");



Here, we move the control file to /var/lib/dpkg/info/pkgname.control,
and (iff this is a control file) grab information from it.  After that,
we delete /var/lib/dpkg/info/control.  However, I suspect that should
be /var/lib/dpkg/info/pkgname.control; otherwise, we're just deleting
a file named 'control' over and over again.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to