Yum is constantly updating the same programmes:-
Install 1 Package(s) Update 5 Package(s) Remove 0 Package(s)
Total download size: 7.5 M Downloading Packages: (1/6): ntp-4.2.4p0-1.fc6. 100% |=========================| 1.4 MB 00:01 (2/6): bind-9.3.4-3.fc6.i 100% |=========================| 956 kB 00:00 (3/6): openssh-server-4.3 100% |=========================| 252 kB 00:00 (4/6): nfs-utils-1.0.10-7 100% |=========================| 334 kB 00:00 (5/6): pam-0.99.6.2-3.16. 100% |=========================| 924 kB 00:00 (6/6): coreutils-5.97-12. 100% |=========================| 3.6 MB 00:03 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction error: %pre(coreutils-5.97-12.5.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping coreutils-5.97-12.5.fc6 error: %pre(pam-0.99.6.2-3.16.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping pam-0.99.6.2-3.16.fc6 error: %pre(ntp-4.2.4p0-1.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping ntp-4.2.4p0-1.fc6 error: %pre(bind-9.3.4-3.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping bind-9.3.4-3.fc6 error: %pre(openssh-server-4.3p2-19.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping openssh-server-4.3p2-19.fc6 error: %pre(nfs-utils-1.0.10-7.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping nfs-utils-1.0.10-7.fc6 error: %preun(ntp-4.2.4-3.fc6.i386) scriptlet failed, exit status 255 error: %preun(bind-9.3.4-2.fc6.i386) scriptlet failed, exit status 255 error: %preun(openssh-server-4.3p2-14.fc6.i386) scriptlet failed, exit status 255 error: %preun(coreutils-5.97-12.3.fc6.i386) scriptlet failed, exit status 255
Dependency Installed: pam.i386 0:0.99.6.2-3.16.fc6 Updated: bind.i386 31:9.3.4-3.fc6 coreutils.i386 0:5.97-12.5.fc6 nfs-utils.i386 1:1.0.10-7.fc6 ntp.i386 0:4.2.4p0-1.fc6 openssh-server.i386 0:4.3p2-19.fc6 Complete!
What do I do about it ?
Thanks david
david walcroft wrote:
Yum is constantly updating the same programmes:-
Install 1 Package(s) Update 5 Package(s) Remove 0 Package(s)
Total download size: 7.5 M Downloading Packages: (1/6): ntp-4.2.4p0-1.fc6. 100% |=========================| 1.4 MB 00:01 (2/6): bind-9.3.4-3.fc6.i 100% |=========================| 956 kB 00:00 (3/6): openssh-server-4.3 100% |=========================| 252 kB 00:00 (4/6): nfs-utils-1.0.10-7 100% |=========================| 334 kB 00:00 (5/6): pam-0.99.6.2-3.16. 100% |=========================| 924 kB 00:00 (6/6): coreutils-5.97-12. 100% |=========================| 3.6 MB 00:03 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction error: %pre(coreutils-5.97-12.5.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping coreutils-5.97-12.5.fc6 error: %pre(pam-0.99.6.2-3.16.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping pam-0.99.6.2-3.16.fc6 error: %pre(ntp-4.2.4p0-1.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping ntp-4.2.4p0-1.fc6 error: %pre(bind-9.3.4-3.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping bind-9.3.4-3.fc6 error: %pre(openssh-server-4.3p2-19.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping openssh-server-4.3p2-19.fc6 error: %pre(nfs-utils-1.0.10-7.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping nfs-utils-1.0.10-7.fc6 error: %preun(ntp-4.2.4-3.fc6.i386) scriptlet failed, exit status 255 error: %preun(bind-9.3.4-2.fc6.i386) scriptlet failed, exit status 255 error: %preun(openssh-server-4.3p2-14.fc6.i386) scriptlet failed, exit status 255 error: %preun(coreutils-5.97-12.3.fc6.i386) scriptlet failed, exit status 255
Dependency Installed: pam.i386 0:0.99.6.2-3.16.fc6 Updated: bind.i386 31:9.3.4-3.fc6 coreutils.i386 0:5.97-12.5.fc6 nfs-utils.i386 1:1.0.10-7.fc6 ntp.i386 0:4.2.4p0-1.fc6 openssh-server.i386 0:4.3p2-19.fc6 Complete!
What do I do about it ?
Thanks david
This error sounds like it is SELinux related. Try running 'setenforce 0' prior to running yum to update the system. If the updates install correctly and for real this time, it could be either the package scripts or policy for SELinux at fault. It does not sound like a system relabel is needed in this case.
Jim
Jim Cornette wrote:
david walcroft wrote:
Yum is constantly updating the same programmes:-
Install 1 Package(s) Update 5 Package(s) Remove 0 Package(s)
Total download size: 7.5 M Downloading Packages: (1/6): ntp-4.2.4p0-1.fc6. 100% |=========================| 1.4 MB 00:01 (2/6): bind-9.3.4-3.fc6.i 100% |=========================| 956 kB 00:00 (3/6): openssh-server-4.3 100% |=========================| 252 kB 00:00 (4/6): nfs-utils-1.0.10-7 100% |=========================| 334 kB 00:00 (5/6): pam-0.99.6.2-3.16. 100% |=========================| 924 kB 00:00 (6/6): coreutils-5.97-12. 100% |=========================| 3.6 MB 00:03 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction error: %pre(coreutils-5.97-12.5.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping coreutils-5.97-12.5.fc6 error: %pre(pam-0.99.6.2-3.16.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping pam-0.99.6.2-3.16.fc6 error: %pre(ntp-4.2.4p0-1.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping ntp-4.2.4p0-1.fc6 error: %pre(bind-9.3.4-3.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping bind-9.3.4-3.fc6 error: %pre(openssh-server-4.3p2-19.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping openssh-server-4.3p2-19.fc6 error: %pre(nfs-utils-1.0.10-7.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping nfs-utils-1.0.10-7.fc6 error: %preun(ntp-4.2.4-3.fc6.i386) scriptlet failed, exit status 255 error: %preun(bind-9.3.4-2.fc6.i386) scriptlet failed, exit status 255 error: %preun(openssh-server-4.3p2-14.fc6.i386) scriptlet failed, exit status 255 error: %preun(coreutils-5.97-12.3.fc6.i386) scriptlet failed, exit status 255
Dependency Installed: pam.i386 0:0.99.6.2-3.16.fc6 Updated: bind.i386 31:9.3.4-3.fc6 coreutils.i386 0:5.97-12.5.fc6 nfs-utils.i386 1:1.0.10-7.fc6 ntp.i386 0:4.2.4p0-1.fc6 openssh-server.i386 0:4.3p2-19.fc6 Complete!
What do I do about it ?
Thanks david
This error sounds like it is SELinux related. Try running 'setenforce 0' prior to running yum to update the system. If the updates install correctly and for real this time, it could be either the package scripts or policy for SELinux at fault. It does not sound like a system relabel is needed in this case.
Jim
Yes setenforce 0 worked,would an update of selinux policy change anything.
david
david walcroft wrote:
error: %preun(ntp-4.2.4-3.fc6.i386) scriptlet failed, exit status 255 error: %preun(bind-9.3.4-2.fc6.i386) scriptlet failed, exit status 255 error: %preun(openssh-server-4.3p2-14.fc6.i386) scriptlet failed, exit status 255 error: %preun(coreutils-5.97-12.3.fc6.i386) scriptlet failed, exit status 255
Dependency Installed: pam.i386 0:0.99.6.2-3.16.fc6 Updated: bind.i386 31:9.3.4-3.fc6 coreutils.i386 0:5.97-12.5.fc6 nfs-utils.i386 1:1.0.10-7.fc6 ntp.i386 0:4.2.4p0-1.fc6 openssh-server.i386 0:4.3p2-19.fc6 Complete!
What do I do about it ?
Thanks david
This error sounds like it is SELinux related. Try running 'setenforce 0' prior to running yum to update the system. If the updates install correctly and for real this time, it could be either the package scripts or policy for SELinux at fault. It does not sound like a system relabel is needed in this case.
Jim
Yes setenforce 0 worked,would an update of selinux policy change anything.
david
Because of this error, there might be other packages where the %post or %postun scriptlet failed to set permissions, setup users or similar problems. These problems usually cause multiple versions of packages left behind in the rpm database. You might need to clean up certain packages in this condition also. There is a program in yum-utils you could run to see if there are other problems on your system. package-cleanup --problems should let you know which rpms are not installed as intended.
Regarding SELinux, updating to the most recent policy should already have been completed. There was probably things which SELinux tools wer prevented from doing also. I would do the following to relabel the system.
- Drop to runlevel 1 with 'telinit 1' - Run 'setenforce 0' to put SELinux in permissive. mode. - Run 'fixfiles relabel' ( May take some time to complete. I remove the temp files when prompted. I guess the option is your choice.) - Restart the computer after fixfiles completes its tasks.
This should relabel the content of the system and set permissions correct. There are other methods for relabeling the system, like running touch /.autorelabel as root in a shell and then rebooting the system. I personally had troubles even after with this method in the distant past. This method should relabel your system similar to my suggestion.
Anyway, exit code 255 and packages being downloaded and thought by yum to install hit me in the past. I hope these suggestions help. Others might have other solutions.
Jim
david walcroft writes:
Yum is constantly updating the same programmes:-
Install 1 Package(s) Update 5 Package(s) Remove 0 Package(s)
Total download size: 7.5 M Downloading Packages: (1/6): ntp-4.2.4p0-1.fc6. 100% |=========================| 1.4 MB 00:01 (2/6): bind-9.3.4-3.fc6.i 100% |=========================| 956 kB 00:00 (3/6): openssh-server-4.3 100% |=========================| 252 kB 00:00 (4/6): nfs-utils-1.0.10-7 100% |=========================| 334 kB 00:00 (5/6): pam-0.99.6.2-3.16. 100% |=========================| 924 kB 00:00 (6/6): coreutils-5.97-12. 100% |=========================| 3.6 MB 00:03 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction error: %pre(coreutils-5.97-12.5.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping coreutils-5.97-12.5.fc6 error: %pre(pam-0.99.6.2-3.16.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping pam-0.99.6.2-3.16.fc6 error: %pre(ntp-4.2.4p0-1.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping ntp-4.2.4p0-1.fc6 error: %pre(bind-9.3.4-3.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping bind-9.3.4-3.fc6 error: %pre(openssh-server-4.3p2-19.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping openssh-server-4.3p2-19.fc6 error: %pre(nfs-utils-1.0.10-7.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping nfs-utils-1.0.10-7.fc6 error: %preun(ntp-4.2.4-3.fc6.i386) scriptlet failed, exit status 255 error: %preun(bind-9.3.4-2.fc6.i386) scriptlet failed, exit status 255 error: %preun(openssh-server-4.3p2-14.fc6.i386) scriptlet failed, exit status 255 error: %preun(coreutils-5.97-12.3.fc6.i386) scriptlet failed, exit status 255
Dependency Installed: pam.i386 0:0.99.6.2-3.16.fc6 Updated: bind.i386 31:9.3.4-3.fc6 coreutils.i386 0:5.97-12.5.fc6 nfs-utils.i386 1:1.0.10-7.fc6 ntp.i386 0:4.2.4p0-1.fc6 openssh-server.i386 0:4.3p2-19.fc6 Complete!
What do I do about it ?
Figure out why these packages' scripts are failing. I don't see a common denominator in the install scripts for these packages.
There must be multiple reasons.
Taking coreutils as an example, coreutils' %pre script runs find, and /sbin/install-info.
Run 'rpm -V info findutils' to see if the info and findutils packages are corrupted.
Sam Varshavchik wrote:
david walcroft writes:
Yum is constantly updating the same programmes:-
Install 1 Package(s) Update 5 Package(s) Remove 0 Package(s)
Total download size: 7.5 M Downloading Packages: (1/6): ntp-4.2.4p0-1.fc6. 100% |=========================| 1.4 MB 00:01 (2/6): bind-9.3.4-3.fc6.i 100% |=========================| 956 kB 00:00 (3/6): openssh-server-4.3 100% |=========================| 252 kB 00:00 (4/6): nfs-utils-1.0.10-7 100% |=========================| 334 kB 00:00 (5/6): pam-0.99.6.2-3.16. 100% |=========================| 924 kB 00:00 (6/6): coreutils-5.97-12. 100% |=========================| 3.6 MB 00:03 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction error: %pre(coreutils-5.97-12.5.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping coreutils-5.97-12.5.fc6 error: %pre(pam-0.99.6.2-3.16.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping pam-0.99.6.2-3.16.fc6 error: %pre(ntp-4.2.4p0-1.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping ntp-4.2.4p0-1.fc6 error: %pre(bind-9.3.4-3.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping bind-9.3.4-3.fc6 error: %pre(openssh-server-4.3p2-19.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping openssh-server-4.3p2-19.fc6 error: %pre(nfs-utils-1.0.10-7.fc6.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping nfs-utils-1.0.10-7.fc6 error: %preun(ntp-4.2.4-3.fc6.i386) scriptlet failed, exit status 255 error: %preun(bind-9.3.4-2.fc6.i386) scriptlet failed, exit status 255 error: %preun(openssh-server-4.3p2-14.fc6.i386) scriptlet failed, exit status 255 error: %preun(coreutils-5.97-12.3.fc6.i386) scriptlet failed, exit status 255
Dependency Installed: pam.i386 0:0.99.6.2-3.16.fc6 Updated: bind.i386 31:9.3.4-3.fc6 coreutils.i386 0:5.97-12.5.fc6 nfs-utils.i386 1:1.0.10-7.fc6 ntp.i386 0:4.2.4p0-1.fc6 openssh-server.i386 0:4.3p2-19.fc6 Complete!
What do I do about it ?
Figure out why these packages' scripts are failing. I don't see a common denominator in the install scripts for these packages.
There must be multiple reasons.
Taking coreutils as an example, coreutils' %pre script runs find, and /sbin/install-info.
Run 'rpm -V info findutils' to see if the info and findutils packages are corrupted.
'rpm -V info findutils' produces nothing
david