Closed cincly closed 2 years ago
example: http://mirrors.aliyun.com/ubuntu/pool/main/l/linux-aws/linux-image-unsigned-5.15.0-1004-aws_5.15.0-1004.6_amd64.deb
file list:
$ tar -xvf linux-image-unsigned-5.15.0-1004-aws_5.15.0-1004.6_amd64.deb x debian-binary x control.tar x data.tar
I am also seeing this.
Looks like this check fails .tar files, it only detects .tar.* files:
.tar
.tar.*
https://github.com/paultag/go-debian/blob/9df3f2696ca17d00f363102749a06c3ed2f69ea3/deb/tarfile.go#L102-L105
Will open a PR shortly.
example: http://mirrors.aliyun.com/ubuntu/pool/main/l/linux-aws/linux-image-unsigned-5.15.0-1004-aws_5.15.0-1004.6_amd64.deb
file list: