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!

    ProGet Support deb822

    Scheduled Pinned Locked Moved Support
    5 Posts 2 Posters 14 Views
    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.
    • S Offline
      stefan.hakansson_8938
      last edited by

      Recent Ubuntu releases use deb822 / ubuntu.sources for package handling. However, if I connect an deb822 source (e.g., http://sto1.clouds.archive.ubuntu.com/ubuntu/) to a feed, it seems that the output of that feed is not deb822 but rather according to the old format. Is there any plan to properly handle deb822 sources in ProGet?

      stevedennisS 1 Reply Last reply Reply Quote 0
      • stevedennisS Offline
        stevedennis inedo-engineer @stefan.hakansson_8938
        last edited by

        Hi @stefan-hakansson_8938,

        I'm not familiar with deb882 / ubuntu.sources... is that a new kind of format? Is this causing some kind of problem or issue with clients?

        Thanks,
        Steve

        1 Reply Last reply Reply Quote 0
        • S Offline
          stefan.hakansson_8938
          last edited by

          Hi Steve, thanks for responding so quickly.

          I think deb822 is a newer format (than the "one-line-style" format), and it is preferred in the context I'm working in. There is some info in https://manpages.debian.org/stretch/apt/sources.list.5.en.html.

          I have to focus on other stuff for some time now, so perhaps we can let this one rest until I can provide more input. But for some info, my /etc/apt/sources.list.d/ubuntu.sources file contains
          Types: deb
          URIs: http://sto1.clouds.archive.ubuntu.com/ubuntu/
          Suites: noble noble-updates noble-backports
          Components: main
          Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

          I hope to be able to just replace the URI (and the key) to point at a ProGet feed connected to http://sto1.clouds.archive.ubuntu.com/ubuntu/ that I have setup. However it seems that curl http://sto1.clouds.archive.ubuntu.com/ubuntu/ returns something that I can not obtain from curling to the ProGet feed so I am not sure it will work. But let me investigate more and come back later.

          Of course it is possible to work around and go back to .list files, buf my preference would be to keep using .sources.

          Thanks,
          Stefan

          1 Reply Last reply Reply Quote 0
          • stevedennisS Offline
            stevedennis inedo-engineer
            last edited by

            Hi @stefan-hakansson_8938 ,

            Thanks for the additional information; so if I'm reading it correctly, it's basically a different format/style of index files?

            So far as I can tell, it's been around for quite a while (2016?), but doesn't seem to be widely used or mandatory? I didn't look too deeply.

            In any case, supporting one style of Debian index files is already a challenge, since we are reimplementing everything from scratch (and not using their tools). As with many package formats, the "real specs" differ a bit from the docs and can only be discovered by studying the source code and/or behavior of clients. Supporting a second format is a big investment, and doesn't make sense unless there's a compelling need (like clients deprecating old format, etc).

            If you're looking to query/manipulate packages, I would suggest checking out pgutil instead:
            https://github.com/Inedo/pgutil

            Thanks,
            Steve

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              stefan.hakansson_8938 @stevedennis
              last edited by

              Hi Steve, I fully understand. I will carry on using the existing format then. Thanks for the tip regarding use of pgutil!

              Thanks,
              Stefan

              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