re-install old version

Questions about Wine on Linux
Locked
Insam
Level 2
Level 2
Posts: 22
Joined: Wed Oct 03, 2018 6:26 am

re-install old version

Post by Insam »

Hello
I have a problem with the last 3 versions of wine-staging, I should not have left the deposit open.

Photofiltre studio no longer works properly. it worked with wine-staging 2.21 but I can not find it on the site anymore.
if I install it by the package manager it does not work at all, no application opens. I do not know what's missing, I do not have an error message.

No stable version works at home on MX17.1 (debian stretch)

In the LinuxMint 18.3 system, the best version for Photofiltre is the stable 1.6, but I only find it in ubuntu repositories. xenial

How to install a version from 1.6 to 2. * staging for debian-stretch?

thank you in advance

(I am bad at English and can not navigate pages in this language)
User avatar
dimesio
Moderator
Moderator
Posts: 13211
Joined: Tue Mar 25, 2008 10:30 pm

Re: re-install old version

Post by dimesio »

I don't know where you're looking for 2.x staging packages that you can't find them. Packages back to wine-staging 2.4 are available in the WineHQ repository. Packages older than that are not available anywhere that I know of.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: re-install old version

Post by jkfloris »

Why do you need wine-staging? Photofiltre Studio version 10.13.0 seems to work out of the box with wine-stable 3.0.3
Insam
Level 2
Level 2
Posts: 22
Joined: Wed Oct 03, 2018 6:26 am

Re: re-install old version

Post by Insam »

Thank you for your answers, I will look for version 2.4, my concern is as I said to have difficulties to find me in pages in English.

@jkfloris, Photofiltre works for many things even with the latest version (stagin in MX17, stable in Mint 18) but the size of the pages for printing is not done, the redfields fractalus plugins no longer work properly because they crash. application.

While in Mint 18 with stable version 1.6, absolutely everything works (PFS 10.13.0)
Insam
Level 2
Level 2
Posts: 22
Joined: Wed Oct 03, 2018 6:26 am

Re: re-install old version

Post by Insam »

dimesio wrote:I don't know where you're looking for 2.x staging packages that you can't find them. Packages back to wine-staging 2.4 are available in the WineHQ repository. Packages older than that are not available anywhere that I know of.
Sorry, I clicked the link but I do not know how to find what I am looking for in this page.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: re-install old version

Post by jkfloris »

Sorry, I clicked the link but I do not know how to find what I am looking for in this page.
Here you can find all the available Wine versions for different Linux flavors.

If you have the WineHQ repo enabled, you should be able to install them with the "apt" command

Code: Select all

sudo apt install winehq-staging=2.4.0-3~<linux-name>
#replace <linux-name> with your distro name. For example Debian stable Stretch: "winehq-staging=2.4.0-3~stretch"
Insam
Level 2
Level 2
Posts: 22
Joined: Wed Oct 03, 2018 6:26 am

Re: re-install old version

Post by Insam »

Thank you
Unfortunately the terminal replies that the package does not exist.
User avatar
dimesio
Moderator
Moderator
Posts: 13211
Joined: Tue Mar 25, 2008 10:30 pm

Re: re-install old version

Post by dimesio »

Did you add the repository first? https://wiki.winehq.org/Debian
Insam
Level 2
Level 2
Posts: 22
Joined: Wed Oct 03, 2018 6:26 am

Re: re-install old version

Post by Insam »

dimesio wrote:Did you add the repository first? https://wiki.winehq.org/Debian
Of course, it is still in the sources-list since I installed my version from there.
I regret to have left it checked, if there had not been these updates I will not be there!
User avatar
dimesio
Moderator
Moderator
Posts: 13211
Joined: Tue Mar 25, 2008 10:30 pm

Re: re-install old version

Post by dimesio »

Post the terminal output from apt, including the command you used to try to install the package.
Insam
Level 2
Level 2
Posts: 22
Joined: Wed Oct 03, 2018 6:26 am

Re: re-install old version

Post by Insam »

Ok :

Code: Select all

insam@mx-mklmh:~
$ sudo apt install winehq-staging=2.4.0-3~stretch
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet winehq-staging=2.4.0-3~stretch
E: Couldn't find any package by glob 'winehq-staging=2.4.0-3~stretch'
E: Impossible de trouver de paquet correspondant à l'expression rationnelle « winehq-staging=2.4.0-3~stretch »
I tried to install wine-staging (without the hq) and there are missing dependencies

Code: Select all

insam@mx-mklmh:~
$ sudo apt install wine-staging=2.4.0-3~stretch
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation : 

Les paquets suivants contiennent des dépendances non satisfaites :
 wine-staging : Dépend: wine-staging-amd64 (= 2.4.0-3~stretch) mais 3.19.0~stretch devra être installé
                Dépend: wine-staging-i386 (= 2.4.0-3~stretch)
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
I think I will have no choice but to keep the LinuxMint distro dual-boot just to use Photofiltre properly!
User avatar
dimesio
Moderator
Moderator
Posts: 13211
Joined: Tue Mar 25, 2008 10:30 pm

Re: re-install old version

Post by dimesio »

I played around with this in a VM, and it appears that for old Debian packages you have to manually install each one, in the right order to satisfy dependencies:
wine-staging-i386=<version>
wine-staging-amd64=<version>
wine-staging=<version>
winehq-staging=<version> (this one is optional, only needed if you want the compatibility symlinks)
(substitute the actual version you want for <version>).

AFAICT, the inability to handle multiple versions of a package is a known limitation of Debian-style repositories/package managers.
Insam
Level 2
Level 2
Posts: 22
Joined: Wed Oct 03, 2018 6:26 am

Re: re-install old version

Post by Insam »

:( Thank you for your help but nothing to do, no package exists !

Code: Select all

insam@mx-mklmh:~
$ sudo apt install wine-staging-i386 =2.4.0-3~stretch
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet 
User avatar
dimesio
Moderator
Moderator
Posts: 13211
Joined: Tue Mar 25, 2008 10:30 pm

Re: re-install old version

Post by dimesio »

Insam wrote:

Code: Select all

insam@mx-mklmh:~
$ sudo apt install wine-staging-i386 =2.4.0-3~stretch
There should not be a space before the = sign.

The package definitely exists: http://dl.winehq.org/wine-builds/debian ... h_i386.deb.
Insam
Level 2
Level 2
Posts: 22
Joined: Wed Oct 03, 2018 6:26 am

Re: re-install old version

Post by Insam »

dimesio wrote: ...There should not be a space before the = sign...
With or without space, ditto, it does not change anything!
I doubt that the package exists, there is no reason but my terminal can not find it, there must be a manipulation that I did not understand.

That said, no more worries:
I found the solution and the problem disappeared!

I had not thought about trying the development version that I have never used on any distro, always stable or staging so stable does not work!
There must be something different in it because everything is working again in Photofiltre.
Thank you so much for trying to help me out.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: re-install old version

Post by jkfloris »

That said, no more worries:
I found the solution and the problem disappeared!
I'm glad that the problem is solved!

Maybe something to keep in mind for the future:
You can print all the available versions for your system with

Code: Select all

apt-cache policy winehq-staging
Locked