Closed YogSottot closed 6 days ago
Hi @YogSottot , Do you know why we get that 'unknown' after package name?
$ apt list libnginx-mod-http-ntlm -a
Listing... Done
libnginx-mod-http-ntlm/unknown 1.19.3-1.gbp3da77b0~noble amd64
Hi @YogSottot , Do you know why we get that 'unknown' after package name?
$ apt list libnginx-mod-http-ntlm -a Listing... Done libnginx-mod-http-ntlm/unknown 1.19.3-1.gbp3da77b0~noble amd64
https://wiki.debian.org/DebianRepository/Format#Suite
Fixed it by adding Suite: stable
to conf/distributions
https://github.com/YogSottot/ppa/commit/eb701e53f222aa884d9020d5bd5d8fe61eee6b35#diff-74b9ed207e9335de5a78ff2d6cfb103a9a5338683b0386d269854c783c2ffad7R6
Then run reprepro export
and commit / push
apt update
Get:6 https://yogsottot.github.io/ppa/debian bookworm InRelease [1 817 B]
Fetched 9 368 B in 2s (4 488 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
N: Repository 'https://yogsottot.github.io/ppa/debian bookworm InRelease' changed its 'Suite' value from '' to 'stable'
>apt list libnginx-mod-http-ntlm -a
Listing... Done
libnginx-mod-http-ntlm/stable 1.19.3-1.gbp3da77b0~bookworm amd64
Set up a repository in debian 12 bookworm. Installing a package from the repository resulted in installing the buster version.
so
Perhaps it would be worth changing the repository from a flat structure to a separate one for each distribution?
So that it can be connected like this
reprepo can help with that.
Here is an example of my personal repository organized by distribution https://github.com/YogSottot/ppa/