Package Details: deb2targz 0.1-7

Git Clone URL: https://aur.archlinux.org/deb2targz.git (read-only, click to copy)
Package Base: deb2targz
Description: convert a Debian Linux .deb file to a .tar.gz
Upstream URL: http://www.miketaylor.org.uk/tech/deb/deb2targz
Licenses: unknown
Submitter: mbostwick
Maintainer: fordprefect
Last Packager: fordprefect
Votes: 237
Popularity: 0.009317
First Submitted: 2012-03-05 03:28 (UTC)
Last Updated: 2020-12-30 13:27 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

fordprefect commented on 2023-01-20 15:09 (UTC)

@vgivanovic: thanks for reporting the issue, it looks like an extension issue. While I'm neither familiar with perl nor with the .deb format, could it be that the format evolved and now also allows different compression algorithms or similar changes? Arch also switched. Maybe someone with Perl knowledge could advise how to catch all allowed variants. Fixing it in a patch seems the only viable solution, as upstream seems not in a development state.

vgivanovic commented on 2023-01-19 18:12 (UTC) (edited on 2023-01-19 18:16 (UTC) by vgivanovic)

I get (using strace)

openat(AT_FDCWD, "zoom_amd64.tar.xz/", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = -1 EISDIR (Is a directory)
can't write 'zoom_amd64.tar.xz/': Is a directory at /usr/bin/deb2targz line 55.

I made the following change:

diff -c2 deb2targz.\~1\~ deb2targz
*** deb2targz.~1~       2022-12-19 21:14:05.000000000 -0800
--- deb2targz   2023-01-18 20:04:19.375435434 -0800
***************
*** 52,56 ****
    my $ext = $1;
    $data = substr($data, 0, $len);
!           $filename =~ s/\.deb$/.tar$ext/;
    my $fh = new IO::File(">$filename")
        or die "can't write '$filename': $!";
--- 52,56 ----
    my $ext = $1;
    $data = substr($data, 0, $len);
!           $filename =~ s/\.deb$/.tgz/;
    my $fh = new IO::File(">$filename")
        or die "can't write '$filename': $!";

which worked.

Since I don't know perl, I'll leave it to others to decide what to do.

fordprefect commented on 2021-07-08 16:01 (UTC)

@ron2138: good to know there is a replacement, but as you can see from the "required" list, this package is an age-old institution and won't simply be dropped because another alternative exists.

ron2138 commented on 2021-07-04 10:29 (UTC) (edited on 2021-07-04 15:46 (UTC) by ron2138)

Using ar from binutils as a replacement:

The homepage of the package could be similar to what the package installs. It states that the interesting part of the deb is its data.tar.gz section. Following wikipedia Deb_file_format article,

ar x <deb-file> data.tar.gz

extracts data.tar.gz, where ar is from binutils. It is my understanding that the package also rename data.tar.gz, following the deb name. And that is it.

binutils is in the base-devel group. arch wiki states,

base-devel is assumed to be already installed when building with makepkg.

fordprefect commented on 2020-12-30 13:28 (UTC) (edited on 2020-12-30 13:28 (UTC) by fordprefect)

@feuerbiber: upstream for the patch seems to be gone, but I could find a version and included it along with the PKGBUILD.

feuerbiber commented on 2020-12-30 13:05 (UTC)

Tried to install https://aur.archlinux.org/packages/canon-pixma-mg5200-complete/ There is a dependency to deb2targz. Installing deb2targz leads to an 404 error:

curl: (22) The requested URL returned error: 404 Not found ==> FEHLER: Fehler beim Download von http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-arch/deb2targz/files/deb2targz-any-data.patch Breche ab...

fordprefect commented on 2016-09-27 09:33 (UTC)

@martti: thanks, implemented now. i was not even aware of the patch beeing unavailable…

mar77i commented on 2016-09-27 09:26 (UTC)

New patch URL, since gentoo turned off their CVS server: https://gitweb.gentoo.org/repo/gentoo.git/plain/app-arch/deb2targz/files/deb2targz-any-data.patch However as Gentoo people informed me, even this new link is not officially documented and technically may change any time, so why don't you put the patch into the package itself and host it on AUR?

chepaz commented on 2014-11-30 06:49 (UTC)

confusedfla: It isn't.

confusedfla commented on 2014-11-29 10:40 (UTC)

miketaylor.org.uk seems to be down (DNS resolution works)