Cannot install ANYTHING at all

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












So, I'm new to linux I'm using Lubuntu 17.10. When I try to install a package either in a terminal or software centre. I tried everything even re-installing and that didn't help!



When I try to install through terminal I get this message:

E: Unable to locate package (package name).



In the software centre I try to install a program but nothing happens :/



Can anyone help me? Thanks!







share|improve this question




















  • Please first make sure that the package name is correct : apt-cache search [name] or part of name. Or use the on-line search for package name : packages.ubuntu.com/search?keywords=g%2B%2B&searchon=names
    – Knud Larsen
    May 16 at 23:14







  • 1




    Did you first run: sudo apt update? Welcome to Ask Ubuntu.
    – chili555
    May 16 at 23:34










  • Possible duplicate of "Unable to locate package" while trying to install packages with APT
    – karel
    May 17 at 8:48














up vote
0
down vote

favorite












So, I'm new to linux I'm using Lubuntu 17.10. When I try to install a package either in a terminal or software centre. I tried everything even re-installing and that didn't help!



When I try to install through terminal I get this message:

E: Unable to locate package (package name).



In the software centre I try to install a program but nothing happens :/



Can anyone help me? Thanks!







share|improve this question




















  • Please first make sure that the package name is correct : apt-cache search [name] or part of name. Or use the on-line search for package name : packages.ubuntu.com/search?keywords=g%2B%2B&searchon=names
    – Knud Larsen
    May 16 at 23:14







  • 1




    Did you first run: sudo apt update? Welcome to Ask Ubuntu.
    – chili555
    May 16 at 23:34










  • Possible duplicate of "Unable to locate package" while trying to install packages with APT
    – karel
    May 17 at 8:48












up vote
0
down vote

favorite









up vote
0
down vote

favorite











So, I'm new to linux I'm using Lubuntu 17.10. When I try to install a package either in a terminal or software centre. I tried everything even re-installing and that didn't help!



When I try to install through terminal I get this message:

E: Unable to locate package (package name).



In the software centre I try to install a program but nothing happens :/



Can anyone help me? Thanks!







share|improve this question












So, I'm new to linux I'm using Lubuntu 17.10. When I try to install a package either in a terminal or software centre. I tried everything even re-installing and that didn't help!



When I try to install through terminal I get this message:

E: Unable to locate package (package name).



In the software centre I try to install a program but nothing happens :/



Can anyone help me? Thanks!









share|improve this question











share|improve this question




share|improve this question










asked May 16 at 23:07









Ákos Rutai

1




1











  • Please first make sure that the package name is correct : apt-cache search [name] or part of name. Or use the on-line search for package name : packages.ubuntu.com/search?keywords=g%2B%2B&searchon=names
    – Knud Larsen
    May 16 at 23:14







  • 1




    Did you first run: sudo apt update? Welcome to Ask Ubuntu.
    – chili555
    May 16 at 23:34










  • Possible duplicate of "Unable to locate package" while trying to install packages with APT
    – karel
    May 17 at 8:48
















  • Please first make sure that the package name is correct : apt-cache search [name] or part of name. Or use the on-line search for package name : packages.ubuntu.com/search?keywords=g%2B%2B&searchon=names
    – Knud Larsen
    May 16 at 23:14







  • 1




    Did you first run: sudo apt update? Welcome to Ask Ubuntu.
    – chili555
    May 16 at 23:34










  • Possible duplicate of "Unable to locate package" while trying to install packages with APT
    – karel
    May 17 at 8:48















Please first make sure that the package name is correct : apt-cache search [name] or part of name. Or use the on-line search for package name : packages.ubuntu.com/search?keywords=g%2B%2B&searchon=names
– Knud Larsen
May 16 at 23:14





Please first make sure that the package name is correct : apt-cache search [name] or part of name. Or use the on-line search for package name : packages.ubuntu.com/search?keywords=g%2B%2B&searchon=names
– Knud Larsen
May 16 at 23:14





1




1




Did you first run: sudo apt update? Welcome to Ask Ubuntu.
– chili555
May 16 at 23:34




Did you first run: sudo apt update? Welcome to Ask Ubuntu.
– chili555
May 16 at 23:34












Possible duplicate of "Unable to locate package" while trying to install packages with APT
– karel
May 17 at 8:48




Possible duplicate of "Unable to locate package" while trying to install packages with APT
– karel
May 17 at 8:48










1 Answer
1






active

oldest

votes

















up vote
0
down vote













This error shows up when your Sources.list doesn't have the information about the package you're trying to install.




If you're too new and don't know what is sources.list.



Apt uses a file that lists the 'sources' from which packages can be obtained. This file is located at /etc/apt/sources.list.




