cancel
Showing results for 
Search instead for 
Did you mean: 

WINE - not the liquid version

shutter
Community Veteran
Posts: 22,348
Thanks: 3,844
Fixes: 67
Registered: ‎06-11-2007

WINE - not the liquid version

Running Linux Mint 22 WILMA... NEW install.. all programs and files and folders transferred manually from another laptop.

(my preferred method - I have more control  over what is transerred rather than doing a clone job )

I have a program that runs within WINE  called CWCOM . to transmit and receive morse over the internet, world wide. I use it several times a day (normally) and chat with other likeminded persons, in far away places , like South Africa, Australia, New Zealand, Chile, Mexico, the USA, European countries too.. .Been using it for about 15 yrs now.on Linux Mint with WINE.

Latest version of WINE has done something that chops up the "bits" that make the morse code sound, and that gives off erroroneous on screen decoding in plain language. Latest version is WINE10.. however I have found out that I managed ( somehow.. ) to get rid of WINE 10, and download previous version WINE9... My CWCOM program works perfectly as it always has done..( was written for Windows 95... so a long long time ) .

Question I have concerning this.. is  How can I stop the automatic update fo WINE from 9 to 10.. as this will cause me problems again..

I cannot see an update in the Update Manager listings provided for this new install... but I want to know if it will be showing in the future Update Manager.... if so... then I shall have to keep an eagle eye out, and deselect it...

Any positive advice welcome.

 

9 REPLIES 9
dvorak
Moderator
Moderator
Posts: 29,862
Thanks: 6,670
Fixes: 1,487
Registered: ‎11-01-2008

Re: WINE - not the liquid version

To prevent Wine from updating from version 9 to version 10 on Linux, you can use the apt-mark command to hold the package at its current version. This will prevent it from being automatically upgraded when you run system updates. Here are the steps you can follow:

Open Terminal: You need to use the terminal to execute the following commands.

Hold the Wine Package: Use the apt-mark command to hold the Wine package. Replace <package-name> with the actual package name of Wine you have installed (e.g., wine or winehq-stable).



Bash
sudo apt-mark hold <package-name>
This command will mark the package as held back, preventing it from being upgraded during system updates

Verify the Hold: You can verify that the package is on hold by listing all held packages:


Bash
apt-mark showhold
This will display all packages that are currently held and will not be upgraded

Remove the Hold (if needed): If you ever want to allow the package to be upgraded again, you can remove the hold with:


Bash
sudo apt-mark unhold <package-name>
By following these steps, you can effectively prevent Wine from upgrading to a newer version until you decide to remove the hold.

Customer / Moderator
If it helped click the thumb
If it fixed it click 'This fixed my problem'
Mav
Moderator
Moderator
Posts: 22,823
Thanks: 4,935
Fixes: 518
Registered: ‎06-04-2007

Re: WINE - not the liquid version

Moderator's note(s):

Thread moved from General Chat  to Tech Help.

Forum Moderator and Customer
Courage is resistance to fear, mastery of fear, not absence of fear - Mark Twain
He who feared he would not succeed sat still

outcast
Seasoned Pro
Posts: 502
Thanks: 198
Fixes: 9
Registered: ‎11-01-2025

Re: WINE - not the liquid version

A different way of achieving a package version 'hold', can be done with the Synaptic Package Manager.

Open the Synaptic GUI, then 'Search' for the package you want to version lock or unlock

Click on the package that you want to lock or unlock (so that the line gets highlighted - as shown below)

Synaptic version lock.png

 

Then click on [Package] in the top line menu, then from the drop down list click on [Lock Version]

.

outcast
Seasoned Pro
Posts: 502
Thanks: 198
Fixes: 9
Registered: ‎11-01-2025

Re: WINE - not the liquid version

While we're on a topic about morse code, I saw this YouTube short the other day and thought of @shutter  😎

then discovered that channel is full of morse shorts and other comms videos.

.

shutter
Community Veteran
Posts: 22,348
Thanks: 3,844
Fixes: 67
Registered: ‎06-11-2007

Re: WINE - not the liquid version

Thanks to @Mav  for moving this to the proper board Wink

Thanks to @dvorak  for his techy Terminal inputs... Looks a bit complicated... but hopefully copy and paste will work.. ( leaving out the "comment"/"explanation" lines. Smiley

Thanks to @outcast  for his simpler version.....   A question regarding both actions... If only wine9 stable is selected, does that mean that because wine10 is now running/operational.. there will be no further updates/corrections to wine9 ? and all the other sub-sections selected in green will not be affected/updated as well as the main wine9

While you were all busy... I found this,by accident.. ( finger slipped on the mouse moving across the menu ! ) .of Update Manager.

 

 

 

 

update manager ignore wine9 update.png

UPDATE MANAGER IGNORE UPDATE OPTION.png

 

 


update manager ignore wine9 update 2.png

 

Click on the + and type in the name /or copy it from the update list.

Have done the above... and also have done @outcast  version ... so a bit of belt and braces.. with @dvorak suggestion on hold if neither of them work! ! .

 

outcast
Seasoned Pro
Posts: 502
Thanks: 198
Fixes: 9
Registered: ‎11-01-2025

Re: WINE - not the liquid version

When a package is version locked, the green box changes to also show a locked padlock.

I would imagine that any library or dependency that isn't locked, has the potential to be upgraded.

In this instance I would be tempted to lock all of the installed 'wine' results.

.

shutter
Community Veteran
Posts: 22,348
Thanks: 3,844
Fixes: 67
Registered: ‎06-11-2007

Re: WINE - not the liquid version

@outcast  OK... thanks... I did think that would be a good idea... but often, when doing this stuff.. my "good ideas" turn bad,.. hence my queries !

Thanks again.

 

shutter
Community Veteran
Posts: 22,348
Thanks: 3,844
Fixes: 67
Registered: ‎06-11-2007

Re: WINE - not the liquid version


@outcast wrote:

While we're on a topic about morse code, I saw this YouTube short the other day and thought of @shutter  😎

then discovered that channel is full of morse shorts and other comms videos.

.


If you want to see me in action... https://www.youtube.com/channel/UCBcvP74oF7hQCWNzAMlfxPw/videos

If you are interested in CWCOM... ( my blogsite)  https://morsepower.blogspot.com/

If you want to read about the refurb and histories of the keys in the vids ....(my other blog!  hi-jacked from photography!) https://nemosphotography.blogspot.com/

shutter
Community Veteran
Posts: 22,348
Thanks: 3,844
Fixes: 67
Registered: ‎06-11-2007

Re: WINE - not the liquid version

Good Morning techy friends !

Have completed one fresh install of Mint 22.. now progressing on to the 2nd as a back up copy for my 11 inch laptop.

I have downloaded and installed WINE 9 from the Synaptics Package Manager... and checked that it is wine --version   wine9

I have also "Locked" all of the mentions of wine 9.0 in the Synaptic Package Manager... which leaves a couple of things not installed, and I am wondering if I need to "Mark for installation"..  or to "lock" them  as a precaution against being installed/updated to version 10 and corrupting? WIne9

1. wine-binfmt                         9.0~prepack-4t    Registers wine as the interpreter for wine executables ... 

2. wine32-preloader i38          9.0~prepack-4t   Windows API implementation prelinked 32-bit binary loader

3. wine64-preloader                 9.0~prepack-4t   Windows API implementation prelinked 64-bit binary loader

 

At present... (before I have done ANY updates to the new install) - there is no mention of Wine 10 in the Synaptic Package Manager....I assume that after I do the initial start up "updates"   that it will appear... Should I also block /lock any mention of that?

 

Thanks