Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kroot007 opened this issue Aug 16, 2022 · 5 comments

Comments

@kroot007
Copy link

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

What Should I do

@matt335672
Copy link
Member

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
Copy link

@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

@matt335672
Copy link
Member

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
Copy link

freeone3000 commented May 23, 2023

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
Copy link
Member

@freeone3000 - which operating system are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants