openSUSE / open-build-service

Build and distribute Linux packages from sources in an automatic, consistent and reproducible way #obs
https://openbuildservice.org
GNU General Public License v2.0
936 stars 440 forks source link

Could not create DoD repository for Debian buster-backports #9148

Open kvelichko-wallarm opened 4 years ago

kvelichko-wallarm commented 4 years ago

Issue Description

Hi! I was trying to create DoD repo for buster-backports with following configuration, but I got an error, here is the part of dodup.log:

2020-02-26 15:19:47: [1110]  checking Debian:buster/backports/i586...
updating metadata for deb repo at http://deb.debian.org/debian/buster-backports/main,contrib,non-free
http://deb.debian.org/debian/dists/buster-backports/main/binary-i386/Packages.gz: 404 remote error: Not Found
2020-02-26 15:19:47: [1110]  checking Debian:buster/backports/x86_64...
updating metadata for deb repo at http://deb.debian.org/debian/buster-backports/main,contrib,non-free
http://deb.debian.org/debian/dists/buster-backports/main/binary-amd64/Packages.gz: 404 remote error: Not Found

Expected Result

DoD repository for Debian buster-backports

How to Reproduce

  1. Edit Project meta: osc meta prj -e Debian:buster
  2. Add repository definition:
    <project name="Debian:buster">
    <title/>
    <description/>
    [...]
    <repository name="backports">
    <download arch="x86_64" url="http://deb.debian.org/debian/buster-backports/main,contrib,non-free" repotype="deb"/>
    <download arch="i586" url="http://deb.debian.org/debian/buster-backports/main,contrib,non-free" repotype="deb"/>
    <path project="Debian:buster" repository="standard"/>
    <arch>x86_64</arch>
    <arch>i586</arch>
    </repository>
    </project>
  3. Save
  4. See error in /srv/obs/log/dodup.log
    2020-02-26 15:19:47: [1110]  checking Debian:buster/backports/i586...
    updating metadata for deb repo at http://deb.debian.org/debian/buster-backports/main,contrib,non-free
    http://deb.debian.org/debian/dists/buster-backports/main/binary-i386/Packages.gz: 404 remote error: Not Found
    2020-02-26 15:19:47: [1110]  checking Debian:buster/backports/x86_64...
    updating metadata for deb repo at http://deb.debian.org/debian/buster-backports/main,contrib,non-free
    http://deb.debian.org/debian/dists/buster-backports/main/binary-amd64/Packages.gz: 404 remote error: Not Found

Further Information

# cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.1"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.1"
PRETTY_NAME="openSUSE Leap 15.1"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

# uname -a
Linux obs-server-0 4.12.14-lp151.28.36-default #1 SMP Fri Dec 6 13:50:27 UTC 2019 (8f4a495) x86_64 x86_64 x86_64 GNU/Linux

# rpm -qa | grep obs
obs-server-2.10.1-lp151.23.1.noarch
obs-api-2.10.1-lp151.23.1.noarch
obs-signd-2.5.4-lp151.1.4.x86_64
obs-cloud-uploader-2.10.1-lp151.23.1.noarch
obs-utils-2.10.1-lp151.23.1.noarch
obs-service-download_url-0.1.1-lp151.2.1.noarch
obs-service-tar_scm-0.10.9.1559745964.22c86cd-lp151.2.3.1.noarch
obs-common-2.10.1-lp151.23.1.noarch
obs-service-download_files-0.6.0.git.1502884469.0993a01-lp151.2.1.noarch
obs-service-recompress-0.3.1+git20170704.59bf231-lp151.2.1.noarch
obs-bundled-gems-2.10.1-lp151.23.1.x86_64
obs-api-deps-2.10.1-lp151.23.1.x86_64
obs-service-obs_scm-0.10.9.1559745964.22c86cd-lp151.2.3.1.noarch
obs-service-set_version-0.5.8-lp151.2.1.noarch
obs-service-obs_scm-common-0.10.9.1559745964.22c86cd-lp151.2.3.1.noarch
obs-service-verify_file-0.1.1-lp151.2.1.noarch
mlschroe commented 4 years ago

We need to support xz compress Packages files. This should be pretty easy to add.

nickbroon commented 4 years ago

This would be very useful! Future releases of Debian are also likely to using xz more commonly. See #8881