LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 01-15-2024, 10:33 PM   #1
WhyLinux0
Member
 
Registered: Apr 2022
Posts: 92

Rep: Reputation: 0
Question [Solved]Can't remove WINE from Mint


I know, what a surprise. Mint 20.3. I had it installed from software manager, never worked, uninstalled it from software manager. Thought that was the end until I tried to change version of mint and it says I have the following 3 files and to remove them winehq-bookworm.sources, winehq-focal.sources and winehq-trixie.sources. I find all 3 in the file system etc apt sources.list. Normal delete tries don't give option to delete or move to trash. I've tried a ton of CLI to delete and get "No such file or directory" or similar. I've also looked in installed packages but none are listed there. I can re-install the whole version fresh but removing these files if possible seem to be the hangup?

Last edited by WhyLinux0; 01-16-2024 at 07:55 PM.
 
Old 01-16-2024, 12:18 AM   #2
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,416
Blog Entries: 43

Rep: Reputation: 36
Why would you ever want to uninstall wine, once installed, unless in your case, it's not working? You may actually need it someday (not that I'm advocating for leaving and going entirely to windows, especially in your case), but it is a program desinged to run windows software. Unless you are setting up some specialized system, I don't know why you wouldn't want that. In it's domain, it's like the best of linux AND windows. I also advocate for using mostly linux software on linux, but aren't there a few times when you just can't? I want the world to be different, but it's not.

As far as removing them, in the straight way to solve your problem, I know it's annoying, but my best guess is if removing the OS and reinstalling will fix it, and you've tried everything else, then it might be your best bet. Or how about timeshift, before you do that? Anyway, on some fresh install, I would see if you can get wine to work. Maybe you need the 64 bit version or something for it to run, as that, in the past, was sometimes possible. I just confirmed that wine IS installed by default, pretty much. You just have it there, so maybe reinstall, don't try to install it, and try to use it, like you wanted. I bet that will work. It may break things to uninstall and reinstall it alone.

If you're not happy with any of this, consider trying upstream, downstream, or switching to another branch for distributions, but of course, only as last resort. Hopefully these give you ideas.
 
Old 01-16-2024, 12:31 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,852

Rep: Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310Reputation: 7310
that is not wine, but the config of the package management system. You only need to remove those files if you wish (as root).
 
1 members found this post helpful.
Old 01-16-2024, 12:43 AM   #4
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Code:
sudo rm /etc/apt/sources.list.d/wine*
 
1 members found this post helpful.
Old 01-16-2024, 07:57 PM   #5
WhyLinux0
Member
 
Registered: Apr 2022
Posts: 92

Original Poster
Rep: Reputation: 0
Thanks for the reply's. enigma9o7 even after at least 15 different cli's that didn't work, your's did the trick, thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine Wine Wine asumofparts Linux - Software 3 10-02-2010 02:29 PM
A wine question: Theming wine or changing wine's colour scheme PatrickMay16 General 8 12-17-2006 06:53 AM
wine error- can't install or remove it angryfirelord Linux - Games 1 05-20-2006 12:30 PM
Link targets - problems with Wine (Though not Wine specific - Wine site doesn't help) Kevjml Linux - Newbie 1 01-13-2006 07:53 AM
Wine, Wine, Wine!! Wolf Linux - Software 1 01-20-2003 12:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration