svn_load_dirs command not found

In this troubleshooting guide we learn how to fix svn_load_dirs command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

svn_load_dirs: command not found

or when using sudo you get the following error message

sudo: svn_load_dirs: command not found

Solutions to svn_load_dirs: command not found

How To Fix svn_load_dirs: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu svn_load_dirs is provided by subversion-tools package.

subversion-tools is:

This package includes miscellaneous tools for use with Apache Subversion clients and servers:

  • svn-backup-dumps: Incremental dumpfile-based backup script
  • svn-bisect: Bisect revisions to find a regression
  • svn-clean: Remove unversioned files from a working copy
  • svn-hot-backup: Backup script, primarily for BDB repositories
  • svn_apply_autoprops: Apply property settings from .subversion/config file to an existing repository
  • svn_load_dirs: Sophisticated replacement for ‘svn import’
  • svnwrap: Set umask to 002 before calling svn or svnserve
  • fsfs-access-map: Convert strace output into FSFS access map
  • several example hook scripts: commit-access-control, commit-email, log-police, mailer, svnperms, verify-po

NOTE that some of these scripts are unsupported by upstream, and may change radically or disappear in future releases. Some of these scripts require packages on the Recommends list.

To fix this problem, we can install more using the command below.

sudo apt-get -y install subversion-tools

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install subversion-tools.

sudo apt -y install subversion-tools

Or if you have aptitude installed you can use the following command.

sudo aptitude install subversion-tools

Summary

In this tutorial we learn how to fix svn_load_dirs command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.