Comments (18)
from pulseaudio-module-xrdp.
@Precision-Tech - thank you for raising this, and particularly in helping me find a good resolution. I've updated the Wiki for Raspberry PI OS now.
from pulseaudio-module-xrdp.
Thanks for feeding this back.
I'm having problems reproducing this, probably as I only have a Franken-Pi available, and that seems to be working.
What are the contents of /etc/apt/sources.list
on your machine?
Thanks.
from pulseaudio-module-xrdp.
from pulseaudio-module-xrdp.
from pulseaudio-module-xrdp.
@Precision-Tech - Thanks for your assistance so far. I'm currently trying to see the best way to solve this.
What do these commands give you:-
lsb_release -cs
grep keyring /usr/share/debootstrap/scripts/`lsb_release -cs`
apt-key list
Thanks.
from pulseaudio-module-xrdp.
PS - see also neutrinolabs/xrdp#2060 for a more detailed analysis of @rcfa's suggestion above.
from pulseaudio-module-xrdp.
lsb_release -cs:
bullseye
grep keyring /usr/share/debootstrap/scripts/`lsb_release -cs:
keyring /usr/share/keyrings/debian-archive-keyring.gpg
apt-key list:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
/etc/apt/trusted.gpg
--------------------
pub rsa2048 2012-04-01 [SC]
A0DA 38D0 D76E 8B5D 6388 7281 9165 938D 90FD DD2E
uid [ unknown] Mike Thompson (Raspberry Pi Debian armhf ARMv6+VFP) <[email protected]>
sub rsa2048 2012-04-01 [E]
/etc/apt/trusted.gpg.d/raspberrypi-archive-stable.gpg
-----------------------------------------------------
pub rsa2048 2012-06-17 [SC]
CF8A 1AF5 02A2 AA2D 763B AE7E 82B1 2992 7FA3 303E
uid [ unknown] Raspberry Pi Archive Signing Key
sub rsa2048 2012-06-17 [E]
from pulseaudio-module-xrdp.
The problem seems to be related to /usr/share/debootstrap/scripts/bullseye
which on my system is a symlink to /usr/share/debootstrap/scripts/sid
.
This file is telling the debootstrap utility to use /usr/share/keyrings/debian-archive-keyring.gpg
. This is fine for a Debian bullseye machine, but not a PI, as the packages are signed with a different key.
Can you edit the original script, and make this change?
Replace this line (130):-
sudo debootstrap $distro $BUILDROOT >$log 2>&1 || {
with
sudo debootstrap --keyring=/etc/apt/trusted.gpg $distro $BUILDROOT >$log 2>&1 || {
I'm trying to come up with something which will work with other Debian derivatives.
Thanks again for your help with investigating this.
from pulseaudio-module-xrdp.
Happy to try and help!
Changing line 130 results in the following:
cat /var/tmp/pa-build-pi-debootstrap.log
I: Target architecture can be executed
I: Retrieving InRelease
I: Checking Release signature
E: Release signed by unknown key (key id 605C66F00D6C9793)
The specified keyring /etc/apt/trusted.gpg may be incorrect or out of date.
You can find the latest Debian release key at https://ftp-master.debian.org/keys.html
from pulseaudio-module-xrdp.
Maybe adding this to line 130 would help?
--no-check-gpg
Disables checking gpg signatures of retrieved Release files.
from pulseaudio-module-xrdp.
Changing line 130 to sudo debootstrap --keyring=/etc/apt/trusted.gpg --no-check-gpg $distro $BUILDROOT >$log 2>&1 || {
gets us past the error above. However, this is still an issue:
cat /var/tmp/pa-build-pi-schroot.log
Reading package lists...
Building dependency tree...
E: Unable to locate package sudo
E: Unable to locate package lsb-release
/bin/sh: 1: cannot create /etc/sudoers.d/nopasswd-pi: Directory nonexistent
chmod: cannot access '/etc/sudoers.d/nopasswd-pi': No such file or directory
/wrapped_script: 55: lsb_release: not found
/wrapped_script: 55: lsb_release: not found
from pulseaudio-module-xrdp.
We seem to be in a bit of a mess, as the handle bullseye
means two separate things:-
- The Debian bullseye release
- The Raspberry PI OS.
The debootstrap
command is defaulting to a Debian mirror http://deb.debian.org/debian
rather than the raspbian mirror. The URL is hard-coded in the command (which is a shell script). That explains your first error. The key 605C66F00D6C9793 is a (very) recent Debian signing key:-
$ gpg --search-key 605C66F00D6C9793
gpg: data source: http://162.213.33.9:11371
(1) Debian Stable Release Key (11/bullseye) <[email protected]
4096 bit RSA key 605C66F00D6C9793, created: 2021-02-13
I'm not keen on the --no-check-gpg
as you're downloading stuff from the Internet here (probably over vanilla http) which will run with privilege. It's probably OK on a company LAN.
Try this line 130:-
sudo debootstrap --keyring=/etc/apt/trusted.gpg $distro $BUILDROOT http://raspbian.raspberrypi.org/raspbian >$log 2>&1 || {
On my AMD64 machine I get past the error you had earlier, but then get E: Invalid Release file, no entry for main/binary-amd64/Packages
. I can see why!
from pulseaudio-module-xrdp.
I 100% agree that --no-check-gpg
was not an ideal solution.
Changing line 130 to:
sudo debootstrap --keyring=/etc/apt/trusted.gpg $distro $BUILDROOT http://raspbian.raspberrypi.org/raspbian >$log 2>&1 || {
did resolve the issue!
Seems like there might need to be some logic to check if bullseye
then check if is Raspbian for this to work in the general case, but this does work in the single use case of installing on Raspbian
from pulseaudio-module-xrdp.
Checking /etc/os-release
comes to mind, but I am not sure how reliable it is:
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
from pulseaudio-module-xrdp.
What I might do is add some way to specify the mirror and keyring to the script, and then add a note on the Wiki.
That means less changes when a similar things happens for another SBC - there are quite a few of them.
from pulseaudio-module-xrdp.
Working on this here:-
https://github.com/matt335672/pulseaudio-module-xrdp/tree/specify_mirror
Direct download link to the update script is:-
Copy this over your existing script, then this should work:-
./install_pulseaudio_sources_apt_wrapper.sh --mirror=http://raspbian.raspberrypi.org/raspbian --keyring=/etc/apt/trusted.gpg
Let me know, then I can commit this and update the Wiki.
from pulseaudio-module-xrdp.
It works, thank you for all your support with this issue!
from pulseaudio-module-xrdp.
Related Issues (20)
- Build failed on Ubuntu22.04 HOT 9
- I need help to troubleshoot this: xrdp with audio in a NixOS container HOT 3
- Dependency "scripts/install_pulseaudio_sources_apt_wrapper.sh", Linux Mint, ubuntu: Jammy HOT 2
- its work on Fedora 38
- Does xrdp sink make any compression of audio stream? HOT 13
- pulseaudio command not found - alma9 HOT 6
- SPEC file for Fedora 39 HOT 2
- Script no longer works on Raspberry Pi HOT 16
- Installation fails on Kali HOT 17
- Clarification on when pulseaudio-module-xrdp is needed and when it is not HOT 2
- Why does this need to be compiled?.. HOT 2
- wrapped_script: Permission denied -- proposed fix HOT 6
- Audio redirect not automatically starting HOT 5
- Still no audio after installing the PulseAudio XRDP Module HOT 1
- when run this command "scripts/install_pulseaudio_sources_apt_wrapper.sh" HOT 5
- How do you remove a failed installation? HOT 3
- Pulseaudio server not supported on Ubuntu 22.10 HOT 5
- ERROR: Program 'doxygen' not found or not executable HOT 9
- 1 second latency HOT 1
- focal fossa ubuntu not work with xrdp HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulseaudio-module-xrdp.