# lvol module - depency problem parted/gparted

**URL:** <https://forum.ansible.com/t/lvol-module-depency-problem-parted-gparted/35848>\
**Category:** Ansible Project\
**Created:** [October 12, 2021, 10:25am UTC](https://forum.ansible.com/t/lvol-module-depency-problem-parted-gparted/35848 "2021-10-12T10:25:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dulhaver](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dulhaver/32/1061_2.png) [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Post date:** [October 12, 2021, 10:25am UTC](https://forum.ansible.com/t/lvol-module-depency-problem-parted-gparted/35848/1 "2021-10-12T10:25:46Z")

</div>

I have a task to resize a logical volume on a rhel8 target with the lvol module.

1. I get prompted ‘Failed to find required executable parted’

2. trying to install it with dnf module tells me ‘parted does not exist’

3. trying gparted alternatively gives me a whole bndh of missing dependencies

msg: |-  
Depsolve Error occured:  
Problem: conflicting requests

- nothing provides libglibmm-2.4.so.1()(64bit) needed by gparted-1.2.0-1.el8.x86\_64
- nothing provides libsigc-2.0.so.0()(64bit) needed by gparted-1.2.0-1.el8.x86\_64
- nothing provides libgiomm-2.4.so.1()(64bit) needed by gparted-1.2.0-1.el8.x86\_64
- nothing provides libparted.so.2()(64bit) needed by gparted-1.2.0-1.el8.x86\_64
- nothing provides libparted-fs-resize.so.0()(64bit) needed by gparted-1.2.0-1.el8.x86\_64
- nothing provides libparted-fs-resize.so.0(LIBPARTED\_FS\_RESIZE\_0.0.0)(64bit) needed by gparted-1.2.0-1.el8.x86\_64
- nothing provides libatkmm-1.6.so.1()(64bit) needed by gparted-1.2.0-1.el8.x86\_64
- nothing provides libcairomm-1.0.so.1()(64bit) needed by gparted-1.2.0-1.el8.x86\_64
- nothing provides libgdkmm-3.0.so.1()(64bit) needed by gparted-1.2.0-1.el8.x86\_64
- nothing provides libgtkmm-3.0.so.1()(64bit) needed by gparted-1.2.0-1.el8.x86\_64
- nothing provides libpangomm-1.4.so.1()(64bit) needed by gparted-1.2.0-1.el8.x86\_64  
rc: 1  
results: 

my understanding was that gparted the gui version of parted (but that easily might be worng understanding on my part)

can anybody point out where I am taking a wrong turn here and push me into the right direction?

---

<div class="post-metadata">

**Author:** ![jean-yves](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jean-yves](https://forum.ansible.com/u/jean-yves)\
**Post date:** [October 12, 2021, 11:31am UTC](https://forum.ansible.com/t/lvol-module-depency-problem-parted-gparted/35848/2 "2021-10-12T11:31:51Z")

</div>

parted package is available. You probably are doing something wrong  
A "dnf update" and "dnf install parted" should work !

Regards,

---

<div class="post-metadata">

**Author:** ![dulhaver](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dulhaver/32/1061_2.png) [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Post date:** [October 12, 2021, 12:20pm UTC](https://forum.ansible.com/t/lvol-module-depency-problem-parted-gparted/35848/3 "2021-10-12T12:20:51Z")

</div>

Alright, that might be the right push. Seems it could be a matter of enabled repos on the target. I guess I'll have to look at the `enablerepo` paramter in order to solve this

thx

---

<div class="post-metadata">

**Author:** ![dulhaver](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dulhaver/32/1061_2.png) [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Post date:** [October 12, 2021, 12:50pm UTC](https://forum.ansible.com/t/lvol-module-depency-problem-parted-gparted/35848/4 "2021-10-12T12:50:58Z")

</div>

> \> \>  
> \> \> parted package is available. You probably are doing something wrong  
> \> \> A "dnf update" and "dnf install parted" should work !
> 
> Alright, that might be the right push. Seems it could be a matter of enabled repos on the target. I guess I'll have to look at the `enablerepo` paramter in order to solve this

seems I can not get it working though

> tasks

&nbsp;&nbsp;- name: install gparted & xfsprogs on target  
&nbsp;&nbsp;&nbsp;&nbsp;dnf:  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name:  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- parted  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enablerepo: rhel-8-for-x86\_64-baseos-rpms  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;state: present  
&nbsp;&nbsp;&nbsp;&nbsp;become: yes

still does not seem to work "failures: No package parted available." (and "rhel-8-for-x86\_64-baseos-rpms" seems to be the repo needed)

---

<div class="post-metadata">

**Author:** ![jean-yves](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jean-yves](https://forum.ansible.com/u/jean-yves)\
**Post date:** [October 12, 2021, 1:14pm UTC](https://forum.ansible.com/t/lvol-module-depency-problem-parted-gparted/35848/5 "2021-10-12T13:14:12Z")

</div>

Try using properties "update\_cache" to "yes" for your dnf module use

Regards,

JYL
