【问题标题】:How come dpkg-deb: error: <file.deb>' is not a Debian binary archive (try dpkg-split?)How come dpkg-deb: error: <file.deb>\' is not a Debian binary archive (try dpkg-split?)
【发布时间】:2022-12-27 19:22:36
【问题描述】:

It is useful to have a .deb format file to supply users of ones programs. The official way of doing this via an upstream program, gpg authentication, quilt and debhelper is far too involved, because it is geared towards a chain of trust to be accepted in a distribution. How to resolve the error " is not a Debian binary archive" if you restrict yourself to a simple .deb archive?

【问题讨论】:

    标签: linux debian


    【解决方案1】:

    The .deb archive is an archive created by ar in linux. This archive contains the following filesin that order

    • debian-binary
    • control.tar.xz
    • data.tar.xz

    debian-binary contains "2.0"

    control.tar contains control and md5sums

    data.tar contains your programs in a directory tree that is a copy of linux directory tree.

    The error mentionned is a show stopper, because it gives no clue what happens. After you have managed those three files in order, you can proceed :

    lintian <file>.deb
    

    The messages that come from lintian are much more helpful.

    【讨论】:

      猜你喜欢
      • 2021-01-20
      • 1970-01-01
      • 1970-01-01
      • 2023-03-29
      • 2022-11-20
      • 2020-11-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多