neutrinolabs / pulseaudio-module-xrdp

xrdp sink / source pulseaudio modules
GNU Lesser General Public License v2.1
214 stars 42 forks source link

when run this command "scripts/install_pulseaudio_sources_apt_wrapper.sh" #85

Open kroot007 opened 2 years ago

kroot007 commented 2 years ago

Remove old build root /var/lib/pa-build/alarabi before running this script

What Should I do

matt335672 commented 2 years ago

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.

tangzhi1996 commented 1 year ago

@matt335672 me too,

`rock@rock-5b:~/pulseaudio-module-xrdp$ scripts/install_pulseaudio_sources_apt_wrapper.sh

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

matt335672 commented 1 year ago

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?

freeone3000 commented 1 year ago

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?)

matt335672 commented 1 year ago

@freeone3000 - which operating system are you using?