proxmox/proxmox-apt
Fabian Grünbichler c8433e3219 fix #4653: (In)Release file: improve handling of special suites
APT doesn't mind a repository with either "/" or "./" as suite/distribution,
such as

 deb https://example.com/debian ./

in that case, the 'dists' part of the URL and the trailing slash (which would
be encoded as '_') is dropped in the file name in '/var/lib/apt/lists/'.

Other suite values with a trailing or leading '/' are rejected with an error by APT:

 E: Malformed entry 1 in sources file /etc/apt/sources.list.d/test.list (absolute Suite Component)
 E: The list of sources could not be read.

so this should be the only special case requiring handling.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-06-06 18:24:39 +02:00
..
debian apt: bump version to 0.10.1-1 2023-06-03 18:29:04 +02:00
src fix #4653: (In)Release file: improve handling of special suites 2023-06-06 18:24:39 +02:00
tests apt: tests: add tests for Ceph Quincy repository detection on Bookworm 2023-06-03 14:39:05 +02:00
Cargo.toml apt: bump version to 0.10.1-1 2023-06-03 18:29:04 +02:00