[CentOS] yum update error

Sungsoo Kim
2006-04-02T09:56:14Z

I wanted to update to CentOS 4.3 from CentOS 4.2.
While updating packages using yum, there was serveral error messages,
and I've found that some packages has not been updated.

So I tried to update again but the packages would not be updated.
I attached the messages shown below.


Sungsoo Kim

-------------------------------------------

[root at phobos ~]# yum update
Setting up Update Process
Setting up repositories
update                    100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package kernel.x86_64 0:2.6.9-34.EL set to be installed
---> Package initscripts.x86_64 0:7.93.24.EL-1.1.centos4 set to be updated
---> Package nscd.x86_64 0:2.3.4-2.19 set to be updated
---> Package squid.x86_64 7:2.5.STABLE6-3.4E.12 set to be updated
---> Package diskdumputils.x86_64 0:1.2.8-2 set to be updated
---> Package hal.x86_64 0:0.4.2-3.EL4 set to be updated
---> Package kernel-smp.x86_64 0:2.6.9-34.EL set to be installed
--> Running transaction check

Dependencies Resolved

============================================================================
Package                 Arch       Version          Repository        Size
============================================================================Installing:
 kernel                  x86_64     2.6.9-34.EL      base               11 M
 kernel-smp              x86_64     2.6.9-34.EL      base               10 M
Updating:
 diskdumputils           x86_64     1.2.8-2          base               56 k
 hal                     x86_64     0.4.2-3.EL4      base              168 k
 initscripts             x86_64     7.93.24.EL-1.1.centos4  base
1.2 M
 nscd                    x86_64     2.3.4-2.19       base              130 k
 squid                   x86_64     7:2.5.STABLE6-3.4E.12  base
1.2 M

Transaction Summary
============================================================================Install
2 Package(s)
Update       5 Package(s)
Remove       0 Package(s)
Total download size: 24 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
error: %pre(hal-0.4.2-3.EL4.x86_64) scriptlet failed, exit status 255
error:   install: %pre scriptlet failed (2), skipping hal-0.4.2-3.EL4
error: %pre(diskdumputils-1.2.8-2.x86_64) scriptlet failed, exit status 255
error:   install: %pre scriptlet failed (2), skipping diskdumputils-1.2.8-2
error: %pre(squid-2.5.STABLE6-3.4E.12.x86_64) scriptlet failed, exit status
255
error:   install: %pre scriptlet failed (2), skipping
squid-2.5.STABLE6-3.4E.12
error: %pre(nscd-2.3.4-2.19.x86_64) scriptlet failed, exit status 255
error:   install: %pre scriptlet failed (2), skipping nscd-2.3.4-2.19
error: %pre(initscripts-7.93.24.EL-1.1.centos4.x86_64) scriptlet failed,
exit status 255
error:   install: %pre scriptlet failed (2), skipping
initscripts-7.93.24.EL-1.1.centos4
error: %pre(kernel-smp-2.6.9-34.EL.x86_64) scriptlet failed, exit status 255
error:   install: %pre scriptlet failed (2), skipping kernel-smp-2.6.9-34.EL
error: %pre(kernel-2.6.9-34.EL.x86_64) scriptlet failed, exit status 255
error:   install: %pre scriptlet failed (2), skipping kernel-2.6.9-34.EL
error: %preun(initscripts-7.93.20.EL-1.x86_64) scriptlet failed, exit status
255
error: %preun(nscd-2.3.4-2.13.x86_64) scriptlet failed, exit status 255
error: %preun(squid-2.5.STABLE6-3.4E.11.x86_64) scriptlet failed, exit
status 255
error: %preun(diskdumputils-1.1.9-4.x86_64) scriptlet failed, exit status
255
error: %preun(hal-0.4.2-1.EL4.x86_64) scriptlet failed, exit status 255

Installed: kernel.x86_64 0:2.6.9-34.EL kernel-smp.x86_64 0:2.6.9-34.EL
Updated: diskdumputils.x86_64 0:1.2.8-2 hal.x86_64 0:0.4.2-3.EL4
initscripts.x86_64 0:7.93.24.EL-1.1.centos4 nscd.x86_64 0:2.3.4-2.19
squid.x86_64 7:2.5.STABLE6-3.4E.12
Complete!