Ubuntu 18.04.1 - MC











up vote
5
down vote

favorite
2












I can't install Midnight Commander (mc), ubuntu 18.04.1.



/etc/apt/sources.list file:



deb http://archive.ubuntu.com/ubuntu bionic main
deb http://archive.ubuntu.com/ubuntu bionic-security main
deb http://archive.ubuntu.com/ubuntu bionic-updates main


And this is reply:



sudo apt-get install mc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mc is not available, but is referred to by another package.
This may mean that the package is missig, has been obsoleted, or in only available from another source


This didn't help (#1):



sudo apt-get update


This didn't help (#2):



sudo add-apt-repository ppa:eugenesan/ppa
sudo apt-get update
sudo apt-get install mc


Also didn't helped repository to set (for example) to http://de.archive.ubuntu.com










share|improve this question
























  • Also not working apt-install ntp ...
    – Voju
    Sep 2 at 15:02






  • 2




    Possible duplicate of How do I enable the "Universe" repository from the command line?
    – N0rbert
    Sep 2 at 17:09















up vote
5
down vote

favorite
2












I can't install Midnight Commander (mc), ubuntu 18.04.1.



/etc/apt/sources.list file:



deb http://archive.ubuntu.com/ubuntu bionic main
deb http://archive.ubuntu.com/ubuntu bionic-security main
deb http://archive.ubuntu.com/ubuntu bionic-updates main


And this is reply:



sudo apt-get install mc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mc is not available, but is referred to by another package.
This may mean that the package is missig, has been obsoleted, or in only available from another source


This didn't help (#1):



sudo apt-get update


This didn't help (#2):



sudo add-apt-repository ppa:eugenesan/ppa
sudo apt-get update
sudo apt-get install mc


Also didn't helped repository to set (for example) to http://de.archive.ubuntu.com










share|improve this question
























  • Also not working apt-install ntp ...
    – Voju
    Sep 2 at 15:02






  • 2




    Possible duplicate of How do I enable the "Universe" repository from the command line?
    – N0rbert
    Sep 2 at 17:09













up vote
5
down vote

favorite
2









up vote
5
down vote

favorite
2






2





I can't install Midnight Commander (mc), ubuntu 18.04.1.



/etc/apt/sources.list file:



deb http://archive.ubuntu.com/ubuntu bionic main
deb http://archive.ubuntu.com/ubuntu bionic-security main
deb http://archive.ubuntu.com/ubuntu bionic-updates main


And this is reply:



sudo apt-get install mc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mc is not available, but is referred to by another package.
This may mean that the package is missig, has been obsoleted, or in only available from another source


This didn't help (#1):



sudo apt-get update


This didn't help (#2):



sudo add-apt-repository ppa:eugenesan/ppa
sudo apt-get update
sudo apt-get install mc


Also didn't helped repository to set (for example) to http://de.archive.ubuntu.com










share|improve this question















I can't install Midnight Commander (mc), ubuntu 18.04.1.



/etc/apt/sources.list file:



deb http://archive.ubuntu.com/ubuntu bionic main
deb http://archive.ubuntu.com/ubuntu bionic-security main
deb http://archive.ubuntu.com/ubuntu bionic-updates main


And this is reply:



sudo apt-get install mc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mc is not available, but is referred to by another package.
This may mean that the package is missig, has been obsoleted, or in only available from another source


This didn't help (#1):



sudo apt-get update


This didn't help (#2):



sudo add-apt-repository ppa:eugenesan/ppa
sudo apt-get update
sudo apt-get install mc


Also didn't helped repository to set (for example) to http://de.archive.ubuntu.com







18.04 midnight-commander






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 2 at 21:57









abu_bua

3,15081023




3,15081023










asked Sep 2 at 14:54









Voju

31113




