âUnable to locate packageâ while trying to install packages with APT
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
138
down vote
favorite
When I try to install any package through the command line, I get an error.
$ sudo apt-get install <package>
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package <package>
Can anyone help me on this?
apt package-management
add a comment |Â
up vote
138
down vote
favorite
When I try to install any package through the command line, I get an error.
$ sudo apt-get install <package>
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package <package>
Can anyone help me on this?
apt package-management
"Myapt-get
doesn't install any programs." Try some package other thanxmbc
.
â hexafraction
Jul 2 '12 at 20:29
2
unable to locate package is merged with this Question.
â Pandya
Sep 11 '14 at 14:02
When I ran into this, it was due to my distribution version (17.04) being End-of-Lifed (EOL): Got the messageE: The repository 'http://security.ubuntu.com/ubuntu zesty-security Release' does no longer have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
â Ben Creasy
Feb 8 at 2:31
@BenCreasy did you find any solution for it? For me below answers not working.
â Akshay Nevrekar
Feb 26 at 11:47
I recommend tryingsudo apt-get dist-upgrade
or something. I was building an immutable server with Packer (github.com/hashicorp/packer) so I just bumped to Ubuntu 17.10.
â Ben Creasy
Feb 26 at 17:48
add a comment |Â
up vote
138
down vote
favorite
up vote
138
down vote
favorite
When I try to install any package through the command line, I get an error.
$ sudo apt-get install <package>
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package <package>
Can anyone help me on this?
apt package-management
When I try to install any package through the command line, I get an error.
$ sudo apt-get install <package>
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package <package>
Can anyone help me on this?
apt package-management
edited Dec 2 '16 at 9:31
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
Zanna
47.5k13115226
47.5k13115226
asked Nov 17 '13 at 20:50
CodeGeeky
8132710
8132710
"Myapt-get
doesn't install any programs." Try some package other thanxmbc
.
â hexafraction
Jul 2 '12 at 20:29
2
unable to locate package is merged with this Question.
â Pandya
Sep 11 '14 at 14:02
When I ran into this, it was due to my distribution version (17.04) being End-of-Lifed (EOL): Got the messageE: The repository 'http://security.ubuntu.com/ubuntu zesty-security Release' does no longer have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
â Ben Creasy
Feb 8 at 2:31
@BenCreasy did you find any solution for it? For me below answers not working.
â Akshay Nevrekar
Feb 26 at 11:47
I recommend tryingsudo apt-get dist-upgrade
or something. I was building an immutable server with Packer (github.com/hashicorp/packer) so I just bumped to Ubuntu 17.10.
â Ben Creasy
Feb 26 at 17:48
add a comment |Â
"Myapt-get
doesn't install any programs." Try some package other thanxmbc
.
â hexafraction
Jul 2 '12 at 20:29
2
unable to locate package is merged with this Question.
â Pandya
Sep 11 '14 at 14:02
When I ran into this, it was due to my distribution version (17.04) being End-of-Lifed (EOL): Got the messageE: The repository 'http://security.ubuntu.com/ubuntu zesty-security Release' does no longer have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
â Ben Creasy
Feb 8 at 2:31
@BenCreasy did you find any solution for it? For me below answers not working.
â Akshay Nevrekar
Feb 26 at 11:47
I recommend tryingsudo apt-get dist-upgrade
or something. I was building an immutable server with Packer (github.com/hashicorp/packer) so I just bumped to Ubuntu 17.10.
â Ben Creasy
Feb 26 at 17:48
"My
apt-get
doesn't install any programs." Try some package other than xmbc
.â hexafraction
Jul 2 '12 at 20:29
"My
apt-get
doesn't install any programs." Try some package other than xmbc
.â hexafraction
Jul 2 '12 at 20:29
2
2
unable to locate package is merged with this Question.
â Pandya
Sep 11 '14 at 14:02
unable to locate package is merged with this Question.
â Pandya
Sep 11 '14 at 14:02
When I ran into this, it was due to my distribution version (17.04) being End-of-Lifed (EOL): Got the message
E: The repository 'http://security.ubuntu.com/ubuntu zesty-security Release' does no longer have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
â Ben Creasy
Feb 8 at 2:31
When I ran into this, it was due to my distribution version (17.04) being End-of-Lifed (EOL): Got the message
E: The repository 'http://security.ubuntu.com/ubuntu zesty-security Release' does no longer have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
â Ben Creasy
Feb 8 at 2:31
@BenCreasy did you find any solution for it? For me below answers not working.
â Akshay Nevrekar
Feb 26 at 11:47
@BenCreasy did you find any solution for it? For me below answers not working.
â Akshay Nevrekar
Feb 26 at 11:47
I recommend trying
sudo apt-get dist-upgrade
or something. I was building an immutable server with Packer (github.com/hashicorp/packer) so I just bumped to Ubuntu 17.10.â Ben Creasy
Feb 26 at 17:48
I recommend trying
sudo apt-get dist-upgrade
or something. I was building an immutable server with Packer (github.com/hashicorp/packer) so I just bumped to Ubuntu 17.10.â Ben Creasy
Feb 26 at 17:48
add a comment |Â
5 Answers
5
active
oldest
votes
up vote
107
down vote
accepted
First, check if the package actually exists:
- Go to packages.ubuntu.com with a web browser.
- Scroll down to "Search package directories"
Enter the package which you're trying to install into the "Keyword" field.
Enable "Only show exact matches:"
Change the "Distribution" to which version of Ubuntu you're using.
If there are no results, the package you are looking for doesn't exist and the next steps will not work. It may require a third party PPA or an alternative installation method.
If results are found, the package exists and you may continue with these steps:
- Open Software Sources (or Software & Updates in 13.04+) by searching for it in the Dash.
- Open the "Ubuntu Software" tab.
Ensure that the first 4 check boxes on this tab are enabled:
Update the package lists, then test with these commands:
sudo apt-get update
sudo apt-get install <TEST_PACKAGE>
18
I found that a simplesudo apt-get update
was enough to fix it for me. Your mileage may vary.
â Edward Falk
Mar 7 '16 at 23:33
I've done everything mentioned here butapt-get install
still won't find thrlibqt4pas
package while Synaptic has no problems finding. This just is a way weird.
â Ivan
Aug 24 '16 at 7:41
@Edward Falk thanks a lot. I've been struggling for hours.
â Ganesh K
Jun 25 '17 at 13:23
@EdwardFalk It doesn't work for me at all and I'm trying to install nodejs
â Andrew
Mar 27 at 21:20
@kiri. Very good explaination. I just installed DSE(Datastax Cassandra) on another laptop following this(docs.datastax.com/en/install/doc/install/installDEBdse.html). No issues. but now getting all sort of errors like "Ign:9 debian.datastax.com/enterprise stable InRelease" even when my profile and key are correct. Followed everything but not able to install on this laptop.
â Ashu
May 26 at 2:48
add a comment |Â
up vote
42
down vote
There are many questions about this topic. Here I provide a basic/general answer.
When apt-get install
is unable to locate a package, the package you want to install couldn't be found within repositories that you have added (those in in /etc/apt/sources.list
and under /etc/apt/sources.list.d/
).
The following (general) procedure helps to solve this:
Make sure you have enabled Ubuntu repositories:
To enable all repositories (
main
,universe
,restricted
,multiverse
), use the following commands:sudo add-apt-repository main
sudo add-apt-repository universe
sudo add-apt-repository restricted
sudo add-apt-repository multiverseVisit Help for more information.
For finding PPA for more packages:
- Go to Ubuntu Package Search. (Already explained in this answer)
- For External Repositories, Visit Ubuntu Updates and search by
button. or Visit
PPAs. - Or Search in Launchpad ppa
- Find appropriate ppa according to your Ubuntu release version.
Add PPA (by command-line):
Use this command:
sudo add-apt-repository ppa:<repository-name>
Visit Ubuntu community help for more information.
Don't forget to update (make apt aware of your changes):
It is essential to run this command after changing any repositories:
sudo apt-get update
Selecting best download server may help to speed up update.
Finally install the package:
sudo apt-get install <package>
Refer to Package management by commandline.
Additional/Tip: you can find the correct package-name (i.e the name in the repository) using
apt-cache search <package-name>
.
Related frequently asked Q&A:
- How do I resolve unmet dependencies after adding a PPA?
- What does Package <package> has no installation candidate mean?
Note: If package is not available on repository any how, than you have to wait until it is available (in the case of new/updated versions) or use other installation processes than apt-get
e.g. compiling from source, downloading executable binary, etc.
3
It could also be that the user is searching forlibname
, when it'slibname2
in Debian/Ubuntu.
â saiarcot895
Jun 10 '14 at 14:46
3
First, is depends on the package and you are making a number of assumptions. First, you are assuming the OP has identified the correct package name, as pointed out by saiarcot895 . Second you are assuming the packages is available. In general, it is best to first identify the problem. Then if at all possible install from the repositories. Unless there is a specific need, ppa is a second choice. If the package is not in the repositories or ppa it may need to be compiled from source. You really do not have enough information.
â Panther
Jun 10 '14 at 15:06
@saiarcot895 @bodhi.zazen : Revised answer with providingapt-cache search
to find correct package-name from repositories.
â Pandya
Sep 11 '14 at 13:56
awesome answer man, u r one who should be winner
â sdream
Jun 16 at 16:25
add a comment |Â
up vote
7
down vote
xbmc is only available in the universe repository, only since Ubuntu 12.04 (precise). If you have an older release of Ubuntu, you'll need to upgrade or to get xbmc from another place.
If you have Ubuntu 12.04, make sure that you have turned on the universe repository. You can see what repositories you have enabled in the file /etc/apt/sources.list
(and in files in the directory /etc/apt/sources.list.d
). Check that this file contains a line like
deb http://al.archive.ubuntu.com/ubuntu/ precise universe
or
deb http://zw.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
If you only find a line like
deb http://mn.archive.ubuntu.com/ubuntu/ precise main restricted
and no line with universe
, add universe
at the end of that line, or a separate line with precise universe
, as illustrated above.
If you need to modify /etc/apt/sources.list
, run sudo apt-get update
afterwards, then try installing again. If the package is still not found, post the complete content of /etc/apt/sources.list
and the output of sudo apt-get update
.
@EliahKagan I hadn't thought my answer could be interpreted that way, I tried to clarify. Why notal
andzw
? (I try to select an appropriate mirror for the OP when they give a clue, but here I have no idea.)
â Gilles
Jul 2 '12 at 20:26
add a comment |Â
up vote
4
down vote
In the case where tried to install a file:
sudo apt-get install libstdc++.so.6
instead of a package. You get the error message:
E: Unable to locate package libstdc++.so.6
E: Couldn't find any package by regex 'libstdc++.so.6'
because you tried to install a file libstdc++.so.6
that you can't install, because it is located in a debian package.
You can use apt-file
to search for the package that contains that file. To install it, type:
sudo apt-get install apt-file
Then you have to update the index.
sudo apt-file update
After that, you can search for the package which contains the file libstdc++.so.6
:
sudo apt-file find libstdc++.so.6
Then you find a lot packages that contains the searched file. For this example I paste only one search result:
libstdc++6: /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Then you can install the needed package libstdc++6
:
sudo apt-get install libstdc++6
add a comment |Â
up vote
3
down vote
I'm new to Ubuntu but i'm writing this as I discovered some solutions to avoid this "Unable to Locate Package" errors. There are three circumstances where this might occur to a shock.
- After installing Ubuntu if you don't update it followed by Upgrades, This might occur.
- If there are plenty of software updates to occur in future, make sure all important security updates/recommended updates are turned off by typing "Update Manager" on pressing Alt+F2.
- Issue One and Two can happen even after updating or clearing all updates. But the eternal solution is:
Try point 1 & 2, then typesudo apt-get killmanager
, if not working no problem proceed to typesudo apt-get update
, then typesudo apt-get upgrade
.
Now you should be able to install any software through Terminal.
If You still get error on "sudo apt-get update" line, try using "sudo apt-get upgrade". This will work.. Guys !! As Linux is highly case sensitive Please make sure you use all commands in smaller letters like "sudo" instead of "Sudo"
â Shaan Sundar
Dec 25 '12 at 13:36
add a comment |Â
protected by Mitch⦠May 13 '15 at 8:59
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?
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
107
down vote
accepted
First, check if the package actually exists:
- Go to packages.ubuntu.com with a web browser.
- Scroll down to "Search package directories"
Enter the package which you're trying to install into the "Keyword" field.
Enable "Only show exact matches:"
Change the "Distribution" to which version of Ubuntu you're using.
If there are no results, the package you are looking for doesn't exist and the next steps will not work. It may require a third party PPA or an alternative installation method.
If results are found, the package exists and you may continue with these steps:
- Open Software Sources (or Software & Updates in 13.04+) by searching for it in the Dash.
- Open the "Ubuntu Software" tab.
Ensure that the first 4 check boxes on this tab are enabled:
Update the package lists, then test with these commands:
sudo apt-get update
sudo apt-get install <TEST_PACKAGE>
18
I found that a simplesudo apt-get update
was enough to fix it for me. Your mileage may vary.
â Edward Falk
Mar 7 '16 at 23:33
I've done everything mentioned here butapt-get install
still won't find thrlibqt4pas
package while Synaptic has no problems finding. This just is a way weird.
â Ivan
Aug 24 '16 at 7:41
@Edward Falk thanks a lot. I've been struggling for hours.
â Ganesh K
Jun 25 '17 at 13:23
@EdwardFalk It doesn't work for me at all and I'm trying to install nodejs
â Andrew
Mar 27 at 21:20
@kiri. Very good explaination. I just installed DSE(Datastax Cassandra) on another laptop following this(docs.datastax.com/en/install/doc/install/installDEBdse.html). No issues. but now getting all sort of errors like "Ign:9 debian.datastax.com/enterprise stable InRelease" even when my profile and key are correct. Followed everything but not able to install on this laptop.
â Ashu
May 26 at 2:48
add a comment |Â
up vote
107
down vote
accepted
First, check if the package actually exists:
- Go to packages.ubuntu.com with a web browser.
- Scroll down to "Search package directories"
Enter the package which you're trying to install into the "Keyword" field.
Enable "Only show exact matches:"
Change the "Distribution" to which version of Ubuntu you're using.
If there are no results, the package you are looking for doesn't exist and the next steps will not work. It may require a third party PPA or an alternative installation method.
If results are found, the package exists and you may continue with these steps:
- Open Software Sources (or Software & Updates in 13.04+) by searching for it in the Dash.
- Open the "Ubuntu Software" tab.
Ensure that the first 4 check boxes on this tab are enabled:
Update the package lists, then test with these commands:
sudo apt-get update
sudo apt-get install <TEST_PACKAGE>
18
I found that a simplesudo apt-get update
was enough to fix it for me. Your mileage may vary.
â Edward Falk
Mar 7 '16 at 23:33
I've done everything mentioned here butapt-get install
still won't find thrlibqt4pas
package while Synaptic has no problems finding. This just is a way weird.
â Ivan
Aug 24 '16 at 7:41
@Edward Falk thanks a lot. I've been struggling for hours.
â Ganesh K
Jun 25 '17 at 13:23
@EdwardFalk It doesn't work for me at all and I'm trying to install nodejs
â Andrew
Mar 27 at 21:20
@kiri. Very good explaination. I just installed DSE(Datastax Cassandra) on another laptop following this(docs.datastax.com/en/install/doc/install/installDEBdse.html). No issues. but now getting all sort of errors like "Ign:9 debian.datastax.com/enterprise stable InRelease" even when my profile and key are correct. Followed everything but not able to install on this laptop.
â Ashu
May 26 at 2:48
add a comment |Â
up vote
107
down vote
accepted
up vote
107
down vote
accepted
First, check if the package actually exists:
- Go to packages.ubuntu.com with a web browser.
- Scroll down to "Search package directories"
Enter the package which you're trying to install into the "Keyword" field.
Enable "Only show exact matches:"
Change the "Distribution" to which version of Ubuntu you're using.
If there are no results, the package you are looking for doesn't exist and the next steps will not work. It may require a third party PPA or an alternative installation method.
If results are found, the package exists and you may continue with these steps:
- Open Software Sources (or Software & Updates in 13.04+) by searching for it in the Dash.
- Open the "Ubuntu Software" tab.
Ensure that the first 4 check boxes on this tab are enabled:
Update the package lists, then test with these commands:
sudo apt-get update
sudo apt-get install <TEST_PACKAGE>
First, check if the package actually exists:
- Go to packages.ubuntu.com with a web browser.
- Scroll down to "Search package directories"
Enter the package which you're trying to install into the "Keyword" field.
Enable "Only show exact matches:"
Change the "Distribution" to which version of Ubuntu you're using.
If there are no results, the package you are looking for doesn't exist and the next steps will not work. It may require a third party PPA or an alternative installation method.
If results are found, the package exists and you may continue with these steps:
- Open Software Sources (or Software & Updates in 13.04+) by searching for it in the Dash.
- Open the "Ubuntu Software" tab.
Ensure that the first 4 check boxes on this tab are enabled:
Update the package lists, then test with these commands:
sudo apt-get update
sudo apt-get install <TEST_PACKAGE>
edited Jan 19 '14 at 3:24
answered Nov 17 '13 at 21:01
kiri
17.9k125799
17.9k125799
18
I found that a simplesudo apt-get update
was enough to fix it for me. Your mileage may vary.
â Edward Falk
Mar 7 '16 at 23:33
I've done everything mentioned here butapt-get install
still won't find thrlibqt4pas
package while Synaptic has no problems finding. This just is a way weird.
â Ivan
Aug 24 '16 at 7:41
@Edward Falk thanks a lot. I've been struggling for hours.
â Ganesh K
Jun 25 '17 at 13:23
@EdwardFalk It doesn't work for me at all and I'm trying to install nodejs
â Andrew
Mar 27 at 21:20
@kiri. Very good explaination. I just installed DSE(Datastax Cassandra) on another laptop following this(docs.datastax.com/en/install/doc/install/installDEBdse.html). No issues. but now getting all sort of errors like "Ign:9 debian.datastax.com/enterprise stable InRelease" even when my profile and key are correct. Followed everything but not able to install on this laptop.
â Ashu
May 26 at 2:48
add a comment |Â
18
I found that a simplesudo apt-get update
was enough to fix it for me. Your mileage may vary.
â Edward Falk
Mar 7 '16 at 23:33
I've done everything mentioned here butapt-get install
still won't find thrlibqt4pas
package while Synaptic has no problems finding. This just is a way weird.
â Ivan
Aug 24 '16 at 7:41
@Edward Falk thanks a lot. I've been struggling for hours.
â Ganesh K
Jun 25 '17 at 13:23
@EdwardFalk It doesn't work for me at all and I'm trying to install nodejs
â Andrew
Mar 27 at 21:20
@kiri. Very good explaination. I just installed DSE(Datastax Cassandra) on another laptop following this(docs.datastax.com/en/install/doc/install/installDEBdse.html). No issues. but now getting all sort of errors like "Ign:9 debian.datastax.com/enterprise stable InRelease" even when my profile and key are correct. Followed everything but not able to install on this laptop.
â Ashu
May 26 at 2:48
18
18
I found that a simple
sudo apt-get update
was enough to fix it for me. Your mileage may vary.â Edward Falk
Mar 7 '16 at 23:33
I found that a simple
sudo apt-get update
was enough to fix it for me. Your mileage may vary.â Edward Falk
Mar 7 '16 at 23:33
I've done everything mentioned here but
apt-get install
still won't find thr libqt4pas
package while Synaptic has no problems finding. This just is a way weird.â Ivan
Aug 24 '16 at 7:41
I've done everything mentioned here but
apt-get install
still won't find thr libqt4pas
package while Synaptic has no problems finding. This just is a way weird.â Ivan
Aug 24 '16 at 7:41
@Edward Falk thanks a lot. I've been struggling for hours.
â Ganesh K
Jun 25 '17 at 13:23
@Edward Falk thanks a lot. I've been struggling for hours.
â Ganesh K
Jun 25 '17 at 13:23
@EdwardFalk It doesn't work for me at all and I'm trying to install nodejs
â Andrew
Mar 27 at 21:20
@EdwardFalk It doesn't work for me at all and I'm trying to install nodejs
â Andrew
Mar 27 at 21:20
@kiri. Very good explaination. I just installed DSE(Datastax Cassandra) on another laptop following this(docs.datastax.com/en/install/doc/install/installDEBdse.html). No issues. but now getting all sort of errors like "Ign:9 debian.datastax.com/enterprise stable InRelease" even when my profile and key are correct. Followed everything but not able to install on this laptop.
â Ashu
May 26 at 2:48
@kiri. Very good explaination. I just installed DSE(Datastax Cassandra) on another laptop following this(docs.datastax.com/en/install/doc/install/installDEBdse.html). No issues. but now getting all sort of errors like "Ign:9 debian.datastax.com/enterprise stable InRelease" even when my profile and key are correct. Followed everything but not able to install on this laptop.
â Ashu
May 26 at 2:48
add a comment |Â
up vote
42
down vote
There are many questions about this topic. Here I provide a basic/general answer.
When apt-get install
is unable to locate a package, the package you want to install couldn't be found within repositories that you have added (those in in /etc/apt/sources.list
and under /etc/apt/sources.list.d/
).
The following (general) procedure helps to solve this:
Make sure you have enabled Ubuntu repositories:
To enable all repositories (
main
,universe
,restricted
,multiverse
), use the following commands:sudo add-apt-repository main
sudo add-apt-repository universe
sudo add-apt-repository restricted
sudo add-apt-repository multiverseVisit Help for more information.
For finding PPA for more packages:
- Go to Ubuntu Package Search. (Already explained in this answer)
- For External Repositories, Visit Ubuntu Updates and search by
button. or Visit
PPAs. - Or Search in Launchpad ppa
- Find appropriate ppa according to your Ubuntu release version.
Add PPA (by command-line):
Use this command:
sudo add-apt-repository ppa:<repository-name>
Visit Ubuntu community help for more information.
Don't forget to update (make apt aware of your changes):
It is essential to run this command after changing any repositories:
sudo apt-get update
Selecting best download server may help to speed up update.
Finally install the package:
sudo apt-get install <package>
Refer to Package management by commandline.
Additional/Tip: you can find the correct package-name (i.e the name in the repository) using
apt-cache search <package-name>
.
Related frequently asked Q&A:
- How do I resolve unmet dependencies after adding a PPA?
- What does Package <package> has no installation candidate mean?
Note: If package is not available on repository any how, than you have to wait until it is available (in the case of new/updated versions) or use other installation processes than apt-get
e.g. compiling from source, downloading executable binary, etc.
3
It could also be that the user is searching forlibname
, when it'slibname2
in Debian/Ubuntu.
â saiarcot895
Jun 10 '14 at 14:46
3
First, is depends on the package and you are making a number of assumptions. First, you are assuming the OP has identified the correct package name, as pointed out by saiarcot895 . Second you are assuming the packages is available. In general, it is best to first identify the problem. Then if at all possible install from the repositories. Unless there is a specific need, ppa is a second choice. If the package is not in the repositories or ppa it may need to be compiled from source. You really do not have enough information.
â Panther
Jun 10 '14 at 15:06
@saiarcot895 @bodhi.zazen : Revised answer with providingapt-cache search
to find correct package-name from repositories.
â Pandya
Sep 11 '14 at 13:56
awesome answer man, u r one who should be winner
â sdream
Jun 16 at 16:25
add a comment |Â
up vote
42
down vote
There are many questions about this topic. Here I provide a basic/general answer.
When apt-get install
is unable to locate a package, the package you want to install couldn't be found within repositories that you have added (those in in /etc/apt/sources.list
and under /etc/apt/sources.list.d/
).
The following (general) procedure helps to solve this:
Make sure you have enabled Ubuntu repositories:
To enable all repositories (
main
,universe
,restricted
,multiverse
), use the following commands:sudo add-apt-repository main
sudo add-apt-repository universe
sudo add-apt-repository restricted
sudo add-apt-repository multiverseVisit Help for more information.
For finding PPA for more packages:
- Go to Ubuntu Package Search. (Already explained in this answer)
- For External Repositories, Visit Ubuntu Updates and search by
button. or Visit
PPAs. - Or Search in Launchpad ppa
- Find appropriate ppa according to your Ubuntu release version.
Add PPA (by command-line):
Use this command:
sudo add-apt-repository ppa:<repository-name>
Visit Ubuntu community help for more information.
Don't forget to update (make apt aware of your changes):
It is essential to run this command after changing any repositories:
sudo apt-get update
Selecting best download server may help to speed up update.
Finally install the package:
sudo apt-get install <package>
Refer to Package management by commandline.
Additional/Tip: you can find the correct package-name (i.e the name in the repository) using
apt-cache search <package-name>
.
Related frequently asked Q&A:
- How do I resolve unmet dependencies after adding a PPA?
- What does Package <package> has no installation candidate mean?
Note: If package is not available on repository any how, than you have to wait until it is available (in the case of new/updated versions) or use other installation processes than apt-get
e.g. compiling from source, downloading executable binary, etc.
3
It could also be that the user is searching forlibname
, when it'slibname2
in Debian/Ubuntu.
â saiarcot895
Jun 10 '14 at 14:46
3
First, is depends on the package and you are making a number of assumptions. First, you are assuming the OP has identified the correct package name, as pointed out by saiarcot895 . Second you are assuming the packages is available. In general, it is best to first identify the problem. Then if at all possible install from the repositories. Unless there is a specific need, ppa is a second choice. If the package is not in the repositories or ppa it may need to be compiled from source. You really do not have enough information.
â Panther
Jun 10 '14 at 15:06
@saiarcot895 @bodhi.zazen : Revised answer with providingapt-cache search
to find correct package-name from repositories.
â Pandya
Sep 11 '14 at 13:56
awesome answer man, u r one who should be winner
â sdream
Jun 16 at 16:25
add a comment |Â
up vote
42
down vote
up vote
42
down vote
There are many questions about this topic. Here I provide a basic/general answer.
When apt-get install
is unable to locate a package, the package you want to install couldn't be found within repositories that you have added (those in in /etc/apt/sources.list
and under /etc/apt/sources.list.d/
).
The following (general) procedure helps to solve this:
Make sure you have enabled Ubuntu repositories:
To enable all repositories (
main
,universe
,restricted
,multiverse
), use the following commands:sudo add-apt-repository main
sudo add-apt-repository universe
sudo add-apt-repository restricted
sudo add-apt-repository multiverseVisit Help for more information.
For finding PPA for more packages:
- Go to Ubuntu Package Search. (Already explained in this answer)
- For External Repositories, Visit Ubuntu Updates and search by
button. or Visit
PPAs. - Or Search in Launchpad ppa
- Find appropriate ppa according to your Ubuntu release version.
Add PPA (by command-line):
Use this command:
sudo add-apt-repository ppa:<repository-name>
Visit Ubuntu community help for more information.
Don't forget to update (make apt aware of your changes):
It is essential to run this command after changing any repositories:
sudo apt-get update
Selecting best download server may help to speed up update.
Finally install the package:
sudo apt-get install <package>
Refer to Package management by commandline.
Additional/Tip: you can find the correct package-name (i.e the name in the repository) using
apt-cache search <package-name>
.
Related frequently asked Q&A:
- How do I resolve unmet dependencies after adding a PPA?
- What does Package <package> has no installation candidate mean?
Note: If package is not available on repository any how, than you have to wait until it is available (in the case of new/updated versions) or use other installation processes than apt-get
e.g. compiling from source, downloading executable binary, etc.
There are many questions about this topic. Here I provide a basic/general answer.
When apt-get install
is unable to locate a package, the package you want to install couldn't be found within repositories that you have added (those in in /etc/apt/sources.list
and under /etc/apt/sources.list.d/
).
The following (general) procedure helps to solve this:
Make sure you have enabled Ubuntu repositories:
To enable all repositories (
main
,universe
,restricted
,multiverse
), use the following commands:sudo add-apt-repository main
sudo add-apt-repository universe
sudo add-apt-repository restricted
sudo add-apt-repository multiverseVisit Help for more information.
For finding PPA for more packages:
- Go to Ubuntu Package Search. (Already explained in this answer)
- For External Repositories, Visit Ubuntu Updates and search by
button. or Visit
PPAs. - Or Search in Launchpad ppa
- Find appropriate ppa according to your Ubuntu release version.
Add PPA (by command-line):
Use this command:
sudo add-apt-repository ppa:<repository-name>
Visit Ubuntu community help for more information.
Don't forget to update (make apt aware of your changes):
It is essential to run this command after changing any repositories:
sudo apt-get update
Selecting best download server may help to speed up update.
Finally install the package:
sudo apt-get install <package>
Refer to Package management by commandline.
Additional/Tip: you can find the correct package-name (i.e the name in the repository) using
apt-cache search <package-name>
.
Related frequently asked Q&A:
- How do I resolve unmet dependencies after adding a PPA?
- What does Package <package> has no installation candidate mean?
Note: If package is not available on repository any how, than you have to wait until it is available (in the case of new/updated versions) or use other installation processes than apt-get
e.g. compiling from source, downloading executable binary, etc.
edited Apr 13 '17 at 12:23
Communityâ¦
1
1
answered Jun 10 '14 at 13:58
![](https://i.stack.imgur.com/XpD4D.jpg?s=32&g=1)
![](https://i.stack.imgur.com/XpD4D.jpg?s=32&g=1)
Pandya
18.1k2588144
18.1k2588144
3
It could also be that the user is searching forlibname
, when it'slibname2
in Debian/Ubuntu.
â saiarcot895
Jun 10 '14 at 14:46
3
First, is depends on the package and you are making a number of assumptions. First, you are assuming the OP has identified the correct package name, as pointed out by saiarcot895 . Second you are assuming the packages is available. In general, it is best to first identify the problem. Then if at all possible install from the repositories. Unless there is a specific need, ppa is a second choice. If the package is not in the repositories or ppa it may need to be compiled from source. You really do not have enough information.
â Panther
Jun 10 '14 at 15:06
@saiarcot895 @bodhi.zazen : Revised answer with providingapt-cache search
to find correct package-name from repositories.
â Pandya
Sep 11 '14 at 13:56
awesome answer man, u r one who should be winner
â sdream
Jun 16 at 16:25
add a comment |Â
3
It could also be that the user is searching forlibname
, when it'slibname2
in Debian/Ubuntu.
â saiarcot895
Jun 10 '14 at 14:46
3
First, is depends on the package and you are making a number of assumptions. First, you are assuming the OP has identified the correct package name, as pointed out by saiarcot895 . Second you are assuming the packages is available. In general, it is best to first identify the problem. Then if at all possible install from the repositories. Unless there is a specific need, ppa is a second choice. If the package is not in the repositories or ppa it may need to be compiled from source. You really do not have enough information.
â Panther
Jun 10 '14 at 15:06
@saiarcot895 @bodhi.zazen : Revised answer with providingapt-cache search
to find correct package-name from repositories.
â Pandya
Sep 11 '14 at 13:56
awesome answer man, u r one who should be winner
â sdream
Jun 16 at 16:25
3
3
It could also be that the user is searching for
libname
, when it's libname2
in Debian/Ubuntu.â saiarcot895
Jun 10 '14 at 14:46
It could also be that the user is searching for
libname
, when it's libname2
in Debian/Ubuntu.â saiarcot895
Jun 10 '14 at 14:46
3
3
First, is depends on the package and you are making a number of assumptions. First, you are assuming the OP has identified the correct package name, as pointed out by saiarcot895 . Second you are assuming the packages is available. In general, it is best to first identify the problem. Then if at all possible install from the repositories. Unless there is a specific need, ppa is a second choice. If the package is not in the repositories or ppa it may need to be compiled from source. You really do not have enough information.
â Panther
Jun 10 '14 at 15:06
First, is depends on the package and you are making a number of assumptions. First, you are assuming the OP has identified the correct package name, as pointed out by saiarcot895 . Second you are assuming the packages is available. In general, it is best to first identify the problem. Then if at all possible install from the repositories. Unless there is a specific need, ppa is a second choice. If the package is not in the repositories or ppa it may need to be compiled from source. You really do not have enough information.
â Panther
Jun 10 '14 at 15:06
@saiarcot895 @bodhi.zazen : Revised answer with providing
apt-cache search
to find correct package-name from repositories.â Pandya
Sep 11 '14 at 13:56
@saiarcot895 @bodhi.zazen : Revised answer with providing
apt-cache search
to find correct package-name from repositories.â Pandya
Sep 11 '14 at 13:56
awesome answer man, u r one who should be winner
â sdream
Jun 16 at 16:25
awesome answer man, u r one who should be winner
â sdream
Jun 16 at 16:25
add a comment |Â
up vote
7
down vote
xbmc is only available in the universe repository, only since Ubuntu 12.04 (precise). If you have an older release of Ubuntu, you'll need to upgrade or to get xbmc from another place.
If you have Ubuntu 12.04, make sure that you have turned on the universe repository. You can see what repositories you have enabled in the file /etc/apt/sources.list
(and in files in the directory /etc/apt/sources.list.d
). Check that this file contains a line like
deb http://al.archive.ubuntu.com/ubuntu/ precise universe
or
deb http://zw.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
If you only find a line like
deb http://mn.archive.ubuntu.com/ubuntu/ precise main restricted
and no line with universe
, add universe
at the end of that line, or a separate line with precise universe
, as illustrated above.
If you need to modify /etc/apt/sources.list
, run sudo apt-get update
afterwards, then try installing again. If the package is still not found, post the complete content of /etc/apt/sources.list
and the output of sudo apt-get update
.
@EliahKagan I hadn't thought my answer could be interpreted that way, I tried to clarify. Why notal
andzw
? (I try to select an appropriate mirror for the OP when they give a clue, but here I have no idea.)
â Gilles
Jul 2 '12 at 20:26
add a comment |Â
up vote
7
down vote
xbmc is only available in the universe repository, only since Ubuntu 12.04 (precise). If you have an older release of Ubuntu, you'll need to upgrade or to get xbmc from another place.
If you have Ubuntu 12.04, make sure that you have turned on the universe repository. You can see what repositories you have enabled in the file /etc/apt/sources.list
(and in files in the directory /etc/apt/sources.list.d
). Check that this file contains a line like
deb http://al.archive.ubuntu.com/ubuntu/ precise universe
or
deb http://zw.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
If you only find a line like
deb http://mn.archive.ubuntu.com/ubuntu/ precise main restricted
and no line with universe
, add universe
at the end of that line, or a separate line with precise universe
, as illustrated above.
If you need to modify /etc/apt/sources.list
, run sudo apt-get update
afterwards, then try installing again. If the package is still not found, post the complete content of /etc/apt/sources.list
and the output of sudo apt-get update
.
@EliahKagan I hadn't thought my answer could be interpreted that way, I tried to clarify. Why notal
andzw
? (I try to select an appropriate mirror for the OP when they give a clue, but here I have no idea.)
â Gilles
Jul 2 '12 at 20:26
add a comment |Â
up vote
7
down vote
up vote
7
down vote
xbmc is only available in the universe repository, only since Ubuntu 12.04 (precise). If you have an older release of Ubuntu, you'll need to upgrade or to get xbmc from another place.
If you have Ubuntu 12.04, make sure that you have turned on the universe repository. You can see what repositories you have enabled in the file /etc/apt/sources.list
(and in files in the directory /etc/apt/sources.list.d
). Check that this file contains a line like
deb http://al.archive.ubuntu.com/ubuntu/ precise universe
or
deb http://zw.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
If you only find a line like
deb http://mn.archive.ubuntu.com/ubuntu/ precise main restricted
and no line with universe
, add universe
at the end of that line, or a separate line with precise universe
, as illustrated above.
If you need to modify /etc/apt/sources.list
, run sudo apt-get update
afterwards, then try installing again. If the package is still not found, post the complete content of /etc/apt/sources.list
and the output of sudo apt-get update
.
xbmc is only available in the universe repository, only since Ubuntu 12.04 (precise). If you have an older release of Ubuntu, you'll need to upgrade or to get xbmc from another place.
If you have Ubuntu 12.04, make sure that you have turned on the universe repository. You can see what repositories you have enabled in the file /etc/apt/sources.list
(and in files in the directory /etc/apt/sources.list.d
). Check that this file contains a line like
deb http://al.archive.ubuntu.com/ubuntu/ precise universe
or
deb http://zw.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
If you only find a line like
deb http://mn.archive.ubuntu.com/ubuntu/ precise main restricted
and no line with universe
, add universe
at the end of that line, or a separate line with precise universe
, as illustrated above.
If you need to modify /etc/apt/sources.list
, run sudo apt-get update
afterwards, then try installing again. If the package is still not found, post the complete content of /etc/apt/sources.list
and the output of sudo apt-get update
.
edited Jul 2 '12 at 20:25
answered Jul 2 '12 at 20:10
![](https://i.stack.imgur.com/cFyP6.jpg?s=32&g=1)
![](https://i.stack.imgur.com/cFyP6.jpg?s=32&g=1)
Gilles
43k1397137
43k1397137
@EliahKagan I hadn't thought my answer could be interpreted that way, I tried to clarify. Why notal
andzw
? (I try to select an appropriate mirror for the OP when they give a clue, but here I have no idea.)
â Gilles
Jul 2 '12 at 20:26
add a comment |Â
@EliahKagan I hadn't thought my answer could be interpreted that way, I tried to clarify. Why notal
andzw
? (I try to select an appropriate mirror for the OP when they give a clue, but here I have no idea.)
â Gilles
Jul 2 '12 at 20:26
@EliahKagan I hadn't thought my answer could be interpreted that way, I tried to clarify. Why not
al
and zw
? (I try to select an appropriate mirror for the OP when they give a clue, but here I have no idea.)â Gilles
Jul 2 '12 at 20:26
@EliahKagan I hadn't thought my answer could be interpreted that way, I tried to clarify. Why not
al
and zw
? (I try to select an appropriate mirror for the OP when they give a clue, but here I have no idea.)â Gilles
Jul 2 '12 at 20:26
add a comment |Â
up vote
4
down vote
In the case where tried to install a file:
sudo apt-get install libstdc++.so.6
instead of a package. You get the error message:
E: Unable to locate package libstdc++.so.6
E: Couldn't find any package by regex 'libstdc++.so.6'
because you tried to install a file libstdc++.so.6
that you can't install, because it is located in a debian package.
You can use apt-file
to search for the package that contains that file. To install it, type:
sudo apt-get install apt-file
Then you have to update the index.
sudo apt-file update
After that, you can search for the package which contains the file libstdc++.so.6
:
sudo apt-file find libstdc++.so.6
Then you find a lot packages that contains the searched file. For this example I paste only one search result:
libstdc++6: /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Then you can install the needed package libstdc++6
:
sudo apt-get install libstdc++6
add a comment |Â
up vote
4
down vote
In the case where tried to install a file:
sudo apt-get install libstdc++.so.6
instead of a package. You get the error message:
E: Unable to locate package libstdc++.so.6
E: Couldn't find any package by regex 'libstdc++.so.6'
because you tried to install a file libstdc++.so.6
that you can't install, because it is located in a debian package.
You can use apt-file
to search for the package that contains that file. To install it, type:
sudo apt-get install apt-file
Then you have to update the index.
sudo apt-file update
After that, you can search for the package which contains the file libstdc++.so.6
:
sudo apt-file find libstdc++.so.6
Then you find a lot packages that contains the searched file. For this example I paste only one search result:
libstdc++6: /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Then you can install the needed package libstdc++6
:
sudo apt-get install libstdc++6
add a comment |Â
up vote
4
down vote
up vote
4
down vote
In the case where tried to install a file:
sudo apt-get install libstdc++.so.6
instead of a package. You get the error message:
E: Unable to locate package libstdc++.so.6
E: Couldn't find any package by regex 'libstdc++.so.6'
because you tried to install a file libstdc++.so.6
that you can't install, because it is located in a debian package.
You can use apt-file
to search for the package that contains that file. To install it, type:
sudo apt-get install apt-file
Then you have to update the index.
sudo apt-file update
After that, you can search for the package which contains the file libstdc++.so.6
:
sudo apt-file find libstdc++.so.6
Then you find a lot packages that contains the searched file. For this example I paste only one search result:
libstdc++6: /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Then you can install the needed package libstdc++6
:
sudo apt-get install libstdc++6
In the case where tried to install a file:
sudo apt-get install libstdc++.so.6
instead of a package. You get the error message:
E: Unable to locate package libstdc++.so.6
E: Couldn't find any package by regex 'libstdc++.so.6'
because you tried to install a file libstdc++.so.6
that you can't install, because it is located in a debian package.
You can use apt-file
to search for the package that contains that file. To install it, type:
sudo apt-get install apt-file
Then you have to update the index.
sudo apt-file update
After that, you can search for the package which contains the file libstdc++.so.6
:
sudo apt-file find libstdc++.so.6
Then you find a lot packages that contains the searched file. For this example I paste only one search result:
libstdc++6: /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Then you can install the needed package libstdc++6
:
sudo apt-get install libstdc++6
answered Jan 23 '14 at 22:02
![](https://i.stack.imgur.com/xdlU1.jpg?s=32&g=1)
![](https://i.stack.imgur.com/xdlU1.jpg?s=32&g=1)
BuZZ-dEE
8,730114968
8,730114968
add a comment |Â
add a comment |Â
up vote
3
down vote
I'm new to Ubuntu but i'm writing this as I discovered some solutions to avoid this "Unable to Locate Package" errors. There are three circumstances where this might occur to a shock.
- After installing Ubuntu if you don't update it followed by Upgrades, This might occur.
- If there are plenty of software updates to occur in future, make sure all important security updates/recommended updates are turned off by typing "Update Manager" on pressing Alt+F2.
- Issue One and Two can happen even after updating or clearing all updates. But the eternal solution is:
Try point 1 & 2, then typesudo apt-get killmanager
, if not working no problem proceed to typesudo apt-get update
, then typesudo apt-get upgrade
.
Now you should be able to install any software through Terminal.
If You still get error on "sudo apt-get update" line, try using "sudo apt-get upgrade". This will work.. Guys !! As Linux is highly case sensitive Please make sure you use all commands in smaller letters like "sudo" instead of "Sudo"
â Shaan Sundar
Dec 25 '12 at 13:36
add a comment |Â
up vote
3
down vote
I'm new to Ubuntu but i'm writing this as I discovered some solutions to avoid this "Unable to Locate Package" errors. There are three circumstances where this might occur to a shock.
- After installing Ubuntu if you don't update it followed by Upgrades, This might occur.
- If there are plenty of software updates to occur in future, make sure all important security updates/recommended updates are turned off by typing "Update Manager" on pressing Alt+F2.
- Issue One and Two can happen even after updating or clearing all updates. But the eternal solution is:
Try point 1 & 2, then typesudo apt-get killmanager
, if not working no problem proceed to typesudo apt-get update
, then typesudo apt-get upgrade
.
Now you should be able to install any software through Terminal.
If You still get error on "sudo apt-get update" line, try using "sudo apt-get upgrade". This will work.. Guys !! As Linux is highly case sensitive Please make sure you use all commands in smaller letters like "sudo" instead of "Sudo"
â Shaan Sundar
Dec 25 '12 at 13:36
add a comment |Â
up vote
3
down vote
up vote
3
down vote
I'm new to Ubuntu but i'm writing this as I discovered some solutions to avoid this "Unable to Locate Package" errors. There are three circumstances where this might occur to a shock.
- After installing Ubuntu if you don't update it followed by Upgrades, This might occur.
- If there are plenty of software updates to occur in future, make sure all important security updates/recommended updates are turned off by typing "Update Manager" on pressing Alt+F2.
- Issue One and Two can happen even after updating or clearing all updates. But the eternal solution is:
Try point 1 & 2, then typesudo apt-get killmanager
, if not working no problem proceed to typesudo apt-get update
, then typesudo apt-get upgrade
.
Now you should be able to install any software through Terminal.
I'm new to Ubuntu but i'm writing this as I discovered some solutions to avoid this "Unable to Locate Package" errors. There are three circumstances where this might occur to a shock.
- After installing Ubuntu if you don't update it followed by Upgrades, This might occur.
- If there are plenty of software updates to occur in future, make sure all important security updates/recommended updates are turned off by typing "Update Manager" on pressing Alt+F2.
- Issue One and Two can happen even after updating or clearing all updates. But the eternal solution is:
Try point 1 & 2, then typesudo apt-get killmanager
, if not working no problem proceed to typesudo apt-get update
, then typesudo apt-get upgrade
.
Now you should be able to install any software through Terminal.
edited Dec 25 '12 at 15:53
![](https://i.stack.imgur.com/UNXE2.png?s=32&g=1)
![](https://i.stack.imgur.com/UNXE2.png?s=32&g=1)
Eric Carvalho
39.3k17106140
39.3k17106140
answered Dec 25 '12 at 13:31
Shaan Sundar
312
312
If You still get error on "sudo apt-get update" line, try using "sudo apt-get upgrade". This will work.. Guys !! As Linux is highly case sensitive Please make sure you use all commands in smaller letters like "sudo" instead of "Sudo"
â Shaan Sundar
Dec 25 '12 at 13:36
add a comment |Â
If You still get error on "sudo apt-get update" line, try using "sudo apt-get upgrade". This will work.. Guys !! As Linux is highly case sensitive Please make sure you use all commands in smaller letters like "sudo" instead of "Sudo"
â Shaan Sundar
Dec 25 '12 at 13:36
If You still get error on "sudo apt-get update" line, try using "sudo apt-get upgrade". This will work.. Guys !! As Linux is highly case sensitive Please make sure you use all commands in smaller letters like "sudo" instead of "Sudo"
â Shaan Sundar
Dec 25 '12 at 13:36
If You still get error on "sudo apt-get update" line, try using "sudo apt-get upgrade". This will work.. Guys !! As Linux is highly case sensitive Please make sure you use all commands in smaller letters like "sudo" instead of "Sudo"
â Shaan Sundar
Dec 25 '12 at 13:36
add a comment |Â
protected by Mitch⦠May 13 '15 at 8:59
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?
"My
apt-get
doesn't install any programs." Try some package other thanxmbc
.â hexafraction
Jul 2 '12 at 20:29
2
unable to locate package is merged with this Question.
â Pandya
Sep 11 '14 at 14:02
When I ran into this, it was due to my distribution version (17.04) being End-of-Lifed (EOL): Got the message
E: The repository 'http://security.ubuntu.com/ubuntu zesty-security Release' does no longer have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
â Ben Creasy
Feb 8 at 2:31
@BenCreasy did you find any solution for it? For me below answers not working.
â Akshay Nevrekar
Feb 26 at 11:47
I recommend trying
sudo apt-get dist-upgrade
or something. I was building an immutable server with Packer (github.com/hashicorp/packer) so I just bumped to Ubuntu 17.10.â Ben Creasy
Feb 26 at 17:48