On Mon, 11 Dec 2023 18:56:25 +0100
tradersystems via Lam-public <[email protected]> wrote:

Hi Daniel,

> error message for a wrong package format for the -deb source under 
> Ubuntu 22.04 LTS
> 
> root@lam-a:~# dpkg -i ldap-account-manager_8.5-1_all.deb
> dpkg-deb: error: 'ldap-account-manager_8.5-1_all.deb' is not a Debian 
> format archive
> dpkg: error processing archive ldap-account-manager_8.5-1_all.deb 
> (--install):
>   dpkg-deb --control subprocess returned error exit status 2
> Errors were encountered while processing:
>   ldap-account-manager_8.5-1_all.deb
> root@lam-a:~#
> 
> Any idea?

This looks like a download that occurred during a server update, which
should never happen on a correctly configured server (the remote one,
not yours') - it also might be a disk with bad sector(s).

I just tried it on a Debian bookworm up to date (Version 8.3-1) without
any problem.

So, I would do some things :

* rename the original to: ….bad.deb for further possible bad sector
  investigation,

* reload a fresh pkg: apt-get download ldap-account-manager , which will
  drop the pkg in the current directory and try again to install it
  using the usual dpkg syntax.

If you encounter another error, then it is the pkgs server fault, if
not and you do not found any bad sector in the original file, then
it'll also be the pkgs server fault, as it should refuse to deliver
until the pkg is consistent.

Jean-Yves


_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to