I'm trying to remove a microsoft repo but I've not been able to do it, either via the terminal or through the software sources dialog. Could somebody kindly advise as to how to remove it please?
The offender is: https://packages.microsoft.com/repos/ms-teams stable InRelease
The terminal command I used was: sudo add-apt-repository --remove https://packages.microsoft.com/repos/ms-teams
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
How to remove microsoft repo
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: How to remove microsoft repo
Find the offending file with
Then remove the file or comment out the repository line(s) and update your sources.
Be sure to also remove the Teams package itself, it might install a cron job to replace the source if it is deleted just like Google's Chome .deb package does.
Code: Select all
grep -v '^$\|^#' /etc/apt/sources.list{,.d/*}
Be sure to also remove the Teams package itself, it might install a cron job to replace the source if it is deleted just like Google's Chome .deb package does.
deadbang
Re: How to remove microsoft repo
Cool, thank you very much.Head_on_a_Stick wrote:Find the offending file withThen remove the file or comment out the repository line(s) and update your sources.Code: Select all
grep -v '^$\|^#' /etc/apt/sources.list{,.d/*}
Be sure to also remove the Teams package itself, it might install a cron job to replace the source if it is deleted just like Google's Chome .deb package does.