How can I install KVPM on Ubuntu 20.04 LTS?

Have read references to KVPM in some questions about resizing LVs. Tried the typical sudo apt install kvpm but it gave me a message unable to locate package. I have checked the box for every source available on Software & Updates. Then I downloaded a deb package from http://archive.ubuntu.com/ubuntu/pool/universe/k/kvpm/kvpm_0.9.10-1.1_amd64.deb and got the following error:

The following packages have unmet dependencies:
 kvpm : Depends: liblvm2app2.2 (>= 2.02.176) but it is not installable
E: Unable to correct problems, you have held broken packages.
Asked By: Aztek

||
  • dpkg does not solve depedencies.

The following packages have unmet dependencies: kvpm : Depends: liblvm2app2.2 (>= 2.02.176) but it is not installable E: Unable to correct problems, you have held broken packages.

Means you need to install liblvm2app2.2 but that will likely report another dependency.

Are your SURE you want KVPM? KDE Volume Partition Manager is for kUbuntu. Not Ubuntu. In Ubuntu resizing LV can already be done from within the "disks" utility.
See Manage volumes and partitions. Next: that software is ONLY available for 16.04 and 18.04. Are you sure you want to use software for managing volumes that is at least 2 years old?

If you want to use something from the Ubuntu packages I would assume you would want to install partitionmanager but I still have questions …

View and manage volumes and partitions using the disk utility

You can check and modify your computer’s storage volumes with the disk utility.

Open the Activities overview and start Disks.

  • In the list of storage devices on the left, you will find hard disks, CD/DVD drives, and other physical devices. Click the device you want to inspect.

  • The right pane provides a visual breakdown of the volumes and partitions present on the selected device. It also contains a variety of tools used to manage these volumes.

Be careful: it is possible to completely erase the data on your disk with these utilities.

  • Head the warning. Make sure you have a backup of at least your personal data and know how to restore it.

So it seems it is already available? Why does that not work for you?

Answered By: Rinzwind

You have to get dependencies with it:

cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/main/l/lvm2/liblvm2app2.2_2.02.176-4.1ubuntu3.18.04.3_amd64.deb
sudo apt-get install lvm2 ./liblvm2app2.2_2.02.176-4.1ubuntu3.18.04.3_amd64.deb

wget -c http://archive.ubuntu.com/ubuntu/pool/universe/k/kvpm/kvpm_0.9.10-1.1_amd64.deb
sudo apt-get install ./kvpm_0.9.10-1.1_amd64.deb

and then enjoy the KVPM application running on Ubuntu 20.04 LTS.

Depending on your desktop environment you can run it using one of the below commands:

  • sudo kvpm
  • pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY kvpm
Answered By: N0rbert

In 22.04 LTS, the following works without any fuss.

sudo apt install liblvm2app2.2
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/k/kvpm/kvpm_0.9.10-1.1_amd64.deb
sudo dpkg -i ./kvpm_0.9.10-1.1_amd64.deb
Answered By: sudar
Categories: Answers Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.