Welcome Guest, Not a member yet? Create Account  




Can not build ISO - dependency problems prevent configuration of vyatta-version

#1

Hi there,

I am having trouble in generating an ISO. I follow all the steps in this guide: https://wiki.vyos.net/wiki/Howto_build_an_ISO_image but it does not work.
It gives me an error about dependencies of vyatta-version on every branch. 

When I run sudo make iso it runs for a while, then shows this output:
Code:
0 packages upgraded, 290 newly installed, 0 to remove and 0 not upgraded.
Need to get 150 MB of archives. After unpacking 470 MB will be used.
The following packages have unmet dependencies:
 vyatta-cfg: Depends: vyatta-config-migrate which is a virtual package.
 vyatta-wanloadbalance: Depends: vyatta-config-migrate which is a virtual package.
 dnsmasq: Depends: dnsmasq-base (>= 2.72-3+deb8u2) but it is not going to be installed.
          Depends: init-system-helpers (>= 1.18~) which is a virtual package.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)      dnsmasq [Not Installed]                            
2)      vyatta-cfg [Not Installed]                        
3)      vyatta-cfg-dhcp-relay [Not Installed]              
4)      vyatta-cfg-dhcp-server [Not Installed]            
5)      vyatta-cfg-firewall [Not Installed]                
6)      vyatta-cfg-op-pppoe [Not Installed]                
7)      vyatta-cfg-qos [Not Installed]                    
8)      vyatta-cfg-quagga [Not Installed]                  
9)      vyatta-cfg-system [Not Installed]                  
10)     vyatta-cfg-vpn [Not Installed]                    
11)     vyatta-config-mgmt [Not Installed]                
12)     vyatta-conntrack [Not Installed]                  
13)     vyatta-cron [Not Installed]                        
14)     vyatta-ipv6-rtradv [Not Installed]                
15)     vyatta-op [Not Installed]                          
16)     vyatta-op-dhcp-server [Not Installed]              
17)     vyatta-op-quagga [Not Installed]                  
18)     vyatta-op-vpn [Not Installed]                      
19)     vyatta-openvpn [Not Installed]                    
20)     vyatta-ravpn [Not Installed]                      
21)     vyatta-vrrp [Not Installed]                        
22)     vyatta-wanloadbalance [Not Installed]              
23)     vyatta-webgui [Not Installed]                      
24)     vyatta-webproxy [Not Installed]                    
25)     vyatta-wireless [Not Installed]                    
26)     vyatta-wirelessmodem [Not Installed]              
27)     vyatta-zone [Not Installed]                        
28)     vyos-nhrp [Not Installed]    


But the process of making the iso continues. By the end, it throws the error bellow:
Code:
Unpacking vyatta-version (from .../vyatta-version_999.helium.10111128_i386.deb) ...
dpkg: dependency problems prevent configuration of vyatta-version:
vyatta-version depends on vyatta-cfg; however:
 Package vyatta-cfg is not installed.
vyatta-version depends on vyatta-cfg-dhcp-relay; however:
 Package vyatta-cfg-dhcp-relay is not installed.
vyatta-version depends on vyatta-cfg-dhcp-server; however:
 Package vyatta-cfg-dhcp-server is not installed.
vyatta-version depends on vyatta-cfg-firewall; however:
 Package vyatta-cfg-firewall is not installed.
vyatta-version depends on vyatta-cfg-op-pppoe; however:
 Package vyatta-cfg-op-pppoe is not installed.
vyatta-version depends on vyatta-cfg-qos; however:
 Package vyatta-cfg-qos is not installed.
vyatta-version depends on vyatta-cfg-quagga; however:
 Package vyatta-cfg-quagga is not installed.
vyatta-version depends on vyatta-cfg-system; however:
 Package vyatta-cfg-system is not installed.
vyatta-version depends on vyatta-cfg-vpn; however:
 Package vyatta-cfg-vpn is not installed.
vyatta-version depends on vyatta-cluster; however:
 Package vyatta-cluster is not installed.
vyatta-version depends on vyatta-config-mgmt; however:
 Package vyatta-config-mgmt is not installed.
vyatta-version depends on vyatta-conntrack; however:
 Package vyatta-conntrack is not installed.
