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
Prints lists of packages depending on the packages’ relation to the system. A package is installed if it is present in the RPMDB, and it is available if it is not installed but is present in a repository that DNF knows about.
The list command also limits the displayed packages according to specific criteria, e.g. to only those that update an installed package (respecting the repository priority). The exclude option in the configuration file can influence the result, but if the --disableexcludes command line option is used, it ensures that all installed packages will be listed.
dnf [options] list [--all] [<package-file-spec>...]
Shall we add --all option - it is a default behavior anyway
drop
Lists all packages, present in the RPMDB, in a repository or both.
dnf [options] list --installed [<package-file-spec>...]
priority high
Lists installed packages.
dnf [options] list --available [<package-file-spec>...]
priority high
Lists available packages.
dnf [options] list --extras [<package-file-spec>...]
priority low
Lists extras, that is packages installed on the system that are not available in any known repository.
dnf [options] list --obsoletes [<package-file-spec>...]
priority low
List packages installed on the system that are obsoleted by packages in any known repository.
dnf [options] list --recent [<package-file-spec>...]
priority low
List packages recently added into the repositories.
dnf [options] list --upgrades [<package-file-spec>...]
priority low
List upgrades available for the installed packages.
dnf [options] list --autoremove
priority low
List packages which will be removed by the dnf autoremove command.
This command by default does not force a sync of expired metadata. See also Metadata Synchronization.
The text was updated successfully, but these errors were encountered:
--showduplicates
Shows the same version of package multiple times, it should list different versions of the same package, same behavior as in dnf5 info --available, see https://bugzilla.redhat.com/show_bug.cgi?id=2193138
--available
Shows different number of packages compared to dnf4: dnf5 shows additional .x86_64.rpm to their i686 counterpart.
Example from output:
NetworkManager-libnm.i686 1:1.42.6-1.fc38
vs
NetworkManager-libnm.i686 1:1.42.6-1.fc38
NetworkManager-libnm.x86_64 1:1.42.6-1.fc38
Not sure if this it a bug though.
--updates
Still present, even though this alias was dropped for dnf5 info command
Command:
list
Aliases:
ls
Prints lists of packages depending on the packages’ relation to the system. A package is
installed
if it is present in the RPMDB, and it isavailable
if it is not installed but is present in a repository that DNF knows about.The list command also limits the displayed packages according to specific criteria, e.g. to only those that update an installed package (respecting the repository priority). The exclude option in the configuration file can influence the result, but if the --disableexcludes command line option is used, it ensures that all installed packages will be listed.
dnf [options] list [--all] [<package-file-spec>...]
--all
option - it is a default behavior anywayLists all packages, present in the RPMDB, in a repository or both.
dnf [options] list --installed [<package-file-spec>...]
Lists installed packages.
dnf [options] list --available [<package-file-spec>...]
Lists available packages.
dnf [options] list --extras [<package-file-spec>...]
Lists extras, that is packages installed on the system that are not available in any known repository.
dnf [options] list --obsoletes [<package-file-spec>...]
List packages installed on the system that are obsoleted by packages in any known repository.
dnf [options] list --recent [<package-file-spec>...]
List packages recently added into the repositories.
dnf [options] list --upgrades [<package-file-spec>...]
List upgrades available for the installed packages.
dnf [options] list --autoremove
List packages which will be removed by the dnf autoremove command.
This command by default does not force a sync of expired metadata. See also Metadata Synchronization.
The text was updated successfully, but these errors were encountered: