1

Topic: NO_PUBKEY BC9F825E1D4FB6C1 - Download for Debian Bookworm

When appending

deb https://debian.qelectrotech.org/qet/builds/debian stable main

to /etc/apt/sources.list and

$ apt update

i get this error message: NO_PUBKEY BC9F825E1D4FB6C1

Furthermore i get a warning that apt-key is deprecated.

How do i install the latest stable QElectrotech under Debian bookworm?

2

Re: NO_PUBKEY BC9F825E1D4FB6C1 - Download for Debian Bookworm

https://qelectrotech.org/wiki_new/doc/install_debian

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

3

Re: NO_PUBKEY BC9F825E1D4FB6C1 - Download for Debian Bookworm

This is wher I begun, but already the command

gpg --verbose  --keyserver pgpkeys.mit.edu --recv-key 1D4FB6C1

fails with

gpg: Server indicated a failure

4

Re: NO_PUBKEY BC9F825E1D4FB6C1 - Download for Debian Bookworm

Try

wget -q -O - https://debian.qelectrotech.org/qet/builds/debian/Qelectrotech_Repository.asc | sudo apt-key add -

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

5

Re: NO_PUBKEY BC9F825E1D4FB6C1 - Download for Debian Bookworm

For the record and users who run Debian GNU/Linux unstable:

apt-key is not available in Debian unstable anymore!

For a few days now, this is the way to go:

  • download key-file:
    wget -q https://debian.qelectrotech.org/qet/bui … sitory.asc
    and save (as root) to /etc/apt/keyrings

  • adjust sources-list entry for QElectroTech
    file needs the ending ".sources" as in this example:
    /etc/apt/sources.list.d/qelectrotech.sources

  • content of qelectrotech.sources:

# draw electric diagrams with QElectroTech
# 
Types:      deb
URIs:       https://debian.qelectrotech.org/qet/builds/debian/
Suites:     unstable
Components: main
Enabled:    yes
Signed-By:  /etc/apt/keyrings/Qelectrotech_Repository.asc
  • from here everything further is known:
    apt update
    apt install qelectrotech

@scorpio810:
Maybe you can update the information on QET-Homepage, Laurent?
Thanks in advance!  nomicons/smile

Fragen zu QET gehören in dieses Forum und werden nicht per PM beantwortet! – Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

6

Re: NO_PUBKEY BC9F825E1D4FB6C1 - Download for Debian Bookworm

Strange, again?
see --> Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details

https://qelectrotech.org/wiki_new/doc/i … or_details

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

7

Re: NO_PUBKEY BC9F825E1D4FB6C1 - Download for Debian Bookworm

Perhaps because the system was installed a long time ago and has only been updated since then?

In any case: The qelectrotech.sources described above also works with Debian Bookworm.

Fragen zu QET gehören in dieses Forum und werden nicht per PM beantwortet! – Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

8

Re: NO_PUBKEY BC9F825E1D4FB6C1 - Download for Debian Bookworm

Hello,

I get this now: NO_PUBKEY B8D8B0B00ADD2851

(debian stable repo)
Thanks.


