How do you find a repo and add it to your sources?Unable to upgrade due to “SystemError: E:Method has died unexpectedly!” errorhow to install CryptoTEInstalling Apache Cordova, unable to locate packageUsing pip3-installed python 3 packages when apt-installed packages exist too?Cannot install using Software Center - fix does not workDistribution not found error with scrapy16.04.1 LTS glibcxx 3.4.21 not definedTypeError when running update-manager on ubuntu 17.10version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time referenceinstall python module for certain python binary

PTIJ: Why do we make a Lulav holder?

Why is this tree refusing to shed its dead leaves?

Writing in a Christian voice

Print a physical multiplication table

Should I be concerned about student access to a test bank?

How to understand 「僕は誰より彼女が好きなんだ。」

Turning a hard to access nut?

Was World War I a war of liberals against authoritarians?

"Marked down as someone wanting to sell shares." What does that mean?

Do people actually use the word "kaputt" in conversation?

Why does Surtur say that Thor is Asgard's doom?

UK Tourist Visa- Enquiry

What is the difference between something being completely legal and being completely decriminalized?

What are the consequences of changing the number of hours in a day?

Print last inputted byte

How do researchers send unsolicited emails asking for feedback on their works?

Is xar preinstalled on macOS?

Does convergence of polynomials imply that of its coefficients?

Why didn’t Eve recognize the little cockroach as a living organism?

How can an organ that provides biological immortality be unable to regenerate?

Help with identifying unique aircraft over NE Pennsylvania

What is the tangent at a sharp point on a curve?

Do I need an EFI partition for each 18.04 ubuntu I have on my HD?

Gauss brackets with double vertical lines



How do you find a repo and add it to your sources?


Unable to upgrade due to “SystemError: E:Method has died unexpectedly!” errorhow to install CryptoTEInstalling Apache Cordova, unable to locate packageUsing pip3-installed python 3 packages when apt-installed packages exist too?Cannot install using Software Center - fix does not workDistribution not found error with scrapy16.04.1 LTS glibcxx 3.4.21 not definedTypeError when running update-manager on ubuntu 17.10version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time referenceinstall python module for certain python binary













-1















I have a new machine running PureOS which under the hood seems to run similar to how Ubuntu does--I hope this question is appropriate here. I think my question is generically Linux-based enough that the details of the OS hopefully won't be important.



This OS has very few sources, and I want to add openjdk. I tried sudo add-apt-repository ppa:openjdk/ppa but the terminal returns



Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 95, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for PureOS/green


I assume this just means that the OS doesn't support this command so I should add the repo by editing etc/apt/sources.list. However, when I open the file it reads



deb https://repo.puri.sm/pureos green main


which is not the same as how I'm used to referring to repos (ppa:openjdk/ppa). I could guess that the repo I should insert into the document is



deb https://repo.puri.sm/pureos green main
deb https://openjdk.java.net/projects/jdk/11/


but it'd just be a guess. I can't find any straight-forward statement of what the address of the repo is.



So in general, when trying to find a repo, how do you know what the address of the repo is? Is there some particular file or directory linked within the page, and then you just select the web address of that page?










share|improve this question

















  • 1





    Only official Ubuntu flavours are supported here, try at unix.stackexchange.com

    – pomsky
    9 mins ago















-1















I have a new machine running PureOS which under the hood seems to run similar to how Ubuntu does--I hope this question is appropriate here. I think my question is generically Linux-based enough that the details of the OS hopefully won't be important.



This OS has very few sources, and I want to add openjdk. I tried sudo add-apt-repository ppa:openjdk/ppa but the terminal returns



Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 95, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for PureOS/green


I assume this just means that the OS doesn't support this command so I should add the repo by editing etc/apt/sources.list. However, when I open the file it reads



deb https://repo.puri.sm/pureos green main


which is not the same as how I'm used to referring to repos (ppa:openjdk/ppa). I could guess that the repo I should insert into the document is



deb https://repo.puri.sm/pureos green main
deb https://openjdk.java.net/projects/jdk/11/


but it'd just be a guess. I can't find any straight-forward statement of what the address of the repo is.



