re-installing a package without removing it?

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



Hello,

I've just noticed that the file /etc/ha.d/resource.d/drbddisk, which
belongs to package drbd-8.0.6-1.el5.centos, is missing from one of my
test machines:

# rpm --verify drbd
S.5....T c /etc/drbd.conf
missing     /etc/ha.d/resource.d/drbddisk

I'm looking at this as an opporunity to learn something about RPM
which bugged me for a while - in Debian, aptitude and apt-get provide
options to re-install existing package without removing it.

If I understand this correctly, then "rpm -i --force
drbd-8.0.6-1.el5.centos.rpm" would re-install the package. Is this
correct?

The rpm solution would require me to find and manually download the
rpm file. Is there a way to do this through yum?

Thanks,

--Amos
_______________________________________________
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