Eric Carlson wrote: > I'm trying to install the latest plesk (psa) using yum. I know on a > clean machine it works, but theres been a botched previous install, > m,anually using rpms, before the yum repos was available. Basically > I'm in the situation where I can't install it because yum (& rpm) > thinks its already in and ok, but its not, so I try to remove it but > the remove job has a dependancy on a db entry which will not be > satisfied (and possibly others even if I got past that one): > > [root@xxx Populate]# yum remove psa > Setting up Remove Process > Resolving Dependencies > --> Populating transaction set with selected packages. Please wait. > ---> Package psa.i586 0:7.5.2-fc2.build75050128.11 set to be erased > --> Running transaction check > > Dependencies Resolved > Transaction Listing: > Remove: psa.i586 0:7.5.2-fc2.build75050128.11 > Is this ok [y/N]: y > Downloading Packages: > Running Transaction Test > Finished Transaction Test > Transaction Test Succeeded > Running Transaction > packagemng: db_connect: failed to connect to database: Error: Unknown > database 'psa' > packagemng: db_connect: failed to connect to database: Error: Unknown > database 'psa' > packagemng: Unable to connect to the mysql database > ... > error: %trigger(psa-7.5.2-fc2.build75050128.11.i586) scriptlet failed, > exit status 1 Looks like the trigger scripts are failing. I suggest first doing 'rpm -q psa --triggers' so that you know what they're doing, then do 'rpm -e psa --notriggers' to remove it without running the triggers. Afterwards, do anything from the trigger script by hand that you think needs to be done.