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 installing pkg_update

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> Problem installing pkg_update Page: [1]
Login
Message << Older Topic   Newer Topic >>
Problem installing pkg_update - Aug. 2, '06, 1:24:03 PM   
mike934

 

Posts: 3
Status: offline
I am installing UNIX Tools on Windows 2003 R2. I copied all the downloaded tools to /Interix directory and then typed:
cd /Interix
sh pkg-current-bin35.sh

Here is the result:

usr/local/bin/pkg_add
usr/local/bin/pkg_create
usr/local/bin/pkg_delete
usr/local/bin/pkg_info
usr/local/bin/pkg_sign
usr/local/bin/pkg_update
usr/local/bin/tkpkg
usr/local/bin/ls
tar: Unable to set file uid/gid of usr/local/bin/ls, uid=1049076, gid=131616: In
valid argument
usr/local/bin/gzip
tar: Unable to set file uid/gid of usr/local/bin/gzip, uid=1049076, gid=131616:
Invalid argument
usr/local/bin/sort
usr/local/man/cat1/pkg_add.1
usr/local/man/cat1/pkg_create.1
usr/local/man/cat1/pkg_delete.1
usr/local/man/cat1/pkg_info.1
usr/local/man/cat1/pkg_sign.1
usr/local/man/cat1/pkg_update.1
usr/local/man/cat1/ls.1
tar: Unable to set file uid/gid of usr/local/man/cat1/ls.1, uid=1049076, gid=131
616: Invalid argument
usr/local/man/cat1/gzip.1
tar: Unable to set file uid/gid of usr/local/man/cat1/gzip.1, uid=1049076, gid=1
31616: Invalid argument
usr/local/man/cat1/sort.1
bin/ftp
bin/ftp-ls
bin/pax
bin/tar
usr/share/man/cat1/pax.1
usr/share/man/cat1/ftp.1
usr/share/man/cat1/tar.1
var/db/pkg/pkg-2.6.2-bin/+COMMENT
var/db/pkg/pkg-2.6.2-bin/+CONTENTS
var/db/pkg/pkg-2.6.2-bin/+DESC
var/db/pkg/pax-1.5.4-bin
var/db/pkg/pax-1.5.4-bin/+COMMENT
var/db/pkg/pax-1.5.4-bin/+CONTENTS
var/db/pkg/pax-1.5.4-bin/+DESC
var/db/pkg/pax-1.5.4-bin/+REQUIRED_BY
var/db/pkg/ftp-3.5h-bin
var/db/pkg/ftp-3.5h-bin/+COMMENT
var/db/pkg/ftp-3.5h-bin/+CONTENTS
var/db/pkg/ftp-3.5h-bin/+DESC
var/db/pkg/ftp-3.5h-bin/+REQUIRED_BY
var/db/pkg/ls-1.2.2-bin
tar: Unable to set file uid/gid of var/db/pkg/ls-1.2.2-bin, uid=1049076, gid=131
616: Invalid argument
var/db/pkg/ls-1.2.2-bin/+COMMENT
tar: Unable to set file uid/gid of var/db/pkg/ls-1.2.2-bin/+COMMENT, uid=1049076
, gid=131616: Invalid argument
var/db/pkg/ls-1.2.2-bin/+CONTENTS
tar: Unable to set file uid/gid of var/db/pkg/ls-1.2.2-bin/+CONTENTS, uid=104907
6, gid=131616: Invalid argument
var/db/pkg/ls-1.2.2-bin/+DESC
tar: Unable to set file uid/gid of var/db/pkg/ls-1.2.2-bin/+DESC, uid=1049076, g
id=131616: Invalid argument
var/db/pkg/ls-1.2.2-bin/+REQUIRED_BY
var/db/pkg/gzip-1.3.3.10.1-bin
tar: Unable to set file uid/gid of var/db/pkg/gzip-1.3.3.10.1-bin, uid=1049076,
gid=131616: Invalid argument
var/db/pkg/gzip-1.3.3.10.1-bin/+COMMENT
tar: Unable to set file uid/gid of var/db/pkg/gzip-1.3.3.10.1-bin/+COMMENT, uid=
1049076, gid=131616: Invalid argument
var/db/pkg/gzip-1.3.3.10.1-bin/+CONTENTS
tar: Unable to set file uid/gid of var/db/pkg/gzip-1.3.3.10.1-bin/+CONTENTS, uid
=1049076, gid=131616: Invalid argument
var/db/pkg/gzip-1.3.3.10.1-bin/+DESC
tar: Unable to set file uid/gid of var/db/pkg/gzip-1.3.3.10.1-bin/+DESC, uid=104
9076, gid=131616: Invalid argument
var/db/pkg/gzip-1.3.3.10.1-bin/+REQUIRED_BY
var/db/pkg/env_etc_irsconf-1.0-bin
tar: Unable to set file uid/gid of var/db/pkg/env_etc_irsconf-1.0-bin, uid=10490
76, gid=131616: Invalid argument
var/db/pkg/env_etc_irsconf-1.0-bin/+COMMENT
tar: Unable to set file uid/gid of var/db/pkg/env_etc_irsconf-1.0-bin/+COMMENT,
uid=1049076, gid=131616: Invalid argument
var/db/pkg/env_etc_irsconf-1.0-bin/+CONTENTS
tar: Unable to set file uid/gid of var/db/pkg/env_etc_irsconf-1.0-bin/+CONTENTS,
uid=1049076, gid=131616: Invalid argument
var/db/pkg/env_etc_irsconf-1.0-bin/+DEINSTALL
tar: Unable to set file uid/gid of var/db/pkg/env_etc_irsconf-1.0-bin/+DEINSTALL
, uid=1049076, gid=131616: Invalid argument
var/db/pkg/env_etc_irsconf-1.0-bin/+DESC
tar: Unable to set file uid/gid of var/db/pkg/env_etc_irsconf-1.0-bin/+DESC, uid
=1049076, gid=131616: Invalid argument
var/db/pkg/env_etc_irsconf-1.0-bin/+REQUIRED_BY
var/db/pkg/env_path_local-1.0.4-bin
tar: Unable to set file uid/gid of var/db/pkg/env_path_local-1.0.4-bin, uid=1049
076, gid=131616: Invalid argument
var/db/pkg/env_path_local-1.0.4-bin/+COMMENT
tar: Unable to set file uid/gid of var/db/pkg/env_path_local-1.0.4-bin/+COMMENT,
uid=1049076, gid=131616: Invalid argument
var/db/pkg/env_path_local-1.0.4-bin/+CONTENTS
tar: Unable to set file uid/gid of var/db/pkg/env_path_local-1.0.4-bin/+CONTENTS
, uid=1049076, gid=131616: Invalid argument
var/db/pkg/env_path_local-1.0.4-bin/+DEINSTALL
tar: Unable to set file uid/gid of var/db/pkg/env_path_local-1.0.4-bin/+DEINSTAL
L, uid=1049076, gid=131616: Invalid argument
var/db/pkg/env_path_local-1.0.4-bin/+DESC
tar: Unable to set file uid/gid of var/db/pkg/env_path_local-1.0.4-bin/+DESC, ui
d=1049076, gid=131616: Invalid argument
var/db/pkg/env_path_local-1.0.4-bin/+REQUIRED_BY
var/db/pkg/env_manpath_local-1.0.7-bin
tar: Unable to set file uid/gid of var/db/pkg/env_manpath_local-1.0.7-bin, uid=1
049076, gid=131616: Invalid argument
var/db/pkg/env_manpath_local-1.0.7-bin/+COMMENT
tar: Unable to set file uid/gid of var/db/pkg/env_manpath_local-1.0.7-bin/+COMME
NT, uid=1049076, gid=131616: Invalid argument
var/db/pkg/env_manpath_local-1.0.7-bin/+CONTENTS
tar: Unable to set file uid/gid of var/db/pkg/env_manpath_local-1.0.7-bin/+CONTE
NTS, uid=1049076, gid=131616: Invalid argument
var/db/pkg/env_manpath_local-1.0.7-bin/+DEINSTALL
tar: Unable to set file uid/gid of var/db/pkg/env_manpath_local-1.0.7-bin/+DEINS
TALL, uid=1049076, gid=131616: Invalid argument
var/db/pkg/env_manpath_local-1.0.7-bin/+DESC
tar: Unable to set file uid/gid of var/db/pkg/env_manpath_local-1.0.7-bin/+DESC,
uid=1049076, gid=131616: Invalid argument
var/db/pkg/env_manpath_local-1.0.7-bin/+REQUIRED_BY
tar: ustar vol 1, 67 files, 2426880 bytes read, 0 bytes written.

What did I do wrong?

During installation I selected the box of enabling "setuid behavior". And HKLM\Software\Microsoft\SUA\EnableSetuidBinaries = 1.

What should I do to run the installation correctly?
Post #: 1
RE: Problem installing pkg_update - Aug. 2, '06, 2:12:19 PM   
Rodney

 

Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Which user are you doing this as?

The "most ideal" user is the local administrator.

(in reply to mike934)
Post #: 2
RE: Problem installing pkg_update - Aug. 3, '06, 2:04:49 AM   
mike934

 

Posts: 3
Status: offline
I did it as a local administrator.

(in reply to Rodney)
Post #: 3
RE: Problem installing pkg_update - Aug. 3, '06, 2:23:51 AM   
Rodney

 

Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
mmm, which Windows 2003/R2 is? 32-bit or 64-bit?

(in reply to mike934)
Post #: 4
RE: Problem installing pkg_update - Aug. 3, '06, 3:15:03 AM   
mike934

 

Posts: 3
Status: offline
32-bit

(in reply to Rodney)
Post #: 5
RE: Problem installing pkg_update - Aug. 3, '06, 5:22:36 PM   
Rodney

 

Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
mmm, interesting.
The UID of 1049076 (Domain Administrator) shouldn't be there.
An odd side effect of the machine I used for creating the bootstrap
release catching on fire a couple of months ago; the replacement is just
just different enough to cause this. I'm working on a fix now.

(in reply to mike934)
Post #: 6
RE: Problem installing pkg_update - Aug. 7, '06, 5:23:34 AM   
Rodney

 

Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
I finally got a machine (a virtual one) installed to match what you have.
<trials and tribulations deleted >

Turns out that even though you got all those messages, the bootstrap will
have been successful and the right ID's assigned to the files because you
were local administrator as you did it. While it'd be great that the messages
never appeared at all, it turns out that there's nothing to fix now that it's
all done because a "fix" would just give the same result as what you have now.
I know it sounds bizarre, but it's true.

You can go ahead and add/update packages and should have no problems.

(in reply to mike934)
Post #: 7
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> Problem installing pkg_update Page: [1]
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.047