On 15/07/2021 09:37, Gianluca Cecchi wrote: > 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. Like I said elsewhere, it turns out that it's a little more complicated than that. The libraries are actually "provided", but they're not on the library path. [toralf at localhost ~]$ rpm -q --whatprovides 'libstdc++.so.6(GLIBCXX_3.4.22)(64bit)' chrome-deps-stable-3.13-1.x86_64 [toralf at localhost ~]$ rpm -ql chrome-deps-stable [ ... ] /opt/google/chrome/lib/libstdc++.so.6 I could of course add an ld.so.conf file or use LD_PRELOAD so that teams would "see" this library. - Toralf > The repo should be: > > [teams] > name=teams > baseurl=https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpackages.microsoft.com%2Fyumrepos%2Fms-teams&data=04%7C01%7Ctoralf.lund%40pgs.com%7C5093c23297de453df1f308d9476378bb%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C637619314818784964%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=CK51wzQOaF2i%2BI3TTc1gTk9P00OMgc7d%2F6FDrKhLU5M%3D&reserved=0 > enabled=1 > gpgcheck=1 > gpgkey=https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpackages.microsoft.com%2Fkeys%2Fmicrosoft.asc&data=04%7C01%7Ctoralf.lund%40pgs.com%7C5093c23297de453df1f308d9476378bb%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C637619314818784964%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=i8mx7ejtczlM4TrVI%2BT1RR04PONMBo9SopXVz3%2BV59s%3D&reserved=0 > > 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://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpackages.microsoft.com%2Fyumrepos%2Fms-teams&data=04%7C01%7Ctoralf.lund%40pgs.com%7C5093c23297de453df1f308d9476378bb%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C637619314818784964%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=CK51wzQOaF2i%2BI3TTc1gTk9P00OMgc7d%2F6FDrKhLU5M%3D&reserved=0 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 > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.centos.org%2Fmailman%2Flistinfo%2Fcentos&data=04%7C01%7Ctoralf.lund%40pgs.com%7C5093c23297de453df1f308d9476378bb%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C637619314818784964%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=v0P3owSDxjhht8%2F6%2FVjGkOVYE1WcVrhXcCLxmMVQcpM%3D&reserved=0