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_add in pkg 2.6.2 omits some files

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> pkg_add in pkg 2.6.2 omits some files Page: [1]
Login
Message << Older Topic   Newer Topic >>
pkg_add in pkg 2.6.2 omits some files - Jun. 19, '06, 10:37:55 AM   
jsnively

 

Posts: 21
Joined: Dec. 7, '03,
From: Columbus, Ohio
Status: offline
I'm using the latest (2.6.2) pkg_add to unpack a local archive, e.g.
pkg_add /tmp/mytool-ver-bin.tgz
and three of the files packed in "mytool" do not get installed. There is nothing obviously different about these three files; they are duly listed in the +CONTENTS file, and their md5 checksums are correct. My earlier (2.5.4) version of pkg_add installs all the "mytool" files just fine. Has anyone else run into this sort of behavior?
Post #: 1
RE: pkg_add in pkg 2.6.2 omits some files - Jun. 19, '06, 1:01:07 PM   
jsnively

 

Posts: 21
Joined: Dec. 7, '03,
From: Columbus, Ohio
Status: offline
Same behavior, by the way, if one accesses the package over the network:
pkg_add ftp://www.bell-labs.com/pub/sablime/interix3.5/CSSC-1.0.1-web-bin.tgz

(I mention this in case anyone in a position to debug pkg_add would like to test against the package having the problem. It's available by anonymous ftp at the address above.)

(in reply to jsnively)
Post #: 2
RE: pkg_add in pkg 2.6.2 omits some files - Jun. 19, '06, 1:45:44 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Taking a look at it would be me.

Can you tell me which files exactly you see the problem with?
Knowing will help work things out.

< Message edited by Rodney -- Jun. 19, '06, 1:47:30 PM >

(in reply to jsnively)
Post #: 3
RE: pkg_add in pkg 2.6.2 omits some files - Jun. 19, '06, 1:56:33 PM   
jsnively

 

Posts: 21
Joined: Dec. 7, '03,
From: Columbus, Ohio
Status: offline
libexec/cssc/admin
info/cssc.info
bin/sccs

(in reply to Rodney)
Post #: 4
RE: pkg_add in pkg 2.6.2 omits some files - Jun. 19, '06, 6:17:05 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Thanks, I wanted to be sure we were seeing similar results.
The problem is fixed for version 2.6.3 (now available as an update, pkg_update -L pkg).

The problem was the first file listed that caused a new directory to be created after
the second directory created by the package would skip the "move into place" order.
One of those one line fixes

(in reply to jsnively)
Post #: 5
RE: pkg_add in pkg 2.6.2 omits some files - Jun. 19, '06, 6:48:31 PM   
jsnively

 

Posts: 21
Joined: Dec. 7, '03,
From: Columbus, Ohio
Status: offline
Great work. Thanks!!

Don't know if you're planning to update the bootstrap installer to install the 2.6.3 version instead of the buggy 2.6.2 version, but the current bootstrap installer has an additional minor problem of not creating /var/db/pkg/sort-1.1-bin, and, in particular, not adding "pkg-2.6.2-bin" to /var/db/pkg/sort-1.1-bin/+REQUIRED. This causes a complaint when one upgrades to 2.6.3:

pkg_delete(pkg-2.6.2-bin): couldn't open dependency file `/var/db/pkg/sort-1.1-bin/+REQUIRED_BY'

< Message edited by jsnively -- Jun. 19, '06, 10:05:23 PM >

(in reply to jsnively)
Post #: 6
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> pkg_add in pkg 2.6.2 omits some files 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.063