Open saurovh opened 6 years ago
Same thing happens to me:
$ sudo dpkg -i boostnote_0.8.20_amd64.deb
dpkg-deb: error: archive 'boostnote_0.8.20_amd64.deb' has premature member 'control.tar.xz' before 'control.tar.gz', giving up
dpkg: error processing archive boostnote_0.8.20_amd64.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
boostnote_0.8.20_amd64.deb
I got same error when I install boostnote_0.8.20_amd64.deb. Hope we can upgrade it soon on Ubuntu14.04
I had the same issue with ubuntu 14.04. I solved the problem by upgrading dpkg. I think I had to upgrade from 1.17.4 to 1.17.5 or something like that.
@saurovh @jorgeyp @YaoQ Does it still happen?
I found a little more info that I had forgotten, since I did this a while ago. Here is a link showing a bug in dpkg:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1730627
To fix, upgrade to dpkg 1.17.5ubuntu5.8:
@Rokt33r using osx now, working fine here :-p
Experiencing the same issue with dpkg 1.17.5
on Ubuntu 14.04:
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"
$ dpkg --version
Debian `dpkg' package management program version 1.17.5 (amd64).
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
$ sudo dpkg -i boostnote_0.11.15_amd64.deb
dpkg-deb: error: archive 'boostnote_0.11.15_amd64.deb' has premature member 'control.tar.xz' before 'control.tar.gz', giving up
dpkg: error processing archive boostnote_0.11.15_amd64.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
boostnote_0.11.15_amd64.deb
Tried to install dpkg-dev_1.19.6_all.deb
but had the same error:
$ sudo dpkg -i dpkg-dev_1.19.6_all.deb
dpkg-deb: error: archive 'dpkg-dev_1.19.6_all.deb' has premature member 'control.tar.xz' before 'control.tar.gz', giving up
dpkg: error processing archive dpkg-dev_1.19.6_all.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
dpkg-dev_1.19.6_all.deb
I got the same error when I tried to install using:
sudo dpkg -i boostnote_0.12.1_amd64.deb
However, I just double clicked the file in order to install it using Ubuntu Software. It worked.
While this only seems to affect Ubuntu 14.04 (and workarounds exist) I suggest we keep this open in until we no longer have problems when installing though dpkg
.