Installing packages in Solaris 11


 
Thread Tools Search this Thread
Operating Systems Solaris Installing packages in Solaris 11
# 1  
Old 06-06-2013
Installing packages in Solaris 11

I want to install EMCpower (EMC Powerpath package) in Solaris 11. At most of the places, I can see procedure to install packages which comes with repository.
This is third party tool, I have downloaded it to /var/tmp. How should I install it ?
Code:
root@orapdps11 # pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F file:///export/reposolaris11/
root@orapdps11 # ls -l /var/tmp/EMCpower
total 5
-rw-r--r--   1 29080    43093         85 Jun 18  2012 pkg5.repository
drwxr-xr-x   3 29080    43093          3 Jun 18  2012 publisher
root@orapdps11 #

Please guide me on this.

Last edited by DukeNuke2; 06-06-2013 at 07:41 PM..
# 2  
Old 06-06-2013
I'm not sure do you have repo directory inside publisher, but it should be something like this.
Manual configuration:
Code:
# pkg set-publisher -g file:/var/tmp/EMCpower/publisher emcpower

or automated configuration
Code:
# pkg set-publisher -p file:/var/tmp/EMCpower/publisher

# 3  
Old 06-06-2013
It is like this --
Code:
root@orapdps11 # ls -l /var/tmp/EMCpower/publisher/
total 3
drwxr-xr-x   7 29080    43093          7 Jun 18  2012 emc.com
root@orapdps11 # ls -l /var/tmp/EMCpower/publisher/emc.com/
total 19
drwxr-xr-x   2 29080    43093          7 Jun 18  2012 catalog
drwxr-xr-x 142 29080    43093        142 Jun 18  2012 file
drwxr-xr-x   3 29080    43093          3 Jun 18  2012 pkg
drwxr-xr-x   2 29080    43093          3 Jun 18  2012 tmp
drwxr-xr-x   2 29080    43093          2 Jun 18  2012 trans
root@orapdps11 # pkg set-publisher -g file:/var/tmp/EMCpower/publisher emcpower
pkg set-publisher: The origin URIs for 'emcpower' do not appear to point to a valid pkg repository.
Please verify the repository's location and the client's network configuration.
Additional details:
Unable to contact valid package repository
Encountered the following error(s):
Transport errors encountered when trying to contact repository.
Reported the following errors:
file protocol error: code: 22 reason: The path '/var/tmp/EMCpower/publisher' does not contain a valid package repository.
Repository URL: 'file:///var/tmp/EMCpower/publisher'.
root@orapdps11 #


Last edited by DukeNuke2; 06-06-2013 at 07:41 PM..
# 4  
Old 06-06-2013
I would try
Code:
# pkg set-publisher -g file:/var/tmp/EMCpower/publisher/emc.com emc.com

Added part:
Just for clarification.
I wasn't sure the exact path to repo, because I didn't have access to server.
But I've checked and the shorter path should work too.
Code:
# pkg set-publisher -g file:/var/tmp/EMCpower emc.com

It looks like the directory with pkg5.publisher file should be used. That file describes repository.
With argument - p there is no need to write prefix in command line. System probably reads that information from pkg5.publisher.

Last edited by GP81; 06-07-2013 at 06:41 AM..
This User Gave Thanks to GP81 For This Post:
# 5  
Old 06-06-2013
Yes, that worked. Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 packages

Hi all, Does anyone know where you can get solaris 10 packages these days? It seems that sunfreeware have now started charging you to download them, which is good. I have found opencsw, but that seems to rely on you hooking the machine into the interenet and at the moment I am trying to... (3 Replies)
Discussion started by: callmebob
3 Replies

2. UNIX for Dummies Questions & Answers

Installing packages...need help with the basics

Hello, I am working in terminal on a Mac OS X 10.9.2. I need to install a series of bioinformatics tools and packages (currently I want to install fastq-tools but downstream I'll need other such as samtools, bwa etc etc.) and will eventually have to be able to do this not only on my mac but also... (3 Replies)
Discussion started by: jullee
3 Replies

3. Red Hat

Installing Linux packages

hi, I wants to customize the Linux packages after installting the Linux OS... I am not able to install the packages packages in GUI mode System-> Administration->add/remove software.i want to install some desktop and dabase related packages how do i install those packages... I use RHEL6.2... (1 Reply)
Discussion started by: Rahulne25
1 Replies

4. Solaris

Solaris 10 packages

can one install packages from different Solaris 10 subversion on a SPARC? (if we don't have the install media for exact same Solaris10.) (3 Replies)
Discussion started by: orange47
3 Replies

5. Red Hat

Installing rpm packages

Hi guys, I am trying to install some packages for my oracle 11g r2 installation, the below error shows up when I try below: warning: glibc-devel-2.5-24.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 error: Failed dependencies: glibc-headers is needed by... (8 Replies)
Discussion started by: messi777
8 Replies

6. UNIX for Dummies Questions & Answers

Installing deb packages from Ubuntu Server CD

Hi, I have mounted the Ubuntu server edition 10.10 ISO on my server under a directory media/servercd. I would like to install some services from this. I edited the sources.list file to say: deb file:/media/servercd maverick main restricted and it's properly mounted but when I try... (1 Reply)
Discussion started by: shadowcat
1 Replies

7. Emergency UNIX and Linux Support

Installing packages on Redhat 5.5: rpmlib issues

Hi there I'm having trouble with a remote Red Hat server. We are busy with an Oracle 11g installation on this box and going through the list of required packages, etc. The installation required elfutils-libelf-devel-0.148. When I try to install that I get the following error; rpm -i... (6 Replies)
Discussion started by: notreallyhere
6 Replies

8. UNIX for Dummies Questions & Answers

installing packages

hi Guys, relatively new to Unix. i have a list of Unix packages to install... how do i install only what is on that list? can someone help? Kind regards Brian (1 Reply)
Discussion started by: brian112
1 Replies

9. Solaris

Installing European Locale Packages

I have installed the locale package for en_GB and if i do a locale -a (after reboot) it will display: en_GB en_GB.ISO8859-1 en_GB.ISO8859-15 en_GB.ISO8859-15@euro (short version) and i get this when typing only 'locale': # locale LANG=en_GB LC_CTYPE="C" LC_NUMERIC=C LC_TIME="C"... (2 Replies)
Discussion started by: xqtor
2 Replies
Login or Register to Ask a Question