Force package install using yum?

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

 



Hi Everyone,

I have a CentOS 7 box that's refusing a rpm update. I suspect it has
something to do with SCL enabled. The 'yum update' output is shown
below.

I need to force this package to install. I don't give a damn about the
log files. I need that server patched since it is forward facing.

How do I force the package installation?

Thanks in advance.

====================

Running transaction
  Updating   : httpd24-httpd-2.4.34-18.el7.x86_64                           1/2
Error unpacking rpm package httpd24-httpd-2.4.34-18.el7.x86_64
error: unpacking of archive failed on file
/opt/rh/httpd24/root/etc/httpd/logs: cpio: rename
httpd24-httpd-2.4.34-15.el7.x86_64 was supposed to be removed but is not!
  Verifying  : httpd24-httpd-2.4.34-15.el7.x86_64                           1/2
  Verifying  : httpd24-httpd-2.4.34-18.el7.x86_64                           2/2
Failed:
  httpd24-httpd.x86_64 0:2.4.34-15.el7   httpd24-httpd.x86_64 0:2.4.34-18.el7

====================

My attempt to force it from
https://www.redhat.com/archives/fedora-list/2007-October/msg02953.html:

# yum localinstall httpd24-httpd-2.4.34-18.el7.x86_64
Loaded plugins: fastestmirror
Skipping: httpd24-httpd-2.4.34-18.el7.x86_64, filename does not end in .rpm.
Nothing to do
# yum localinstall httpd24-httpd-2.4.34-18.el7.x86_64.rpm
Loaded plugins: fastestmirror
Cannot open: httpd24-httpd-2.4.34-18.el7.x86_64.rpm. Skipping.
Nothing to do
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux