Build iso error

Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming.

The following information may help to resolve the situation:

The following packages have unmet dependencies:

vyos-1x : Depends: fuse-overlayfs but it is not going to be installed

Depends: telegraf (>= 1.20) but it is not installable

E: Unable to correct problems, you have held broken packages.

E: An unexpected failure occurred, exiting…

P: Begin unmounting filesystems…

P: Saving caches…

maybe , it’s something missing in the procedure, try to follow our documentation to bluid an iso or use the rolling-release.

https://docs.vyos.io/en/latest/contributing/build-vyos.html#build-iso

I have the same issue while trying to build VyOS 1.4.
Environment: Debian 11.6 running on Parallels on a Macbook M1 (arm64)
Container vyos/vyos-build:current-arm64
Any idea ?
BR, Damien.

N: Download is performed unsandboxed as root as file '/root/packages/./InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
N: Repository 'Debian bookworm' changed its 'non-free component' value from 'non-free' to 'non-free non-free-firmware'
N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package vyos-1x is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'vyos-1x' has no installation candidate

In case it helps, the error messages I get at the end of the build process:

./build-vyos-image iso --architecture arm64 --build-by "[email protected]"
/.../
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 vyos-1x : Depends: fuse-overlayfs but it is not going to be installed
           Depends: telegraf (>= 1.20) but it is not installable
E: Unable to correct problems, you have held broken packages.
E: An unexpected failure occurred, exiting...

Sometimes the vyos-1x-* packages are not available or posted on the VyOS repo site. You can just build/package it yourself and slip it into the iso build process. Also make sure to build the container so it has the latest bookworm updates.

Our last successful build was on March 17 2023. Since then we are getting:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 vyos-1x-vmware : Depends: vyos-1x but it is not installable
 vyos-world : Depends: vyos-1x but it is not installable
E: Unable to correct problems, you have held broken packages.
E: An unexpected failure occurred, exiting...
P: Begin unmounting filesystems...

The VyOS repo has now been updated and vyos-1x packages are downloading properly. Try your build again.

1 Like

Native build, try this:
./build-vyos-image iso --architecture arm64 --build-by “answer1.0” --custom-apt-entry “deb [arch=arm64] InfluxData - Package Repository bullseye stable” --custom-apt-key /root/vyos-build/influxdata-archive_compat.key

Thanks, it works now by adding the InfluxData repo when launching build-vyos-image !
I have now an ISO.
But I’ll have to investigate another issue :frowning: this time related to the boot process that freezes after “EFI stub: Exiting boot services”
Most probably a compatibility issue between Debian and the Parallels hypervisor on Apple M1 ?
BR, Damien.

I have encountered a new problem:
Build iso new error ,vyatta-cfg - VyOS Forums

Have you solved your problem?

Unable to locate package vyos-linux-firmware

newest issue

It do exist in rolling, but Im guessing you are compiling for LTS 1.3.3?

Get:651 https://rolling-packages.vyos.net current/main amd64 vyos-linux-firmware all 20230625 [48.7 MB]

The filename for rolling is:

vyos-linux-firmware_20230625_all.deb

You can also build it yourself:

https://docs.vyos.io/en/stable/contributing/build-vyos.html#firmware

dpkg: error processing package vyos-1x (--configure):
 installed vyos-1x package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of vyos-1x-vmware:
 vyos-1x-vmware depends on vyos-1x; however:
  Package vyos-1x is not configured yet.

dpkg: error processing package vyos-1x-vmware (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of vyos-world:
 vyos-world depends on vyos-1x; however:
  Package vyos-1x is not configured yet.

dpkg: error processing package vyos-world (--configure):
 dependency problems - leaving unconfigured
Processing triggers for rsyslog (8.2302.0-1) ...
invoke-rc.d: unknown initscript, /etc/init.d/rsyslog not found.
Running in chroot, ignoring request.
Processing triggers for initramfs-tools (0.142) ...
Processing triggers for dbus (1.14.8-2~deb12u1) ...
Processing triggers for nginx (1.22.1-9) ...
Running in chroot, ignoring request.
All runlevel operations denied by policy
Errors were encountered while processing:
 vyos-1x
 vyos-1x-vmware
 vyos-world
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: An unexpected failure occurred, exiting...

no I am building rolling iso.

Err:32 https://rolling-packages.vyos.net/current current/main amd64 Packages
  File has unexpected size (76414 != 76417). Mirror sync in progress? [IP: 104.18.22.169 443]
  Hashes of expected file:
   - Filesize:76417 [weak]
   - SHA256:a958f392421592ed68d19d4ecc614317258427900aa8d04314d9244ab6c5fc20
   - SHA1:65e8f401e3cadfa32d2b9b080ec5e8e4eff3f8e4 [weak]
   - MD5Sum:10023a07dbcb61390ee3f70c98a4bff9 [weak]
  Release file created at: Tue, 05 Sep 2023 05:36:07 +0000
Fetched 31.4 MB in 5s (6829 kB/s)
Reading package lists...
E: Failed to fetch https://rolling-packages.vyos.net/current/dists/current/main/binary-amd64/Packages.gz  File has unexpected size (76414 != 76417). Mirror sync in progress? [IP: 104.18.22.169 443]
   Hashes of expected file:
    - Filesize:76417 [weak]
    - SHA256:a958f392421592ed68d19d4ecc614317258427900aa8d04314d9244ab6c5fc20
    - SHA1:65e8f401e3cadfa32d2b9b080ec5e8e4eff3f8e4 [weak]
    - MD5Sum:10023a07dbcb61390ee3f70c98a4bff9 [weak]
   Release file created at: Tue, 05 Sep 2023 05:36:07 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.