pulseaudio-module-xrdp icon indicating copy to clipboard operation
pulseaudio-module-xrdp copied to clipboard

when run this command "scripts/install_pulseaudio_sources_apt_wrapper.sh"

Open kroot007 opened this issue 3 years ago • 5 comments

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

What Should I do

kroot007 avatar Aug 16 '22 08:08 kroot007

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 avatar Aug 24 '22 08:08 matt335672

@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

tangzhi1996 avatar Feb 09 '23 08:02 tangzhi1996

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?

matt335672 avatar Feb 09 '23 15:02 matt335672

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 avatar May 23 '23 15:05 freeone3000

@freeone3000 - which operating system are you using?

matt335672 avatar May 24 '23 11:05 matt335672