Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   re-installing a package without removing it? (http://www.linux-archive.org/centos/16954-re-installing-package-without-removing.html)

Ignacio Vazquez-Abrams 12-11-2007 09:44 AM

re-installing a package without removing it?
 
On Fri, 2007-12-07 at 11:54 +1100, Amos Shapira wrote:
> 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?

Not as described, although you can use yumdownloader in yum-utils to
pull down the package, and a plugin can be written for yum that allows
this.

--
Ignacio Vazquez-Abrams <ivazqueznet@gmail.com>

PLEASE don't CC me; I'm already subscribed
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 07:43 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.