vyatta-version depends on vyatta-cron; however:
 Package vyatta-cron is not installed.
vyatta-version depends on vyatta-eventwatch; however:
 Package vyatta-eventwatch is not installed.
vyatta-version depends on vyatta-ipv6-rtradv; however:
 Package vyatta-ipv6-rtradv is not installed.
vyatta-version depends on vyatta-nat; however:
 Package vyatta-nat is not installed.
vyatta-version depends on vyatta-netflow; however:
 Package vyatta-netflow is not installed.
vyatta-version depends on vyatta-op; however:
 Package vyatta-op is not installed.
vyatta-version depends on vyatta-op-dhcp-server; however:
 Package vyatta-op-dhcp-server is not installed.
vyatta-version depends on vyatta-op-firewall; however:
 Package vyatta-op-firewall is not installed.
vyatta-version depends on vyatta-op-qos; however:
 Package vyatta-op-qos is not installed.
vyatta-version depends on vyatta-op-quagga; however:
 Package vyatta-op-quagga is not installed.
vyatta-version depends on vyatta-op-vpn; however:
 Package vyatta-op-vpn is not installed.
vyatta-version depends on vyatta-openvpn; however:
 Package vyatta-openvpn is not installed.
vyatta-version depends on vyatta-ravpn; however:
 Package vyatta-ravpn is not installed.
vyatta-version depends on vyatta-vrrp; however:
 Package vyatta-vrrp is not installed.
vyatta-version depends on vyatta-wanloadbalance; however:
 Package vyatta-wanloadbalance is not installed.
vyatta-version depends on vyatta-webgui; however:
 Package vyatta-webgui is not installed.
vyatta-version depends on vyatta-webproxy; however:
 Package vyatta-webproxy is not installed.
vyatta-version depends on vyatta-wireless; however:
 Package vyatta-wireless is not installed.
vyatta-version depends on vyatta-wirelessmodem; however:
 Package vyatta-wirelessmodem is not installed.
vyatta-version depends on vyatta-zone; however:
 Package vyatta-zone is not installed.
vyatta-version depends on vyos-nhrp; however:
 Package vyos-nhrp is not installed.
dpkg: error processing vyatta-version (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
vyatta-version

The entire log file follows attached. I appreciate any help.

Attached Files
.txt   iso-make.txt (Size: 106.17 KB / Downloads: 2)
Reply

#2

Hi,

my builds keep dying as well:

Code:
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: vyatta-cfg-system but it is not going to be installed
             Depends: vyatta-op but it is not going to be installed
             Depends: vyatta-config-mgmt but it is not going to be installed
             Depends: vyatta-cfg-dhcp-relay but it is not going to be installed
             Depends: vyatta-op-dhcp-server but it is not going to be installed
             Depends: vyatta-cfg-dhcp-server but it is not going to be installed
             Depends: vyatta-cfg-firewall but it is not going to be installed
             Depends: vyatta-op-firewall but it is not going to be installed
             Depends: vyatta-cfg-op-pppoe but it is not going to be installed
             Depends: vyatta-cfg-qos but it is not going to be installed
             Depends: vyatta-op-qos but it is not going to be installed
             Depends: vyatta-cfg-quagga but it is not going to be installed
             Depends: vyatta-op-quagga but it is not going to be installed
             Depends: vyatta-cfg-vpn but it is not going to be installed
             Depends: vyatta-op-vpn but it is not going to be installed
             Depends: vyatta-cluster but it is not going to be installed
             Depends: vyatta-conntrack but it is not going to be installed
             Depends: vyatta-eventwatch but it is not going to be installed
             Depends: vyatta-ipv6-rtradv but it is not going to be installed
             Depends: vyatta-nat but it is not going to be installed
             Depends: vyatta-netflow but it is not going to be installed
             Depends: vyatta-openvpn but it is not going to be installed
             Depends: vyatta-ravpn but it is not going to be installed
             Depends: vyatta-vrrp but it is not going to be installed
             Depends: vyatta-wanloadbalance but it is not going to be installed
             Depends: vyatta-webgui but it is not going to be installed
             Depends: vyatta-webproxy but it is not going to be installed
             Depends: vyatta-wireless but it is not going to be installed
             Depends: vyatta-wirelessmodem but it is not going to be installed
             Depends: vyatta-zone but it is not going to be installed
             Depends: vyos-nhrp but it is not going to be installed
             Depends: vyos-pppoe-server but it is not going to be installed
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...
Del hvinfo 1.0.0 [16.2 kB]
Del libvyatta-cfg1 0.102.0+vyos2+current3 [300 kB]
vyos@vyos-build:~/build/vyos/lithium/vyos-build$

Does anyone know a fix for this?

Best,
Alain
Reply

#3

I've resolved this issue a couple of days ago, this is what was holding us back from making 32-bit 1.1.8 release. The issue was that some architecture-independent packages for some reason didn't get included in the i386 repository.

Try again, it should work now.
Reply

#4
(This post was last modified: 13/11/2017, 15:35 by alain.)

Hi there,

thanks for your quick reply.

I try to build the amd64-vyos flavor. This still does not work. The build process dies with the same errors as described above. I did a git pull before, but no updates there.

Meanwhile I figured out which step it happens in:


Code:
[2017-11-13 10:00:22] lb chroot_install-packages install

My config params look like this:

Code:
./configure --debian-mirror http://httpredir.debian.org/debian/ \
           --pbuilder-debian-mirror http://httpredir.debian.org/debian/ \
           --debian-security-mirror http://security.debian.org/ \
           --build-type development \
           --architecture amd64 \
           --build-by alain
flavor=amd64-vyos
branch=current
sudo make iso

The nightly Lithium builds might be affected by the same issue. No new build since Nov 8th.

[Image: GTsyCIB.gif]

Is there anything we can do on client side to "quick fix" this until you have the server side sorted?

Best regards and big fat thanks for all your efforts! VyOS is super cool :)
Reply

