#824521 [reprepro] Please add dep-11 support

Package:
reprepro
Source:
reprepro
Description:
Debian package repository producer
Submitter:
Fernando Toledo
Date:
2023-06-04 06:21:05 UTC
Severity:
normal
#824521#5
Date:
2016-05-17 02:41:15 UTC
From:
To:
--- Please enter the report below this line. ---

Newer version of apt use dep-11 to get metadata info of packages.
Reprepro do not generate these files in the archive and apt fail with
error if use own "reprepro made" repository

relevant log parts:

Des:32 http://huayra-srv-01.huayragnulinux.com.ar/debian stretch/main
i386 Packages [10,4 MB]
Ign:35 http://huayra-srv-01.huayragnulinux.com.ar/debian stretch/main
amd64 DEP-11 Metadata
Err:36 http://huayra-srv-01.huayragnulinux.com.ar/debian stretch/main
DEP-11 64x64 Icons
  404  Not Found
Des:37 http://huayra-srv-01.huayragnulinux.com.ar/debian stretch/contrib
amd64 Packages [67,1 kB]
Des:38 http://huayra-srv-01.huayragnulinux.com.ar/debian stretch/contrib
i386 Packages [63,8 kB]
Ign:40 http://huayra-srv-01.huayragnulinux.com.ar/debian stretch/contrib
amd64 DEP-11 Metadata
Err:41 http://huayra-srv-01.huayragnulinux.com.ar/debian stretch/contrib
DEP-11 64x64 Icons
  404  Not Found
Des:42 http://huayra-srv-01.huayragnulinux.com.ar/debian
stretch/non-free amd64 Packages [99,0 kB]

Des:43 http://huayra-srv-01.huayragnulinux.com.ar/debian
stretch/non-free i386 Packages [88,9 kB]

Ign:45 http://huayra-srv-01.huayragnulinux.com.ar/debian
stretch/non-free amd64 DEP-11 Metadata

Err:46 http://huayra-srv-01.huayragnulinux.com.ar/debian
stretch/non-free DEP-11 64x64 Icons

  404  Not Found
Err:35 http://huayra-srv-01.huayragnulinux.com.ar/debian stretch/main
amd64 DEP-11 Metadata
  404  Not Found
Err:40 http://huayra-srv-01.huayragnulinux.com.ar/debian stretch/contrib
amd64 DEP-11 Metadata
  404  Not Found
Err:45 http://huayra-srv-01.huayragnulinux.com.ar/debian
stretch/non-free amd64 DEP-11 Metadata

  404  Not Found



E: Fallo al obtener
http://huayra-srv-01.huayragnulinux.com.ar/debian/dists/stretch/main/dep11/Components-amd64.yml
 404  Not Found
E: Fallo al obtener
http://huayra-srv-01.huayragnulinux.com.ar/debian/dists/stretch/main/dep11/icons-64x64.tar
 404  Not Found
E: Fallo al obtener
http://huayra-srv-01.huayragnulinux.com.ar/debian/dists/stretch/contrib/dep11/Components-amd64.yml
 404  Not Found
E: Fallo al obtener
http://huayra-srv-01.huayragnulinux.com.ar/debian/dists/stretch/contrib/dep11/icons-64x64.tar
 404  Not Found
E: Fallo al obtener
http://huayra-srv-01.huayragnulinux.com.ar/debian/dists/stretch/non-free/dep11/Components-amd64.yml
 404  Not Found
E: Fallo al obtener
http://huayra-srv-01.huayragnulinux.com.ar/debian/dists/stretch/non-free/dep11/icons-64x64.tar
 404  Not Found
E: No se han podido descargar algunos archivos de índice, se han
omitido, o se han utilizado unos antiguos en su lugar.

#824521#10
Date:
2016-05-28 07:13:36 UTC
From:
To:
I'd suggest to report a bug against apt for this. (Asking for files not
advertised and generating such an output is definitely a bug in apt,
no matter wether reprepro supports to generate those files or not).

	Bernhard R. Link

#824521#15
Date:
2018-01-26 11:58:00 UTC
From:
To:
#824521#20
Date:
2018-03-28 07:53:22 UTC
From:
To:
retitle -1 reprepro: please support appstream metadata (dep-11)
severity -1 important
thanks

Hello,

this missing feature renders gnome-software totally useless
on a reprepro managed repository (such as in Kali). See this
bug we got in Kali if you want to see a screenshot:
https://bugs.kali.org/view.php?id=4653

Hence I'm bumping the severity of the bug in the hope that it
will get a bit more traction.

Thank you.

#824521#25
Date:
2018-10-03 09:54:05 UTC
From:
To:
For the record, it's not apt which adds the extra downloads, but an apt
hook provided by the "appstream" package
(/etc/apt/apt.conf.d/50appstream).

Generating the DEP11 metadata is fairly straightforward by way of the
appstream-generator package. I think it would make sense for reprepro to
either allow one to provide appstream metadata as generated by that
package for adding to the Release file (and signing etc with the
repository key), or to generate an appstream-generator configuration
file and run the tool itself.

AppStream is package metadata just like Release etc files are, and if
you want full repository metadata then it should be included as well.

#824521#30
Date:
2022-07-09 16:26:03 UTC
From:
To:
Hi,

Not only gnome-software but also KDE's Discover is deprived of APT sources
support without it, which is first frustrating and second inviting users to
install Flatpack or Snap packages which is supported out of the box...

I believe I'm not the only one to think this is getting really important
nowadays.
Thanks in advance for your consideration

TY
J

#824521#37
Date:
2023-06-04 06:17:22 UTC
From:
To:
Control: block 1034771 by 824521

This is because reprepro does not generate or support these
dep11/Components-*.ym.gz files...

https://bugs.debian.org/824521

It might be possible to work around in similar to how debian-installer
images are download in simple_cdd/tools/mirror_download.py

live well,
  vagrant