• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

pacman –deptest Command Examples

by Deepika

The “pacman –deptest” option for the pacman package manager in Arch Linux and its derivatives checks the dependencies specified for each package installed on the system and returns a list of dependencies that are not currently satisfied. It analyzes the packages’ metadata and compares it with the currently installed packages to determine if all the required dependencies are present. If any missing dependencies are found, they will be listed in the output, along with information about the required packages and versions.

This option is useful for troubleshooting dependency issues or verifying that all dependencies are satisfied before updating packages, to avoid potential conflicts or broken packages. It is recommended to run “pacman –deptest” before updating the system to ensure a smooth upgrade process.

pacman –deptest Command Examples

1. Print the package names of the dependencies that aren’t installed:

# pacman --deptest {{package_name1}} {{package_name2}}

2. Check if the installed package satisfies the given minimum version:

# pacman --deptest "{{bash>=5}}"

3. Check if a later version of a package is installed:

# pacman --deptest "{{bash>5}}"

4. Display help:

# pacman --deptest --help

Filed Under: Linux

Some more articles you might also be interested in …

  1. i3status: command not found
  2. mountpoint Command Examples in Linux
  3. nordvpn Command Examples in Linux
  4. How to install git on ubuntu 16.04
  5. How to use auditd to monitor a specific SYSCALL
  6. blastp Command Examples in Linux
  7. pdbedit Command Examples in Linux
  8. chown: command not found
  9. gdebi: command not found
  10. CentOS / RHEL 6 : Lock User Account After N Number of Incorrect Login Attempts

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright