Pkgadd issue


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Pkgadd issue
# 1  
Old 02-07-2019
Pkgadd issue

Good Afternoon,
I have 3 video driver packages in a directory that need to be installed. on a SunBlade 2500 running Solaris9. When I try running
Code:
pkgadd -d /Recovery/CloneDrivers/SUNWpfbcf

for example, I get
Code:
pkgadd: ERROR: no packages were found in </var/spool/pkg>


Permissions are 755, owner is root. I've tried navigating to the directory and then
Code:
pkgadd SUNWpfbcf

but get the same error.


Any idea what's happening?

Last edited by vbe; 02-11-2019 at 11:25 AM.. Reason: replace icode with code tags...
# 2  
Old 02-07-2019
See if this previous post helps (found after search):

Pkgadd error no packages found in /var
This User Gave Thanks to rdrtx1 For This Post:
# 3  
Old 02-07-2019
AFAIR there are two package formats, one is a one-file, and the other is a directory (one can convert to each other with the pkgtrans command).
The one-file package you install with
Code:
pkgadd -d /path/to/pkgfile

Your package seems to be the directory format, then it should be
Code:
pkgadd -d /Recovery/CloneDrivers SUNWpfbcf

Or just
Code:
pkgadd -d /Recovery/CloneDrivers

and it should ask for all (dir-format-)packages in there.

Last edited by MadeInGermany; 02-07-2019 at 03:59 PM..
These 2 Users Gave Thanks to MadeInGermany For This Post:
# 4  
Old 02-11-2019
Thanks!!! This one worked:
Code:
pkgadd -d /Recovery/CloneDrivers

It then asked which package I wanted to install (and that all three is the default. Interesting, last year when we hammered out this process, I installed them from the CDROM and I don't recall having to do it this way.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

pkgadd changes permissions of /etc

Hi, when I install a package using pkgadd, it correctly installs the binary files with the user name that I want. However it also changes the permissions of /etc/rc2.d. I don't want this to happen. I want to retain original owner of /etc/rc2.d as it is. I could see that before installing,... (1 Reply)
Discussion started by: funwithdolphin
1 Replies

2. Shell Programming and Scripting

pkgadd question

Hi, Please could someone help me, understand how pkgadd works within unix. I have a software file, and I need to package this up and then pkgadd this to another server. Please could some advise me the best way to do this. regards venhart (2 Replies)
Discussion started by: venhart
2 Replies

3. Solaris

pkgadd?

Hi all. Is there an option to #pkgadd to test if package bundle you want to install requires a reboot? #pkgadd -d "package bundle" an option like test or a dry run? Suggestions, anyone? :confused: Reloader (2 Replies)
Discussion started by: Reloader
2 Replies

4. Solaris

Pkgadd problem

Hi there, I need to install the Sun explorer package on hundreds of boxes and am writing a script to install it ..However, When you run pkgadd -d SUNWexplo It is interactive .....well i say interactive ...it gives you two questions both of which I answer a simple yes to. So i tried ... (9 Replies)
Discussion started by: hcclnoodles
9 Replies

5. Solaris

pkgadd help

I'm trying to install a package and it worked on most of the sun boxes and one of the box is just freezing and not going further. Her is the output. pkgadd -d packagename.dstream Select package(s) you wish to process (or 'all' to process all packages). (default: all) : Processing... (1 Reply)
Discussion started by: mokkan
1 Replies

6. UNIX for Advanced & Expert Users

pkgadd issues

I have a server running solaris 8 with veritas 4.1. I am trying to install a package on the server. The package install fails miserably though. I have installed the very same package on other development servers, but for some reason, the install fails on this, soon to be prod, server. No idea... (3 Replies)
Discussion started by: Sowser
3 Replies

7. Solaris

pkgadd

is there an option in pkgadd to accept the default option? I want to use pkgadd in a script and do not want to stop at intercative questions. thx. (6 Replies)
Discussion started by: melanie_pfefer
6 Replies

8. UNIX for Advanced & Expert Users

PKGADD error

Hello.. I'm making a pkg file that inserts a few files into an existing directory structure. I'm having some trouble in that the package will insert the directories I need.. but will fail to put the files I want into those directories. What I'm getting is this: ERROR: attribute... (2 Replies)
Discussion started by: Bags
2 Replies

9. UNIX for Dummies Questions & Answers

pkgadd

I am adding gcc 3.3.2 to my unix box what is the best way to do it???? (4 Replies)
Discussion started by: alsande
4 Replies

10. UNIX for Dummies Questions & Answers

Pkgadd / gnutar

I have sucessfully installed GNUtar using pkgadd but with some questions: When I tried to install with pkgadd -d GNUtar (which is the directory of the package) - I received the error "pkgadd: command not found" Then I tried the same but with pkgadd -d. GNUtar and it installed fine. (found... (4 Replies)
Discussion started by: finster
4 Replies
Login or Register to Ask a Question