Pear channel tarballs truncated?

26 views
Skip to first unread message

Erik Ogan

unread,
Apr 25, 2023, 1:42:15 AM4/25/23
to htmlpurifier
Hi there, I’m trying to install via the Pear channel, and It appears that the tarballs in the channel are being truncated, so they fail to expand:

# pear channel-discover htmlpurifier.org
Channel "htmlpurifier.org" is already initialized
# pear channel-update htmlpurifier.org
Updating channel "htmlpurifier.org"
Channel "htmlpurifier.org" is up to date
# pear install hp/HTMLPurifier
downloading HTMLPurifier-4.15.0.tgz ...
Starting to download HTMLPurifier-4.15.0.tgz (251,021 bytes)
............done: 83,769 bytes
ERROR: unable to unpack /tmp/pear/download/HTMLPurifier-4.15.0.tgz

… trying again with compression turned off, just in case it gets a different file:


# pear install -Z hp/HTMLPurifier
downloading HTMLPurifier-4.15.0.tar ...
Starting to download HTMLPurifier-4.15.0.tar (1,441,280 bytes)
................................................................................................done: 471,831 bytes
ERROR: unable to unpack /tmp/pear/download/HTMLPurifier-4.15.0.tar


The same thing happens if I try to explicitly install version 4.14.0 and 4.11.0, so I suspect something else is going on? Weirdly, if I run the same command multiple times, the file gets truncated in different places each time.

Any suggestions for how I might get around this with Pear?

Thanks! 

-e

Erik Ogan

unread,
Apr 25, 2023, 2:32:41 AM4/25/23
to htmlpurifier
Fortunately the package.xml file is the first thing in the tarball, so I was able to extract it and use it to construct a pear tarball from that file and the source tarball.

But this isn’t really a repeatable process, so I’d love to know if there was something I was doing wrong with the official channel install.

Thanks!

-e
Reply all
Reply to author
Forward
0 new messages