show software package
Syntax
show software package <option>
Description
Display information about software packages and their policy settings.
Options
check |
Check the software package for any broken dependencies. |
details |
Display information about a software package. Add the name of the software package to the command. For
example, |
list |
Display the list of all software packages. |
policy |
Display the policy settings of a software package. |
search |
Display the description about a software package. Add the name of the software package to the command. For
example, |
stats |
Display statistics about software package repository. |
Required Privilege Level
CLI Administrator
Sample Output
show software
package
check
$ show software package check 2025-01-08 12:52:06 UTC Reading package lists... Building dependency tree... Reading state information...
show software package
list
$ show software package list 2025-01-08 12:54:07 UTC Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-======================================-=======================================-============-=================================================================================================== ii adduser 3.118ubuntu5 all add and remove users and groups ii amd64-microcode 3.20191218.1ubuntu2.3 amd64 Processor microcode firmware for AMD CPUs ii ansible-core 2.17.2-1 all Configuration management, deployment, and task execution system ii ansible-galaxy-collections 1.0.0 amd64 Ansible Galaxy Collections ii apache2 2.4.52-1ubuntu4.12 amd64 Apache HTTP Server ii apache2-bin 2.4.52-1ubuntu4.12 amd64 Apache HTTP Server (modules and other binary files) ii apache2-data 2.4.52-1ubuntu4.12 all Apache HTTP Server (common files) ii apache2-utils 2.4.52-1ubuntu4.12 amd64 Apache HTTP Server (utility programs for web servers) ii apparmor 3.0.4-2ubuntu2.4 amd64 user-space parser utility for AppArmor ii apport 2.20.11-0ubuntu82.5 all automatically generate crash reports for debugging ......
show software package details <software package
name>
$ show software package details apport 2025-01-08 12:56:10 UTC WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Package: apport Version: 2.20.11-0ubuntu82.5 Status: install ok installed Priority: optional Section: utils Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Installed-Size: 831 kB Provides: core-dump-handler
Release Information
Command introduced in Juniper Security Director Release 24.4.1.