RPM dependency scriptlet error did not stop yum install

Stephen Ellis <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Hi,

I'm using:
rpm-4.4.2.3-18.el5.x86_64
yum-3.2.22-20.el5.centos.noarch

I'm building RPMs and found this behavior when my dependency failed to install yet the installation continued.


# yum install xxx-yyy.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package xxx-yyy.x86_64 0:7.4-5 set to be updated
--> Processing Dependency: xxx-base-server >= 1.0 for package: xxx-yyy
--> Running transaction check
---> Package xxx-base-server.x86_64 0:1.0-3 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================
Package                             Arch                       Version                      Repository               Size
===========================================================================================================================
Installing:
xxx-yyy                           x86_64                     7.4-5                        amc                     258 k
Installing for dependencies:
xxx-base-server                     x86_64                     1.0-3                        amc                      54 k

Transaction Summary
===========================================================================================================================
Install      2 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 313 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): xxx-base-server-1.0-3.x86_64.rpm                                                             |  54 kB     00:00
(2/2): xxx-yyy-7.4-5.x86_64.rpm                                                                   | 258 kB     00:00
---------------------------------------------------------------------------------------------------------------------------
Total                                                                                      6.3 MB/s | 313 kB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
<My scriptlet error message>
error: %pre(xxx-base-server-1.0-3.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping xxx-base-server-1.0-3
  Installing     : xxx-yyy                                                                                           2/2
Installed:
  xxx-yyy.x86_64 0:7.4-5

Dependency Installed:
  xxx-base-server.x86_64 0:1.0-3

Complete!


Thanks for any help given!

- Stephen

_______________________________________________
Yum mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.