The repository 'http://deb.debian.org/debian stretch Release' is not signed.

Asked by Manuel Barkhau on 2019-08-11

I am trying to create a live disk iso by following the guide here: https://live-wrapper.readthedocs.io/en/latest/quickstart.html.

Using the folling command:

sudo lwr -o live.iso

I guet the following error

INFO Downloading helper files from debian-installer team...
DEBUG Starting new HTTP connection (1): deb.debian.org:80
DEBUG http://deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/ HTTP/1.1" 302 0
DEBUG Starting new HTTP connection (1): cdn-fastly.deb.debian.org:80
DEBUG http://cdn-fastly.deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/ HTTP/1.1" 200 0
DEBUG Starting new HTTP connection (1): deb.debian.org:80
DEBUG http://deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/vmlinuz HTTP/1.1" 302 0
DEBUG Starting new HTTP connection (1): cdn-fastly.deb.debian.org:80
DEBUG http://cdn-fastly.deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/vmlinuz HTTP/1.1" 200 0
DEBUG Starting new HTTP connection (1): deb.debian.org:80
DEBUG http://deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/initrd.gz HTTP/1.1" 302 0
DEBUG Starting new HTTP connection (1): cdn-fastly.deb.debian.org:80
DEBUG http://cdn-fastly.deb.debian.org:80 "HEAD /debian/dists/stretch/main/installer-amd64/current/images/cdrom/initrd.gz HTTP/1.1" 200 0
INFO Created GRUB directory at /tmp/tmpGOC9mz/boot/grub
INFO Performing isolinux installation...
CRITICAL Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 193, in _run
    self.process_args(args)
  File "/usr/lib/python2.7/dist-packages/lwr/run.py", line 142, in process_args
    self.start_ops()
  File "/usr/lib/python2.7/dist-packages/lwr/run.py", line 350, in start_ops
    bootconfig)
  File "/usr/lib/python2.7/dist-packages/lwr/isolinux.py", line 76, in install_isolinux
    handler = get_apt_handler(destdir, mirror, suite, architecture)
  File "/usr/lib/python2.7/dist-packages/lwr/apt_udeb.py", line 223, in get_apt_handler
    apt_handler.prepare_apt()
  File "/usr/lib/python2.7/dist-packages/lwr/apt_udeb.py", line 89, in prepare_apt
    raise cliapp.AppException('Unable to update cache: %s' % exc)
AppException: Unable to update cache: W:Download is performed unsandboxed as root as file '/tmp/tmp7aXqfz/lists/partial/deb.debian.org_debian_dists_stretch_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Pe
rmission denied), W:GPG error: http://deb.debian.org/debian stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7638D0442B90D010 NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY E
F0F382A1A7B6500, E:The repository 'http://deb.debian.org/debian stretch Release' is not signed.

I hope you can help me or point me in the right direction.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu live-wrapper Edit question
Assignee:
No assignee Edit question
Last query:
2019-08-11
Last reply:
2019-08-11
Manuel Barkhau (mbarkhau) said : #1

I have tried to add the three keys in this manner:

$ gpg --recv-key EF0F382A1A7B6500
gpg: key EF0F382A1A7B6500: 4 signatures not checked due to missing keys
gpg: key EF0F382A1A7B6500: public key "Debian Stable Release Key (9/stretch) <email address hidden>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1

$ gpg -a --export EF0F382A1A7B6500 | sudo apt-key add -
OK

Unfortunately this did not solve the issue.

Manfred Hampl (m-hampl) said : #2

It seems that there are three keys missing on your system
Try the commands

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7638D0442B90D010
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EF0F382A1A7B6500

Can you help with this problem?

Provide an answer of your own, or ask Manuel Barkhau for more information if necessary.

To post a message you must log in.