Bug 619566 - yumex can not be installed due to missing dependencies
Summary: yumex can not be installed due to missing dependencies
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: yumex
Version: el6
Hardware: All
OS: Linux
low
urgent
Target Milestone: ---
Assignee: Tim Lauridsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 619688 619690
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-29 20:23 UTC by Gerrit Slomma
Modified: 2010-11-18 17:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-13 13:40:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gerrit Slomma 2010-07-29 20:23:17 UTC
Description of problem:

yumex can not be installed due to missing dependencies

Version-Release number of selected component (if applicable):

epel-release-6.3.noarch
yumex-2.9.9-2.el6.noarch

How reproducible:

everytime when trying to install yumex.

Steps to Reproduce:
1. yum install yumex
2. fails with dependencies
3.
  
Actual results:

# yum install yumex
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package yumex.noarch 0:2.9.9-2.el6 set to be updated
--> Processing Dependency: pexpect for package: yumex-2.9.9-2.el6.noarch
--> Processing Dependency: python-enum for package: yumex-2.9.9-2.el6.noarch
--> Finished Dependency Resolution
Error: Package: yumex-2.9.9-2.el6.noarch (epel)
           Requires: pexpect
Error: Package: yumex-2.9.9-2.el6.noarch (epel)
           Requires: python-enum
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Expected results:

yumex would be installed

Additional info:

works with rebuilt python-enum and pexpect from fc13

# rpmbuild --rebuild --target=noarch python-enum-0.4.4-1.fc13.src.rpm
# rpmbuild --rebuild --target=noarch pexpect-2.3-4.fc12.src.rpm
# yum localinstall rpmbuild/RPMS/noarch/pexpect-2.3-4.el6.noarch.rpm rpmbuild/RPMS/noarch/python-enum-0.4.4-1.el6.noarch.rpm
# yum install yumex

but yumex fails after installation if invoked with following message (in message-box):

Fatal Error
Fatal Error: backend-not-running
backend not running as expected (yumex will close)

after pushing "close"-button yumex closes (as expected ;) )

Comment 1 Tim Lauridsen 2010-07-30 07:31:42 UTC
Look like pexpect and python-enum not is in epel6 yet.

Comment 2 Tim Lauridsen 2010-07-30 07:31:57 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=619688

Comment 3 Tim Lauridsen 2010-07-30 07:51:25 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=619690

Comment 4 Tim Lauridsen 2010-07-30 08:44:13 UTC
Looks like i overlooked that pexpect is core RHEL6 and you need to have access to the core RHEL repos (RHN) to get it :)

Comment 5 warfall007 2010-08-01 14:18:32 UTC
Hello,



python-enum package missing is still true for yumex-2.9.10-1.el6.noarch.rpm :

build date 2010-07-30 / Tim Lauridsen
from download.fedora.redhat.com/pub/epel/beta/6/x86_64/

on: 

RHEL 6 Beta 2 refresh Workstation (build date 2010-07-15) x86_64 (+ refresh kernel 2.6.32-44.2.el6.x86_64, while kernel is obviously not involved in this dependency missing)



currently no tried to build python-enum from other repo and then rebuild yumex from EPEL.



May i friendly suggest to Tim Lauridsen that his rpmbuild environment is still set to some RHEL 5 base ?

