Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 563139 - Dependency error in new update in EPEL
Summary: Dependency error in new update in EPEL
Keywords:
Status: CLOSED DUPLICATE of bug 563194
Alias: None
Product: Fedora
Classification: Fedora
Component: vpnc
Version: rawhide
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-09 10:56 UTC by Pavel Lisý
Modified: 2010-02-11 04:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-11 03:54:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
script to /etc/init.d (735 bytes, text/plain)
2010-02-10 21:39 UTC, Pavel Lisý
no flags Details

Description Pavel Lisý 2010-02-09 10:56:16 UTC
Description of problem:
I've made yum update in RHEL5 and I've got 
Error: Missing Dependency: upstart is needed

Version-Release number of selected component (if applicable):
vpnc-0.5.3-6.el5.x86_64

How reproducible:
always

Steps to Reproduce:
1.
2.
3.
  
Actual results:
[root@josef ~]# yum update
Loaded plugins: fastestmirror, rhnplugin
Loading mirror speeds from cached hostfile
 * epel: mirror.karneval.cz
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package vpnc.x86_64 0:0.5.3-6.el5 set to be updated
--> Processing Dependency: upstart for package: vpnc
--> Finished Dependency Resolution
vpnc-0.5.3-6.el5.x86_64 from epel has depsolving problems
  --> Missing Dependency: upstart is needed by package vpnc-0.5.3-6.el5.x86_64 (epel)
Error: Missing Dependency: upstart is needed by package vpnc-0.5.3-6.el5.x86_64 (epel)


Expected results:
remove dependency on upstart from EPEL build od this package

Additional info:

Comment 1 Richard W.M. Jones 2010-02-09 13:11:14 UTC
This is the diff that made the change:

http://cvs.fedoraproject.org/viewvc/EL-5/vpnc/vpnc.spec?r1=1.19&r2=1.20

* Tue Jan 05 2009 Huzaifa Sidhpurwala <huzaifas> - 0.5.3-4
- Build from F-12 branch

Comment 2 Pavel Lisý 2010-02-09 15:51:51 UTC
see line 23:
Requires: upstart iproute

you've installed file to vpnc-cleanup
/etc/event.d/

What is vpnc-cleanup doing?

I'm not familiar with upstart yet, but we will need create another script for EPEL and put it to /etc/init.d and run "chkconfig --add" in %post section in .spec

Comment 3 Pavel Lisý 2010-02-10 21:37:09 UTC
My suggestion to .spec

Requires: iproute
%if "%{dist}" != ".el4" && "%{dist}" != ".el4"
Requires: upstart
%else
Requires(post): chkconfig
%endif


%preun
%if "%{dist}" == ".el4" || "%{dist}" == ".el4"
chkconfig --del vpnc-cleanup
%endif


%post
%if "%{dist}" == ".el4" || "%{dist}" == ".el4"
chkconfig --add vpnc-cleanup
%endif

%install
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
install -m755 vpnc-cleanup-initrc $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/vpnc-cleanup

and you need correct file section too

Comment 4 Pavel Lisý 2010-02-10 21:39:19 UTC
Created attachment 390117 [details]
script to /etc/init.d

Comment 5 Huzaifa S. Sidhpurwala 2010-02-11 03:54:41 UTC

*** This bug has been marked as a duplicate of bug 563194 ***

Comment 6 Huzaifa S. Sidhpurwala 2010-02-11 04:19:34 UTC
The patch wont work because the  vpnc-cleanup script is used by upstart. since EL-5 does not have upstart it has to go.

The spec is fixed in cvs now, waiting for koji to come up so that i can build.


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