Skip to content

[docker-sonic-vs]: Install libunwind8 and libjson-c3 as frr dependencies#3179

Closed
stcheng wants to merge 1 commit intosonic-net:masterfrom
stcheng:vs
Closed

[docker-sonic-vs]: Install libunwind8 and libjson-c3 as frr dependencies#3179
stcheng wants to merge 1 commit intosonic-net:masterfrom
stcheng:vs

Conversation

@stcheng
Copy link
Contributor

@stcheng stcheng commented Jul 18, 2019

frr depends on libjson-c3 (>= 0.11); however:
Package libjson-c3 is not installed.
frr depends on libunwind8; however:
Package libunwind8 is not installed.

Signed-off-by: Shu0T1an ChenG shuche@microsoft.com

frr depends on libjson-c3 (>= 0.11); however:
  Package libjson-c3 is not installed.
 frr depends on libunwind8; however:
  Package libunwind8 is not installed.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
@stcheng
Copy link
Contributor Author

stcheng commented Jul 18, 2019

Step 57/78 : RUN dpkg_apt() { [ -f $1 ] && { dpkg -i $1 || apt-get -y install -f; } || return 1; }; dpkg_apt /debs/frr_7.0.1-sonic-0_amd64.deb
Selecting previously unselected package frr.
(Reading database ... 14481 files and directories currently installed.)
Preparing to unpack .../frr_7.0.1-sonic-0_amd64.deb ...
Unpacking frr (7.0.1-sonic-0) ...
Processing triggers for rsyslog (8.24.0-1) ...
�[91mdpkg: dependency problems prevent configuration of frr:
 frr depends on libjson-c3 (>= 0.11); however:
  Package libjson-c3 is not installed.
 frr depends on libunwind8; however:
  Package libunwind8 is not installed.

dpkg: error processing package frr (--install):
 dependency problems - leaving unconfigured
�[0m�[91minvoke-rc.d: could not determine current runlevel
�[0m�[91minvoke-rc.d: policy-rc.d denied execution of try-restart.
�[0m�[91mErrors were encountered while processing:
 frr
�[0mReading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
  libjson-c3 libunwind8
The following NEW packages will be installed:
  libjson-c3 libunwind8
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 74.6 kB of archives.
After this operation, 233 kB of additional disk space will be used.
Get:1 http://debian-archive.trafficmanager.net/debian stretch/main amd64 libjson-c3 amd64 0.12.1-1.1 [25.8 kB]
Get:2 http://debian-archive.trafficmanager.net/debian stretch/main amd64 libunwind8 amd64 1.1-4.1 [48.7 kB]
Fetched 74.6 kB in 1s (55.5 kB/s)
Selecting previously unselected package libjson-c3:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 14579 files and directories currently installed.)
Preparing to unpack .../libjson-c3_0.12.1-1.1_amd64.deb ...
Unpacking libjson-c3:amd64 (0.12.1-1.1) ...
Selecting previously unselected package libunwind8.
Preparing to unpack .../libunwind8_1.1-4.1_amd64.deb ...
Unpacking libunwind8 (1.1-4.1) ...
Setting up libjson-c3:amd64 (0.12.1-1.1) ...
Setting up libunwind8 (1.1-4.1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up frr (7.0.1-sonic-0) ...
Adding group `frrvty' (GID 105) ...
Done.
Adding group `frr' (GID 106) ...
Done.
Warning: The home dir /nonexistent you specified can't be accessed: No such file or directory
Adding system user `frr' (UID 103) ...
Adding new user `frr' (UID 103) with group `frr' ...
Not creating home directory `/nonexistent'.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for rsyslog (8.24.0-1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of try-restart.

@lguohan
Copy link
Collaborator

lguohan commented Jul 18, 2019

I think the original behavior is by design

Copy link
Collaborator

@lguohan lguohan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the original behavior is by design, so that missing dependency are automatically calculated and installed.

@jleveque
Copy link
Contributor

Guohan is correct. Using the current method we don't have to do anything whenever packages' dependencies change.

@lguohan
Copy link
Collaborator

lguohan commented Jul 19, 2019

@stcheng , can you close this PR?

@stcheng stcheng closed this Jul 19, 2019
@stcheng stcheng deleted the vs branch July 19, 2019 22:21
mssonicbld added a commit that referenced this pull request Jun 4, 2024
…lly (#19185)

#### Why I did it
src/sonic-swss
```
* e61e95f8 - (HEAD -> 202311, origin/202311) change log level from ERR to WARN for pfc asym sai attribute not supported (#3125) (7 hours ago) [Zhixin Zhu]
* 5a998b6e - Handle learning duplicate IPs on different VRFs (#3165) (#3179) (10 hours ago) [Lawrence Lee]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants