Re: Problem with some RPM'sCurrent-server digest, Vol 1 #197 - 7 msgs
Klaus Steinberger <[email protected]> Wed, 13 Nov 2002 10:08:34 +0100
| Newsgroups | gmane.network.up2date.current.devel |
|---|---|
| Organization | Accelerator Lab LMU and TU Munich |
| Message-ID | <[email protected]> |
Hello,
>>Fetching rpm headers...
>>There was a fatal error communicating with the server. The message was:
>>404: "Not Found" while attempting to get
>>$RHN/lmugar-i386-7.3/getPackageHeader/TIVsm-BA-5.1.5-0.i386.hdr
>
>
> Try running Johns query against these rpms, and see what you get:
>
> rpm -qp --queryformat "%{NAME}-%{VERSION}-%{EPOCH}\n" <filename>
[k2@bagheera tivoli]$ rpm -qp --queryformat\
"%{NAME}-%{VERSION}-%{EPOCH}\n" TIVsm-API.i386.rpm
TIVsm-API-5.1.5-(none)
[k2@bagheera tivoli]$
Hunter said in a previous mail, that current does of course the right
thing and asks the rpm for version, package name etc.
But I suspect that the filename for the .hdr File, which would be stored
inside the getPackageHeader directory is created based on the filename.
I use Version 1.4.2:
[root@etprd02 etc]# rpm -q current
current-1.4.2-1
[root@etprd02 etc]#
When I stored the .rpm Files as they came from IBM in the channel, I got
the following filenames:
TIVsm-API.i386.rpm
and inside getPackageHeader:
TIVsm-API.i386.hdr
I then renamed the rpm's so I got:
TIVsm-API-5.1.5-0.i386.rpm
and inside getPackageHeader:
TIVsm-API-5.1.5-0.i386.hdr
My proposal would be to created the filenames for the .hdr files in the
getPackageHeader directory on basis of the rpm query instead of
filename. This would solve inconsistencies between filenames of .rpm'S
and their internal data.
Sincerly,
Klaus Steinberger
--
Klaus Steinberger Maier-Leibnitz Labor
Phone: (+49 89)289 14287 Am Coulombwall 6, D-85748 Garching, Germany
FAX: (+49 89)289 14280 EMail: [email protected]
URL: http://www.physik.uni-muenchen.de/~k2/
In a world without Walls and Fences, who needs Windows and Gates