-
-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Package Downloads on Ubuntu and Debian #3539
Comments
Agreed. Debian has made the GPG key change unnecessarily complicated.
It should not be. We have two distinct GPG keys, thanks to the mess in #3446, #3485
That's one ugly command line, I would split it to make it fit on screen.
Yet another special case 😞
Oh, that's happened again when I pushed the html5 builds...
Ubuntu still doesn't support zst control files in its "latest / greatest" distro and that breaks the repository.
That's invalid. See #3531 : use the beta repo for beta distros. TLDR: Debian packaging always ends up costing me far too much time and effort for what it does. |
Well, it works well? The two unarmored keys aren't needed and just the armored key used for RPM does work. I also confirm that impish and jammy work with the same armored .asc key for the above configuration after
That is outside the scope of whether the .sources method works or not, since all the errors I see are equally seen in the current .list method. Probably got broken again after whatever you did to fix it. I used beta. |
Made the edit.
Don't worry, you know that bookworm is not yet actually released. When it's released, it will have |
Example for Docker users:
|
If I try to update xpra on Ubuntu Impish I receive the follwoing error:
Is this a problem of my system or a general problem? On another system with |
@Slebi There are no |
@totaam Note that this alternative .source method works right now without any modifications. And it only uses one key! |
@ehfd will definitely be looking at this for the new release cycle. |
It's how WineHQ instructs us to install Ubuntu/Debian packages, so I think it's pretty good. |
@ehfd I have updated the Download wiki page to point to new |
One typo in Debian: Otherwise, looks good to me. |
For the record, the step-by-step instructions from the download instructions were wrong. |
Is your feature request related to a problem? Please describe.
The download directions on the Downloads Wiki are very confusing as it is not compatible across a wide range of releases, and key management is a huge nuisance.
Instead of using the .list file format, the .sources file format provides a very convenient method to add the Xpra repository.
Idea brought from https://wiki.winehq.org/Ubuntu and https://wiki.winehq.org/Debian.
Dependencies:
sudo apt-get install apt-transport-https ca-certificates wget
Describe the solution you'd like
This line is sufficient for importing the key to all distros:
sudo wget -O "/usr/share/keyrings/xpra.asc" https://xpra.org/gpg.asc
xpra.sources
are to be saved in/etc/apt/sources.list.d/xpra.sources
andxpra-beta.sources
are to be saved in/etc/apt/sources.list.d/xpra-beta.sources
in all cases.The command to do this would be (except bookworm which does not have
VERSION_CODENAME
in/etc/os-release
, will be added when the distro is actually released, just setexport DISTRO=bookworm
):export DISTRO=$(grep VERSION_CODENAME= /etc/os-release | cut -d= -f2)
sudo wget -O "/etc/apt/sources.list.d/xpra.sources" https://xpra.org/repos/${DISTRO}/xpra.sources
sudo wget -O "/etc/apt/sources.list.d/xpra-beta.sources" https://xpra.org/repos/${DISTRO}/xpra-beta.sources
https://xpra.org/repos/bionic/xpra.sources
https://xpra.org/repos/bionic/xpra-beta.sources
https://xpra.org/repos/focal/xpra.sources
https://xpra.org/repos/focal/xpra-beta.sources
NOTE: There is an issue with impish and jammy where xpra-html5 and xpra are not installed correctly. There is an exact same issue with the existing .list method, and this is because theFIXED AND CONFIRMED WORKING.Packages
file is empty as of 2022-05-13, so not an issue with this .source method. There is no "GPG key not found" error, so my .source method is perfectly valid. However, it is best to test for minor issues which may arise afterPackages
is restored.https://xpra.org/repos/impish/xpra.sources
https://xpra.org/repos/impish/xpra-beta.sources
https://xpra.org/repos/jammy/xpra.sources
https://xpra.org/repos/jammy/xpra-beta.sources
https://xpra.org/repos/stretch/xpra.sources
https://xpra.org/repos/stretch/xpra-beta.sources
https://xpra.org/repos/buster/xpra.sources
https://xpra.org/repos/buster/xpra-beta.sources
https://xpra.org/repos/bullseye/xpra.sources
https://xpra.org/repos/bullseye/xpra-beta.sources
NOTE: There is an issue with bookworm where xpra-html5 and xpra are not installed correctly. There is an exact same issue with the existing .list method, and this is because the dependency is set to
libavif13
(not available in bookworm) instead oflibavif14
, so not an issue with this .source method. There is no "GPG key not found" error, so my .source method is perfectly valid. However, it is best to test for minor issues which may arise after this is fixed.https://xpra.org/repos/bookworm/xpra.sources
https://xpra.org/repos/bookworm/xpra-beta.sources
Using each of the Docker base images ubuntu:{bionic,focal,impish,jammy} and debian:{stretch,buster,bullseye,bookworm}, confirmed to correctly work right to installing xpra and xpra-html5 from the Xpra.org repository except for
impish and jammy (which will work since it worked in bullseye) where thebookworm where the package dependency collided.Packages
file was empty in the repository andThe text was updated successfully, but these errors were encountered: