After a yum update (yesterday), I am now unable to install any rpm package. An example of the error message is duplicated below:
%pre(VMwareWorkstation-5.0.0-13124.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping VMwareWorkstation-5.0.0-13124
Could anyone help? Thanks in advance.
what version of CentOS?
-Marco Garza
----- Original Message ----- From: "Ping-Wu Zhang" pwzhangz@gmail.com To: centos@centos.org Sent: Thursday, May 26, 2005 10:43 PM Subject: [CentOS] rpm problem after recent yum update
After a yum update (yesterday), I am now unable to install any rpm package. An example of the error message is duplicated below:
%pre(VMwareWorkstation-5.0.0-13124.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping VMwareWorkstation-5.0.0-13124
Could anyone help? Thanks in advance. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS 4. Yum updated less than one week ago.
On 5/26/05, Marco Garza testuser@ccskavenger.info wrote:
what version of CentOS?
-Marco Garza
----- Original Message ----- From: "Ping-Wu Zhang" pwzhangz@gmail.com To: centos@centos.org Sent: Thursday, May 26, 2005 10:43 PM Subject: [CentOS] rpm problem after recent yum update
After a yum update (yesterday), I am now unable to install any rpm package. An example of the error message is duplicated below:
%pre(VMwareWorkstation-5.0.0-13124.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping VMwareWorkstation-5.0.0-13124
Could anyone help? Thanks in advance. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 266.11.17 - Release Date: 5/25/2005
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 5/26/05, Ping-Wu Zhang pwzhangz@gmail.com wrote:
After a yum update (yesterday), I am now unable to install any rpm package. An example of the error message is duplicated below:
%pre(VMwareWorkstation-5.0.0-13124.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping VMwareWorkstation-5.0.0-13124
Could anyone help? Thanks in advance.
The output of this (fix the rpm package name if I got it wrong) should be the script that fails:
rpm -q --queryformat "%{PREIN}\n" -p VMwareWorkstation-5.0.0-13124.i386.rpm
HTH, Zoran
Thanks for the help. However, it appears that my rpm is broken. How to fix rpm when rpm itself is broken? Thanks again.
On 5/27/05, Zoran Milojevic kizontije@gmail.com wrote:
On 5/26/05, Ping-Wu Zhang pwzhangz@gmail.com wrote:
After a yum update (yesterday), I am now unable to install any rpm package. An example of the error message is duplicated below:
%pre(VMwareWorkstation-5.0.0-13124.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping VMwareWorkstation-5.0.0-13124
Could anyone help? Thanks in advance.
The output of this (fix the rpm package name if I got it wrong) should be the script that fails:
rpm -q --queryformat "%{PREIN}\n" -p VMwareWorkstation-5.0.0-13124.i386.rpm
HTH, Zoran -- Everything we hear is an opinion, not a fact. Everything we see is a perspective, not the truth. --Marcus Aurelius _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 5/27/05, Ping-Wu Zhang pwzhangz@gmail.com wrote:
Thanks for the help. However, it appears that my rpm is broken. How to fix rpm when rpm itself is broken? Thanks again.
You have not provided enough information.
- run the commands that are failing - search google and/or google groups for the error messages you've received to see if someone else had a similar problem and what the solution was - specifically, search here: http://groups-beta.google.com/group/linux.redhat.rpm - try the solution you've found - if it does not work, post the error messages here, or in linux.redhat.rpm newsgroup, and include everything you tried and why it did not work.
Then someone might be able to help.
Zoran
Thanks for the kind help. It appears that if I add the following option, --noscripts , when running rpm, then the problem went away. However, I don't know how to work this option into yum. Specifically, I am having problem updating/installing firefox. The error message I received is:
error: %post(firefox-1.0.4-1.4.1.centos4.i386) scriptlet failed, exit status 255
I am dumping the entire output as follows:
[pwzhangz@localhost dl]$ sudo yum install firefox Setting up Install Process Setting up Repos kbs-CentOS-Extras 100% |=========================| 951 B 00:00 kbs-CentOS-Misc 100% |=========================| 951 B 00:00 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 kbs-CentOS: ################################################## 1002/1002 kbs-CentOS: ################################################## 60/60 update : ################################################## 142/142 base : ################################################## 1404/1404 addons : ################################################## 2/2 extras : ################################################## 30/30 Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package firefox.i386 0:1.0.4-1.4.1.centos4 set to be updated --> Running transaction check
Dependencies Resolved Transaction Listing: Install: firefox.i386 0:1.0.4-1.4.1.centos4 - update Total download size: 16 M Is this ok [y/N]: y Downloading Packages: Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: firefox 100 % done 1/1 error: %post(firefox-1.0.4-1.4.1.centos4.i386) scriptlet failed, exit status 255 Installed: firefox.i386 0:1.0.4-1.4.1.centos4 Complete!
(Thereafter, I was not able to start firefox.)
Thanks for the help again, this forum is unbelievable.
- specifically, search here:
http://groups-beta.google.com/group/linux.redhat.rpm
Zoran