Comment 6 warfall007 2010-08-02 12:52:43 UTC
(In reply to comment #5)
> Hello,
> 
> 
> 
> python-enum package missing is still true for yumex-2.9.10-1.el6.noarch.rpm :
> 
> build date 2010-07-30 / Tim Lauridsen
> from download.fedora.redhat.com/pub/epel/beta/6/x86_64/
> 
> on: 
> 
> RHEL 6 Beta 2 refresh Workstation (build date 2010-07-15) x86_64 (+ refresh
> kernel 2.6.32-44.2.el6.x86_64, while kernel is obviously not involved in this
> dependency missing)
> 
> 
> 
> currently no tried to build python-enum from other repo and then rebuild yumex
> from EPEL.
> 
> 
> 
> May i friendly suggest to Tim Lauridsen that his rpmbuild environment is still
> set to some RHEL 5 base ?    


Rebuild of python-enum then yumex is done now, leading to yumex working fine on rhel 6 beta (at least as fine as yum 3.2.27.12 bugs allow it to work).

python-enum can be taken from either FC 12/13 or EPEL rhel 5 sources repos, any other dependencies from rhel 6 beta ('optional' repo activated is mandatory) repos.

Comment 7 Gerrit Slomma 2010-08-13 06:03:58 UTC
I can see pexpect here:

ftp://ftp.redhat.com/pub/redhat/rhel/beta/6.0/x86_64/os/Packages/

however, i can't install it, yum doesn't get a clue it is there

[root@rr020 ~]# head -10 /etc/yum.repos.d/rhel-beta.repo
[rhel-beta]
name=Red Hat Enterprise Linux $releasever Beta - $basearch
#baseurl=ftp://ftp.redhat.com/pub/redhat/rhel/beta/$releasever/$basearch/os/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=rhel-$releasever-beta&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta

[rhel-beta-optional]
name=Red Hat Enterprise Linux $releasever Beta (Optional) - $basearch

[root@rr020 ~]# yum list pexpect
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Error: No matching Packages to list

[root@rr020 ~]# yum clean all
Loaded plugins: refresh-packagekit, rhnplugin
Cleaning up Everything
[root@rr020 ~]# yum install pexpect
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
epel/metalink        |  12 kB     00:00
epel                 | 3.8 kB     00:00
epel/primary_db      | 2.4 MB     00:07
rhel-beta/metalink   | 1.7 kB     00:00
rhel-beta            | 3.7 kB     00:00
rhel-beta/primary_db | 2.9 MB     00:05
Setting up Install Process
No package pexpect available.
Error: Nothing to do

Comment 8 Tim Lauridsen 2010-08-13 13:40:03 UTC
I think you need a rhn account to use yum for rhel beta for distro packages.

Comment 9 Gerrit Slomma 2010-08-13 15:27:19 UTC
I know that i do not.
I updated the kernel via yum today.
[root@rr020 ~]# yum list kernel
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Installed Packages
kernel.x86_64 2.6.32-37.el6   @anaconda-RedHatEnterpriseLinux-201006221616.x86_64/6.0
kernel.x86_64 2.6.32-44.1.el6 @rhel-beta
kernel.x86_64 2.6.32-44.2.el6 @rhel-beta

I do find the alphabetical neighbours of the pexpect-package:

[root@rr020 ~]# yum list phonon-backend-gstreamer
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Installed Packages
phonon-backend-gstreamer.x86_64               1:4.6.2-16.el6               @rhel-beta
Available Packages
phonon-backend-gstreamer.i686                 1:4.6.2-16.el6               rhel-beta
[root@rr020 ~]# yum list pessulus
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Available Packages
pessulus.noarch                        2.28.0-1.el6                         rhel-beta

And how do i test the BETA if i need an RHN-account?
I won't pay 80/350 Euro a year to play beta-tester...

Comment 10 Gerrit Slomma 2010-11-15 16:08:52 UTC
According to Bug 652659 pexpect only is available in High Availability repository, how to install yumex on a standard Server/Desktop?

Comment 11 Tim Lauridsen 2010-11-16 05:41:30 UTC
You can install the one from Fedora 13 or get the SRPM and compile it yourself

http://ftp.redhat.com/redhat/linux/enterprise/6/en/source/SRPMS/pexpect-2.3-6.el6.src.rpm

Comment 12 Wolfgang Ulbrich 2010-11-16 20:03:08 UTC
I' m also trying yumex to get working on rhel6-server, but it don't works.
I've rebuild several versions of pexpect and python-enum and yumex from koji and epel, but nothing solve the problem.

My last last try was with
--yumex-2.9.10-1.el6.noarch from epel
--pexpect-2.3-6.el6.noarch  rebuild from the link given above
--python-enum-0.4.3-6.el6.noarch  rebuild from  python-enum-0.4.3-6.el5.src.rpm from epel.

Always i get this error.

/usr/lib/python2.6/site-packages/guihelpers/__init__.py:199: GtkWarning: gtk_scrolled_window_add(): cannot add non scrollable widget use gtk_scrolled_window_add_with_viewport() instead
  self.add_from_file(filename)
eth0 (sky2) is connected
eth0 (sky2) is connected
Connected to an network
eth0 (sky2) is connected
Starting yum child process
YUM: Loaded plugins: fastestmirror, presto, priorities, remove-with-leaves, rhnplugin
YUM: Traceback (most recent call last):
YUM:   File "/usr/share/yumex/yumex-yum-backend", line 66, in <module>
YUM:     my = YumServer(debuglevel, plugins, offline, repos, yum_conf)
YUM:   File "/usr/lib/python2.6/site-packages/yumexbackend/yum_server.py", line 209, in __init__
YUM:     self.doLock()
YUM:   File "/usr/lib/python2.6/site-packages/yumexbackend/yum_server.py", line 278, in doLock
YUM:     yum.YumBase.doLock(self)
YUM:   File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1379, in doLock
YUM:     if self.conf.uid != 0:
YUM:   File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 778, in <lambda>
YUM:     conf = property(fget=lambda self: self._getConfig(),
YUM:   File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 311, in _getConfig
YUM:     self.plugins.run('init')
YUM:   File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 179, in run
YUM:     func(conduitcls(self, self.base, conf, **kwargs))
YUM:   File "/usr/share/yum-plugins/rhnplugin.py", line 110, in init_hook
YUM:     if opts.version or (len(commands) == 0):
YUM: AttributeError: Values instance has no attribute 'version'
ERROR: Fatal Error : backend-not-running
ERROR: backend not running as expected (yumex will close)
yum backend process is ended
Program Terminated

So which versions of pexpect, python-enum and yumex should i used, that yumex will work?
That's very important for me because i like fedora and the work from redhat, so i think about to buy a subscripton from redhat for rhel6.
But without a working yumex.........no way, because packagekit is IHMO a plaque.
Pls can you help me?

Comment 13 Tim Lauridsen 2010-11-18 06:51:24 UTC
raveit65: this is another issue with the rhnplugin

https://bugzilla.redhat.com/show_bug.cgi?id=598323

Comment 14 Wolfgang Ulbrich 2010-11-18 17:17:43 UTC
Hi Tim,
thx a lot :o)) , with a rebuild of yum-rhn-plugin-1.1.3-1.fc14.src.rpm yumex works on Rhel6.

cool

Wolfgang


Note You need to log in before you can comment on or make changes to this bug.