Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently installed wine-20050524-1fc2winehq.rpm in fedora using the rpm -ivh command. When i run a wine command the following error occurs;
bash: wine: command not found
which leads me to believe that wine was not installed properly. so i ran rpm -e wine and the rpm -e wine-20050524-1fc2winehq with the following output;
error reading information on service wine: No such file or directory
error: %preun(wine-20050524-1fc2winehq) scriptlet failed, exit status 1
when i search for wine in the / filesystem, the only files I find are 0 bytes in size. A quick check of the root and (user) homes, I find no .wine folder in either. when i open synapic to see if I re-download the program, it is apparently already installed and I get the same output as the rpm -e wine command when i try to completely remove the package from within synaptic. Any suggestions as to how I can fix the wine installation?
Firstly, open up a process manager (top, gnome-system-monitor, whatever) and kill any wine-related processes that may be running. This may be
wine
wineserver
wine-preloader
Make sure there's nothing with 'wine' in its name running.
While you're there, make sure that there's no rpm processes running either. It's possible that some conflict between a zombie wine process and your attempt to uninstall caused RPM to fail, leaving a zombie RPM process, which would have caused your further attempts to install or uninstall to fail as well. If you do find that you have to end/kill some processes, and you succeed in doing that, try the uninstall again-- maybe it will work correctly.
If not--- well, your Wine install may not have been borked before (when you thought it was), but it definitely is now. And it looks like your RPM database is, too. I'm not a Fedora user, but I do know that RPM includes commands to rebuild the database. If there's not an entry in Synaptic to let you do this easily, then I'd suggest hitting man rpm and finding that command; maybe rebuilding the database will enable Synaptic (and RPM) to know what's installed and what isn't.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.