On 12/21/06, Edward Quick <edwardquick@xxxxxxxxxxx> wrote:
Hi, I'm trying to install an RPM I've built on Redhat onto a Solaris 8 (Sparc) box, and the only way I can get it to install anything is if I issue it with the --noscripts flag eg: rpm --nodeps --ignoreos --ignorearch --noscripts --install apache-instance-ohdev04-1-1.i386.rpm It's the same when I run rpm --erase. If I don't include --noscripts, nothing gets installed/uninstalled This is the verbose output when I try to install without the --noscripts flag: rpm --nodeps --ignoreos --ignorearch --install -vvv apache-instance-ohdev04-1-1.i386.rpm D: counting packages to install D: found 1 packages D: looking for packages to download D: retrieved 0 packages D: New Header signature D: Signature size: 180 D: Signature pad : 4 D: sigsize : 184 D: Header + Archive: 32059 D: expected size : 32059 D: opening db index /opt/sfw/lib/rpm/Packages create mode=0x102 D: locked db index /opt/sfw/lib/rpm/Packages D: found 0 source and 1 binary packages D: installing binary packages D: getting list of mounted filesystems D: opening db index /opt/sfw/lib/rpm/Name create mode=0x102 D: opening db index /opt/sfw/lib/rpm/Basenames create mode=0x102 D: opening db index /opt/sfw/lib/rpm/Group create mode=0x102 D: opening db index /opt/sfw/lib/rpm/Requirename create mode=0x102 D: opening db index /opt/sfw/lib/rpm/Providename create mode=0x102 D: opening db index /opt/sfw/lib/rpm/Conflictname create mode=0x102 D: opening db index /opt/sfw/lib/rpm/Triggername create mode=0x102 D: opening db index /opt/sfw/lib/rpm/Depends create mode=0x102 D: New Header signature D: Signature size: 180 D: Signature pad : 4 D: sigsize : 184 D: Header + Archive: 32059 D: expected size : 32059 D: package: apache-instance-ohdev04-1-1 files test = 0 D: file: /etc/rc.d/init.d/ohdev04-apache action: create D: file: /etc/rc.d/init.d/ohdev04-tomcat action: create D: file: /oh/apache/ohdev04 action: create D: file: /oh/apache/ohdev04/bin action: create D: file: /oh/apache/ohdev04/bin/.apache-tomcatctl action: create D: file: /oh/apache/ohdev04/bin/.install action: create D: file: /oh/apache/ohdev04/bin/.install/apache-instance-ohdev04.spec action: create D: file: /oh/apache/ohdev04/bin/.install/post-install action: create D: file: /oh/apache/ohdev04/bin/.install/pre-uninstall action: create D: file: /oh/apache/ohdev04/bin/.install/set-appconf action: create D: file: /oh/apache/ohdev04/bin/.install/set-bootscripts action: create D: file: /oh/apache/ohdev04/bin/.install/set-cron action: create D: file: /oh/apache/ohdev04/bin/.install/set-permissions action: create D: file: /oh/apache/ohdev04/bin/.install/set-sudoers action: create D: file: /oh/apache/ohdev04/bin/apache-bootscript action: create D: file: /oh/apache/ohdev04/bin/apache-tomcatctl action: create D: file: /oh/apache/ohdev04/bin/apache_log_cleanup.sh action: create D: file: /oh/apache/ohdev04/bin/apachectl action: create D: file: /oh/apache/ohdev04/bin/catalina.sh action: create D: file: /oh/apache/ohdev04/bin/setclasspath.sh action: create D: file: /oh/apache/ohdev04/bin/setenv.sh action: create D: file: /oh/apache/ohdev04/bin/shutdown.sh action: create D: file: /oh/apache/ohdev04/bin/startup.sh action: create D: file: /oh/apache/ohdev04/bin/tomcat-bootscript action: create D: file: /oh/apache/ohdev04/bin/tomcatctl action: create D: file: /oh/apache/ohdev04/cgi-bin action: create D: file: /oh/apache/ohdev04/conf action: create D: file: /oh/apache/ohdev04/conf/ohdev04.conf action: create D: file: /oh/apache/ohdev04/conf/server.xml action: create D: file: /oh/apache/ohdev04/conf/ssl action: create D: file: /oh/apache/ohdev04/conf/ssl.conf action: create D: file: /oh/apache/ohdev04/conf/ssl/ohdev04.baplc.com.crt action: create D: file: /oh/apache/ohdev04/conf/ssl/ohdev04.baplc.com.csr action: create D: file: /oh/apache/ohdev04/conf/ssl/ohdev04.baplc.com.key action: create D: file: /oh/apache/ohdev04/conf/ssl/passphrase action: create D: file: /oh/apache/ohdev04/conf/tomcat-users.xml action: create D: file: /oh/apache/ohdev04/conf/web.xml action: create D: file: /oh/apache/ohdev04/httpdocs action: create D: file: /oh/apache/ohdev04/logs action: create D: file: /oh/apache/ohdev04/temp action: create D: file: /oh/apache/ohdev04/webapps action: create D: file: /oh/apache/ohdev04/work action: create D: file: /oh/logs/apache/ohdev04 action: create D: running preinstall script (if any) D: closed db index /opt/sfw/lib/rpm/Depends D: closed db index /opt/sfw/lib/rpm/Triggername D: closed db index /opt/sfw/lib/rpm/Conflictname D: closed db index /opt/sfw/lib/rpm/Providename D: closed db index /opt/sfw/lib/rpm/Requirename D: closed db index /opt/sfw/lib/rpm/Group D: closed db index /opt/sfw/lib/rpm/Basenames D: closed db index /opt/sfw/lib/rpm/Name D: closed db index /opt/sfw/lib/rpm/Packages
This is mystifying. I keep looking but I don't see anything about the return from the pre-install script. Nor do I see anything comming from a post-install script, finally it never seems to transition from pre-install to the FSM (file state machine), and there are no error messages. OK here are some standard questions: - What version of rpm did you build it with? - What version of RedHat where you on when you build it? - What version of rpm is on your solaris box? Jeff do you have any ideas? ...james _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list