problem with pkg_add in VISTA (Full Version)

All Forums >> [SFU / Interix / SUA Technology] >> Windows Server 2003 R2 SUA



Message


geprieto -> problem with pkg_add in VISTA (Sep. 21, '06, 12:55:36 PM)

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)




Rodney -> RE: problem with pkg_add in VISTA (Sep. 21, '06, 1:25:11 PM)

> 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.




Rodney -> RE: problem with pkg_add in VISTA (Sep. 21, '06, 1:31:24 PM)

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




geprieto -> RE: problem with pkg_add in VISTA (Sep. 21, '06, 1:37:41 PM)

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...)




Rodney -> RE: problem with pkg_add in VISTA (Sep. 21, '06, 1:41:29 PM)

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.




Rodney -> RE: problem with pkg_add in VISTA (Sep. 21, '06, 1:53:59 PM)

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.




geprieto -> RE: problem with pkg_add in VISTA (Sep. 21, '06, 2:02:55 PM)

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




Rodney -> RE: problem with pkg_add in VISTA (Sep. 21, '06, 2:13:24 PM)

Are you within Microsoft?
MS has a password based ftp proxy...




geprieto -> RE: problem with pkg_add in VISTA (Sep. 21, '06, 2:18:27 PM)

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.




Rodney -> RE: problem with pkg_add in VISTA (Sep. 21, '06, 2:38:19 PM)

When you setup the machine did you setup the IPv4, the IPv6 or both?




geprieto -> RE: problem with pkg_add in VISTA (Sep. 21, '06, 2:43:46 PM)

Both are up. And remember that both cygwin and windows own ftp command works just fine...




Rodney -> RE: problem with pkg_add in VISTA (Sep. 21, '06, 3:12:20 PM)

Check the /etc/resolv.conf file to see that it has a nameserver listed
correctly in it.




geprieto -> RE: problem with pkg_add in VISTA (Sep. 21, '06, 3:19:06 PM)

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
%




Rodney -> RE: problem with pkg_add in VISTA (Sep. 21, '06, 3:28:43 PM)

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?




geprieto -> RE: problem with pkg_add in VISTA (Sep. 21, '06, 3:32:30 PM)

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.




Rodney -> RE: problem with pkg_add in VISTA (Sep. 21, '06, 3:45:32 PM)

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.




geprieto -> RE: problem with pkg_add in VISTA (Sep. 21, '06, 7:18:24 PM)

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").




Rodney -> RE: problem with pkg_add in VISTA (Sep. 21, '06, 9:04:44 PM)

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.




geprieto -> RE: problem with pkg_add in VISTA (Sep. 22, '06, 9:32:41 AM)

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




Rodney -> RE: problem with pkg_add in VISTA (Sep. 22, '06, 9:47:31 AM)

>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?




Page: [1] 2   next >   >>



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.047