You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Latest sonic-mgmt docker based on Ubuntu 20.04 can not install extra packets using APT.
Old image based on Ubuntu 18.04 can install any packets by "apt update && apt install packet_name", new sonic-mgmt docker image can not do it and when we do "apt update && apt install packet_name" we got error.
This issue introduced by PR: #11831
Steps to reproduce the issue:
Run sonic-mgmt docker :docker run -it docker-sonic-mgmt bash
Change to sudo mode: sudo -s
Do: apt update
Try to install packet: apt install vim
Describe the results you received:
Can not install any packet using APT.
Reading package lists... Done
Building dependency tree
Reading state information... Done
vim is already the newest version (2:8.1.2269-1ubuntu5.7).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
python-ptf : Depends: python-scapy but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
If do command: "apt --fix-broken install" it will remove packet "python-ptf" and then PTF tests will fail.
Describe the results you expected:
Possible to install packets using APT
Output of show version:
(paste your output here)
Output of show techsupport:
(paste your output here or download and attach the file here )
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered:
Description
Latest sonic-mgmt docker based on Ubuntu 20.04 can not install extra packets using APT.
Old image based on Ubuntu 18.04 can install any packets by "apt update && apt install packet_name", new sonic-mgmt docker image can not do it and when we do "apt update && apt install packet_name" we got error.
This issue introduced by PR: #11831
Steps to reproduce the issue:
Describe the results you received:
Can not install any packet using APT.
If do command: "apt --fix-broken install" it will remove packet "python-ptf" and then PTF tests will fail.
Describe the results you expected:
Possible to install packets using APT
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: