On 2021-04-23 at 17:26 +0100, Morgan Read wrote:
> Is there any method to allow v4 and v5 to be both installed together?

Both packages have the same name, so the package manager treats them as
the same. Rename the package name of the old version (e.g. to master-
pdf-editor-4) and you should be fine.

There are probably better ways, but just listing one of them, assuming
the old file is named master-pdf-editor-4.deb for this you could do:

ar x master-pdf-editor-4.deb control.tar.gz
gzip -d control.tar.gz
tar xf control.tar ./control
sed -i '1,1 { /^Package:/{ s/$/-4/} }' control
gzip control.tar
ar r master-pdf-editor-5.7.53-qt5.x86_64.deb control.tar.gz

(this works on their v5 .deb, watch out if on your .deb, names are
slightly different, such as using xz rather than gz)
> 
> 

Reply via email to