Subject: | |
From: | |
Reply To: | |
Date: | Fri, 31 Jul 2009 08:21:56 +0100 |
Content-Type: | TEXT/PLAIN |
Parts/Attachments: |
|
|
On Thu, 30 Jul 2009, Vladimir Fekete wrote:
> Hi all,
>
> I'd like to ask you for a help - explanation of yum output. When I get line
> like:
>
> Error: Missing Dependency: jdk = 2000:1.6.0_03-fcs is needed by package java-1.6.0-sun-compat
>
> what is the meaning of 2000:1.6.0_03-fcs part ?
>
> I was desperate, because when I typed yum remove jdk I was able to see the
> correct version. After a day I noticed that the only difference is in this
> number 2000 before ':'. Could you explain to me what it means ? Thanks!
The bit before the colon is the epoch number. Try
rpmquery --qf '%{name}-%{epoch}:%{version}-%{release}.%{arch}.rpm\n' java-1.6.0-sun-compat
and (once you have jdk installed)
rpmquery --qf '%{name}-%{epoch}:%{version}-%{release}.%{arch}.rpm\n' jdk
Most packages have no epoch number, so you get
# rpmquery --qf '%{name}-%{epoch}:%{version}-%{release}.%{arch}.rpm\n' kernel
kernel-(none):2.6.18-128.1.16.el5.x86_64.rpm
--
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[log in to unmask] http://www.dpmms.cam.ac.uk/~werdna
|
|
|