Possible steps to fix your issue :



  1. Make sure that the package you want to install actually exists or not.

  2. Run sudo apt-update to update sources.list, then try installing package again.

  3. If even after step 2 your problem isn't solving, generate a sources.list using this online website : https://repogen.simplylinux.ch/

You can also try add repositories (main, universe, restricted, multiverse) manually by using the following commands



sudo add-apt-repository main

sudo add-apt-repository universe

sudo add-apt-repository restricted

sudo add-apt-repository multiverse





share|improve this answer






















  • I'd maybe change the formatting of last block of code, it's not very clear as it is (at least on mobile).
    – dsSTORM
    May 17 at 8:48










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037161%2fcannot-install-anything-at-all%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













This error shows up when your Sources.list doesn't have the information about the package you're trying to install.




If you're too new and don't know what is sources.list.



Apt uses a file that lists the 'sources' from which packages can be obtained. This file is located at /etc/apt/sources.list.




Possible steps to fix your issue :



  1. Make sure that the package you want to install actually exists or not.

  2. Run sudo apt-update to update sources.list, then try installing package again.

  3. If even after step 2 your problem isn't solving, generate a sources.list using this online website : https://repogen.simplylinux.ch/

You can also try add repositories (main, universe, restricted, multiverse) manually by using the following commands



sudo add-apt-repository main

sudo add-apt-repository universe

sudo add-apt-repository restricted

sudo add-apt-repository multiverse





share|improve this answer






















  • I'd maybe change the formatting of last block of code, it's not very clear as it is (at least on mobile).
    – dsSTORM
    May 17 at 8:48














up vote
0
down vote













This error shows up when your Sources.list doesn't have the information about the package you're trying to install.




If you're too new and don't know what is sources.list.



Apt uses a file that lists the 'sources' from which packages can be obtained. This file is located at /etc/apt/sources.list.




Possible steps to fix your issue :



  1. Make sure that the package you want to install actually exists or not.

  2. Run sudo apt-update to update sources.list, then try installing package again.

  3. If even after step 2 your problem isn't solving, generate a sources.list using this online website : https://repogen.simplylinux.ch/

You can also try add repositories (main, universe, restricted, multiverse) manually by using the following commands



sudo add-apt-repository main

sudo add-apt-repository universe

sudo add-apt-repository restricted

sudo add-apt-repository multiverse





share|improve this answer






















  • I'd maybe change the formatting of last block of code, it's not very clear as it is (at least on mobile).
    – dsSTORM
    May 17 at 8:48












up vote
0
down vote










up vote
0
down vote









This error shows up when your Sources.list doesn't have the information about the package you're trying to install.




If you're too new and don't know what is sources.list.



Apt uses a file that lists the 'sources' from which packages can be obtained. This file is located at /etc/apt/sources.list.




Possible steps to fix your issue :



  1. Make sure that the package you want to install actually exists or not.

  2. Run sudo apt-update to update sources.list, then try installing package again.

  3. If even after step 2 your problem isn't solving, generate a sources.list using this online website : https://repogen.simplylinux.ch/

You can also try add repositories (main, universe, restricted, multiverse) manually by using the following commands



sudo add-apt-repository main

sudo add-apt-repository universe

sudo add-apt-repository restricted

sudo add-apt-repository multiverse





share|improve this answer














This error shows up when your Sources.list doesn't have the information about the package you're trying to install.




If you're too new and don't know what is sources.list.



Apt uses a file that lists the 'sources' from which packages can be obtained. This file is located at /etc/apt/sources.list.




Possible steps to fix your issue :



  1. Make sure that the package you want to install actually exists or not.

  2. Run sudo apt-update to update sources.list, then try installing package again.

  3. If even after step 2 your problem isn't solving, generate a sources.list using this online website : https://repogen.simplylinux.ch/

You can also try add repositories (main, universe, restricted, multiverse) manually by using the following commands



sudo add-apt-repository main

sudo add-apt-repository universe

sudo add-apt-repository restricted

sudo add-apt-repository multiverse






share|improve this answer














share|improve this answer



share|improve this answer








edited May 17 at 8:51

























answered May 17 at 8:45









Vishesh Gautam

36011




36011











  • I'd maybe change the formatting of last block of code, it's not very clear as it is (at least on mobile).
    – dsSTORM
    May 17 at 8:48
















  • I'd maybe change the formatting of last block of code, it's not very clear as it is (at least on mobile).
    – dsSTORM
    May 17 at 8:48















I'd maybe change the formatting of last block of code, it's not very clear as it is (at least on mobile).
– dsSTORM
May 17 at 8:48




I'd maybe change the formatting of last block of code, it's not very clear as it is (at least on mobile).
– dsSTORM
May 17 at 8:48












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037161%2fcannot-install-anything-at-all%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491