When I install some RPMS like openoffice 3 on centos x85_64 is there some command that will leave all the actual files alone (leave them installed) but just remove the RPM name from the RPM database so centos now things the packages are not installed? Reason is I was wanting to do this so a next yum update does not get all confused... and the yum update happens just like I never installed openoffice 3. is there a way to do that ? Jerry
On Thu, Aug 13, 2009 at 13:11, Jerry Geis<geisj at pagestation.com> wrote:> When I install some RPMS like openoffice 3 on centos x85_64 > is there some command that will leave all the actual files alone (leave > them installed) > but just remove the RPM name from the RPM database so centos now things > the packages are not installed?rpm -e --justdb package -- Marcelo "?No ser? acaso que ?sta vida moderna est? teniendo m?s de moderna que de vida?" (Mafalda)
At Thu, 13 Aug 2009 12:11:49 -0400 CentOS mailing list <centos at centos.org> wrote:> > When I install some RPMS like openoffice 3 on centos x85_64 > is there some command that will leave all the actual files alone (leave > them installed) > but just remove the RPM name from the RPM database so centos now things > the packages are not installed? > > Reason is I was wanting to do this so a next yum update does not get all > confused...That should not be a problem. yum update will see that your installed version (3.<mumble>) is greater than the version in the repository (2.<mumble>) and will then skip updating openoffice.> and the yum update happens just like I never installed openoffice 3. > > is there a way to do that ? > > Jerry > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > >-- Robert Heller -- 978-544-6933 Deepwoods Software -- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows heller at deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/