Err:16 https://debian.qelectrotech.org/qet/builds/debian stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B8D8B0B00ADD2851
Fetched 45.8 kB in 2s (29.3 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B8D8B0B00ADD2851

9

Re: NO_PUBKEY BC9F825E1D4FB6C1 - Download for Debian Bookworm

Hello,
I'm also receiving this message recently
GPG error: https://debian.qelectrotech.org/qet/builds/debian stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B8D8B0B00ADD2851

System:
  Kernel: 6.12.12+bpo-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
  Desktop: Cinnamon v: 5.6.8 tk: GTK v: 3.24.38 wm: Muffin dm: LightDM Distro: Debian GNU/Linux
    12 (bookworm)

  Active apt repos in: /etc/apt/sources.list.d/qelectrotech.list
    1: deb [signed-by=/etc/apt/trusted.gpg.d/Qelectrotech_Repository.asc] https: //debian.qelectrotech.org/qet/builds/debian stable main

10

Re: NO_PUBKEY BC9F825E1D4FB6C1 - Download for Debian Bookworm

Please no further messages, that there are error-messages on apt-update:
Our Developer and Debian-Packager is in poor health and therefore it will take some time until the problem will be solved.

Fragen zu QET gehören in dieses Forum und werden nicht per PM beantwortet! – Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

11

Re: NO_PUBKEY BC9F825E1D4FB6C1 - Download for Debian Bookworm

The key file has recently been renewed, see the plc user article on how to use it:
https://qelectrotech.org/forum/viewtopi … 890#p20890

BTW, Pysimplegui and qet_tb_generator were rebuilt for the new keyfile and uploaded back into the QET Debian stable and unstable repositories.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

12

Re: NO_PUBKEY BC9F825E1D4FB6C1 - Download for Debian Bookworm

For me it solved the error.
Thank you very much.

13

Re: NO_PUBKEY BC9F825E1D4FB6C1 - Download for Debian Bookworm

scorpio810 wrote:

The key file has recently been renewed, see the plc user article on how to use it:
https://qelectrotech.org/forum/viewtopi … 890#p20890

BTW, Pysimplegui and qet_tb_generator were rebuilt for the new keyfile and uploaded back into the QET Debian stable and unstable repositories.

Thank you very much. I could install new version by downloading the asc key and creating the sources file BUT, related to the repository configuration file, two points:

1) My system is Debian stable, multiarchitecture and sudo apt update complained about missing i386 architecture in qelectrotech repository. The solution to that is adding a line with just the Architectures directive:

$ cat /etc/apt/sources.list.d/qelectrotech.sources
++++++++++++++++++++++++++++++++++

# draw electric diagrams with QElectroTech
#
Types:      deb
Architectures: amd64
URIs:       https://debian.qelectrotech.org/qet/builds/debian/
Suites:     stable
Components: main
Enabled:    yes
Signed-By:  /etc/apt/keyrings/Qelectrotech_Repository.asc
+++++++++++++++++++++++++++++++++++++++++

2) Debian (bullseye) stable (and also backports) have version numbers higher than the reported by qelectrotech deb packages at debian.qelectrotech.org (debian versions are 1:0.9-1 and 1:0.9-1~bpo11+1). To be able to install latest version, I've had to uninstall Debian version and force installation of 0.100.0.r8447-2.

Regards and thanks for your time,
Josep

14

Re: NO_PUBKEY BC9F825E1D4FB6C1 - Download for Debian Bookworm

Thanks all for report  feedback.

Yes Josep you are right I removed i386 arch and now you need to add Architectures: amd64 in /etc/apt/sources.list.d/qelectrotech.sources


2) use pinning to force 0.100-dev versions:

sudo echo -e 'Package: qelectrotech* \nPin: version 0.100.* \nPin-Priority: 1001' > /etc/apt/preferences.d/40qelectrotech-devel

https://qelectrotech.org/wiki_new/doc/i … an_pinning

Laurent

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

15

Re: NO_PUBKEY BC9F825E1D4FB6C1 - Download for Debian Bookworm

scorpio810 wrote:

Thanks all for report  feedback.

Yes Josep you are right I removed i386 arch and now you need to add Architectures: amd64 in /etc/apt/sources.list.d/qelectrotech.sources


2) use pinning to force 0.100-dev versions:

sudo echo -e 'Package: qelectrotech* \nPin: version 0.100.* \nPin-Priority: 1001' > /etc/apt/preferences.d/40qelectrotech-devel

https://qelectrotech.org/wiki_new/doc/i … an_pinning

Laurent

Thanks.
I could not use your command from a normal user as redirection > is not run as root (sudo applies only to echo command). One solution is to use tee:

echo -e 'Package: qelectrotech* \nPin: version 0.100.* \nPin-Priority: 1001' | sudo tee /etc/apt/preferences.d/40qelectrotech-devel > /dev/null

Thanks for all,
Josep