Failed VyOS installation on Debian-8 Jessie xfce



When I was installing VyOS-1.2.0 system via Debian-8 Jessie xfce according to “how to build an ISO image” from, I failed to enter into VyOS configuration mode because of some errors illustrated in below.

------Example: I acted the last step “make iso”, and the machine shows the following fault in the end.
cd vyos-build
make iso

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-world : Depends: mdns-repeater but it is not installable
E: Unable to correct problems, you have held broken packages.
P: Begin unmounting filesystems…
P: Saving caches…
Reading package lists…
Building dependency tree…
Reading state information…

I also used the following commands to make sure the fault:

root@debian:/# apt-cache search mdns-repeater
root@debian:/# cat /etc/apt/sources.list

deb jessie-updates main contrib non-free
deb jessie main contrib non-free
deb-src jessie main contrib non-free
deb jessie/updates main
deb-src jessie/updates main
deb jessie non-free main

deb jessie-updates main

deb cdrom:[Debian GNU/Linux 8.6.0 Jessie - Official amd64 xfce-CD Binary-1 20160917-14:22]/ jessie main

jessie-updates, previously known as ‘volatile’

A network mirror was not selected during install. The following entries

are provided as examples, but you should amend them as appropriate

for your mirror of choice.

deb-src jessie-updates main

deb [arch=amd64] jessie stable

deb-src [arch=amd64] jessie stable


root@debian:/# aptitude install mdns-repeater
Couldn’t find any package whose name or description matched “mdns-repeater”
Couldn’t find any package whose name or description matched “mdns-repeater”
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 108 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up initramfs-tools (0.120+deb8u2) …
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.120+deb8u2) …
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64

root@debian:/home/sarami/vyos-build# ls -al
total 72
drwxr-xr-x 8 root root 4096 Dec 31 11:28 .
drwxr-xr-x 24 sarami sarami 4096 Jan 1 15:31 …
drwxr-xr-x 8 root root 4096 Jan 1 20:08 build
lrwxrwxrwx 1 root root 20 Dec 31 11:25 configure -> scripts/build-config
drwxr-xr-x 4 root root 4096 Dec 31 11:25 data
drwxr-xr-x 8 root root 4096 Dec 31 11:25 .git
-rw-r–r-- 1 root root 50 Dec 31 11:25 .gitignore
-rw-r–r-- 1 root root 5394 Dec 31 11:25 .gitmodules
-rw-r–r-- 1 root root 18002 Dec 31 11:25 LICENSE
-rw-r–r-- 1 root root 1640 Dec 31 11:25 Makefile
drwxr-xr-x 46 root root 4096 Dec 31 11:25 packages
-rw-r–r-- 1 root root 3540 Dec 31 11:25
drwxr-xr-x 5 root root 4096 Dec 31 11:28 scripts
drwxr-xr-x 2 root root 4096 Dec 31 11:25 tools

Thanks a lot for the help. I am a new learn of VyOS and Linux Debian.



update: I used 2nd PC to change some deb http or ftp source lists. Unfortunately, the installation of VyOS-1.2.0 failed again due to mdns-repeater non-existed in github or somewhere else.
Since I have used two PCs to repeat the MOP process of your provided “how to build an ISO image” from, I believe the information provided is not accurate or it is not fully verified.

But it’s OK, i was thinking the final intention is not to use VyOS instead of Debian in a host, and I don’t need raspberry pi for VyOS in my scenario, so immediately, I moved to Docker and the version 1.1.8 is built successfully.



I got the same error and found a workaround.

It can be resolved by removing a few lines in the vyos-world repository. The instructions would be:

git submodule update --init – packages/vyos-world
cd packages/vyos-world
git init
git checkout current

Now, open the debian/control file and remove the lines ‘mdns-repeater’ and ‘udp-broadcast-relay’ at the end and save. [Note, it means that these features will be unavailable]

To install the package, I modified the script from this blog post. The main line that installs the package is:
dpkg-buildpackage -us -uc -b > 2>&1

Now in the vyos-build directory, ISO can be built by ./configure and sudo make iso.


using the source from git is for development and creating your own iso.

if you want to use VyOS, as a router/firewall, you need to install it on a dedicated machine or in a VM.