So in general, when trying to find a repo, how do you know what the address of the repo is? Is there some particular file or directory linked within the page, and then you just select the web address of that page?










share|improve this question

















  • 1





    Only official Ubuntu flavours are supported here, try at unix.stackexchange.com

    – pomsky
    9 mins ago













-1












-1








-1








I have a new machine running PureOS which under the hood seems to run similar to how Ubuntu does--I hope this question is appropriate here. I think my question is generically Linux-based enough that the details of the OS hopefully won't be important.



This OS has very few sources, and I want to add openjdk. I tried sudo add-apt-repository ppa:openjdk/ppa but the terminal returns



Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 95, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for PureOS/green


I assume this just means that the OS doesn't support this command so I should add the repo by editing etc/apt/sources.list. However, when I open the file it reads



deb https://repo.puri.sm/pureos green main


which is not the same as how I'm used to referring to repos (ppa:openjdk/ppa). I could guess that the repo I should insert into the document is



deb https://repo.puri.sm/pureos green main
deb https://openjdk.java.net/projects/jdk/11/


but it'd just be a guess. I can't find any straight-forward statement of what the address of the repo is.



So in general, when trying to find a repo, how do you know what the address of the repo is? Is there some particular file or directory linked within the page, and then you just select the web address of that page?










share|improve this question














I have a new machine running PureOS which under the hood seems to run similar to how Ubuntu does--I hope this question is appropriate here. I think my question is generically Linux-based enough that the details of the OS hopefully won't be important.



This OS has very few sources, and I want to add openjdk. I tried sudo add-apt-repository ppa:openjdk/ppa but the terminal returns



Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 95, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for PureOS/green


I assume this just means that the OS doesn't support this command so I should add the repo by editing etc/apt/sources.list. However, when I open the file it reads



deb https://repo.puri.sm/pureos green main


which is not the same as how I'm used to referring to repos (ppa:openjdk/ppa). I could guess that the repo I should insert into the document is



deb https://repo.puri.sm/pureos green main
deb https://openjdk.java.net/projects/jdk/11/


but it'd just be a guess. I can't find any straight-forward statement of what the address of the repo is.



So in general, when trying to find a repo, how do you know what the address of the repo is? Is there some particular file or directory linked within the page, and then you just select the web address of that page?







apt package-management repository






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 11 mins ago









AddemAddem

3112512




3112512







  • 1





    Only official Ubuntu flavours are supported here, try at unix.stackexchange.com

    – pomsky
    9 mins ago












  • 1





    Only official Ubuntu flavours are supported here, try at unix.stackexchange.com

    – pomsky
    9 mins ago







1




1





Only official Ubuntu flavours are supported here, try at unix.stackexchange.com

– pomsky
9 mins ago





Only official Ubuntu flavours are supported here, try at unix.stackexchange.com

– pomsky
9 mins ago










0






active

oldest

votes











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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
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%2f1126831%2fhow-do-you-find-a-repo-and-add-it-to-your-sources%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1126831%2fhow-do-you-find-a-repo-and-add-it-to-your-sources%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

Where is the suspend/hibernate button in GNOME Shell? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)No suspend option in UI on Bionic BeaverHow can I set sleep mode in ubuntu18.04 LTS and what is the short cut key to do so?17.10 suspend not availableUbuntu 18.04 LTS missing sleep optionUbuntu 18.04 LTS - missing suspend option when power button is pressedHow to put Thinkpad X1 Extreme to sleep in Ubuntu 18.10?Suspend Button in interactive power button menu18.04 - Keep programs running after logging outway to disable Hibernate from within gconf-editor so button disappears?How can I hibernate from GNOME Shell?How can I hibernate/suspend from the command line and do so at a specific timeNo permission to suspend/hibernate after upgrading to 12.10MATE - Missing Suspend and Hibernate buttons, pressing power button shutdowns system immediatelyUbuntu 14.04: Suspend, Hibernate and Suspend-hybrid in the menu?Change “power-button-action” comand for “hibernate” option in GNOME 3.18Shutdown / Power off button does always go to suspend on 17.10Hibernate after suspend stopped working in 17.10Why doesn't the keyboard screenshot button work on Ubuntu with GNOME shell?