jackyf / cupt

high-level package manager for Debian, inspired from APT
36 stars 4 forks source link

Support apt transports #13

Closed KOLANICH closed 4 years ago

KOLANICH commented 4 years ago
E: no download handlers defined for the protocol '[signed-by=/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg]/dists/https'
#3: starting [signed-by=/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg] https://mirrors.kernel.org/ubuntu/ InRelease

for the rules like

deb [signed-by=/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg] https://mirrors.kernel.org/ubuntu/ eoan universe
jackyf commented 4 years ago

https is supported natively in Cupt via libcupt-downloadmethod-curl-package without a need for extra transports. The error message you're seeing is caused by a bug (misparsing tag syntax in sources.list) and should be fixed in the recently released Cupt 2.10.4.

Note, though, that the particular tag signed-by is not (yet) supported by Cupt - feel free to create a new ticket about that.

jackyf commented 4 years ago

Regarding the tag parsing bug: if you can't easily upgrade to Cupt 2.10.4, in earlier versions you can work around the issue by placing an extra space after the opening square brace and another space before the closing brace, i.e.: deb [ signed-by=/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg ] https://...