Click to See Complete Forum and Search --> : error uninstalling wine


walters55
01-02-2003, 12:44 AM
im attempting to unintall wine and im getting an error that reads:

rpm -e wine (what i ran)
result:
error reading informationon serice wine: No such file of directory
error: %preun(wine-20021219-1rh8winehq) scriptlet failed, exit status 1

Anyone know what this means? I'm a newbie and this is beyond me. I'm attempting to uninstall the version of wine i got from winehq and install codeweavers wine. if anyone knows how to dig me out of this I'll be more than happy and appreciative. Thanks.
Matt

walters55
01-02-2003, 06:53 AM
by the way,
when i try running rpm to install wine it tells me that its already installed and upgrading doesnt seem to help. i think something was deleted or never created and now it doesnt want to comply with any commands.
matt

mdwatts
01-02-2003, 10:56 AM
You could try some of the uninstall options.


UNINSTALL OPTIONS
The general form of an rpm uninstall command is

rpm -e <package_name>+


--allmatches
Remove all versions of the package which match <package_name>. Normally an
error is issued if <package_name> matches multiple packages.

--noscripts
Don't execute the preuninstall or postuninstall scripts.

--notriggers
Don't execute scripts which are triggered by the removal of this package.

--nodeps
Don't check dependencies before uninstalling the packages.

--test Don't really uninstall anything, just go through the motions. Useful in
conjunction with the -vv option.


Try --nodeps first and if that doesn't work, try --noscripts.