Welcome Guest, Not a member yet? Create Account  




Question Failed VyOS installation on Debian-8 Jessie xfce

#1

Hello, 

When I was installing VyOS-1.2.0 system via Debian-8 Jessie xfce according to "how to build an ISO image" from https://wiki.vyos.net/wiki/Howto_build_an_ISO_image, 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
./configure
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...
root@debian:/home/sarami/vyos-build#



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

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


deb http://ftp.monash.edu.au/pub/linux/debian/ jessie-updates main contrib non-free
deb http://ftp.au.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.au.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
deb http://www.deb-multimedia.org/ jessie non-free main
# deb http://ftp.debian.org/deian/ 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 http://ftp.dfbian.org/debian/ jessie-updates main

deb [arch=amd64] https://download.docker.com/linux/debian jessie stable
# deb-src [arch=amd64] https://download.docker.com/linux/debian jessie stable
root@debian:/#



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 README.md
drwxr-xr-x  5 root   root    4096 Dec 31 11:28 scripts
drwxr-xr-x  2 root   root    4096 Dec 31 11:25 tools
root@debian:/home/sarami/vyos-build#


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

Cheers,
XU
Reply

#2

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 https://wiki.vyos.net/wiki/Howto_build_an_ISO_image, 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.

Cheers,
XU
Reply

#3

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 >vyos.build.log 2>&1"

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





Users browsing this thread:
1 Guest(s)