Package: live-build
Version: 1:20250225

Hello there, G´day!

When using an offline repository, it gets to "lb chroot_archives chroot 
remove", tries to "apt update" and fails with the following:

 
---------------------------------------------------------------------------------------------------
P: Deconfiguring file /etc/apt/sources.list
Get:1 http://localhost testing InRelease [1238 B]
Get:2 http://localhost testing-security InRelease [1238 B]
Get:3 http://localhost testing-updates InRelease [1238 B]
Err:1 http://localhost testing InRelease
  Sub-process /usr/bin/sqv returned an error code (1), error message is: 
Missing key E45FF878496BFB65B979038BC8473E0AA0BEA0C9, which is needed to verify 
signature.
Err:2 http://localhost testing-security InRelease
  Sub-process /usr/bin/sqv returned an error code (1), error message is: 
Missing key E45FF878496BFB65B979038BC8473E0AA0BEA0C9, which is needed to verify 
signature.
Err:3 http://localhost testing-updates InRelease
  Sub-process /usr/bin/sqv returned an error code (1), error message is: 
Missing key E45FF878496BFB65B979038BC8473E0AA0BEA0C9, which is needed to verify 
signature.
Reading package lists...
W: GPG error: http://localhost testing InRelease: Sub-process /usr/bin/sqv 
returned an error code (1), error message is: Missing key 
E45FF878496BFB65B979038BC8473E0AA0BEA0C9, which is needed to verify signature.
E: The repository 'http://localhost testing InRelease' is not signed.
W: GPG error: http://localhost testing-security InRelease: Sub-process 
/usr/bin/sqv returned an error code (1), error message is: Missing key 
E45FF878496BFB65B979038BC8473E0AA0BEA0C9, which is needed to verify signature.
E: The repository 'http://localhost testing-security InRelease' is not signed.
W: GPG error: http://localhost testing-updates InRelease: Sub-process 
/usr/bin/sqv returned an error code (1), error message is: Missing key 
E45FF878496BFB65B979038BC8473E0AA0BEA0C9, which is needed to verify signature.
E: The repository 'http://localhost testing-updates InRelease' is not signed.
E: An unexpected failure occurred, exiting...
---------------------------------------------------------------------------------------------------

ll config/archives/offline_repo.key.chroot
-rw-r--r-- 1 root root 1.7K Mar  3 19:34 config/archives/offline_repo.key.chroot

Tried putting the key in here as well, as it was just under the above folder 
before, but it got removed together with all other keys(microsoft, google, 
firefox, oracle, etc) on the below folder..

 ll config/includes.chroot_after_packages/etc/apt/trusted.gpg.d/
total 40K
-rw-r--r-- 1 root root 2.7K Jan 20 20:42 docker.gpg
-rw-r--r-- 1 root root 7.7K Jan 20 20:42 google.gpg
-rw-r--r-- 1 root root 8.4K Jan 20 20:42 librewolf.gpg
-rw-r--r-- 1 root root  641 Jan 20 20:42 microsoft.gpg
-rw-r--r-- 1 root root 1021 Jan 20 20:42 mozilla.asc
-rw-r--r-- 1 root root 1.7K Mar  3 19:28 offline_repo.asc  <---------------
-rw-r--r-- 1 root root 2.2K Jan 20 20:42 virtualbox.gpg


tree -a chroot/etc/apt/
chroot/etc/apt/
├── apt.conf.d
│   ├── 00recommends
│   ├── 00secure
│   ├── 01autoremove
│   └── 70debconf
├── auth.conf.d
├── keyrings
├── preferences
├── preferences.d
├── sources.list
├── sources.list.d
└── trusted.gpg.d
    ├── debian-archive-bookworm-automatic.asc
    ├── debian-archive-bookworm-security-automatic.asc
    ├── debian-archive-bookworm-stable.asc
    ├── debian-archive-bullseye-automatic.asc
    ├── debian-archive-bullseye-security-automatic.asc
    ├── debian-archive-bullseye-stable.asc
    ├── debian-archive-buster-automatic.asc
    ├── debian-archive-buster-security-automatic.asc
    └── debian-archive-buster-stable.asc
---------------------------------------------------------------------------------------------------

It was working until yesterday when I updated live-build from version 1:20240810


Kind regards,
Raph

Reply via email to