Dpkg .deb file - Not a debian format
This error happens when your deb file is broken. Check if you have downloaded properly (use md5 or sha checksum).
I just had this error when I was trying to install a deb file when its download wasn't finished yet.
$ sudo dpkg -i rocketchat_2.9.0_amd64.deb
dpkg-deb: error: 'rocketchat_2.9.0_amd64.deb' is not a debian format archive
dpkg: error processing archive rocketchat_2.9.0_amd64.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
rocketchat_2.9.0_amd64.deb
Related videos on Youtube
Bruno Henrique Peixoto
Mechatronics and Control and Automation Engineer in love with technology and the perks it may bring to our daily lives. In his free time, make sports and watch geek movies.
Updated on September 18, 2022Comments
-
Bruno Henrique Peixoto over 1 year
I'm new at Linux, so the following question may sound trivial. At the moment I want to install a .deb file, specifically the
Cuda Toolbox 8.0
, and it uses a .deb file. However, when I use the command$ sudo dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb
I obtain the following log:
dpkg-deb: error: 'cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb.deb' is not a debian format archive dpkg: error processing archive cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb.deb (--install): subprocess dpkg-deb --control returned error exit status 2 Errors were encountered while processing: cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb.deb
The solution looks quite trivial, since it is a standard procedure to install .deb packages and it is written in the nVidia tutorial. But I'm not able to do it. Any help would be appreciated.
-
George Udosen about 7 yearsyou might want to check the file download properly. Confirm with source checksum or file size
-
mikewhatever about 7 yearsLooks like a known problem: devtalk.nvidia.com/default/topic/993274/….
-
Boris Hamanov about 7 yearsIs the file named
cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb.deb
? If so, try renaming it so it only has one .deb at the end, and see if it works now. -
Bruno Henrique Peixoto about 7 yearsI'm downloading again the file. As @mikewhatever mentioned, it looks like a known problem: the checksum didn't match. The inconvenience is though the size of the file.
-