Bug 1867 - python-parted dependency of liveusb-creator conflicts with pyparted dependency of livecd-tools
: python-parted dependency of liveusb-creator conflicts with pyparted dependenc...
Status: RESOLVED FIXED
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Contributed Packages
: Fresh
: All Linux
: Normal normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-03 17:45 MSD by Rolf Pedersen
Modified: 2013-10-21 11:22 MSD (History)
1 user (show)

See Also:
RPM Package: liveusb-creator-3.11.1-1.src.rpm
ISO-related:
Bad POT generating:
Upstream:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Pedersen 2013-04-03 17:45:16 MSD
Hi.  This is on ROSA Desktop.Fresh release 2012.1 (Desktop) for x86_64, up-to-date.

I'm guessing about what package to file this against but, short story, I can't install liveusb-creator together with livecd-tools, without, perhaps, --replacefiles or similar.  The steps that brought me here are below.

Thanks.

[root@localhost rolf]# urpmi liveusb-creator
To satisfy dependencies, the following packages are going to be installed:
 Package                        Version      Release       Dist  DEpoch Arch 
(medium "contrib (Desktop2012.1-3)")
 python-parted                  3.8          2             rosa  2012.1 x86_64 
(medium "contrib32")
 liveusb-creator                3.11.1       1             rosa  2012.1 noarch 
1MB of additional disk space will be used.
1MB of packages will be retrieved.
Proceed with the installation of the 2 packages? (Y/n) 


    $MIRRORLIST: media/contrib/release/python-parted-3.8-2-rosa2012.1.x86_64.rpm
    $MIRRORLIST: media/contrib/release/liveusb-creator-3.11.1-1-rosa2012.1.noarch.rpm                                        
installing python-parted-3.8-2-rosa2012.1.x86_64.rpm liveusb-creator-3.11.1-1-rosa2012.1.noarch.rpm from /var/cache/urpmi/rpms
Preparing...                     ###########################################################################################
Installation failed:
        file /usr/lib64/python2.7/site-packages/_pedmodule.so from install of python-parted-3.8-2.x86_64 conflicts with file from package pyparted-3.8-7.x86_64
        file /usr/lib64/python2.7/site-packages/parted/__init__.py from install of python-parted-3.8-2.x86_64 conflicts with file from package pyparted-3.8-7.x86_64

Installation failed:    file /usr/lib64/python2.7/site-packages/_pedmodule.so from install of python-parted-3.8-2.x86_64 conflicts with file from package pyparted-3.8-7.x86_64
        file /usr/lib64/python2.7/site-packages/parted/__init__.py from install of python-parted-3.8-2.x86_64 conflicts with file from package pyparted-3.8-7.x86_64
[root@localhost rolf]# urpmq --sources pyparted
http://mirror.rosalab.ru/rosa2012.1/repository/x86_64/media/main/release/pyparted-3.8-7-rosa2012.1.x86_64.rpm


[root@localhost rolf]# urpme pyparted
To satisfy dependencies, the following 2 packages will be removed (737KB):
  livecd-tools-18.8-24-rosa2012.1.x86_64
   (due to missing pyparted)
  pyparted-3.8-7-rosa2012.1.x86_64
Remove 2 packages? (y/N)
Comment 1 Rolf Pedersen 2013-10-21 04:20:35 MSD
I am still seeing this.  If I want to install liveusb-creator, I have to remove pyparted.  Soon, update applet is telling me liveusb-creator has to be removed to install/update pyparted

pyparted - Python module for GNU parted​                                                                                                                         
Notice: This is an official update which is supported by ROSA.

Python module for the parted library.  It is used for manipulating partition tables.

$ rpm -q pyparted
package pyparted is not installed

However, gparted seems still to work, so maybe the functionality is duplicated by python-parted

$ rpm -q --requires liveusb-creator 
isomd5sum
python(abi) = 2.7
python-dbus
python-parted >= 2.0
python-qt4
python-urlgrabber
syslinux
usermode
rpmlib(PayloadIsXz) <= 5.2-1
Comment 2 Denis Silakov 2013-10-21 11:22:36 MSD
Yes, this is actually the same soft packaged in different packages.

I've updated python-parted to provide "pyparted", so with updated python-pyparted you should be able to install livecd-tools without removing liveusb-creator.

Note that you may wait a little while the new package appears in repo.

It would be more correct to just replace pyparted with python-parted, but python-parted and liveusb-creator are in contrib, so we won't bother much about this in already released distribution.