Antwort: How to extract one file from rpm using yum?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



centos-bounces@xxxxxxxxxx wrote on 31.01.2013 16:55:37:

> Robert Moskowitz <rgm@xxxxxxxxxxxxxxx> 
> Gesendet von: centos-bounces@xxxxxxxxxx
> 
> 31.01.2013 16:55
> 
> Bitte antworten an
> CentOS mailing list <centos@xxxxxxxxxx>
> 
> An
> 
> CentOS mailing list <centos@xxxxxxxxxx>
> 
> Kopie
> 
> Thema
> 
>  How to extract one file from rpm using yum?
> 
> I want to get the original version of /etc/clamd.d/amavis.conf from the 
> amavisd-new rpm to get the defaults to submit a bug report.  I could not 

> figure out how to do this, so I did a reinstall, but it did not replace 
> this file (whatprovides says it comes from this rpm).
> 
> Is there a way to extract just the one file, and better yet, place it 
> elsewhere than its regular destination?
> 
> thanks
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

Hi Robert,

you can extract this file with cpio or open it with mc like a archive 
(zip, tar, ...)
 
 
Mit freundlichen Grüßen
Andreas Reschke
________________________________________________________________

Unix/Linux-Administration
Andreas.Reschke@xxxxxxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux