-
Notifications
You must be signed in to change notification settings - Fork 204
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
[Ubuntu] Key is stored in legacy trusted.gpg keyring (apt warning) #1338
Comments
Thanks for your report. Could please describe the steps to reproduce this problem on a fresh Ubuntu 22.04 so that I can look into this on a Virtual Machine (VM)? Beyond that I am not quite sure if this is a Back In Time problem at all, for a possible solution see eg.: Edit: Did you do a fresh installation of U22.04 or a migration from a previous version with an existing keyring? |
I agree with @aryoda : This sounds exactly like the changes which where done in apt and is not a problem of Back In Time. |
I was sure it was something with this repository, because I installed this program on a fresh installation of Linux Mint 21 (based on Ubuntu 22.04), and only in this repository I have this deprecation |
I corrected these settings in file Before:
After:
However, this does not fix the problem as this file was created during the installation of the application. |
Could you please share your And: Which installation steps (instructions) did you follow to install BiT? It look like you have installed from launchpad.net (https://launchpad.net/~bit-team/+archive/ubuntu/stable)... |
I have already fixed this problem by following these instructions. I am no longer seeing these warnings. As already mentioned, I use Linux Mint, and here I have a Software Manager (mintinstall) with the package
|
Okay, so If I understand correctly, we can close this issue, because it wasn't backintime's fault. Do we need to write a README/FAQ entry about this? |
I do not know. If this is a problem with Launchpad, you should report it there. I don't know how to configure applications on Launchpad, so it may also be an outdated configuration in your project. |
I think we should not (yet) write a FAQ so far since
|
Do you know geocaching? It reminds me a bit of the situation in this game. People have a problem with the cache, but instead of reporting that it is missing or damaged, they do nothing. The owner doesn't know there's a problem because no one is reporting it. And here is a similar situation. There was one who reported, but you find it is an isolated incident. |
I understand your concerns and we are spending much of our private spare time to do the best so please bare with us if we arbitrate issues to prioritize our limited resources. |
Ok I understand. I forgot this is a private project. I will not get mad anymore. I encourage you to mention this in the README. |
I will try to do such a test on the VM, and let you know, but it's in a separate thread. |
OK, thank you very much! It is important to write down the exact steps to make this problem reproducible so that we can find the reason in our code (or find out that it is a downstream problem eg. in packaging BiT). |
@gander I get a clearer picture now about the steps to reproduce the warning (read this for details). It is not a BiT software bug itself but a documentation issue IMHO (and this affects ALL non-official ppa packages for Debian I guess). DetailsOur README describes how to install the latest stable release from the Ubuntu PPA (= from launchpad.net): https://github.com/bit-team/backintime/blob/master/README.md#ubuntu-ppa
This command throws the warning on some newer distros like Mint 21:
Since Next stepsI suggest to
The recommended new installation steps (instead of @emtiu I will send a PR for 1. (amend README). We could open a new separate issue for 2. or leave this issue open... |
Internal note about official documentations how to install keys:
|
Note: After installation with
The referenced DEPRECATION section in
|
…y_keyring_warning Add "warning: apt-key is deprecated" to known issues (#1338)
This is not a backintime issue. For whatever reasons canonical has deprecated apt-add and apt-key in jammy with no replacements. I gave up and wrote my own script to easily add a ppa from launchpad getting the key and putting it in the "new" right place. Its shared at this gist. I just wrote it so no guarantees. It's written for bash and is not posix. It uses gpg so that has be installed. It doesn't access the launchpad api directly to get the key id it actually parses the error when the key is missing during It could be modified to install any repo/key not just a ppa. https://gist.github.com/dkebler/877ee12b00088898e3f3c30b42cb9ed7 |
Has anything changed since the last comment? |
Would it make sense to open a bug report on Ubuntu itself because it seems highly ubuntu related? |
Opening (or bumping an existing) issue at Ubuntu should help to gain attention here. I really would like to dig deeper but currently my TODO list more than full. Since this issue most likely does not require a change in our source code it would be great if someone would volunteer to help us finding (and documenting) a solution! |
There is probably a better way to do it, but this is how I have added the key and installed backintime from launchpad on my ubuntu 22.04 (and you may want to use a user keyring than a system one). Before following the steps below, prepare all the needed and required backup!! 1)Get the link from https://launchpad.net/~bit-team/+archive/ubuntu/stable under Technical details about this PPA > get the link to the Signing Key and download to the trusted keyring
2)Check that the fingerprint is the same with: 3)Add the repo to your sources.list
4)Finally, install / update backintime:
|
Voting to close because not relevant to upstream. Does someone have something to add? |
The @barzine solution makes the same effect as:
And I don't have this error anymore. I think it can be closed. |
On Ubuntu, I am getting such an error from APT
The text was updated successfully, but these errors were encountered: