On Sat, 2007-01-27 at 07:31 -0800, Joe Joe wrote: > I'm running centos 4.4, and when I run any yum command, I get a scriptlet error. From what I read online, this is a package error, but it occurs on every package, and every command. > As you can see below, the error prevents the requested removal from happening. Any help is appreciated... > > ------- > [root@localhost /]# yum remove mysql > Setting up Remove Process > Resolving Dependencies > --> Populating transaction set with selected packages. Please wait. > ---> Package mysql.i386 0:4.1.20-1.RHEL4.1 set to be erased > --> Running transaction check > 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 > --> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14) for package: dovecot > --> Processing Dependency: libmysqlclient.so.14 for package: dovecot > --> Restarting Dependency Resolution with new changes. > --> Populating transaction set with selected packages. Please wait. > ---> Package dovecot.i386 0:0.99.11-4.EL4 set to be erased > --> Running transaction check > > Dependencies Resolved > > ============================================================================= > Package Arch Version Repository Size > ============================================================================= > Removing: > mysql i386 4.1.20-1.RHEL4.1 installed 5.2 M > Removing for dependencies: > dovecot i386 0.99.11-4.EL4 installed 1.4 M > > Transaction Summary > ============================================================================= > Install 0 Package(s) > Update 0 Package(s) > Remove 2 Package(s) > Total download size: 0 > Is this ok [y/N]: y > Downloading Packages: > Running Transaction Test > Finished Transaction Test > Transaction Test Succeeded > Running Transaction > error: %preun(mysql-4.1.20-1.RHEL4.1.i386) scriptlet failed, exit status 255 > error: %preun(dovecot-0.99.11-4.EL4.i386) scriptlet failed, exit status 255 > > Removed: mysql.i386 0:4.1.20-1.RHEL4.1 > Dependency Removed: dovecot.i386 0:0.99.11-4.EL4 > Complete! > [root@localhost /]#yum list mysql > > Setting up repositories > Reading repository metadata in from local files > Installed Packages > mysql.i386 4.1.20-1.RHEL4.1 installed > [root@localhost /]# > > it means the mysql scriptlet is screwed up. try this: rpm -e --noscripts mysql -sv _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxxxxx https://lists.dulug.duke.edu/mailman/listinfo/yum