All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
problem with pkg_add in VISTA
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login |
|
|
problem with pkg_add in VISTA - Sep. 21, '06, 12:55:36 PM
|
|
|
geprieto
Posts: 15
Joined: Sep. 14, '06,
Status: offline
|
I tried the command:
pkg_add ftp://ftp.interopsystems.com/pkgs/6.0-x86/bash-current-bin.tgz
but it does not work at all (or with other packages). I get the following output:
gzip: stdin: unexpected end of file
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
pkg_add(bash-current-bin): URL 'ftp://ftp.interopsystems.com/pkgs/6.0-x86/bash-current-bin.tgz' has unknown hostname part!
pkg_add(bash-current-bin): unable to fetch 'ftp://ftp.interopsystems.com/pkgs/6.0-x86/bash-current-bin.tgz' by URL
Also, is there any way to copy and paste between C Shell on SUA? (what you read I had to type by hand)
< Message edited by geprieto -- Sep. 21, '06, 12:57:09 PM >
|
|
|
RE: problem with pkg_add in VISTA - Sep. 21, '06, 1:31:24 PM
|
|
|
Rodney
Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
|
Here's the work-around for now. Do:
cd /tmp
ftp ftp://ftp.interopsystems.com/pkgs/6.0-x86/bash-current-bin.tgz
pkg_add bash-current-bin.tgz
|
|
|
RE: problem with pkg_add in VISTA - Sep. 21, '06, 1:37:41 PM
|
|
|
geprieto
Posts: 15
Joined: Sep. 14, '06,
Status: offline
|
Thanks! I'm a former cygwin user (which doesnt work well on Vista). I don't think that'll work, because bash has dependencies. Also I may have found the problem. I tried your answer, and it doesn't even connect with the ftp site. Is there a mirror? (I looked but couldn't find none).
Also, so that I bother you with intelligent questions ONLY, where can I find information about common usage on SUA (like the copy paste tip, for example, or X11 forwarding, etc...)
|
|
|
RE: problem with pkg_add in VISTA - Sep. 21, '06, 1:41:29 PM
|
|
|
Rodney
Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
|
grrr, I saw the error you had and was trying different things to figure
out what the problem was just with bash because I could add jot,
without a problem. Now, of course, I can't replicate the problem; something got
"fixed" by adding jot. Unwinding this is going to take longer now.
|
|
|
RE: problem with pkg_add in VISTA - Sep. 21, '06, 1:53:59 PM
|
|
|
Rodney
Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
|
I know bash has dependencies. I should have mentioned that the
dependencies did get picked up this way at least for me.
Glad you tried it anyway.
Not connecting may mean that the Firewall is active. Try turning it off
and seeing what happens for ftp contact.
Can you do "ftp ftp.interopsystems.com" from the shell?
>Also, so that I bother you with intelligent questions ONLY, where can I find
>information about common usage on SUA (like the copy paste tip, for example, or X11 >forwarding, etc...)
X11 forwarding is set up the same as on other Unix systems using OpenSSH.
For things that are regularly done on Unix systems, the same intructions work
about 95% of the time. You can also search the Forums here. I'll *cough* suggest
that Google might do a better job than the Forum search.
There's the FAQ here which can help with a number of things.
|
|
|
RE: problem with pkg_add in VISTA - Sep. 21, '06, 2:02:55 PM
|
|
|
geprieto
Posts: 15
Joined: Sep. 14, '06,
Status: offline
|
Thought it could be the firewall but no, it's not. BUT I cannot access other ftp sites from within SUA. No problem within cygwin or cmd.exe... All this with firewall turned off
|
|
|
RE: problem with pkg_add in VISTA - Sep. 21, '06, 2:13:24 PM
|
|
|
Rodney
Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
|
Are you within Microsoft?
MS has a password based ftp proxy...
|
|
|
RE: problem with pkg_add in VISTA - Sep. 21, '06, 2:18:27 PM
|
|
|
geprieto
Posts: 15
Joined: Sep. 14, '06,
Status: offline
|
No, Santiago de Chile :P On a university, but no proxy. I installed everything myself, so I know that It's not the firewall. So it must be something on the default installation of Vista (SUA), the SUA SDK or the pkg_* package.
|
|
|
RE: problem with pkg_add in VISTA - Sep. 21, '06, 2:38:19 PM
|
|
|
Rodney
Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
|
When you setup the machine did you setup the IPv4, the IPv6 or both?
|
|
|
RE: problem with pkg_add in VISTA - Sep. 21, '06, 2:43:46 PM
|
|
|
geprieto
Posts: 15
Joined: Sep. 14, '06,
Status: offline
|
Both are up. And remember that both cygwin and windows own ftp command works just fine...
|
|
|
RE: problem with pkg_add in VISTA - Sep. 21, '06, 3:12:20 PM
|
|
|
Rodney
Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
|
Check the /etc/resolv.conf file to see that it has a nameserver listed
correctly in it.
|
|
|
RE: problem with pkg_add in VISTA - Sep. 21, '06, 3:19:06 PM
|
|
|
geprieto
Posts: 15
Joined: Sep. 14, '06,
Status: offline
|
Only the one of my home network. but ftp tries to look for a direction, 'cause it takes it about 5 seconds to display the error message.
% cd /etc
% cat resolv.conf
# This file was automatically generated on Sat Sep 16 20:51:44 @tzres.dll 2006
#
search mshome.net mshome.net mshome.net
nameserver 192.168.0.1 192.168.0.1
lookup file bind
%
|
|
|
RE: problem with pkg_add in VISTA - Sep. 21, '06, 3:28:43 PM
|
|
|
Rodney
Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
|
So your running DNS on 192.168.0.1?
If you do an nslookup and set the server to 192.168.0.1 do names
get resolved or not?
|
|
|
RE: problem with pkg_add in VISTA - Sep. 21, '06, 3:32:30 PM
|
|
|
geprieto
Posts: 15
Joined: Sep. 14, '06,
Status: offline
|
No, 192.168.0.1 is only the server on the home network. I thought Windows and lately linux managed without explicitly pointing to DNS servers... Now I'm definitely not in my territory.
|
|
|
RE: problem with pkg_add in VISTA - Sep. 21, '06, 3:45:32 PM
|
|
|
Rodney
Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
|
Interix is doing things somewhat independently for certain things and in a more
traditional Unix manner. And not all of RC1 has the final changes AFAIK.
Try removing the line "nameserver" from /etc/resolv.conf and try again.
The /Tools ftp is linked to an enhanced BIND to try some registry
settings looking for nameservers, etc. If that doesn't work then try
changing nameserver to a well known DNServer or one identified by your ISP.
|
|
|
RE: problem with pkg_add in VISTA - Sep. 21, '06, 7:18:24 PM
|
|
|
geprieto
Posts: 15
Joined: Sep. 14, '06,
Status: offline
|
I'll do it, as soon as I find how to setup the Administrator account (I tried to create a "Administrator" account in Vista, but it says that it already exist, and my personal account, even with administrator privileges, does not work well in SUA, it's group is "None_ploc").
|
|
|
RE: problem with pkg_add in VISTA - Sep. 21, '06, 9:04:44 PM
|
|
|
Rodney
Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
|
Yeah, Vista is a pain-in-the-ass for getting the Administrator account going.
There's two registry entries you have to set. A web search will turn it up.
|
|
|
RE: problem with pkg_add in VISTA - Sep. 22, '06, 9:32:41 AM
|
|
|
geprieto
Posts: 15
Joined: Sep. 14, '06,
Status: offline
|
OK. Problem (partly) solved:
Added the Admin account (http://www.flexbeta.net/main/articles.php?action=show&id=121)
DISABLED admin properties of my user account
Now if I logon as Administrator everything works fine (after editing resolv.conf). BUT I cannot swich users:
(As Administrator)
% su geprieto
$
$ who am i
Administrator tty0
$
$su -
password:
su: setuser: Operation not permitted
Sorry
So for now if I (GUI) logon as Admin I can update SUA (bash! ssh! aleluja!). Any idea what's going on with su?
Thanks for all the help! If it's partially working, it's working :P
|
|
|
RE: problem with pkg_add in VISTA - Sep. 22, '06, 9:47:31 AM
|
|
|
Rodney
Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
|
>su: setuser: Operation not permitted
>Sorry
>
>So for now if I (GUI) logon as Admin I can update SUA (bash! ssh! aleluja!). Any
> idea what's going on with su?
Had you enabled SetUid when installing?
|
|
|
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 |
|
|
|