Repository error. Unable to install Skype on Fedora 38

Hi there,

So I know skype isnt open source and many people dislike it but I depend on it for work.

I really need to figure out whats going wrong here. (i prefer to use the rpm version)

I am trying to install it on the latest version of fedora 38, following the instructions here:

I get this error when I try to run the installation

[sudo] password for isaiah: 
Warning: failed loading '/etc/yum.repos.d/skype-stable.repo', skipping.
Last metadata expiration check: 0:32:24 ago on Sun 20 Aug 2023 17:06:25.
No match for argument: skypeforlinux
Error: Unable to find a match: skypeforlinux
[isaiah@fedora ~]$ 

Upon opening up the repo file it appears to be missing data and perhaps the curl function didnt 
work




  GNU nano 7.2                                                    /etc/yum.repos.d/skype-stable.repo                                                              
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
 <head>
  <title>Index of /rpm/stable</title>
 </head>
 <body>
<h1>Index of /rpm/stable</h1>
  <table>
   <tr><th valign="top"><img src="/icons/blank.gif" alt="[ICO]"></th><th><a href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href>
   <tr><th colspan="5"><hr></th></tr>
<tr><td valign="top"><img src="/icons/back.gif" alt="[PARENTDIR]"></td><td><a href="/rpm/">Parent Directory</a></td><td>&nbsp;</td><td align="right">  - </td><td>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="repodata/">repodata/</a></td><td align="right">2023-08-17 14:00  </td><td align=">
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[   ]"></td><td><a href="skypeforlinux_8.100.0.203-1.x86_64.rpm">skypeforlinux_8.100.0.203-1.x86_64.rpm</>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[   ]"></td><td><a href="skypeforlinux_8.101.0.212-1.x86_64.rpm">skypeforlinux_8.101.0.212-1.x86_64.rpm</>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[   ]"></td><td><a href="skypeforlinux_8.102.0.211-1.x86_64.rpm">skypeforlinux_8.102.0.211-1.x86_64.rpm</>
   <tr><th colspan="5"><hr></th></tr>
</table>
<p>No emergency calls with Skype<br>
Skype is not a replacement for your telephone and can't be used for emergency calling<br>
The Skype name, associated trade marks and logos and the "S" logo are trade marks of Skype or related entities.</p>
<p>
&copy; 2017 Skype and/or Microsoft
<a href="https://go.skype.com/tou">Terms of Use</a>
<a href="https://go.skype.com/privacy">Privacy & cookies</a>
<a href="https://go.skype.com/ads.ms">About our ads</a>
</p>
</body></html>

Step one was

$ sudo curl -o /etc/yum.repos.d/skype-stable.repo https://repo.skype.com/rpm/stable/skype-stable.repo

That does not work because https://repo.skype.com/rpm/stable/skype-stable.repo is not found. The result is

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
</body></html>

You may me better off starting at https://www.skype.com/en/, or perhaps the flatpak version would work better.

sudo tee /etc/yum.repos.d/microsoft-skype.repo << "EOF" > /dev/null
[microsoft-skype]
name=Microsoft Skype
baseurl=https://repo.skype.com/rpm/stable/
gpgkey=file:///usr/share/distribution-gpg-keys/skype/SKYPE-GPG-KEY
[microsoft-skype-unstable]
name=Microsoft Skype Unstable
baseurl=https://repo.skype.com/rpm/unstable/
gpgkey=file:///usr/share/distribution-gpg-keys/skype/SKYPE-GPG-KEY
enabled=0
EOF
sudo dnf install distribution-gpg-keys
sudo rpm --import /usr/share/distribution-gpg-keys/skype/SKYPE-GPG-KEY
sudo dnf install skypeforlinux
1 Like

Thank you @vgaetera so very much!!

I knew i needed to correct the repo text file but wasnt sure what exactly to add and how to import the signing keys…

Perhaps someone with authority needs to know @ankursinha that there could be an issue with that link : $ sudo curl -o /etc/yum.repos.d/skype-stable.repo https://repo.skype.com/rpm/stable/skype-stable.repo

found here : Installing Skype on Fedora :: Fedora Docs

Thanks again

Tagging docs-team

I can offer to fix the repo url when I’m back from vacations.

https://pagure.io/fedora-docs/quick-docs/pull-request/632

1 Like

Thank you for you service :slight_smile: @augenauf