#5

Now that I see it, this thread has been messed up from the beginning: alain and ajeferson are talking about different versions and their build systems. ;)

ajeferson was having a problem with 32-bit 1.1.x build, and this one should be resolved by now.

alain's problem is more interesting, I'm looking into it.
Reply

#6

Hi alain, I've successfullt build an image from the current branch today, after re-building a few packages that ended up broken in the repos. Please do "sudo make purge" just to be sure and then run ./configure and "sudo make iso" again.

Also, I would use a "real" mirror rather than a redirector for the test. If it works with default ./configure options but not with the httpredir host, then we'll know where the problem is and can investigate it.
Reply

#7

Hi, just a quick reply:

thanks for fixing the packages! Teh default build does work now.

However, then I tried to add a custom kernel, and the build fails when trying to greate the initrd.

Unfortunately, the kernel build procedure on https://wiki.vyos.net/wiki/Rebuild_VyOS_kernel_Step is stale. What I did was:


Code:
./configure --debian-mirror http://httpredir.debian.org/debian/ \
            --pbuilder-debian-mirror http://httpredir.debian.org/debian/ \
            --debian-security-mirror http://security.debian.org/ \
            --build-type development \
            --architecture amd64 \
            --build-by alain
branch=current
flavor=amd64-vyos
git submodule update --init packages/vyos-kernel
cd packages/vyos-kernel
git checkout $branch
cp debian/arch/amd64/config.amd64-vyos
make-kpkg --config menuconfig
make-kpkg --rootcmd fakeroot --initrd --jobs 5 --revision 1 buildpackage
cd ../..
sudo make iso


Does anyone have a proven working receipe on how to rebuild the kernel package (and also any other package) from submodules?

Thanks and best regards!
Alain
Reply

#8

This works for me.

http://www.five-ten-sg.com/mapper/blog/vyos
Reply

#9

Hello

I am a new learner for VyOS on Debian  8 Jessie.
I met the installation problem in below. Same as the previous people, I followed by the official link: https://wiki.vyos.net/wiki/Howto_build_an_ISO_image, and executed the following command as per manual required,
cd vyos-build
./configure
make iso


However, it always shows "mdns-repeater" error at last.  Can you please help me? Thank you.


.......
.......
.......
.......
.......
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# ls
build  configure  data LICENSE  Makefile  packages  README.md scripts  tools
root@debian:/home/sarami/vyos-build# uname -a
Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) x86_64 GNU/Linux
root@debian:/home/sarami/vyos-build#
Reply





Users browsing this thread:
1 Guest(s)