Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 481  / 2 Years ago, thu, november 3, 2022, 8:19:08

I upgraded to Jammy Jellyfish recently and it broke a number of applications and adjustments. I am working on removing/reinstalling them, but Wine is proving difficult.


I ran sudo apt-get purge wine and got the following:


Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'wine' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

which wine shows:


/usr/bin/wine

Is there another removal method I can try?


More From » wine

 Answers
4

There is no actual file named /usr/bin/wine so I think this might be a link or now, a broken link. Run the following command: file /usr/bin/wine to confirm this.


If it is an actual file (not a link) and it was installed through a ppa, there are a few ways to find the offending package.


You can use the dpkg -l command to list all installed packages and you can filter the results to only include those matching "wine" like this:


dpkg -l | grep -i wine

This will return all packages that contain the letters "wine" in the name or description. If a package is listed, uninstall or purge the package.


The other way is to use apt-file to locate the package that provides the /usr/bin/wine file.


First, install apt-file using the following commands:


sudo apt update
sudo apt install apt-file

Then, update it:


sudo apt-file update

Finally, search for the offending package:


apt-file search "/usr/bin/wine"

This should return the package name followed by the path to the file contained in the package.


[#273] Thursday, November 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sharall

Total Points: 407
Total Questions: 127
Total Answers: 121

Location: Saint Helena
Member since Fri, Mar 26, 2021
3 Years ago
;