systemadmin.es » Utilidades » rpm: file /home/jordi/ejemplo.rpm is not owned by any package

rpm: file /home/jordi/ejemplo.rpm is not owned by any package

El error “is not owned by any package” se muestra en el caso que estemos intentando obtener información de un paquete que no esta instalado en el sistema:

# rpm -ql ntp-4.2.2p1-9.el5.centos.2.i386.rpm
file /home/jordi/ntp-4.2.2p1-9.el5.centos.2.i386.rpm is not owned by any package

Para poder obtener información de un paquete no instalado primero lo podemos descargar del repositorio mediante yumdownloader. A continuación deberemos usar la opción -p (–package) para indicar que queremos leer el fichero que pasamos como parámetro junto a las opciones, por ejemplo -qi:

# rpm -qi -p ntp-4.2.2p1-9.el5.centos.2.i386.rpm
Name        : ntp                          Relocations: (not relocatable)
Version     : 4.2.2p1                           Vendor: CentOS
Release     : 9.el5.centos.2                Build Date: Tue 19 May 2009 03:58:19 PM CEST
Install Date: (not installed)               Build Host: builder10.centos.org
Group       : System Environment/Daemons    Source RPM: ntp-4.2.2p1-9.el5.centos.2.src.rpm
Size        : 2540874                          License: distributable
Signature   : DSA/SHA1, Tue 19 May 2009 05:06:02 PM CEST, Key ID a8a447dce8562897
URL         : http://www.ntp.org
Summary     : Synchronizes system time using the Network Time Protocol (NTP).
Description :
The Network Time Protocol (NTP) is used to synchronize a computer's
time with another reference time source. The ntp package contains
utilities and daemons that will synchronize your computer's time to
Coordinated Universal Time (UTC) via the NTP protocol and NTP servers.
The ntp package includes ntpdate (a program for retrieving the date
and time from remote machines via a network) and ntpd (a daemon which
continuously adjusts system time).

Install the ntp package if you need tools for keeping your system's
time synchronized via the NTP protocol.

Relacionados

Imprimir Imprimir

Deja un comentario:

XHTML - Tags permitidos:<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>