Package: reprepro
Version: 4.16.0-1
Severity: minor

Hi,

when trying to include the tivsm-*.deb packages from the official 
IBM Ubuntu "repository" (available at 

ftp://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/client/v7r1/Linux/LinuxX86_DEB/BA/v712/7.1.2.0-TIV-TSMBAC-LinuxX86_DEB.tar

into our local repository running reprepro the import fails.

$ reprepro --priority extra includedeb jessie-test tivsm-ba.amd64.deb
Character 0x09 not allowed within filenamepart '        amd64'!
There have been errors!

This is caused by IBM using tabs instead of whitespaces in 
DEBIAN/control, which is apparently legal according to 
https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-controlsyntax
but apparently seldomly used.

For now we're repacking the .debs with a script like this:

mkdir output
for deb in *.deb; do
        dir=${deb/.deb}

        # Extract binaries
        dpkg -x $deb $dir
        # Extract control files
        dpkg -e $deb $dir/DEBIAN

        # Replace Tabs in Control file with spaces
        sed -i -r 's:\t+: :' $dir/DEBIAN/control

        dpkg -b $dir output/
done

Thanks,
Bernhard


-- 
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