[CentOS] Microsoft Teams on CentOS 7. Does the latest version work?

Thu Jul 15 07:37:27 UTC 2021
Gianluca Cecchi <gianluca.cecchi at gmail.com>

On Tue, Jul 13, 2021 at 2:03 PM Toralf Lund <toralf.lund at pgs.com> wrote:

> Does anyone else run Microsoft Teams on CentOS 7?
>
> I've used it for a while now, and it's generally worked reasonably well.
> However, after upgrading to the latest version from the Microsoft repos,
> it doesn't start up properly. Processes start and remain active until I
> give up and kill them, but I can't see a window or a tray icon or anything.
>
> Has anyone else seen this? Is there anything I can do to make the GUI
> appear?
>
> This is not a big deal as everything just works fine if I revert to the
> previous release, but it would be interesting to know if this is a
> general problem with the software, or I have some weird issue with my
> system.
>
> The release that doesn't work is 1.4.00.13653. The one that does is
> 1.4.00.7556.
>
> - Toralf
>
>
>
At the end I think you have something broken with your repo config or you
installed forcing something.
The repo should be:

[teams]
name=teams
baseurl=https://packages.microsoft.com/yumrepos/ms-teams
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc

On a system with Fedora 34 I run without problems
teams-1.4.00.13653-1.x86_64 using that repo.
Unfortunately the repo itself is distro agnostic in the sense that I see
the flat baseurl=https://packages.microsoft.com/yumrepos/ms-teams inside it
and there is no check about distro
(this I think was the note about "not understanding how to package
software" pointed out by Phil)

If I go to an updated CentOS 7.9 system without teams and put the repo file
I get this, as other detailed before:

yum install teams
. . .
Resolving Dependencies
--> Running transaction check
---> Package teams.x86_64 0:1.4.00.13653-1 will be installed
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.8)(64bit) for package:
teams-1.4.00.13653-1.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package:
teams-1.4.00.13653-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for
package: teams-1.4.00.13653-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for
package: teams-1.4.00.13653-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.22)(64bit) for
package: teams-1.4.00.13653-1.x86_64
--> Finished Dependency Resolution
Error: Package: teams-1.4.00.13653-1.x86_64 (teams)
           Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
Error: Package: teams-1.4.00.13653-1.x86_64 (teams)
           Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
Error: Package: teams-1.4.00.13653-1.x86_64 (teams)
           Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
Error: Package: teams-1.4.00.13653-1.x86_64 (teams)
           Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit)
Error: Package: teams-1.4.00.13653-1.x86_64 (teams)
           Requires: libstdc++.so.6(GLIBCXX_3.4.22)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

But I can run:
yum install teams-1.4.00.7556-1
. . .
Resolving Dependencies
--> Running transaction check
---> Package teams.x86_64 0:1.4.00.7556-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

I don't know if there is a yum option or config parameter to say yum to
choose the best version, without depsolve problems, even if not the latest
available (in this case teams-1.4.00.7556-1) among the ones found inside a
repo....
For sure they could have at least created with minimal effort a tree
structure with distro versions and links to corresponding rpm packages, and
then use the distroversion and not flat url inside the repo file.
And inside the directory for el7 the latest package would have been
teams-1.4.00.7556-1, while on CentOS 8 and Fedora I would find also the
teams-1.4.00.13653-1

Gianluca