gsettings-data-convert command not found

In this troubleshooting guide we learn how to fix gsettings-data-convert command not found error message

Introduction

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

gsettings-data-convert: command not found

or when using sudo you get the following error message

sudo: gsettings-data-convert: command not found

Solutions to gsettings-data-convert: command not found

How To Fix gsettings-data-convert: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gsettings-data-convert is provided by gconf2 package.

gconf2 is:

GConf is a configuration database system for storing application preferences. It supports default or mandatory settings set by the administrator, and changes to the database are instantly applied to all running applications. It is written for the GNOME desktop but doesn’t require it.

This package contains the command line tools: gconftool and gconf-merge-tree.

This package is for legacy applications and no longer used by GNOME.

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

sudo apt-get -y install gconf2

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

You can also use apt command to install gconf2.

sudo apt -y install gconf2

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

sudo aptitude install gconf2

Summary

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