unable to add any repository via add-apt












0















I have same computer, installed from same image as my college, but yet I'm not able to add new repositories to ubuntu. I'm not aware of any relevatn modifications made to the system, and I'd really like to avoid reinstall. Is there any way how to add new apt repositories to 18.04



sudo add-apt-repository ppa:freecad-maintainers/freecad-daily
LSB codename: 'bionic'.
This codename isn't currently supported.
Please check your LSB information with "lsb_release -a".

mmucha@utu:/etc/apt/sources.list.d$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic


if I add that repository manually, there is missing GPGkey or invalid, but I have no idea how to download GPG for ppa... Details of failing GPG here:
fingerprint-gui in 18.04



maybe related question: Software & Updates missing from Applications dashboard










share|improve this question







New contributor




Martin Mucha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I have same computer, installed from same image as my college, but yet I'm not able to add new repositories to ubuntu. I'm not aware of any relevatn modifications made to the system, and I'd really like to avoid reinstall. Is there any way how to add new apt repositories to 18.04



    sudo add-apt-repository ppa:freecad-maintainers/freecad-daily
    LSB codename: 'bionic'.
    This codename isn't currently supported.
    Please check your LSB information with "lsb_release -a".

    mmucha@utu:/etc/apt/sources.list.d$ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 18.04.1 LTS
    Release: 18.04
    Codename: bionic


    if I add that repository manually, there is missing GPGkey or invalid, but I have no idea how to download GPG for ppa... Details of failing GPG here:
    fingerprint-gui in 18.04



    maybe related question: Software & Updates missing from Applications dashboard










    share|improve this question







    New contributor




    Martin Mucha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I have same computer, installed from same image as my college, but yet I'm not able to add new repositories to ubuntu. I'm not aware of any relevatn modifications made to the system, and I'd really like to avoid reinstall. Is there any way how to add new apt repositories to 18.04



      sudo add-apt-repository ppa:freecad-maintainers/freecad-daily
      LSB codename: 'bionic'.
      This codename isn't currently supported.
      Please check your LSB information with "lsb_release -a".

      mmucha@utu:/etc/apt/sources.list.d$ lsb_release -a
      No LSB modules are available.
      Distributor ID: Ubuntu
      Description: Ubuntu 18.04.1 LTS
      Release: 18.04
      Codename: bionic


      if I add that repository manually, there is missing GPGkey or invalid, but I have no idea how to download GPG for ppa... Details of failing GPG here:
      fingerprint-gui in 18.04



      maybe related question: Software & Updates missing from Applications dashboard










      share|improve this question







      New contributor




      Martin Mucha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I have same computer, installed from same image as my college, but yet I'm not able to add new repositories to ubuntu. I'm not aware of any relevatn modifications made to the system, and I'd really like to avoid reinstall. Is there any way how to add new apt repositories to 18.04



      sudo add-apt-repository ppa:freecad-maintainers/freecad-daily
      LSB codename: 'bionic'.
      This codename isn't currently supported.
      Please check your LSB information with "lsb_release -a".

      mmucha@utu:/etc/apt/sources.list.d$ lsb_release -a
      No LSB modules are available.
      Distributor ID: Ubuntu
      Description: Ubuntu 18.04.1 LTS
      Release: 18.04
      Codename: bionic


      if I add that repository manually, there is missing GPGkey or invalid, but I have no idea how to download GPG for ppa... Details of failing GPG here:
      fingerprint-gui in 18.04



      maybe related question: Software & Updates missing from Applications dashboard







      apt 18.04 repository






      share|improve this question







      New contributor




      Martin Mucha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Martin Mucha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Martin Mucha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 days ago









      Martin MuchaMartin Mucha

      32




      32




      New contributor




      Martin Mucha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Martin Mucha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Martin Mucha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Try adding the PPA manually. Create a file in the /etc/apt/sources.list.d directory called freecad.list.



          Note you can really name the file whatever you like but it needs to be in that directory and it needs to have a .list extension. Put this in the file:



          deb http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main 
          deb-src http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main





          share|improve this answer
























          • I'm ubuntu newbie, but sure, I tried to do that. Details are in that fingerprint-gui link: In that case I will get PGP error. But it's really weird, that add-apt does not work: I have supported distribution and it's rejected. And I don't know how to resolve in secure manner that GPG error. Copy-pasted here: W: GPG error: ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EFD5FA852F20733F

            – Martin Mucha
            2 days ago











          • Try manually adding the key too: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2F20733F (note that 2F20733F is the last 8 characters of the full key ID in the error message)

            – Eric Mintz
            2 days ago













          • Can you explain to me, what it does first? I understood it, that this just adds this GPG key among trusted ones and that's it. If that would be the case, and someone would be playing tricks on me, I'd just open the door for the man-in-the-middle. But I don't understand this sufficiently, so can you please explain the command( I tried to understand it myself but I'm still unsure) and tell me if it's actually safe to do this? Thanks!

            – Martin Mucha
            2 days ago











          • There are four fields in the deb http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main software source 1. type 2. URI 3. distribution 4. components. type of source is deb (.deb file) URI is http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu, distribution is bionic (18.04) components is main Source: help.ubuntu.com/community/Repositories/Ubuntu

            – karel
            2 days ago











          • @EricMintz OK, I'm not sure what exactly apt-key does, but lets hope it contacts given keyserver and asks public keys of given hash to be downloaded. I did that, and then by-hand added repository source works and I can install from it. THanks.

            – Martin Mucha
            13 hours ago











          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
          });


          }
          });






          Martin Mucha is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1113525%2funable-to-add-any-repository-via-add-apt%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Try adding the PPA manually. Create a file in the /etc/apt/sources.list.d directory called freecad.list.



          Note you can really name the file whatever you like but it needs to be in that directory and it needs to have a .list extension. Put this in the file:



          deb http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main 
          deb-src http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main





          share|improve this answer
























          • I'm ubuntu newbie, but sure, I tried to do that. Details are in that fingerprint-gui link: In that case I will get PGP error. But it's really weird, that add-apt does not work: I have supported distribution and it's rejected. And I don't know how to resolve in secure manner that GPG error. Copy-pasted here: W: GPG error: ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EFD5FA852F20733F

            – Martin Mucha
            2 days ago











          • Try manually adding the key too: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2F20733F (note that 2F20733F is the last 8 characters of the full key ID in the error message)

            – Eric Mintz
            2 days ago













          • Can you explain to me, what it does first? I understood it, that this just adds this GPG key among trusted ones and that's it. If that would be the case, and someone would be playing tricks on me, I'd just open the door for the man-in-the-middle. But I don't understand this sufficiently, so can you please explain the command( I tried to understand it myself but I'm still unsure) and tell me if it's actually safe to do this? Thanks!

            – Martin Mucha
            2 days ago











          • There are four fields in the deb http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main software source 1. type 2. URI 3. distribution 4. components. type of source is deb (.deb file) URI is http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu, distribution is bionic (18.04) components is main Source: help.ubuntu.com/community/Repositories/Ubuntu

            – karel
            2 days ago











          • @EricMintz OK, I'm not sure what exactly apt-key does, but lets hope it contacts given keyserver and asks public keys of given hash to be downloaded. I did that, and then by-hand added repository source works and I can install from it. THanks.

            – Martin Mucha
            13 hours ago
















          0














          Try adding the PPA manually. Create a file in the /etc/apt/sources.list.d directory called freecad.list.



          Note you can really name the file whatever you like but it needs to be in that directory and it needs to have a .list extension. Put this in the file:



          deb http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main 
          deb-src http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main





          share|improve this answer
























          • I'm ubuntu newbie, but sure, I tried to do that. Details are in that fingerprint-gui link: In that case I will get PGP error. But it's really weird, that add-apt does not work: I have supported distribution and it's rejected. And I don't know how to resolve in secure manner that GPG error. Copy-pasted here: W: GPG error: ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EFD5FA852F20733F

            – Martin Mucha
            2 days ago











          • Try manually adding the key too: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2F20733F (note that 2F20733F is the last 8 characters of the full key ID in the error message)

            – Eric Mintz
            2 days ago













          • Can you explain to me, what it does first? I understood it, that this just adds this GPG key among trusted ones and that's it. If that would be the case, and someone would be playing tricks on me, I'd just open the door for the man-in-the-middle. But I don't understand this sufficiently, so can you please explain the command( I tried to understand it myself but I'm still unsure) and tell me if it's actually safe to do this? Thanks!

            – Martin Mucha
            2 days ago











          • There are four fields in the deb http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main software source 1. type 2. URI 3. distribution 4. components. type of source is deb (.deb file) URI is http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu, distribution is bionic (18.04) components is main Source: help.ubuntu.com/community/Repositories/Ubuntu

            – karel
            2 days ago











          • @EricMintz OK, I'm not sure what exactly apt-key does, but lets hope it contacts given keyserver and asks public keys of given hash to be downloaded. I did that, and then by-hand added repository source works and I can install from it. THanks.

            – Martin Mucha
            13 hours ago














          0












          0








          0







          Try adding the PPA manually. Create a file in the /etc/apt/sources.list.d directory called freecad.list.



          Note you can really name the file whatever you like but it needs to be in that directory and it needs to have a .list extension. Put this in the file:



          deb http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main 
          deb-src http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main





          share|improve this answer













          Try adding the PPA manually. Create a file in the /etc/apt/sources.list.d directory called freecad.list.



          Note you can really name the file whatever you like but it needs to be in that directory and it needs to have a .list extension. Put this in the file:



          deb http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main 
          deb-src http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 2 days ago









          Eric MintzEric Mintz

          644312




          644312













          • I'm ubuntu newbie, but sure, I tried to do that. Details are in that fingerprint-gui link: In that case I will get PGP error. But it's really weird, that add-apt does not work: I have supported distribution and it's rejected. And I don't know how to resolve in secure manner that GPG error. Copy-pasted here: W: GPG error: ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EFD5FA852F20733F

            – Martin Mucha
            2 days ago











          • Try manually adding the key too: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2F20733F (note that 2F20733F is the last 8 characters of the full key ID in the error message)

            – Eric Mintz
            2 days ago













          • Can you explain to me, what it does first? I understood it, that this just adds this GPG key among trusted ones and that's it. If that would be the case, and someone would be playing tricks on me, I'd just open the door for the man-in-the-middle. But I don't understand this sufficiently, so can you please explain the command( I tried to understand it myself but I'm still unsure) and tell me if it's actually safe to do this? Thanks!

            – Martin Mucha
            2 days ago











          • There are four fields in the deb http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main software source 1. type 2. URI 3. distribution 4. components. type of source is deb (.deb file) URI is http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu, distribution is bionic (18.04) components is main Source: help.ubuntu.com/community/Repositories/Ubuntu

            – karel
            2 days ago











          • @EricMintz OK, I'm not sure what exactly apt-key does, but lets hope it contacts given keyserver and asks public keys of given hash to be downloaded. I did that, and then by-hand added repository source works and I can install from it. THanks.

            – Martin Mucha
            13 hours ago



















          • I'm ubuntu newbie, but sure, I tried to do that. Details are in that fingerprint-gui link: In that case I will get PGP error. But it's really weird, that add-apt does not work: I have supported distribution and it's rejected. And I don't know how to resolve in secure manner that GPG error. Copy-pasted here: W: GPG error: ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EFD5FA852F20733F

            – Martin Mucha
            2 days ago











          • Try manually adding the key too: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2F20733F (note that 2F20733F is the last 8 characters of the full key ID in the error message)

            – Eric Mintz
            2 days ago













          • Can you explain to me, what it does first? I understood it, that this just adds this GPG key among trusted ones and that's it. If that would be the case, and someone would be playing tricks on me, I'd just open the door for the man-in-the-middle. But I don't understand this sufficiently, so can you please explain the command( I tried to understand it myself but I'm still unsure) and tell me if it's actually safe to do this? Thanks!

            – Martin Mucha
            2 days ago











          • There are four fields in the deb http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main software source 1. type 2. URI 3. distribution 4. components. type of source is deb (.deb file) URI is http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu, distribution is bionic (18.04) components is main Source: help.ubuntu.com/community/Repositories/Ubuntu

            – karel
            2 days ago











          • @EricMintz OK, I'm not sure what exactly apt-key does, but lets hope it contacts given keyserver and asks public keys of given hash to be downloaded. I did that, and then by-hand added repository source works and I can install from it. THanks.

            – Martin Mucha
            13 hours ago

















          I'm ubuntu newbie, but sure, I tried to do that. Details are in that fingerprint-gui link: In that case I will get PGP error. But it's really weird, that add-apt does not work: I have supported distribution and it's rejected. And I don't know how to resolve in secure manner that GPG error. Copy-pasted here: W: GPG error: ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EFD5FA852F20733F

          – Martin Mucha
          2 days ago





          I'm ubuntu newbie, but sure, I tried to do that. Details are in that fingerprint-gui link: In that case I will get PGP error. But it's really weird, that add-apt does not work: I have supported distribution and it's rejected. And I don't know how to resolve in secure manner that GPG error. Copy-pasted here: W: GPG error: ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EFD5FA852F20733F

          – Martin Mucha
          2 days ago













          Try manually adding the key too: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2F20733F (note that 2F20733F is the last 8 characters of the full key ID in the error message)

          – Eric Mintz
          2 days ago







          Try manually adding the key too: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2F20733F (note that 2F20733F is the last 8 characters of the full key ID in the error message)

          – Eric Mintz
          2 days ago















          Can you explain to me, what it does first? I understood it, that this just adds this GPG key among trusted ones and that's it. If that would be the case, and someone would be playing tricks on me, I'd just open the door for the man-in-the-middle. But I don't understand this sufficiently, so can you please explain the command( I tried to understand it myself but I'm still unsure) and tell me if it's actually safe to do this? Thanks!

          – Martin Mucha
          2 days ago





          Can you explain to me, what it does first? I understood it, that this just adds this GPG key among trusted ones and that's it. If that would be the case, and someone would be playing tricks on me, I'd just open the door for the man-in-the-middle. But I don't understand this sufficiently, so can you please explain the command( I tried to understand it myself but I'm still unsure) and tell me if it's actually safe to do this? Thanks!

          – Martin Mucha
          2 days ago













          There are four fields in the deb http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main software source 1. type 2. URI 3. distribution 4. components. type of source is deb (.deb file) URI is http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu, distribution is bionic (18.04) components is main Source: help.ubuntu.com/community/Repositories/Ubuntu

          – karel
          2 days ago





          There are four fields in the deb http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic main software source 1. type 2. URI 3. distribution 4. components. type of source is deb (.deb file) URI is http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu, distribution is bionic (18.04) components is main Source: help.ubuntu.com/community/Repositories/Ubuntu

          – karel
          2 days ago













          @EricMintz OK, I'm not sure what exactly apt-key does, but lets hope it contacts given keyserver and asks public keys of given hash to be downloaded. I did that, and then by-hand added repository source works and I can install from it. THanks.

          – Martin Mucha
          13 hours ago





          @EricMintz OK, I'm not sure what exactly apt-key does, but lets hope it contacts given keyserver and asks public keys of given hash to be downloaded. I did that, and then by-hand added repository source works and I can install from it. THanks.

          – Martin Mucha
          13 hours ago










          Martin Mucha is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Martin Mucha is a new contributor. Be nice, and check out our Code of Conduct.













          Martin Mucha is a new contributor. Be nice, and check out our Code of Conduct.












          Martin Mucha is a new contributor. Be nice, and check out our Code of Conduct.
















          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%2f1113525%2funable-to-add-any-repository-via-add-apt%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

          數位音樂下載

          When can things happen in Etherscan, such as the picture below?

          格利澤436b