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_update

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> Problem with pkg_update Page: [1]
Login
Message << Older Topic   Newer Topic >>
Problem with pkg_update - Sep. 2, '06, 12:58:53 PM   
eperea

 

Posts: 70
Joined: Apr. 6, '05,
Status: offline
I have three installed packages which are not up to date: grep xargs and zlib. Trying to update each individually gives the same errors as using "-a", so I post the latter output:

pkg_update -a
Gathering installed package information...
Updating from location 'ftp://ftp.interopsystems.com/pkgs/3.5-x86': okay? [y]
Starting checks for updates
Percent complete/package:
 38% |*******************                               |             grepMemory fault
pkg_update: Problem updating package. Continuing. : No such file or directory
 93% |**********************************************    |            xargsMemory fault
pkg_update: Problem updating package. Continuing. : No such file or directory
 99% |************************************************* |             zlibMemory fault
pkg_update: Problem updating package. Continuing. : No such file or directory
100% |**************************************************|              zsh
Done.

I thought at first that this was due to the obcaseinsensitive key being missing, but adding it and rebooting (twice) did not help. I am not aware of anything else having changed. Any ideas?
Post #: 1
RE: Problem with pkg_update - Sep. 2, '06, 11:23:14 PM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
This looks like the same as what gwojan is seeing.
To reiterate, I'm not seeing the same problem here, and I can see that
other are still running fine. But I may know what's the cause. I'm working
up a script to see if that'll clear this up for you.

(in reply to eperea)
Post #: 2
RE: Problem with pkg_update - Sep. 3, '06, 2:05:45 AM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
I've placed a script at ftp://ftp.interopsystems.com/pub/patchbin for you.
Download the script to, say, "/tmp". Then run it ("sh patchbin") as the
local administrator or member of the administrators group.
Then give it try and do your "pkg_update -a" again.

(in reply to Rodney)
Post #: 3
RE: Problem with pkg_update - Sep. 3, '06, 3:01:03 AM   
eperea

 

Posts: 70
Joined: Apr. 6, '05,
Status: offline
That works great, thanks!

(in reply to Rodney)
Post #: 4
RE: Problem with pkg_update - Sep. 5, '06, 8:30:28 AM   
gwojan

 

Posts: 28
Joined: Apr. 28, '04,
Status: online
Okay! Other than a minor "brain cramp" on my part the patch looks like it worked.

So what was the problem and why did it only affect a couple of us?

--Greg

(in reply to eperea)
Post #: 5
RE: Problem with pkg_update - Sep. 6, '06, 12:23:04 AM   
eperea

 

Posts: 70
Joined: Apr. 6, '05,
Status: offline
Remember you asked me to delete /usr/local/bin/sort ?
Well, doing a pkg_update -a to pick up the new cat:
Gathering installed package information...
Updating from location 'ftp://ftp.interopsystems.com/pkgs/3.5-x86': okay? [y]
Starting checks for updates
Percent complete/package:
  0% |                                                  |          apropossh: /usr/local/bin/sort: not found
  1% |                                                  |              awksh: /usr/local/bin/sort: not found
  2% |*                                                 |             bashsh: /usr/local/bin/sort: not found
 ...
 98% |************************************************* |              zipsh: /usr/local/bin/sort: not found
 99% |************************************************* |             zlibsh: /usr/local/bin/sort: not found
100% |**************************************************|              zshsh: /usr/local/bin/sort: not found

Done.
linking /bin/sort to /usr/local/bin works, of course.

(in reply to Rodney)
Post #: 6
RE: Problem with pkg_update - Sep. 6, '06, 1:30:46 AM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
aahhrrrggg!

There's newer functionality in sort from here over the CD version
to sort out version numbering (no, no pun). The full path is to avoid order
mixups in PATH.
Fortunately it's just in beta... I was really close to posting it live.
Thanks for the test.
I'm adjusting the package to cover both points with a symlink (as you just did).
I'll post the update to beta for a while.

(in reply to eperea)
Post #: 7
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> Problem with 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