我正在使用我的旧服务器。我尝试运行它yum update
,但似乎出现了问题。
到目前为止,我已尝试将该日志目录设置为 777,并将其中的 2 个日志文件也设置为相同。
这没用。有什么想法吗?
# yum update
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
* base: centos.quelquesmots.fr
* epel: mirrors.ircam.fr
* extras: centos.quelquesmots.fr
* updates: centos.quelquesmots.fr
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.2.15-30.el6.centos will be updated
---> Package httpd.x86_64 0:2.2.15-69.el6.centos will be an update
--> Finished Dependency Resolution
Dependencies Resolved
===========================================================================================================================================================================================================
Package Arch Version Repository Size
===========================================================================================================================================================================================================
Updating:
httpd x86_64 2.2.15-69.el6.centos base 836 k
Transaction Summary
===========================================================================================================================================================================================================
Upgrade 1 Package(s)
Total download size: 836 k
Is this ok [y/N]: y
Downloading Packages:
httpd-2.2.15-69.el6.centos.x86_64.rpm | 836 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : httpd-2.2.15-69.el6.centos.x86_64 1/2
Error unpacking rpm package httpd-2.2.15-69.el6.centos.x86_64
warning: /etc/httpd/conf/httpd.conf created as /etc/httpd/conf/httpd.conf.rpmnew
error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename
httpd-2.2.15-30.el6.centos.x86_64 was supposed to be removed but is not!
Verifying : httpd-2.2.15-30.el6.centos.x86_64 1/2
Verifying : httpd-2.2.15-69.el6.centos.x86_64 2/2
Failed:
httpd.x86_64 0:2.2.15-30.el6.centos httpd.x86_64 0:2.2.15-69.el6.centos
Complete!
尝试另一个命令:
# yum install google-chrome-stable
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.quelquesmots.fr
* epel: mirrors.ircam.fr
* extras: centos.quelquesmots.fr
* updates: centos.quelquesmots.fr
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:71.0.3578.98-1 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.16)(64bit) for package: google-chrome-stable-71.0.3578.98-1.x86_64
--> Processing Dependency: liberation-fonts for package: google-chrome-stable-71.0.3578.98-1.x86_64
--> Processing Dependency: libgtk-3.so.0()(64bit) for package: google-chrome-stable-71.0.3578.98-1.x86_64
--> Processing Dependency: libappindicator3.so.1()(64bit) for package: google-chrome-stable-71.0.3578.98-1.x86_64
--> Processing Dependency: libatspi.so.0()(64bit) for package: google-chrome-stable-71.0.3578.98-1.x86_64
--> Processing Dependency: libgdk-3.so.0()(64bit) for package: google-chrome-stable-71.0.3578.98-1.x86_64
--> Processing Dependency: libatk-bridge-2.0.so.0()(64bit) for package: google-chrome-stable-71.0.3578.98-1.x86_64
--> Finished Dependency Resolution
Error: Package: google-chrome-stable-71.0.3578.98-1.x86_64 (google-chrome)
Requires: libatk-bridge-2.0.so.0()(64bit)
Error: Package: google-chrome-stable-71.0.3578.98-1.x86_64 (google-chrome)
Requires: libgtk-3.so.0()(64bit)
Error: Package: google-chrome-stable-71.0.3578.98-1.x86_64 (google-chrome)
Requires: libappindicator3.so.1()(64bit)
Error: Package: google-chrome-stable-71.0.3578.98-1.x86_64 (google-chrome)
Requires: libatspi.so.0()(64bit)
Error: Package: google-chrome-stable-71.0.3578.98-1.x86_64 (google-chrome)
Requires: libc.so.6(GLIBC_2.16)(64bit)
Error: Package: google-chrome-stable-71.0.3578.98-1.x86_64 (google-chrome)
Requires: liberation-fonts
Error: Package: google-chrome-stable-71.0.3578.98-1.x86_64 (google-chrome)
Requires: libgdk-3.so.0()(64bit)
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
httpd-2.2.15-30.el6.centos.x86_64 has missing requires of httpd-tools = ('0', '2.2.15', '30.el6.centos')
httpd-devel-2.2.15-69.el6.centos.x86_64 has missing requires of httpd = ('0', '2.2.15', '69.el6.centos')