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:22:40 CET
Message-id: <2E31E906-BD5F-4AB8-B7B4-B37B8A3BFB94@me.com>

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

If you run into problems, add -vv --rpmiodebug --ftpdebug (which will
be a lot of output) and post a pointer here and I'll sort out
what isn't working.

The fundamental problem is that its impossible to support
functionality like network transport as "opt in" enabling,
particularly when linux vendors and users insist on disabling
the functionality.

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