Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

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
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Windows Server 2003 R2 SUA >> problem with pkg_add in VISTA Page: [1] 2   next >   >>
Login
Message << Older Topic   Newer Topic >>
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 >
Post #: 1
RE: problem with pkg_add in VISTA - Sep. 21, '06, 1:25:11 PM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
> Also, is there any way to copy and paste between C Shell on SUA? (what you read I had to type by hand)

But that's good for you!
On the title bar of the window right-click the mouse. A menu
will appear. Select Properties. Choose the Options panel
and then check QuickEdit and Insert modes. Make any other
changes you want. Click OK. When asked, choose "modify shortcut
that started this window" so it will remain in this state
when you start another window.

> pkg_add ftp://ftp.interopsystems.com/pkgs/6.0-x86/bash-current-bin.tgz

mmm, I've just replicated this and am looking into it.

(in reply to geprieto)
Post #: 2
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: offline
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

(in reply to Rodney)
Post #: 3
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...)

(in reply to Rodney)
Post #: 4
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: offline
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.

(in reply to Rodney)
Post #: 5
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: offline
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.

(in reply to Rodney)
Post #: 6
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

(in reply to Rodney)
Post #: 7
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: offline
Are you within Microsoft?
MS has a password based ftp proxy...

(in reply to geprieto)
Post #: 8
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.

(in reply to Rodney)
Post #: 9
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: offline
When you setup the machine did you setup the IPv4, the IPv6 or both?

(in reply to geprieto)
Post #: 10
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...

(in reply to Rodney)
Post #: 11
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: offline
Check the /etc/resolv.conf file to see that it has a nameserver listed
correctly in it.

(in reply to geprieto)
Post #: 12
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
%

(in reply to Rodney)
Post #: 13
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: offline
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?

(in reply to geprieto)
Post #: 14
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.

(in reply to Rodney)
Post #: 15
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: offline
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.

(in reply to geprieto)
Post #: 16
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").

(in reply to Rodney)
Post #: 17
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: offline
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.

(in reply to geprieto)
Post #: 18
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

(in reply to Rodney)
Post #: 19
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: offline
>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?

(in reply to geprieto)
Post #: 20
Page:   [1] 2   next >   >>
All Forums >> [SFU / Interix / SUA Technology] >> Windows Server 2003 R2 SUA >> problem with pkg_add in VISTA Page: [1] 2   next >   >>
Jump to:





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


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.063