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!

    Upload to Debian Feed fails with "Package does not have a control file."

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 11 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.
    • F Offline
      frei_zs
      last edited by frei_zs

      Hey team,

      I'm having issues uploading a specific Debian package to ProGet:

      aa9b7709-0e44-4534-8538-e5fc89341f2c-image.png

      Although the package is quite simple and contains a control file, proget says it does not.

      └── pkg
      ├── DEBIAN
      │   ├── control
      │   └── md5sums
      └── usr
      ├── bin
      │   └── connecTI-Key
      └── share
      ├── applications
      │   └── connecTI-Key.desktop
      └── icons
      └── hicolor
      ├── 128x128
      │   └── apps
      │   └── connecTI-Key.png
      ├── 256x256@2
      │   └── apps
      │   └── connecTI-Key.png
      └── 32x32
      └── apps
      └── connecTI-Key.png

      Manual installation per apt works fine.

      Unpacking it with dpkg-deb -R and repacking dpkg-deb -b seems to fix it?
      I afterwards was able to upload it. It is a third party package, how can I find out why the originally provided version is not accepted?

      Many thanks,
      Frank

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

        Hi @frei_zs,

        Based on the fact that unpackaging/repackaging it works, there's definitely something "wrong" with the original package file.

        Debian uses a tarfile format, and there are several "buggy" tarfile writers that don't get the format quite write. If I remember correctly, some ancient versions of dpkg wrote these files incorrectly. Some tarfile readers account for these errors while others (perhaps including ours) do not.

        We may be able to attach the file to a debugger and give more details, but if this is a one-off or rare circumstance, than I would just repackage it and not worry about it.

        Thanks,
        Steve

        1 Reply Last reply Reply Quote 0
        • F Offline
          frei_zs
          last edited by

          Hey Steve,

          thank you very much. That sounds like a valid explanation. Let me try to work this out with the third party then and see if I can get them to look into their build process.

          I thought about repackaging and looked into the ar parts too, but since this then needs to be done for every version coming out, I would rather not be an additional step in between and have it working out of the box. ;)

          Many thanks,
          Frank

          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