session-migration command not found

In this troubleshooting guide we learn how to fix session-migration command not found error message

Introduction

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

session-migration: command not found

or when using sudo you get the following error message

sudo: session-migration: command not found

Solutions to session-migration: command not found

How To Fix session-migration: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu session-migration is provided by session-migration package.

session-migration is:

This tool is used to migrate in session user data when a program is evolving its configuration, or needing to have files moved and so on.

This program is generally autostarted at the very beginning of the session and integrates caching capability.

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

sudo apt-get -y install session-migration

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

You can also use apt command to install session-migration.

sudo apt -y install session-migration

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

sudo aptitude install session-migration

Summary

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