Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

some formats are not supported #121

Closed
cincly opened this issue Jun 24, 2022 · 2 comments
Closed

some formats are not supported #121

cincly opened this issue Jun 24, 2022 · 2 comments

Comments

@cincly
Copy link

cincly commented Jun 24, 2022

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
@errordeveloper
Copy link
Contributor

I am also seeing this.

@errordeveloper
Copy link
Contributor

Looks like this check fails .tar files, it only detects .tar.* files:

go-debian/deb/tarfile.go

Lines 102 to 105 in 9df3f26

func (e *ArEntry) IsTarfile() bool {
ext := filepath.Ext(e.Name)
return filepath.Ext(strings.TrimSuffix(e.Name, ext)) == ".tar"
}

Will open a PR shortly.

errordeveloper added a commit to errordeveloper/go-debian that referenced this issue Oct 5, 2022
@paultag paultag closed this as completed in f50faa5 Oct 5, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants