Bug 28654 - viber.rpm can't be insttalled under mageia8, while it was with mageia7
Summary: viber.rpm can't be insttalled under mageia8, while it was with mageia7
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-26 18:21 CET by peter lawford
Modified: 2021-03-27 14:58 CET (History)
2 users (show)

See Also:
Source RPM: viber.rpm
CVE:
Status comment:


Attachments

Description peter lawford 2021-03-26 18:21:04 CET
Description of problem:can't install viber.rpm after upgrading mga7 to 8
[root@mga6-64 alain4]# LANG=C urpmi --test viber.rpm 
A requested package cannot be installed:
viber-13.3.1.22-2.x86_64 (due to unsatisfied libcrypto.so.10()(64bit))
Continue installation anyway? (Y/n) n
and
[root@mga6-64 alain4]# LANG=C dnf install viber.rpm 
Dernière vérification de l’expiration des métadonnées effectuée il y a 2:37:17 le Fri Mar 26 15:38:37 2021.
Erreur : 
 Problème: conflicting requests
  - nothing provides gstreamer1(x86-64) needed by viber-13.3.1.22-2.x86_64
  - nothing provides gstreamer1-plugins-bad-free(x86-64) needed by viber-13.3.1.22-2.x86_64
  - nothing provides gstreamer1-plugins-base(x86-64) needed by viber-13.3.1.22-2.x86_64
  - nothing provides gstreamer1-plugins-good(x86-64) needed by viber-13.3.1.22-2.x86_64
  - nothing provides gstreamer1-plugins-ugly-free(x86-64) needed by viber-13.3.1.22-2.x86_64
  - nothing provides libcrypto.so.10()(64bit) needed by viber-13.3.1.22-2.x86_64
(essayez d’ajouter « --skip-broken » pour ignorer les paquets non installables)

(LANG=C seems don't work with dnf)



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Jani Välimaa 2021-03-26 22:27:05 CET
It's not possible to install viber even in mga7 as we don't have any pkg providing libcrypto.so.10 or gstreamer1 in distro.
Comment 2 Morgan Leijström 2021-03-27 12:25:26 CET
You could try the flatpak

https://flathub.org/apps/details/com.viber.Viber

https://wiki.mageia.org/en/Ways_to_install_programs#Flatpak

CC: (none) => fri

Comment 3 peter lawford 2021-03-27 13:14:04 CET
(In reply to Jani Välimaa from comment #1)
> It's not possible to install viber even in mga7 as we don't have any pkg
> providing libcrypto.so.10 or gstreamer1 in distro.

you're wrong I am afraid; on one of my mga7 distros:
[alain4@mag6 ~]$ cat /etc/issue
Mageia release 7 (Official) for x86_64
Kernel 5.10.25-server-1.mga7 on a 12-processor x86_64 / \l
[alain4@mag6 ~]$ rpm -qa |grep viber
viber-6.5.5.1481-2
and the command:
[alain4@mag6 ~]$ cd /opt/viber && ./Viber
opens viber window
Comment 4 Morgan Leijström 2021-03-27 14:20:14 CET
Peter did you make a symlink or some other trick?
I have done such for some foreign rpm.

Whatever the reason or trick, Viber is not a package of ours, thus closing.

Tricks to make foreign packages work are better discussed and shared at the forum, to help more users.

Or even make a wiki, like we have for i.e Skype.

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 5 Rolf Pedersen 2021-03-27 14:58:26 CET
Maybe a post-mortem will fly....

I have viber for very occasional use as GF from VN uses it to connect with people back home.

[rolf@x570i ~]$ rpm -q viber
viber-13.3.1.22-2

I think if you google viber rpm, go to the website, choose to download an rpm, they just give you a deb.  It's been a while but forensics suggest I use 'alien' on the deb package.

[rolf@x570i ~]$ rpm -qpi /download/viber/20201227/viber-13.3.1.22-2.x86_64.rpm 
Name        : viber
Version     : 13.3.1.22
Release     : 2
Architecture: x86_64
Install Date: (not installed)
Group       : Converted/non-free/net
Size        : 349863801
License     : see /usr/share/doc/viber/copyright
Signature   : (none)
Source RPM  : viber-13.3.1.22-2.src.rpm
Build Date  : Sun 27 Dec 2020 09:51:17 AM PST
Build Host  : x570i.lan
Summary     : Free Text & Calls.
Description :
Join Viber for Desktop to for a one-of-a-kind calling and messaging experience right on your computer!
With Viber for Desktop you can make free international calls from your computer to any other Viber user, resting assured your calls and messages are protected by end-to-end encryption.
Feel free to call, text, send photos and video messages, play YouTube videos and express yourself with stickers and GIFs no matter your location.
Viber for Desktop also provides you with Viber Out's low-rate calling plans to any landline or mobile so you can reach out to friends and family who don't have an internet connection or cell phone.
Easily sync between your mobile's chat history and contact list in order to start enjoying Viber for Desktop.


(Converted from a deb package by alien version 8.95.)
[rolf@x570i ~]$

[rolf@x570i ~]$ alien --help
Usage: alien [options] file [...]
...
-r, --to-rpm              Generate a Red Hat rpm package.
...
-c, --scripts             Include scripts in package.
...

So, '-r' would be one needed option and I always forget '--scripts' but I think that is one other important option to use, in my experience.

Long story short, I have converted the deb from viber.com to an rpm with alien and that is working for my limited usage, anyway.  Aside, viber offers an appimage for download and I can use that with similar success on MGA8 64-bit.

CC: (none) => rolfpedersen


Note You need to log in before you can comment on or make changes to this bug.