# pkg publisher gives bash: pkg: command not found


 
Thread Tools Search this Thread
Operating Systems Solaris # pkg publisher gives bash: pkg: command not found
# 1  
Old 06-10-2015
Sun # pkg publisher gives bash: pkg: command not found

This is the operating system im using

Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC

I need to install some packages by setting local repository

While i run the below command

Code:
# pkg publisher

command returns bash: pkg: command not found

while looking for /usr/bin/pkg i get bash: /usr/bin/pkg: No such file or directory

How can i fix this issue by installing any packages or setting any paths ? guide me buddies
# 2  
Old 06-10-2015
"pkg" is a Solaris 11 and newer command. With Solaris 10 and older, you want to use the SVR4 packaging commands (pkgadd, pkginfo, ...).
This User Gave Thanks to jlliagre For This Post:
# 3  
Old 06-10-2015
Sun

Quote:
Originally Posted by jlliagre
"pkg" is a Solaris 11 and newer command. With Solaris 10 and older, you want to use the SVR4 packaging commands (pkgadd, pkginfo, ...).
Great thanks a lot..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Pkg update 11.2

Got a repo server with a combined 11.2/11.3 repository. I want to update latest security patches on server A (which is 11.2). I dont want to upgrade to 11.3 (app reasons). If I do pkg update all - is there any danger this will happen? If so, how to proceed? (2 Replies)
Discussion started by: psychocandy
2 Replies

2. Solaris

Pkg update: No solution was found to satisfy constraints

I have an x86 Solaris box running 11.2 and have run into the following issue when attempting to run a package update. Has anyone else come across this issue and resolved it successfully, or am I waiting on Oracle to release other updated packages? uname -a SunOS <hostname> 5.11 11.2... (13 Replies)
Discussion started by: nova_cyclist
13 Replies

3. Solaris

Pkg problem, one zone trying pkg.Oracle.com on port 1008

Hi Solaris Experts, The pkg utility on one of my non-global zones has stopped working, it's trying to connect to port 1008 at pkg.oracle.com I was using pkg successfully from this zone, but now it's showing this error: lzone1 $ pkg search xterm pkg: Some repositories failed to respond... (4 Replies)
Discussion started by: ad101
4 Replies

4. Solaris

How extract SUNWexplo.7.1.pkg & SUNWexplu.7.1.pkg from install_stb.sh?

Hi all, Could please guideas how to extract SUNWexplo.7.2.pkg & SUNWexplu.7.2.pkg from install_stb.sh. I need to upgrade my Sun Explorer to 7.2 version from 7.1 . This what written in read me file about its installation: The Lightweight Availability Collection Tool (LWACT) is no... (1 Reply)
Discussion started by: manalisharmabe
1 Replies

5. Solaris

Command to list or view the files in .pkg (solaris) and how to extract without installing

In Linux for .rpm we can list or view the files using the command rpm -qpl <file.rpm> and to extract, the command is rpm2cpio <file.rpm> | cpio -idvh I would like to know the commands which has same functionality as above for solaris ( .pkg) Thanks in Advance (5 Replies)
Discussion started by: frintocf
5 Replies

6. Solaris

137481-02 pkg

can anyone download this solaris pkg and email to me, it wont let me download it anymore from sunsolve. 137481-02 (1 Reply)
Discussion started by: dan7225
1 Replies

7. Solaris

pkg-get errors

To day i installed boltpkg, hiow ever when i run either a pkg-get install or a pkg-get -u pkg-get re turns the following errors. pkg-get -u WARNING: no catalog file for site ftp.sunfreeware.com Updating catalog file first Getting catalog... ld.so.1: wget: fatal: libssl.so.0.9.8: open... (3 Replies)
Discussion started by: FloridaBSD
3 Replies

8. Solaris

How to remove a pkg ,urgent!!

HI all, I would like to know, how we can remove a package? I know that pkgrm will do the job ,but specifying the right kinda package is important.. And i dont know how to figure that one out? Eg:if i have installed a pkg called virtualbox, If i do, pkgrm SUNWvirtualbox ,it says "no such file... (2 Replies)
Discussion started by: wrapster
2 Replies

9. Solaris

pkg - updateable packages

Hello, I'm creating some installation packages for Solaris 9 and I wonder whether or not the Solaris pkg system support update operation. Creating Solaris Packages says But I havent found out how update works. Like in debian packages, I'd like to detect in the "preinstall" script that... (0 Replies)
Discussion started by: Tex-Twil
0 Replies

10. Solaris

pkgadd pkg to an new directory

hi guys, I am wondering instead installing to the default directory, how can I install a package using pkgadd command to a specified directory? I am using solaris 9, thanks (1 Reply)
Discussion started by: fedora
1 Replies
Login or Register to Ask a Question