“Repository doesn't support architecture” when trying to update on Landscape client

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








up vote
0
down vote

favorite












When I try to update on landscape client machine I get this error.



$ sudo apt-get update
N: Skipping acquire of configured file 'restricted/binary-i386/Packages'
as repository 'http://landscape/repository/standalone/xenial xenial-updates InRelease'
doesn't support architecture 'i386'


Is there any simple way to add arch i386 without having to create a new pocket, using only CLI?







share|improve this question


























    up vote
    0
    down vote

    favorite












    When I try to update on landscape client machine I get this error.



    $ sudo apt-get update
    N: Skipping acquire of configured file 'restricted/binary-i386/Packages'
    as repository 'http://landscape/repository/standalone/xenial xenial-updates InRelease'
    doesn't support architecture 'i386'


    Is there any simple way to add arch i386 without having to create a new pocket, using only CLI?







    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      When I try to update on landscape client machine I get this error.



      $ sudo apt-get update
      N: Skipping acquire of configured file 'restricted/binary-i386/Packages'
      as repository 'http://landscape/repository/standalone/xenial xenial-updates InRelease'
      doesn't support architecture 'i386'


      Is there any simple way to add arch i386 without having to create a new pocket, using only CLI?







      share|improve this question














      When I try to update on landscape client machine I get this error.



      $ sudo apt-get update
      N: Skipping acquire of configured file 'restricted/binary-i386/Packages'
      as repository 'http://landscape/repository/standalone/xenial xenial-updates InRelease'
      doesn't support architecture 'i386'


      Is there any simple way to add arch i386 without having to create a new pocket, using only CLI?









      share|improve this question













      share|improve this question




      share|improve this question








      edited May 11 at 8:30









      Zanna

      47.9k13119227




      47.9k13119227










      asked May 11 at 8:27









      theo

      62




      62




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          The APi has an EditPocket method which takes a list of architectures. Something like this should allow you to change the list of architectures of a pocket:



          landscape-api edit-pocket pocket series distribution --architectures amd64,i386





          share|improve this answer




















          • thanks , very helpful info... my follow up is the link shared is for HTML , is the a link for CLI as well. like for the command you gave
            – theo
            May 14 at 7:09










          • The link is for for the http API, which landscape-api CLI uses. The method names are formatted slightly differently though (e.g. edit-pocket -> EditPocket). There is more documentation about it here landscape.canonical.com/static/doc/api/api-client-package.html
            – simpoir
            May 24 at 16:21










          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%2f1034822%2frepository-doesnt-support-architecture-when-trying-to-update-on-landscape-cli%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













          The APi has an EditPocket method which takes a list of architectures. Something like this should allow you to change the list of architectures of a pocket:



          landscape-api edit-pocket pocket series distribution --architectures amd64,i386





          share|improve this answer




















          • thanks , very helpful info... my follow up is the link shared is for HTML , is the a link for CLI as well. like for the command you gave
            – theo
            May 14 at 7:09










          • The link is for for the http API, which landscape-api CLI uses. The method names are formatted slightly differently though (e.g. edit-pocket -> EditPocket). There is more documentation about it here landscape.canonical.com/static/doc/api/api-client-package.html
            – simpoir
            May 24 at 16:21














          up vote
          0
          down vote













          The APi has an EditPocket method which takes a list of architectures. Something like this should allow you to change the list of architectures of a pocket:



          landscape-api edit-pocket pocket series distribution --architectures amd64,i386





          share|improve this answer




















          • thanks , very helpful info... my follow up is the link shared is for HTML , is the a link for CLI as well. like for the command you gave
            – theo
            May 14 at 7:09










          • The link is for for the http API, which landscape-api CLI uses. The method names are formatted slightly differently though (e.g. edit-pocket -> EditPocket). There is more documentation about it here landscape.canonical.com/static/doc/api/api-client-package.html
            – simpoir
            May 24 at 16:21












          up vote
          0
          down vote










          up vote
          0
          down vote









          The APi has an EditPocket method which takes a list of architectures. Something like this should allow you to change the list of architectures of a pocket:



          landscape-api edit-pocket pocket series distribution --architectures amd64,i386





          share|improve this answer












          The APi has an EditPocket method which takes a list of architectures. Something like this should allow you to change the list of architectures of a pocket:



          landscape-api edit-pocket pocket series distribution --architectures amd64,i386






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 13 at 21:35









          simpoir

          1964




          1964











          • thanks , very helpful info... my follow up is the link shared is for HTML , is the a link for CLI as well. like for the command you gave
            – theo
            May 14 at 7:09










          • The link is for for the http API, which landscape-api CLI uses. The method names are formatted slightly differently though (e.g. edit-pocket -> EditPocket). There is more documentation about it here landscape.canonical.com/static/doc/api/api-client-package.html
            – simpoir
            May 24 at 16:21
















          • thanks , very helpful info... my follow up is the link shared is for HTML , is the a link for CLI as well. like for the command you gave
            – theo
            May 14 at 7:09










          • The link is for for the http API, which landscape-api CLI uses. The method names are formatted slightly differently though (e.g. edit-pocket -> EditPocket). There is more documentation about it here landscape.canonical.com/static/doc/api/api-client-package.html
            – simpoir
            May 24 at 16:21















          thanks , very helpful info... my follow up is the link shared is for HTML , is the a link for CLI as well. like for the command you gave
          – theo
          May 14 at 7:09




          thanks , very helpful info... my follow up is the link shared is for HTML , is the a link for CLI as well. like for the command you gave
          – theo
          May 14 at 7:09












          The link is for for the http API, which landscape-api CLI uses. The method names are formatted slightly differently though (e.g. edit-pocket -> EditPocket). There is more documentation about it here landscape.canonical.com/static/doc/api/api-client-package.html
          – simpoir
          May 24 at 16:21




          The link is for for the http API, which landscape-api CLI uses. The method names are formatted slightly differently though (e.g. edit-pocket -> EditPocket). There is more documentation about it here landscape.canonical.com/static/doc/api/api-client-package.html
          – simpoir
          May 24 at 16:21












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1034822%2frepository-doesnt-support-architecture-when-trying-to-update-on-landscape-cli%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Which professions warranted travel in Medieval times?

          How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

          Trouble downloading packages list due to a “Hash sum mismatch” error