On 06.05.2014 18:56, Jeffrey Johnson wrote:
==> Results (with --rpmpopt and --macros options edited out for readability):

$ make oma
$ rpm  --version
lt-rpm (RPM) 5.4.15
$ rpm -qp http://rpm5.org/files/popt/popt-1.14-1.i386.rpm
popt-1.14-1.i386
$ rpm -qip 
http://abf-downloads.rosalinux.ru/rosa2012.1/repository/i586/media/main/updates/urpmi-6.71-51-rosa2012.1.noarch.rpm
error: open of 
http://abf-downloads.rosalinux.ru/rosa2012.1/repository/i586/media/main/updates/urpmi-6.71-51-rosa2012.1.noarch.rpm
 failed: Input/output error
error: open of <html> failed: No such file or directory

==> WORKSFORME Q.E.D.

Brr, url in the last example was incorrect.

With correct URL, I get the following:

$ rpm -qip http://abf-downloads.rosalinux.ru/rosa2012.1/repository/x86_64/media/main/updates/urpmi-6.71-60-rosa2012.1.noarch.rpm error: open of http://abf-downloads.rosalinux.ru/rosa2012.1/repository/x86_64/media/main/updates/urpmi-6.71-60-rosa2012.1.noarch.rpm failed: Input/output error error: reading http://abf-downloads.rosalinux.ru/rosa2012.1/repository/x86_64/media/main/updates/urpmi-6.71-60-rosa2012.1.noarch.rpm manifest, non-printable characters found

However, with rpm5.org it works fine:

$ rpm -qip http://rpm5.org/files/popt/popt-1.14-1.i386.rpm
Name : popt Relocations: (not relocatable)
Version : 1.14 Vendor: (none)
Release : 1 Build Date: Ср. 02 апр. 2008 21:40:35
Install Date: (not installed) Build Host: wellfleet.jbj.org
Group : System Environment/Libraries Source RPM: popt-1.14-1.src.rpm
Size : 221078 License: X Consortium
Signature : DSA/SHA1, Ср. 02 апр. 2008 21:40:45, Key ID b873641b2039b291
Summary : A C library for parsing command line parameters.
Architecture: i386
Description :
Popt is a C library for parsing command line parameters. Popt was
heavily influenced by the getopt() and getopt_long() functions, but it
improves on them by allowing more powerful argument expansion. Popt
can parse arbitrary argv[] style arrays and automatically set
variables based on command line arguments. Popt allows command line
arguments to be aliased via configuration files and includes utility
functions for parsing arbitrary strings into argv[] arrays using
shell-like rules.


What can be the reason? Why does rpm -qip http://<bla-bla-bla> works with one site and doesn't work with the other?

--
Regards,
Denis.

Reply via email to