Package: reprepro
Version: 4.8.2-1
Severity: normaal

Hello reprepro maintainers,

When creating an udeb only aptable archive,
there is no Release file created in the debian-installer directory.
The Packages file is created. The regular aptable archive does
get a Release file and an empty Packages file.

It could be my ignorance, but to me it is strange behaviour of reprepro.
Creating a empty Package file, an unwanted / unneeded Release file
and neglecting to create the wanted / expected Release.

It is reproducable with the attached script.

Part of it output is:
 aptablearchive/pool/main/a/anna/anna_1.33_mipsel.udeb
 aptablearchive/dists/demo/Release
 aptablearchive/dists/demo/main/binary-mipsel/Packages.gz
 aptablearchive/dists/demo/main/binary-mipsel/Release
 aptablearchive/dists/demo/main/binary-mipsel/Packages
 aptablearchive/dists/demo/main/debian-installer/binary-mipsel/Packages.gz
 aptablearchive/dists/demo/main/debian-installer/binary-mipsel/Packages

What is needed for a Release file in the debian-installer directory?


Cheers
Geert Stappers

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages reprepro depends on:
ii  libarchive1             2.8.5-5          Multi-format archive and compressi
ii  libbz2-1.0              1.0.6-1          high-quality block-sorting file co
ii  libc6                   2.13-24          Embedded GNU C Library: Shared lib
ii  libdb5.1                5.1.29-1         Berkeley v5.1 Database Libraries [
ii  libgpg-error0           1.10-1           library for common error values an
ii  libgpgme11              1.2.0-1.4        GPGME - GnuPG Made Easy
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages reprepro recommends:
ii  apt                           0.8.15.9   Advanced front-end for dpkg

Versions of packages reprepro suggests:
pn  gnupg-agent                   <none>     (no description available)
pn  inoticoming                   <none>     (no description available)
pn  lzip                          <none>     (no description available)
ii  lzma                          4.43-14    Compression method of 7z format in
ii  xz-utils                      5.0.0-2    XZ-format compression utilities

-- no debconf information

----- End forwarded message -----

-- 
Groeten
Geert Stappers
-- 
> And is there a policy on top-posting vs. bottom-posting?
Yes.
#!/bin/bash
#
rm -rf demo # fresh start
mkdir demo # new directory
cd demo
mkdir conf aptablearchive
#
cat << HERE > conf/distributions
#
Origin: demo
Label: demo
Suite: stable
Codename: demo
Version: 3.14159
Architectures: mipsel
Components: main
UDebComponents: main
Description: Just for Demonstrating purpose
# SignWith: nope
DebOverride: override
UDebOverride: override
#
# l l
HERE

echo '# logically empty' > conf/override

# get an udeb
U=anna_1.33_mipsel.udeb
wget -q http://ftp.nl.debian.org/debian/pool/main/a/anna/${U}

# now reproduce a repository
reprepro --basedir ./ \
        --outdir ./aptablearchive/ \
        --component main \
        includeudeb demo ${U}

echo All files:
find aptablearchive -type f
echo Releases:
find aptablearchive -name Release
echo 'Packages (plus size):'
find aptablearchive -name Packages -ls
#
echo '# suggested clean up: rm -rf demo'
#
# l l

Reply via email to