Hello! Please excuse me if the solution to this topic seems obvious to some of the more experienced users but since I have used Ubuntu MATE for little more than a month, it plagues me and I can’t find a reasonable answer to my question anywhere on the web.
I am trying to install GParted but the installation gives me the following error:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gparted : Depends: libparted-fs-resize0 (>= 3.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
At first when searching Google for this error, it seemed to me that the boot partition may be too small but then again this package should not even require that much space. Anyways, someone said to use the command df -h and here it is:
Filesystem Size Used Avail Use% Mounted on
udev 1,9G 0 1,9G 0% /dev
tmpfs 383M 6,2M 377M 2% /run
/dev/sda7 60G 40G 18G 70% /
tmpfs 1,9G 30M 1,9G 2% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 1,9G 0 1,9G 0% /sys/fs/cgroup
/dev/loop0 8,7M 8,7M 0 100% /snap/pulsemixer/1
/dev/loop2 163M 163M 0 100% /snap/spotify/6
/dev/loop1 84M 84M 0 100% /snap/core/3748
/dev/loop3 315M 315M 0 100% /snap/pycharm-professional/55
/dev/loop4 82M 82M 0 100% /snap/core/4110
/dev/loop5 7,7M 7,7M 0 100% /snap/pulsemixer/8
/dev/loop6 82M 82M 0 100% /snap/core/4206
/dev/sda2 256M 53M 204M 21% /boot/efi
tmpfs 383M 36K 383M 1% /run/user/1000
It was also suggested to reinstall grub which I also did, the same problem unfortunately persisted.
I also tried to find out what package could be causing this trouble and so I tried this:
~$ sudo apt install libparted-fs-resize0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libparted-fs-resize0 : Depends: libparted2 (= 3.2-18) but 3.2-18ubuntu0.1 is to be installed
E: Unable to correct problems, you have held broken packages.
~$ sudo apt install libparted2
Reading package lists... Done
Building dependency tree
Reading state information... Done
libparted2 is already the newest version (3.2-18ubuntu0.1).
I also have to mention that I do not have any old kernel files.
So for the life of me I can’t understand why my system wont allow me to install this app.
I hope I wont have to reinstall MATE with different partitions to fix this problem. Anyway, before closing this thread, I have to mention that after trying countless Linux distros, Ubuntu MATE is the one I finally found to be the best of every world, both performance and functionality-wise. So even if I wont be able to solve this problem, I really enjoy using the OS and I want to thank the developers and the community for making it such a wonderful experience!