Hey there,
I'm getting a dpkg-deb error when trying to perform an upgrade with apt-get:
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg-deb: error: archive '/var/cache/apt/archives/base-files_8+deb8u7_armhf.deb'
has premature member 'control.tar.gz' before 'control.tir', giving up
dpkg: error processing archive /var/cache/apt/archives/base-files_8+deb8u7_armhf.deb (--unpack):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/base-files_8+deb8u7_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
This is happening to any package at the moment. Never seen this error before. And never heard of .tir file extension either.
Here are my sources.lists:
root@orangepipc:~# cat /etc/apt/sources.list
deb http://httpredir.debian.org/debian jessie main contrib non-free
deb-src http://httpredir.debian.org/debian jessie main contrib non-free
deb http://httpredir.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ jessie-updates main contrib non-free
# security packages come always from main repository
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
root@orangepipc:~# cat /etc/apt/sources.list.d/armbian.list
deb http://apt.armbian.com jessie main
This is what the content of the .deb package looks like:
root@orangepipc:/var/cache/apt/archives# ar t base-files_8+deb8u7_armhf.deb
debian-binary
control.tar.gz
data.tar.gz
I just can't make sense out of the error message... Maybe some of you guys around know the issue
Thank you in advance