Score:-1

failure to install ubuntu-restricted extras

ru flag

I opened the terminal put in: sudo apt install ubuntu-restricted-extras run it but the packet was not find. I wanted to use this command to be able to watch .mpeg files.

I am using Ubuntu 21.04 LTS

ChanganAuto avatar
us flag
Do you have all the repositories enabled? Are you sure you typed it correctly?
sudodus avatar
jp flag
Both apt and apt-get work. But you need the repository multiverse in order for apt to find the restricted extras: `sudo add-apt-repository multiverse`; By the way, which version of Ubuntu are you running (20.04.x LTS or some other version)?
ChanganAuto avatar
us flag
@24601 We've been using `apt` instead of `apt-get` for years. Not the problem here. Either a mistype, a EoL release or the repositories aren't enabled for some reason.
24601 avatar
in flag
perhaps the op should [edit] the question and indicate which version/flavour of ubuntu is in use
guiverc avatar
cn flag
There could be multiple reasons for your issue, but as you didn't provide any OS & release details, nor messages; we can only guess. If you're using a *supported* system the answer provided by chili555 should work, but it's not your only possible problem.
Score:3
cn flag

Please try:

sudo add-apt-repository multiverse
sudo apt update
sudo apt install ubuntu-restricted-extras

You should be all set.

Katka avatar
ru flag
It worked. Thanks!
chili555 avatar
cn flag
If my answer has been helpful, please accept it: https://askubuntu.com/tour Those searching with the same problem will appreciate it.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.