How to install libavcodec with Apt for Cygwin?












1















I am having some trouble with installing new packages using cygwin's apt version of apt-get. The issue is, when I run the commands below, I receive



Coder@Coder-WIN10 ~
$ apt-cyg update
--2018-08-21 14:53:56-- http://cygwin.mirror.constant.com//x86_64/setup.bz2
Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... 108.61.5.83

Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|108.61.5.83|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3725925 (3.6M) [application/octet-stream]
Saving to: ‘setup.bz2’

setup.bz2 100%[===================>] 3.55M 4.63MB/s in 0.8s
2018-08-21 14:53:58 (4.63 MB/s) - ‘setup.bz2’ saved [3725925/3725925]

Updated setup.ini
Coder@Coder-WIN10 ~
$ apt-cyg install libavcodec-extra-56
Installing libavcodec-extra-56
Unable to locate package libavcodec-extra-56


I've tried multiple packages, but not all are installing without issue. What is the approach that I should take when installing packages that may not be available with the current mirror?










share|improve this question





























    1















    I am having some trouble with installing new packages using cygwin's apt version of apt-get. The issue is, when I run the commands below, I receive



    Coder@Coder-WIN10 ~
    $ apt-cyg update
    --2018-08-21 14:53:56-- http://cygwin.mirror.constant.com//x86_64/setup.bz2
    Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... 108.61.5.83

    Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|108.61.5.83|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 3725925 (3.6M) [application/octet-stream]
    Saving to: ‘setup.bz2’

    setup.bz2 100%[===================>] 3.55M 4.63MB/s in 0.8s
    2018-08-21 14:53:58 (4.63 MB/s) - ‘setup.bz2’ saved [3725925/3725925]

    Updated setup.ini
    Coder@Coder-WIN10 ~
    $ apt-cyg install libavcodec-extra-56
    Installing libavcodec-extra-56
    Unable to locate package libavcodec-extra-56


    I've tried multiple packages, but not all are installing without issue. What is the approach that I should take when installing packages that may not be available with the current mirror?










    share|improve this question



























      1












      1








      1








      I am having some trouble with installing new packages using cygwin's apt version of apt-get. The issue is, when I run the commands below, I receive



      Coder@Coder-WIN10 ~
      $ apt-cyg update
      --2018-08-21 14:53:56-- http://cygwin.mirror.constant.com//x86_64/setup.bz2
      Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... 108.61.5.83

      Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|108.61.5.83|:80... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 3725925 (3.6M) [application/octet-stream]
      Saving to: ‘setup.bz2’

      setup.bz2 100%[===================>] 3.55M 4.63MB/s in 0.8s
      2018-08-21 14:53:58 (4.63 MB/s) - ‘setup.bz2’ saved [3725925/3725925]

      Updated setup.ini
      Coder@Coder-WIN10 ~
      $ apt-cyg install libavcodec-extra-56
      Installing libavcodec-extra-56
      Unable to locate package libavcodec-extra-56


      I've tried multiple packages, but not all are installing without issue. What is the approach that I should take when installing packages that may not be available with the current mirror?










      share|improve this question
















      I am having some trouble with installing new packages using cygwin's apt version of apt-get. The issue is, when I run the commands below, I receive



      Coder@Coder-WIN10 ~
      $ apt-cyg update
      --2018-08-21 14:53:56-- http://cygwin.mirror.constant.com//x86_64/setup.bz2
      Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... 108.61.5.83

      Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|108.61.5.83|:80... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 3725925 (3.6M) [application/octet-stream]
      Saving to: ‘setup.bz2’

      setup.bz2 100%[===================>] 3.55M 4.63MB/s in 0.8s
      2018-08-21 14:53:58 (4.63 MB/s) - ‘setup.bz2’ saved [3725925/3725925]

      Updated setup.ini
      Coder@Coder-WIN10 ~
      $ apt-cyg install libavcodec-extra-56
      Installing libavcodec-extra-56
      Unable to locate package libavcodec-extra-56


      I've tried multiple packages, but not all are installing without issue. What is the approach that I should take when installing packages that may not be available with the current mirror?







      apt package-management windows-subsystem-for-linux






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 21 '18 at 20:58









      zx485

      1,45231114




      1,45231114










      asked Aug 21 '18 at 19:02









      Cole PhiperCole Phiper

      61




      61






















          1 Answer
          1






          active

          oldest

          votes


















          0














          libavcodec-extra-56 has been updated to libavcodec-extra57 in 18.04 and later. To install it run the following command:



          sudo apt install libavcodec-extra57  


          libavcodec-extra has been updated to libavcodec-extra-58 in 18.104 and 19.04.



          In earlier Ubuntu versions before 18.04 the same package is named libavcodec-extra.



          A standard sources.list file for apt in Ubuntu 18.04 looks like this:



          deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse  
          deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
          deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
          deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
          deb http://archive.canonical.com/ubuntu bionic partner





          share|improve this answer


























          • I'm still receiving "$ apt-cyg install libavcodec-extra57 Installing libavcodec-extra57 Unable to locate package libavcodec-extra57" Is there a special mirror that I'm supposed to point to with apt-cyg --mirror before being able to use the command?

            – Cole Phiper
            Aug 21 '18 at 21:32











          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%2f1067609%2fhow-to-install-libavcodec-with-apt-for-cygwin%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














          libavcodec-extra-56 has been updated to libavcodec-extra57 in 18.04 and later. To install it run the following command:



          sudo apt install libavcodec-extra57  


          libavcodec-extra has been updated to libavcodec-extra-58 in 18.104 and 19.04.



          In earlier Ubuntu versions before 18.04 the same package is named libavcodec-extra.



          A standard sources.list file for apt in Ubuntu 18.04 looks like this:



          deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse  
          deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
          deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
          deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
          deb http://archive.canonical.com/ubuntu bionic partner





          share|improve this answer


























          • I'm still receiving "$ apt-cyg install libavcodec-extra57 Installing libavcodec-extra57 Unable to locate package libavcodec-extra57" Is there a special mirror that I'm supposed to point to with apt-cyg --mirror before being able to use the command?

            – Cole Phiper
            Aug 21 '18 at 21:32
















          0














          libavcodec-extra-56 has been updated to libavcodec-extra57 in 18.04 and later. To install it run the following command:



          sudo apt install libavcodec-extra57  


          libavcodec-extra has been updated to libavcodec-extra-58 in 18.104 and 19.04.



          In earlier Ubuntu versions before 18.04 the same package is named libavcodec-extra.



          A standard sources.list file for apt in Ubuntu 18.04 looks like this:



          deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse  
          deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
          deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
          deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
          deb http://archive.canonical.com/ubuntu bionic partner





          share|improve this answer


























          • I'm still receiving "$ apt-cyg install libavcodec-extra57 Installing libavcodec-extra57 Unable to locate package libavcodec-extra57" Is there a special mirror that I'm supposed to point to with apt-cyg --mirror before being able to use the command?

            – Cole Phiper
            Aug 21 '18 at 21:32














          0












          0








          0







          libavcodec-extra-56 has been updated to libavcodec-extra57 in 18.04 and later. To install it run the following command:



          sudo apt install libavcodec-extra57  


          libavcodec-extra has been updated to libavcodec-extra-58 in 18.104 and 19.04.



          In earlier Ubuntu versions before 18.04 the same package is named libavcodec-extra.



          A standard sources.list file for apt in Ubuntu 18.04 looks like this:



          deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse  
          deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
          deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
          deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
          deb http://archive.canonical.com/ubuntu bionic partner





          share|improve this answer















          libavcodec-extra-56 has been updated to libavcodec-extra57 in 18.04 and later. To install it run the following command:



          sudo apt install libavcodec-extra57  


          libavcodec-extra has been updated to libavcodec-extra-58 in 18.104 and 19.04.



          In earlier Ubuntu versions before 18.04 the same package is named libavcodec-extra.



          A standard sources.list file for apt in Ubuntu 18.04 looks like this:



          deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse  
          deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
          deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
          deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
          deb http://archive.canonical.com/ubuntu bionic partner






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 1 min ago

























          answered Aug 21 '18 at 21:03









          karelkarel

          59.4k13129151




          59.4k13129151













          • I'm still receiving "$ apt-cyg install libavcodec-extra57 Installing libavcodec-extra57 Unable to locate package libavcodec-extra57" Is there a special mirror that I'm supposed to point to with apt-cyg --mirror before being able to use the command?

            – Cole Phiper
            Aug 21 '18 at 21:32



















          • I'm still receiving "$ apt-cyg install libavcodec-extra57 Installing libavcodec-extra57 Unable to locate package libavcodec-extra57" Is there a special mirror that I'm supposed to point to with apt-cyg --mirror before being able to use the command?

            – Cole Phiper
            Aug 21 '18 at 21:32

















          I'm still receiving "$ apt-cyg install libavcodec-extra57 Installing libavcodec-extra57 Unable to locate package libavcodec-extra57" Is there a special mirror that I'm supposed to point to with apt-cyg --mirror before being able to use the command?

          – Cole Phiper
          Aug 21 '18 at 21:32





          I'm still receiving "$ apt-cyg install libavcodec-extra57 Installing libavcodec-extra57 Unable to locate package libavcodec-extra57" Is there a special mirror that I'm supposed to point to with apt-cyg --mirror before being able to use the command?

          – Cole Phiper
          Aug 21 '18 at 21:32


















          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%2f1067609%2fhow-to-install-libavcodec-with-apt-for-cygwin%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

          GameSpot

          connect to host localhost port 22: Connection refused

          Getting a Wifi WPA2 wifi connection