Gparted unmet dependencies

Asked by Luis M.Jacinto

Ubuntu 24.04 LTS
Gparted

After new Ubuntu installation when installing trough App Center gave the following error:

The following Package has unmet dependencies: libparte2t64: Conflicts: libparted2 (<3.6-4build1)

Need help to fix this.

Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Is this a new installation of Ubuntu 24.04 from scratch, or an upgrade from an older Ubuntu release?

For diagnostic purposes please provide the full output that you receive for the following commands (to be executed in a terminal window):

uname -a
lsb_release -crid
apt policy libparted2t64 libparted2
apt --simulate install gparted
apt --simulate purge libparted2

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#2

New installation of Ubuntu 24.04 from scratch.

luis@Lumaja02:~$ uname -a
Linux Lumaja02 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
luis@Lumaja02:~$ lsb_release -crid
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble
luis@Lumaja02:~$ apt policy libparted2t64 libparted2
libparted2t64:
  Installed: 3.6-4build1
  Candidate: 3.6-4build1
  Version table:
 *** 3.6-4build1 100
        100 /var/lib/dpkg/status
libparted2:
  Installed: (none)
  Candidate: 3.6-3
  Version table:
     3.6-3 500
        500 http://ubuntu.mirror.rain.co.za/ubuntu noble/main amd64 Packages
luis@Lumaja02:~$ apt --simulate install gparted
NOTE: This is only a simulation!
      apt needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree... Done
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:
 libparted2t64 : Conflicts: libparted2 (< 3.6-4build1)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
luis@Lumaja02:~$ apt --simulate purge libparted2
NOTE: This is only a simulation!
      apt needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'libparted2' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libblas3 libbs2b0 libflite1 liblilv-0-0 libplacebo338 libserd-0-0 libsord-0-0
  libsratom-0-0 libzix-0-0
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
luis@Lumaja02:~$

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3

libparted2t64:
  Installed: 3.6-4build1
  Candidate: 3.6-4build1
  Version table:
 *** 3.6-4build1 100
        100 /var/lib/dpkg/status

There seems to be something wrong in the configuration of the package management system on your computer. The libparted2t64 package is not found on the repository server.

I suggest that you switch to a different repository server and try again.

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#4

Thanks Manfred Hampl, that solved my question.