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

key import failed with qubes-release-4.0-0.2.noarch #3096

Open
cartman4 opened this Issue Sep 15, 2017 · 7 comments

Comments

Projects
None yet
4 participants
@cartman4

cartman4 commented Sep 15, 2017

Qubes OS version (e.g., R3.2):

R4.0-RC-1

Affected TemplateVMs (e.g., fedora-23, if applicable):

dom0


Expected behavior:

install qubes-release-4.0-0.2.noarch and import RPM-GPG-KEY-qubes* for installing whonix-*

Actual behavior:

when updating to qubes-release-4.0-0.2.noarch the keys could not be imported.
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (resource temporarily unavailable)
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-4-template-community: key 1 import failed

this error is repeated for every key in the directory /etc/pki/rpm-gpg/

Steps to reproduce the behavior:

Update system with qubes-dom0-update --enablerepo=qubes-dom0-current-testing.

General notes:


Related issues:

#2954

@cartman4

This comment has been minimized.

Show comment
Hide comment
@cartman4

cartman4 Sep 18, 2017

A workaround:

In dom0 terminal:

    sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-4.0-templates-community

After this you can install whonix-* in 4.0

cartman4 commented Sep 18, 2017

A workaround:

In dom0 terminal:

    sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-4.0-templates-community

After this you can install whonix-* in 4.0

@Lolibyte

This comment has been minimized.

Show comment
Hide comment
@Lolibyte

Lolibyte Sep 20, 2017

My installation of Qubes 4.0 did not have the key for the 4.0 community templates, so I ended up having to go to the qubes installer github page and install the key by cloning the package here (https://github.com/QubesOS/qubes-installer-qubes-os) and navigating to the key file held in qubes-release. Then I copied the file to dom0 by using the command listed in documentation and then using the command that cartman4 listed above.

I was then able to install both whonix templates normally.

Good luck!

Lolibyte commented Sep 20, 2017

My installation of Qubes 4.0 did not have the key for the 4.0 community templates, so I ended up having to go to the qubes installer github page and install the key by cloning the package here (https://github.com/QubesOS/qubes-installer-qubes-os) and navigating to the key file held in qubes-release. Then I copied the file to dom0 by using the command listed in documentation and then using the command that cartman4 listed above.

I was then able to install both whonix templates normally.

Good luck!

@mannp

This comment has been minimized.

Show comment
Hide comment
@mannp

mannp Sep 21, 2017

RPM-GPG-KEY-qubes-4.0-templates-community is also not in my clean install v4rc1 either.

Is there an easier way of gett this key, or cleaning the system, as the system won't install updates now, due to not finding this key :(

Thanks

mannp commented Sep 21, 2017

RPM-GPG-KEY-qubes-4.0-templates-community is also not in my clean install v4rc1 either.

Is there an easier way of gett this key, or cleaning the system, as the system won't install updates now, due to not finding this key :(

Thanks

@cartman4

This comment has been minimized.

Show comment
Hide comment
@cartman4

cartman4 Sep 21, 2017

@mannp do you have updated to current-testing ? if not, you can open a terminal in dom0:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

this should include qubes-release-4.0-0.2 where the qubes-4.0-templates-community key is included.

cartman4 commented Sep 21, 2017

@mannp do you have updated to current-testing ? if not, you can open a terminal in dom0:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

this should include qubes-release-4.0-0.2 where the qubes-4.0-templates-community key is included.

@mannp

This comment has been minimized.

Show comment
Hide comment
@mannp

mannp Sep 21, 2017

@cartman4 yes I have and now things are broken. I am getting a python trace, re qubes prefs, that is stopping me from doing anything apart from running yum.

Thanks

mannp commented Sep 21, 2017

@cartman4 yes I have and now things are broken. I am getting a python trace, re qubes prefs, that is stopping me from doing anything apart from running yum.

Thanks

@cartman4

This comment has been minimized.

Show comment
Hide comment
@cartman4

cartman4 Sep 21, 2017

@mannp if you need some help and its not related to this issue, you are welcome to contact me next to this issue. then we dont spam into this issue.

cartman4 commented Sep 21, 2017

@mannp if you need some help and its not related to this issue, you are welcome to contact me next to this issue. then we dont spam into this issue.

@mannp

This comment has been minimized.

Show comment
Hide comment
@mannp

mannp Sep 21, 2017

@cartman4 thanks for the offer and yes, wasn't going to spam this issue.

I am currently doing a reinstall :)

mannp commented Sep 21, 2017

@cartman4 thanks for the offer and yes, wasn't going to spam this issue.

I am currently doing a reinstall :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment