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

pkg_update with Vista 5472

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> pkg_update with Vista 5472 Page: [1]
Login
Message << Older Topic   Newer Topic >>
pkg_update with Vista 5472 - Aug. 6, '06, 1:50:36 PM   
StuartRothrock

 

Posts: 6
Joined: Jul. 5, '04,
Status: offline
Having problems with pkg_update and Vista 5472. I hope I didn't miss the solution in the forums. Please forgive all of the details - trying to give enough info.

After installing pkg_add from ftp.interopsystems.com/pkgs/6.0-x86/pkg-2.6.2-bin35.sh and rebooting, I got the following when trying pkg_update -a

$ pkg_update -a
Gathering installed package information...
Updating from location 'ftp://ftp.interopsystems.com/pkgs/10.0-x86': okay? [y]
Starting checks for updates
.ftp: Login failed.
ftp: No control connection for command.
ftp: Login failed.

ftp: No control connection for command.
ftp: Can't connect or login to host `ftp.interopsystems.com'
.......Done.

Tried this as a test

$ ftp ftp.interopsystems.com
Connected to ftp.interopsystems.com.
220 ProFTPD 1.2.9 Server (Interop Systems FTP Server 1) [ftp.interopsystems.com]
331 Password required for StuartRothrock.
230 User StuartRothrock logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode (64,235,106,194,13,74).
150 Opening ASCII mode data connection for file list
drwxr-xr-x 2 interop interop 59 May 26 09:10 Japan
drwxr-xr-x 11 interop interop 251 Feb 10 2004 Win32
drwxr-xr-x 4 interop interop 175 May 3 08:45 beta
drwxr-xr-x 2 interop interop 35 Feb 1 2004 bin
drwxrwxrwx 2 interop interop 59 Nov 14 2005 interop
drwxr-xr-x 16 interop interop 522 Jun 26 18:59 pkgs
drwxr-xr-x 9 interop interop 915 Aug 2 21:16 pub
drwxr-xr-x 37 interop interop 938 Jul 24 02:49 src
drwx-wx-wx 3 interop interop 1305 Jun 20 00:45 uploads
226 Transfer complete.
ftp> quit
221 Goodbye.

then

$ echo $HOME
/dev/fs/C/Users/Administrator

then tried again

$ pkg_update -a
Gathering installed package information...
Updating from location 'ftp://ftp.interopsystems.com/pkgs/10.0-x86': okay? [y]
Starting checks for updates
.pkgs/10.0-x86: No such file or directory
.......Done.

then

$ uname -a
Interix vista32 10.0 10.0.5384.0 x86 Intel_x86_Family15_Model4_Stepping1

ahh - so then

$ pkg_add ftp://ftp.interopsystems.com/pkgs/6.0-x86/pkg-current-bin.tgz
pkg_add(pkg-current-bin): other version 'pkg-2.6.2-bin' already installed
pkg_add(pkg-current-bin): proceeding to install newer version
pkg_add(pkg-current-bin): proceeding to uninstall older version first
pkg_delete(pkg-2.6.2-bin): couldn't open dependency file `/var/db/pkg/sort-1.1-bin/+REQUIRED_BY'

scratched head, then

$ ls -l /var/db/pkg/sort-1.1-bin
total 5
-rw-rw-r-- 1 Administrator +Administrators 33 Oct 15 2005 +COMMENT
-rw-rw-r-- 1 Administrator +Administrators 542 Aug 6 13:00 +CONTENTS
-rw-rw-r-- 1 Administrator +Administrators 112 Oct 15 2005 +DESC
-rw-rw-r-- 1 Administrator +Administrators 14 Aug 6 13:00 +REQUIRED_BY
hmmm - scratched chin, then

$ export PKG_PATH=ftp://ftp.interopsystems.com/pkgs/6.0-x86

then

$ pkg_update -a
Gathering installed package information...
Updating from location 'ftp://ftp.interopsystems.com/pkgs/10.0-x86': okay? [y] n
Starting checks for updates
.pkgs/10.0-x86: No such file or directory
........Done.

I understand why part of this is happening, but not enough to fix it :)
Thanks in advance!!

Rodney - You are a trooper - Excellent product suite from Interop Systems (ok - MS too) - couldn't easily live without it! SFU/SUA gets installed on all of my systems imeadiately after SPs and Updates.


< Message edited by StuartRothrock -- Aug. 6, '06, 1:55:06 PM >
Post #: 1
RE: pkg_update with Vista 5472 - Aug. 6, '06, 2:52:18 PM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Build 5472 is post-release of Vista Beta 2 (for those folks wondering).
I'm not sure that it counts as RC1 even (information gets fuzzy).
For most folks this is on the "bleeding edge", so don't sweat this info
too much when the "real release" happens.

Anyway, the root of your problem is as you have found that the information from
uname, which is in turn information from uname() the API, is wrong.
Post-Beta 2 some of the subsystems have had new errors. I spent two days
last week figuring out one of the builds (5484?) had broken the exec*() set of API's
along with uname() {a different uname() problem than you have}.
These problems I can't fix of course. That's in MS's domain.

To the output you do send:
>pkg_delete(pkg-2.6.2-bin): couldn't open dependency file `/var/db/pkg/sort-1.1-bin/+REQUIRED_BY'

You can safely ignore this message. It should be fine on your machine right now.

Pkg_update works out what version/machine you are on based on a uname() call.
The workaround for you is to use pkg_add directly as you did above.
The dependencies will all be found this way, so no other special actions.
With PKG_PATH set you can use just the package names ("pkg_add bash-current-bin.tgz").
Hopefully the next build will have corrected the uname() output.

Glad we're useful

(in reply to StuartRothrock)
Post #: 2
RE: pkg_update with Vista 5472 - Sep. 13, '06, 1:48:37 AM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Just as a pre-emptive

I've just been updated that the fix for uname() has been done, but
it was done just after the RC1 cutoff (it was very close).

(in reply to Rodney)
Post #: 3
RE: pkg_update with Vista 5472 - Sep. 13, '06, 10:11:16 AM   
StanleyJ

 

Posts: 14
Joined: Jul. 26, '06,
Status: offline
quote:

ORIGINAL: Rodney

Just as a pre-emptive

I've just been updated that the fix for uname() has been done, but
it was done just after the RC1 cutoff (it was very close).


Ah... that answers my other post regarding the issue then. Bleh. :(

http://www.interopsystems.com/tools/tm.aspx?m=9815&mpage=1✎

_____________________________

Jonathan “SHS`” Stanley
World Domination 2005! | Asking Questions The Smart Way

(in reply to Rodney)
Post #: 4
RE: pkg_update with Vista 5472 - Sep. 23, '06, 7:31:05 AM   
StuartRothrock

 

Posts: 6
Joined: Jul. 5, '04,
Status: offline
FYI: Just installed Build 5728 - uninstalled SUA - reinstaled SUA - URL still points to 5600. Nothing new to correct 10.0 uname.

< Message edited by StuartRothrock -- Sep. 23, '06, 12:30:59 PM >

(in reply to StanleyJ)
Post #: 5
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> pkg_update with Vista 5472 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.031