[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rpm gets some deps wrong?
- From: James Olin Oden <joden malachi lee k12 nc us>
- To: rpm-list redhat com
- Subject: Re: rpm gets some deps wrong?
- Date: Thu, 7 Aug 2003 16:46:00 -0400 (EDT)
On Thu, 7 Aug 2003, Frank Cusack wrote:
> On Thu, Aug 07, 2003 at 06:32:12AM -0400, James Olin Oden wrote:
> > I can mock up a simple test case for that against rpm 4.2 (the one that
> > ships with RH 9), and at least tell you if I see it. Once I have the
> > test case I can send to you, and you can run the same thing with your
> > version of RPM. If it fails in either place, then you or I can write
> > a bugzilla report, giving Jeff the simple test case. Finally, depending
> > on time (and no promises) somebody could patch for Jeff so he can get
> > my transactional rollback patches rolled into an official release (-;
> >
> > I get back to you when I have the test completed.
>
> wow, thanks.
>
Hi Frank,
I create a simple test. First, I generated an rpm from the following spec
file:
Summary: Provides something to someone who requires it.
Name: provider
Epoch: 2
Version: 1
Release: 1
Group: System Environment/Base
Copyright: GPL
%description
I provide stuff
%files
Note the epoch is set to 2. I then created an rpm from this spec file:
Summary: Requires something from a provider
Name: requirer
Version: 1
Release: 1
Group: System Environment/Base
Copyright: GPL
Requires: provider = 0:1-1
%description
I require stuff
%files
I note that it requires provider 0:1-1. I then installed provider.
and then seperately installed requirer:
# rpm -Uvh provider-1-1.i386.rpm
Preparing... ########################################### [100%]
1:provider ########################################### [100%]
# rpm -Uvh requirer-1-1.i386.rpm
error: Failed dependencies:
provider = 0:1-1 is needed by requirer-1-1
As you can see the error was not exibited.
I then tried to install them as one transaction:
# rpm -Uvh provider-1-1.i386.rpm requirer-1-1.i386.rpm
error: Failed dependencies:
provider = 0:1-1 is needed by requirer-1-1
Again rpm did the right thing. Now I am using rpm 4.2, so maybe its the
specific version you are using. What version is that?
By the way, to build these, just copy the spec files to seperate files,
and run:
rpmbuild -ba (name_of_spec)
Then you can recreate the test and see what happens on your system.
Cheers...james
> /fc
>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://www.redhat.com/mailman/listinfo/rpm-list
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]