Package: debarchiver Version: 0.9.10 Severity: normal Tags: patch Hi Maintainer,
I was creating a Debian repository using debarchiver and found our that it generates an incorrect 'Release' file when used with -so options. To be specific, it uses the 'alias' from %distmapping for both 'Suite' and 'Codename' values which makes aptitude to throw a warning as below. W: Conflicting distribution: [repo URL] unstable Release (expected unstable but got sid) I think this is a bug introduced by the commit revision #2484 (http://svn.inguza.org/fsp/trunk/debarchiver/src/debarchiver.pl?r1=2483&r2=2484) which makes the %dests to include the incorrect distribution value. Following patch fixed the issue for me: --- /usr/bin/debarchiver 2011-11-06 19:32:27.000000000 +0000 +++ ./debarchiver 2013-09-23 16:19:19.000000000 +0100 @@ -1907,6 +1907,10 @@ # OVERRIDES foreach my $distr (split /\s+/, $distrd) { + + # Note to the autoscan that files are installed to this dir. + $dests{"$distr/$major/$archsec"} = 1; + $distr = $distmapping{$distr} || $distr; my $srcext = ".src" if ($arch =~ /^source$/); parseOverrideFile($distr, $major, $srcext); @@ -1928,9 +1932,6 @@ "$pkgname$srcext"} = 1; } - # Note to the autoscan that files are installed to this dir. - $dests{"$distr/$major/$archsec"} = 1; - my $installto = "$destdir/$distr/$major/$archsec/$section"; if (! -d $installto) { action(! mkpath ($installto, 0, 0755), Thanks, Udi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org