[Fixed] Vyos-build image generic fails with unmet dependencies

On a clean and up-to-date (2025-04-11 08:00 UTC) vyos-build, branch current, using the provided docker image vyos/vyos-build:current

Starting the image build with:

sudo ./build-vyos-image generic --architecture amd64 \
        --build-type release --version 1.5-rolling-$(date +"%Y%m%d-%H%M")-tk

and it fails with:

The following packages have unmet dependencies:
 vyos-1x : PreDepends: vyos-libpam-radius-auth but it is not installable
           PreDepends: vyos-libnss-mapuser but it is not installable
           Depends: fuse-overlayfs but it is not going to be installed
           Depends: podman (>= 4.9.5) but it is not going to be installed

It did work earlier yesterday at around 13:00 UTC.

Possible culprit, vyos-1x commit 058a6e6, T7336-radius-renames.

Anyone else encounter it?

Can you try again? It should be fixed.

Thank you, it doesn’t yet work for me. I still get:

The following packages have unmet dependencies:
 vyos-1x : PreDepends: vyos-libpam-radius-auth but it is not going to be installed
           PreDepends: vyos-libnss-mapuser but it is not installable

I run sudo git clean -dfx and git reset --hard to get the repo into a clean state. Is there something else I should do?

I’m also having the same issue.

Opened a bug report T7354

1 Like

Looks better now after you guys added the patch for the vyos/libpam-radius-auth repo.

I manually added a package libnss-mapuser to scripts/packages and compiled it (no code changes necessary) and the libpam-radius-auth package.

Then copying over the two *.deb files to /vyos/packages (path in the docker container) the vyos image now compiles.

If at some point you guys could rebuild these two packages for the vyos:current repo, that be great, thanks.

For the Libnss-mapuser the fix similar as and for T7354 bit also require build script which is missing.

Oh I see, for building the image I just added scripts/package-build/libnss-mapuser/package.toml and created the symlink to ../build.py and the image building process was happy with the resulting *.deb.

cat scripts/package-build/libnss-mapuser/package.toml
[[packages]]
name = "libnss-mapuser"
commit_id = "current"
scm_url = "https://github.com/vyos/libnss-mapuser.git"

[dependencies]
packages = [
    "libaudit-dev"
]

Addition: I compared the lib/x86_64-linux-gnu/*.so file from the *.deb from the repo and the one from vyos-*.deb → they are identical. Seems the only thing missing is the scripts/package-build/libnss-mapuser. I’ll create a bug report and if it makes sense the PR,

1 Like

The image building process is working again, thanks. This thread can be set to solved.

2 Likes