when run this command "scripts/install_pulseaudio_sources_apt_wrapper.sh"
Remove old build root /var/lib/pa-build/alarabi before running this script
What Should I do
Remove it as instructed.
Use something like sudo rm -rf /var/lib/pa-build/alarabi
If you get lots of Operation not permitted errors, you've interrupted the build process at a critical time and the schroot utility hasn't cleaned up. In this instance reboot and try again.
@matt335672 me too,
`rock@rock-5b:~/pulseaudio-module-xrdp$ scripts/install_pulseaudio_sources_apt_wrapper.sh
- Creating bullseye build root. Log file in /var/tmp/pa-build-rock-debootstrap.log
- Creating schroot config file /etc/schroot/chroot.d/pa-build-rock.conf
- Copying /etc/apt/sources.list to the root
- Creating the build directory /build
- Copying the wrapped script to the build directory
- Building PA sources. Log file in /var/tmp/pa-build-rock-schroot.log ** schroot failed. Check log file /var/tmp/pa-build-rock-schroot.log`
cat /var/tmp/pa-build-rock-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-root: Directory nonexistent chmod: cannot access '/etc/sudoers.d/nopasswd-root': No such file or directory /build/wrapped_script: 55: lsb_release: not found /build/wrapped_script: 55: lsb_release: not found
What Should I do
The log is telling you the machine is unable to install sudo and lsb-release packages.
Before you can run the script, your machine needs to be able to download packages from the internet. The apt repository configuration is then copied to the chroot environment and the packages are installed from there. Is your apt command working normally and downloading packages from the Internet?
Hello, I am also having this issue.
Apt is not only working fine, sudo and lsb_release are already installed on the system.
./bootstrap && ./configure PULSE_AUDIO=<dir> && make works. (and might be simpler than the script to recommend to run?)
@freeone3000 - which operating system are you using?