31113












  • Also not working apt-install ntp ...
    – Voju
    Sep 2 at 15:02






  • 2




    Possible duplicate of How do I enable the "Universe" repository from the command line?
    – N0rbert
    Sep 2 at 17:09


















  • Also not working apt-install ntp ...
    – Voju
    Sep 2 at 15:02






  • 2




    Possible duplicate of How do I enable the "Universe" repository from the command line?
    – N0rbert
    Sep 2 at 17:09
















Also not working apt-install ntp ...
– Voju
Sep 2 at 15:02




Also not working apt-install ntp ...
– Voju
Sep 2 at 15:02




2




2




Possible duplicate of How do I enable the "Universe" repository from the command line?
– N0rbert
Sep 2 at 17:09




Possible duplicate of How do I enable the "Universe" repository from the command line?
– N0rbert
Sep 2 at 17:09










1 Answer
1






active

oldest

votes

















up vote
16
down vote



accepted










You need to enable the universe repository:



sudo add-apt-repository universe


then update



sudo apt update


and then install mc:



sudo apt install mc





share|improve this answer





















  • sudo apt update is not necessary when adding a repo since it's initialized to latest contents.
    – Endrju
    Oct 29 at 12:49










  • When refreshing existing repos - yes, but when adding, it downloads the contents automatically. Just did it. But of course your answer is correct - +1!
    – Endrju
    Oct 30 at 16:07










protected by Community Nov 26 at 16:21



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?














1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
16
down vote



accepted










You need to enable the universe repository:



sudo add-apt-repository universe


then update



sudo apt update


and then install mc:



sudo apt install mc





share|improve this answer





















  • sudo apt update is not necessary when adding a repo since it's initialized to latest contents.
    – Endrju
    Oct 29 at 12:49










  • When refreshing existing repos - yes, but when adding, it downloads the contents automatically. Just did it. But of course your answer is correct - +1!
    – Endrju
    Oct 30 at 16:07















up vote
16
down vote



accepted










You need to enable the universe repository:



sudo add-apt-repository universe


then update



sudo apt update


and then install mc:



sudo apt install mc





share|improve this answer





















  • sudo apt update is not necessary when adding a repo since it's initialized to latest contents.
    – Endrju
    Oct 29 at 12:49










  • When refreshing existing repos - yes, but when adding, it downloads the contents automatically. Just did it. But of course your answer is correct - +1!
    – Endrju
    Oct 30 at 16:07













up vote
16
down vote



accepted







up vote
16
down vote



accepted






You need to enable the universe repository:



sudo add-apt-repository universe


then update



sudo apt update


and then install mc:



sudo apt install mc





share|improve this answer












You need to enable the universe repository:



sudo add-apt-repository universe


then update



sudo apt update


and then install mc:



sudo apt install mc






share|improve this answer












share|improve this answer



share|improve this answer










answered Sep 2 at 15:08









mook765

3,64821329




3,64821329












  • sudo apt update is not necessary when adding a repo since it's initialized to latest contents.
    – Endrju
    Oct 29 at 12:49










  • When refreshing existing repos - yes, but when adding, it downloads the contents automatically. Just did it. But of course your answer is correct - +1!
    – Endrju
    Oct 30 at 16:07


















  • sudo apt update is not necessary when adding a repo since it's initialized to latest contents.
    – Endrju
    Oct 29 at 12:49










  • When refreshing existing repos - yes, but when adding, it downloads the contents automatically. Just did it. But of course your answer is correct - +1!
    – Endrju
    Oct 30 at 16:07
















sudo apt update is not necessary when adding a repo since it's initialized to latest contents.
– Endrju
Oct 29 at 12:49




sudo apt update is not necessary when adding a repo since it's initialized to latest contents.
– Endrju
Oct 29 at 12:49












When refreshing existing repos - yes, but when adding, it downloads the contents automatically. Just did it. But of course your answer is correct - +1!
– Endrju
Oct 30 at 16:07




When refreshing existing repos - yes, but when adding, it downloads the contents automatically. Just did it. But of course your answer is correct - +1!
– Endrju
Oct 30 at 16:07





protected by Community Nov 26 at 16:21



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?



Popular posts from this blog

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?