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
-
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.listAnd then running sudo apt update returns the following:
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/partial/<URL>_dists_buster_ReleaseI 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 611e7e1155511ab081ffe8bdc5b39a1a776d7647ff212ed23349c7abd28d05dad038be75bdb53a46871dec01215e795be7919da8ebd1de03ff6c271a1410d241Any clue as to what's happening?
Thanks
-
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
Dateentry in the Release file is thatDaterepresents 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
Datein the InRelease file only because having InRelease and Release be two different files might cause hard-to-diagnose problems down the road.Dateis documented as optional, so the file is still technically correct and the warning can be safely ignored. -
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!
-
@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!
-
-
@ben Thanks a lot for taking the time to test. Looking forward to the fix :)
-
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!
-
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.
-
@atripp Amazing, thank you so much for the fast response! I'll apply the update when it's out and let you know!
-
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