neutrinolabs / pulseaudio-module-xrdp

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

sudo: you do not exist in the passwd database #122

Open SKJoy opened 1 month ago

SKJoy commented 1 month ago

Cannot build PulseAudio

System

SSH log

admin@bcc207f4996d:/$ cd ~ && git clone https://github.com/neutrinolabs/pulseaudio-module-xrdp.git && cd pulseaudio-module-xrdp && scripts/install_pulseaudio_sources_apt_wrapper.sh
Cloning into 'pulseaudio-module-xrdp'...
remote: Enumerating objects: 504, done.
remote: Counting objects: 100% (251/251), done.
remote: Compressing objects: 100% (103/103), done.
remote: Total 504 (delta 159), reused 206 (delta 138), pack-reused 253 (from 1)
Receiving objects: 100% (504/504), 168.51 KiB | 1.43 MiB/s, done.
Resolving deltas: 100% (289/289), done.
- Creating noble build root. Log file in /var/tmp/pa-build-admin-debootstrap.log
[sudo] password for admin:
- Creating schroot config file /etc/schroot/chroot.d/pa-build-admin.conf
find: '/etc/apt/mirrors/': No such file or directory
- Copying /etc/apt/sources.list to the root
- Copying /etc/apt/sources.list.d/ubuntu.sources to the root
- Copying /etc/apt/sources.list.d/microsoft-edge.list to the root
- Copying /etc/apt/trusted.gpg.d/microsoft-edge.gpg 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-admin-schroot.log
** schroot failed. Check log file /var/tmp/pa-build-admin-schroot.log

/var/tmp/pa-build-admin-schroot.log content

Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Get:2 https://packages.microsoft.com/repos/edge stable InRelease [3590 B]
Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
Get:4 https://packages.microsoft.com/repos/edge stable/main amd64 Packages [12.0 kB]
Get:5 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Get:6 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [380 kB]
Get:7 http://security.ubuntu.com/ubuntu noble-security/main Translation-en [83.1 kB]
Get:8 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [274 kB]
Get:9 http://security.ubuntu.com/ubuntu noble-security/universe Translation-en [116 kB]
Get:10 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [353 kB]
Get:11 http://security.ubuntu.com/ubuntu noble-security/restricted Translation-en [68.1 kB]
Get:12 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [10.9 kB]
Get:13 http://security.ubuntu.com/ubuntu noble-security/multiverse Translation-en [2808 B]
Get:14 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Get:15 http://archive.ubuntu.com/ubuntu noble/main Translation-en [513 kB]
Get:16 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [15.0 MB]
Get:17 http://archive.ubuntu.com/ubuntu noble/universe Translation-en [5982 kB]
Get:18 http://archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [93.9 kB]
Get:19 http://archive.ubuntu.com/ubuntu noble/restricted Translation-en [18.7 kB]
Get:20 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [269 kB]
Get:21 http://archive.ubuntu.com/ubuntu noble/multiverse Translation-en [118 kB]
Get:22 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [535 kB]
Get:23 http://archive.ubuntu.com/ubuntu noble-updates/main Translation-en [130 kB]
Get:24 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [380 kB]
Get:25 http://archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [156 kB]
Get:26 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [353 kB]
Get:27 http://archive.ubuntu.com/ubuntu noble-updates/restricted Translation-en [68.1 kB]
Get:28 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [14.4 kB]
Get:29 http://archive.ubuntu.com/ubuntu noble-updates/multiverse Translation-en [3608 B]
Get:30 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [10.6 kB]
Get:31 http://archive.ubuntu.com/ubuntu noble-backports/universe Translation-en [10.8 kB]
Fetched 25.4 MB in 11s (2377 kB/s)
Reading package lists...
useradd: warning: the home directory /home/admin already exists.
useradd: Not copying any file from skel directory into it.
Building for : Ubuntu-24.04 (noble)
- Adding 'universe' repository
sudo: you do not exist in the passwd database

Been trying for 2 days in various combinations like with SUDO and without, in a different location, on LXC containers, and like so on. Thanks in advance.

matt335672 commented 1 month ago

Check you've got the latest commits to git installed rather than the release.

If that doesn't work, I suggest you run the non-wrapped script and install all the dependencies required.

SKJoy commented 1 month ago

Check you've got the latest commits to git installed rather than the release.

If that doesn't work, I suggest you run the non-wrapped script and install all the dependencies required.

Hi, I used the following to get the latest from development branch and the result is same :(

git clone -b devel --depth 1 --single-branch https: //github.com/neutrinolabs/pulseaudio-module-xrdp.git

Result: sudo: you do not exist in the passwd database in /var/tmp/pa-build-test-schroot.log log.

matt335672 commented 1 month ago

Try running the non-wrapped script, installing all the required dependencies.