tuxedocomputers / tuxedo-control-center

A tool to help you control performance, energy, fan and comfort settings on TUXEDO laptops.
GNU General Public License v3.0
504 stars 67 forks source link

No public key #400

Closed Mohammad699 closed 3 months ago

Mohammad699 commented 3 months ago

Hi, I'm trying to install this package on Linux Mint 21.2 but I get this error log:

mohammad@mohammad-TravelMate-P253:~$ sudo apt update
[sudo] password for mohammad:       
Hit:1 https://download.docker.com/linux/debian bookworm InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease               
Hit:3 https://packages.microsoft.com/repos/code stable InRelease               
Hit:4 http://ubuntu.mirror.garr.it/ubuntu jammy InRelease                      
Hit:5 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy InRelease              
Hit:6 http://ubuntu.mirror.garr.it/ubuntu jammy-updates InRelease              
Ign:7 https://linuxmint.mirror.garr.it/linuxmint/packages victoria InRelease   
Hit:8 http://ubuntu.mirror.garr.it/ubuntu jammy-backports InRelease            
Hit:9 https://repo.radeon.com/rocm/apt/5.2 ubuntu InRelease                    
Hit:10 https://linuxmint.mirror.garr.it/linuxmint/packages victoria Release    
Get:11 https://deb.tuxedocomputers.com/ubuntu jammy InRelease [9,318 B]
Get:12 https://deb.tuxedocomputers.com/ubuntu focal InRelease [3,204 B]
Err:11 https://deb.tuxedocomputers.com/ubuntu jammy InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 120ED28D54840598
Hit:14 https://packages.mozilla.org/apt mozilla InRelease
Err:12 https://deb.tuxedocomputers.com/ubuntu focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 120ED28D54840598
Reading package lists... Done
W: GPG error: https://deb.tuxedocomputers.com/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 120ED28D54840598
E: The repository 'https://deb.tuxedocomputers.com/ubuntu jammy InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://deb.tuxedocomputers.com/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 120ED28D54840598
E: The repository 'https://deb.tuxedocomputers.com/ubuntu focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
mohammad@mohammad-TravelMate-P253:~$ 

How to fix it?

uglydrummer commented 3 months ago

You can run

wget -O - http://deb.tuxedocomputers.com/0x54840598.pub.asc | gpg --dearmor > 0x54840598.pub.gpg

to get the public key for Tuxedo repos. You can verify by running

gpg --keyring ./0x54840598.pub.gpg --list-keys

./0x54840598.pub.gpg
--------------------
pub   rsa4096 2016-05-12 [SC]
      E5D0C320BBCE8D21CDF60DD5120ED28D54840598
uid           [ unknown] TUXEDO Computers GmbH (www.tuxedocomputers.com) <tux@tuxedocomputers.com>
sub   rsa4096 2016-05-12 [E]

Then move the keyring to /usr/share/keyrings/ and apt should be able to use it.

tuxedoxt commented 3 months ago

Hello,

here's the relevant article: https://www.tuxedocomputers.com/en/Add-TUXEDO-software-package-sources.tuxedo. It has a section about including the key.

Mohammad699 commented 3 months ago

You can run

wget -O - http://deb.tuxedocomputers.com/0x54840598.pub.asc | gpg --dearmor > 0x54840598.pub.gpg

to get the public key for Tuxedo repos. You can verify by running

gpg --keyring ./0x54840598.pub.gpg --list-keys

./0x54840598.pub.gpg
--------------------
pub   rsa4096 2016-05-12 [SC]
      E5D0C320BBCE8D21CDF60DD5120ED28D54840598
uid           [ unknown] TUXEDO Computers GmbH (www.tuxedocomputers.com) <tux@tuxedocomputers.com>
sub   rsa4096 2016-05-12 [E]

Then move the keyring to /usr/share/keyrings/ and apt should be able to use it.

Same error

Mohammad699 commented 3 months ago

Hello,

here's the relevant article: https://www.tuxedocomputers.com/en/Add-TUXEDO-software-package-sources.tuxedo. It has a section about including the key.

mohammad@mohammad-TravelMate-P253:~$ wget https://deb.tuxedocomputers.com/ubuntu/pool/main/t/tuxedo-archive-keyring/tuxedo-archive-keyring_2022.04.01~tux_all.deb && sudo dpkg -i tuxedo-archive-keyring
--2024-07-01 14:17:25--  https://deb.tuxedocomputers.com/ubuntu/pool/main/t/tuxedo-archive-keyring/tuxedo-archive-keyring_2022.04.01~tux_all.deb
Resolving deb.tuxedocomputers.com (deb.tuxedocomputers.com)... 94.130.205.133
Connecting to deb.tuxedocomputers.com (deb.tuxedocomputers.com)|94.130.205.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7376 (7.2K) [application/vnd.debian.binary-package]
Saving to: ‘tuxedo-archive-keyring_2022.04.01~tux_all.deb’

tuxedo-archive-keyring_2022.04.01~tux_all.deb   100%[=====================================================================================================>]   7.20K  --.-KB/s    in 0s      

2024-07-01 14:17:25 (3.58 GB/s) - ‘tuxedo-archive-keyring_2022.04.01~tux_all.deb’ saved [7376/7376]

dpkg: error: cannot access archive 'tuxedo-archive-keyring': No such file or directory
uglydrummer commented 3 months ago

dpkg: error: cannot access archive 'tuxedo-archive-keyring': No such file or directory

Seems like a typo in the guide, it should say

... && sudo dpkg -i tuxedo-archive-keyring_2022.04.01~tux_all.deb

vinzv commented 3 months ago

Should be fixed now - thanks for pointing out!

Mohammad699 commented 3 months ago

Can I use your distro on my pc?

vinzv commented 3 months ago

Yes you can.

Mohammad699 commented 2 months ago

Yes you can.

Is it open source? Where can I post FR and bugs?

vinzv commented 2 months ago

Of course it is open source. You might want to read more over here:

https://tuxe.do/os

A bug tracker can be found here:

https://gitlab.com/tuxedocomputers/development/tuxedo_os/os/-/issues