All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
gzipped packages refuse to install
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login  |
|
|
gzipped packages refuse to install - Jul. 16, '05, 9:11:53 PM
|
|
|
nxtw
Posts: 4
Joined: Jan. 31, '05,
Status: offline
|
Hi. I'm having trouble installing any gzipped packages.
% pkg_add bash-current-bin.tar.gz
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
pkg_add(bash-current-bin.tar.gz): tar extract of /tmp/packages/bash-current-bin.
tar.gz failed!
pkg_add(bash-current-bin.tar.gz): unable to extract table of contents from `/tmp
/packages/bash-current-bin.tar.gz'
Is this a Package, or a simple .tgz archive ? See tar(1).
If I gunzip the package manually, pkg_add will try to install the package, but fails on the dependencies (from what I can tell, they download fine, but won't extract with the same tar error as before, 4 times.)
What's going on?
|
|
|
RE: gzipped packages refuse to install - Jul. 16, '05, 10:18:26 PM
|
|
|
hemadrid
Posts: 5
Joined: Jul. 15, '05,
Status: offline
|
I am having the exact same problem. I was getting all the needed packages and unzip them and then run the pkg_add on all dependencies before doing a pkg_add on what I need. I really appreciate if somebody can help to avoid this manual steps.
|
|
|
RE: gzipped packages refuse to install - Jul. 18, '05, 4:38:08 PM
|
|
|
Rodney
Administrator

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
(Sorry, I've been away for the weekend)
You don't unzip the packages. The installer takes care of this. Just leave them with the ".tgz" ending.
Things will be fine.
You do not need to install dependencies by hand. The installer (again) already takes care of this.
When a package is being installed the install checks if the dependencies are already
installed. If they are not already installed then pkg_add looks to see if the
dependencies happen to be on the local disk and then reaches out to the /Tools ftp site
when they are not available locally.
In fact our recommendation, for several years now, is to install the "bootstrap" of the installer
and then do all pkg_add's directly to the ftp site (yes, this is on the instruction page).
So "pkg_add ftp://ftp.interopsystems.com/pkgs/3.5/bash-current-bin.tgz"
or
"pkg_update -L bash" (and answer the one question as "y').
< Message edited by Rodney -- Jul. 18, '05, 6:17:59 PM >
|
|
|
RE: gzipped packages refuse to install - Jul. 18, '05, 5:01:04 PM
|
|
|
hemadrid
Posts: 5
Joined: Jul. 15, '05,
Status: offline
|
What I meant is that I am getting the exact same error messages for "pkg_add abc.tgz" as reported by nxtw for "pkg_add abc.tar.gz".
|
|
|
RE: gzipped packages refuse to install - Jul. 18, '05, 5:31:13 PM
|
|
|
nxtw
Posts: 4
Joined: Jan. 31, '05,
Status: offline
|
Yeah, that's what I've been doing.
If I install the package directly from FTP, it won't work. If I download the package and try to install it, it won't. If I gunzip the package first, it will.
$ pkg_add ftp://ftp.interopsystems.com/pkgs/3.5/bash-current-bin.tgz
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
pkg_add(bash-current-bin): unable to open table of contents file `+CONTENTS' - n
ot a package?
|
|
|
RE: gzipped packages refuse to install - Jul. 18, '05, 6:30:05 PM
|
|
|
nxtw
Posts: 4
Joined: Jan. 31, '05,
Status: offline
|
$ pkg_add -V
version 2.3.1.1
the site name, username, and password is in .netrc in my home directory
I can download the package just fine:
$ ftp ftp://ftp.interopsystems.com/pkgs/3.5/bash-current-bin.tgz
Connected to ftp.interopsystems.com.
--snip--
220 ProFTPD 1.2.9 Server (Interop Systems FTP Server 1) [ftp.interopsystems.com]
331 Password required for nxtw.
230 User nxtw logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
200 Type set to I
250 CWD command successful.
250 CWD command successful.
Retrieving pkgs/3.5/bash-current-bin.tgz
local: bash-current-bin.tgz remote: bash-current-bin.tgz
227 Entering Passive Mode (64,235,106,194,4,81).
150 Opening BINARY mode data connection for bash-current-bin.tgz (667591 bytes)
100% |**************************************************| 651 KB 00:04
226 Transfer complete.
667591 bytes received in 4.31 seconds (151.17 KB/s)
221 Goodbye.
I just noticed that I can't extract the gzipped archive using tar:
%/bin/tar zxf bash-current-bin.tgz
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
but I can gunzip it manually:
%gunzip bash-current-bin.tgz
%tar xf bash-current-bin.tar
%
|
|
|
RE: gzipped packages refuse to install - Jul. 18, '05, 10:41:40 PM
|
|
|
nxtw
Posts: 4
Joined: Jan. 31, '05,
Status: offline
|
% where gunzip
/usr/local/bin/gunzip
/usr/contrib/bin/gunzip
/usr/local/bin/gunzip
|
|
|
RE: gzipped packages refuse to install - Jul. 19, '05, 11:48:22 AM
|
|
|
hemadrid
Posts: 5
Joined: Jul. 15, '05,
Status: offline
|
I edited my boot.ini and turned off DEP by using the option "/NoExecute=AlwaysOff" and pkg_add and pkg_update are working fine now. Thank you very much.
|
|
|
RE: gzipped packages refuse to install - Jun. 1, '06, 9:19:56 AM
|
|
|
kurkov
Posts: 1
Joined: May 29, '06,
Status: offline
|
Sorry that I'm evoking this topic again. Could you tell me how to resolve the issue (I have the same troubles as described in the first message)? One important notice: I have no ability to make installation directly from your ftp site (due to our internal security policy). What should I do? Thanks in advance.
|
|
|
RE: gzipped packages refuse to install - Sep. 8, '06, 6:10:05 PM
|
|
|
LightningStorm
Posts: 1
Joined: Jul. 25, '05,
Status: offline
|
i bieleve that this problem has something to do with the version of tar that is distributed with Interix. It won't ungzip tgz files automatically. If you get this package updated it should work.
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|