0

I got the error file format not recognized while executing this command: ar x *******.deb to extract the contents of a Debian package. How can I fix this?

I use Ubuntu 22.04.

  • No, it doesn't. – manarinian Jul 17 '22 at 23:22
  • Please explain what happens, when you try to use the methods in the link (from my previous comment), and what you expect to happen instead. Do you want to install the program(s) from the debian package or do you only want to extract them 'as files' into some arbitrary directory? -- sudo dpkg -i package.deb should install package if that is what you want. ar x package.deb will simply extract the files control.tar.gz data.tar.xz debian-binary into the current directory. -- If something else is happening I think your deb file is corrupted. – sudodus Jul 18 '22 at 06:21
  • The file is likely corrupted. Try downloading it again. – muru Jul 18 '22 at 22:01

0 Answers0