Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Debian feed not working

    Scheduled Pinned Locked Moved Support
    10 Posts 3 Posters 177 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      gravufo
      last edited by

      I set up a debian/apt feed and I can't seem to be able to use it.

      I ran the following commands on the client machine:

      wget -O "deb.gpg" https://<URL>/debian-feeds/buster.pub && sudo apt-key add "deb.gpg"
      echo "deb https://<URL>/ buster main" | sudo tee /etc/apt/sources.list.d/proget.list
      

      And then running sudo apt update returns the following:

      W: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/<URL>_dists_buster_Release
      

      I managed to output the file and it looks like this:

      Components: main
      Architectures: amd64
      Codename: buster
      Description: Debian Buster
      MD5Sum:
       main/binary-amd64/Packages 2936 ac4e38f0cb4bf881ae144c869cbe6a31
      SHA1:
       main/binary-amd64/Packages 2936 e5f5f4aa00f4c30ece4d3e1d8fe6376ab7732c52
      SHA256:
       main/binary-amd64/Packages 2936 89c24f7996767b72b4244371e2d570993926f2628bb6dca6ff9f2ec197ab7c1c
      SHA512:
       main/binary-amd64/Packages 2936 611e7e1155511ab081ffe8bdc5b39a1a776d7647ff212ed23349c7abd28d05dad038be75bdb53a46871dec01215e795be7919da8ebd1de03ff6c271a1410d241
      

      Any clue as to what's happening?

      Thanks

      1 Reply Last reply Reply Quote 0
      • benB Offline
        ben inedo-engineer
        last edited by

        Hello @gravufo,

        This is only a warning, not an error, so the Debian feed's packages should still be accessible from apt.

        The reason we don't have a Date entry in the Release file is that Date represents when the Release file was last generated, and ProGet generates the Release file for each request.

        This would be fine if everything used the InRelease file, but a lot of tools still access Release and Release.gpg as two separate requests, so the signature would very likely be for a different file than was downloaded.

        We decided against putting the Date in the InRelease file only because having InRelease and Release be two different files might cause hard-to-diagnose problems down the road. Date is documented as optional, so the file is still technically correct and the warning can be safely ignored.

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          gravufo
          last edited by

          Interesting, thank you very much for the detailed explanation.
          I hadn't noticed it was only a warning, so I can definitely ignore that then.

          I'll mark this as solved.

          Thanks again!

          1 Reply Last reply Reply Quote 0
          • G Offline
            gravufo @ben
            last edited by

            @ben Turns out I closed too fast. The message is indeed a warning, but I still cannot find the packages on my feed using a apt search command.

            Any idea?

            Thanks!

            benB 1 Reply Last reply Reply Quote 0
            • benB Offline
              ben inedo-engineer @gravufo
              last edited by

              @gravufo

              While investigating a way to add dates to the file, I discovered that the Release file is malformed.

              I've filed PG-1596 to fix this, which should be in the next maintenance release.

              G 2 Replies Last reply Reply Quote 0
              • G Offline
                gravufo @ben
                last edited by

                @ben Thanks a lot for taking the time to test. Looking forward to the fix :)

                1 Reply Last reply Reply Quote 0
                • G Offline
                  gravufo @ben
                  last edited by gravufo

                  Hey @ben! Any news on when this is getting merged and released?
                  It's kinda blocking us from using the ProGet debian feed... :(

                  I see that 2 new maintenance builds were released, but none of them fixes the issue.

                  Thanks again for your help!

                  1 Reply Last reply Reply Quote 0
                  • atrippA Offline
                    atripp inedo-engineer
                    last edited by

                    Hi @gravufo sorry on the delay; this fell thru the cracks on prioritization, but it's been merged just now and will be shipped into ProGet 5.2.15, shipping next Friday.

                    G 2 Replies Last reply Reply Quote 0
                    • G Offline
                      gravufo @atripp
                      last edited by

                      @atripp Amazing, thank you so much for the fast response! I'll apply the update when it's out and let you know!

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        gravufo @atripp
                        last edited by

                        @atripp @ben I can confirm that it works! No more warning when doing apt update and I can successfully search for packages now.

                        Thanks again!

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • First post
                          Last post
                        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation