Re: [Lam-public] Not a Debian format archive Error on 22.04 LTS
Brought to you by:
gruberroland
From: tradersystems <dan...@tr...> - 2023-12-12 11:29:27
|
Dear Jean-Yves, I think you were right - just bad timing. The original download was a few bites short. I downloaded it today again and no more issues. Thanks for the hint! Daniel Am 11.12.2023 um 19:38 schrieb Bzzzz: > On Mon, 11 Dec 2023 18:56:25 +0100 > tradersystems via Lam-public <lam...@li...> 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 -- tradersystems GmbH Hauptstr. 74 66953 Pirmasens Tel: 06331-20664-0 Fax: 06331-20664-99 mailto: dan...@mo... UstID.Nr.: DE315078940 Rechtsform: Gesellschaft mit beschränkter Haftung, Sitz: Pirmasens Registergericht Zweibrücken HRB 31679 Geschäftsführer: Daniel Zimmermann |