RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm-5.0.0 and ftp / http support

From: Jeffrey Johnson <n3npq@me.com>
Date: Sat 10 Dec 2011 - 03:56:22 CET
Message-id: <7A9625DA-66C5-4A08-BC21-6307F1E2EA43@me.com>

On Dec 9, 2011, at 9:22 PM, Jeffrey Johnson wrote:

> On Dec 9, 2011, at 9:02 PM, Rolf Pedersen wrote:
>> Mandriva 2011.0
>> [rolf@localhost ~]$ cat /etc/mandriva-release 
>> Mandriva Linux release 2011.0 (Official) for x86_64
>> [rolf@localhost ~]$ rpm -q rpm
>> rpm-5.3.12-0.20110712.2-mdv2011.0.x86_64
>> This is my first exposure to rpm-5 and I couldn't understand why I couldn't rpm -qip [--changelog] URL or rpm -U --oldpackage URL, some rpm functionalities I've come to use often, after 11 years of Mandrake|iva.  This thread is the first suggestion of the reason I've found, after some fruitless google searching and devising some testing to eliminate local corruption:https://qa.mandriva.com/show_bug.cgi?id=64914
>> Is "network access was disabled in rpm-5.0.0" why I am seeing this?  If so, can the functionalities be restored?
> Its likely the reason, yes. But there's quite a few years of history
> between the report and mdv2011 so I cannot say for sure.
> It is the same means to re-enable
>> Then "opt-in" to network access by doing
>>      echo "%_rpmgio        %{nil}" >> /etc/rpm/macros

I changed the behavior a few years back (I've forgot why, there is/was a reason).

Here's the comment (and tested with first URL at the bug report on mdv2011)
I added to bz#64914
If you configure a macro, then ftp/http transport will be re-enabled.

This can be done on the CLI by adding
    -D '_rpmgio .ufdio'
of done persistently by doing
   echo '%_rpmgio .ufdio' >> /etc/rpm/macros

Note that this is "unsupported" (by Mandriva) functionality in RPM.


73 de Jeff
Received on Sat Dec 10 03:56:32 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.