Sponsored Content
Operating Systems Solaris # pkg publisher gives bash: pkg: command not found Post 302946526 by babinlonston on Wednesday 10th of June 2015 03:00:49 AM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
DEBPARTIAL-MIRROR(1)					      General Commands Manual					      DEBPARTIAL-MIRROR(1)

NAME
debpartial-mirror -- debpartial-mirror is a program to generate partial Debian packages archives mirrors. SYNOPSIS
apt-get [-hvs] [-o=config string] [-c=file] {update | upgrade | dselect-upgrade | install pkg ... | remove pkg ... | source pkg ... | build-dep pkg ... | check | clean | autoclean } DESCRIPTION
debpartial-mirror is a command-line tool to generate partial Debian packages archives mirrors. It is designed to work (in particular) in Custom Debian Distributions framework, as an aid to create customization of debian systems. Partial mirrors can be generated from different apt repositories (local created or remote ones) and can contain binary as well as sources packages. Generated partial mirrors have the structure of standard apt repositories: please referr to APT documentation for explanation about this. debpartial-mirror uses a configuration file to determine which packages, are to be downloaded and monitored to generate a local partial mirror. Packages can be specified by regular expressions, by list or by mirrors sections. Default configuration file is /etc/debpartial-mirror.conf. debpartial-mirror accept commands in the same way apt-get does, and unless the -h or --help is given, one of the commands below must be presented. update update update is used to resynchronize the package index files from specified sources. upgrade upgrade upgrade is used to dowload selected binary and source packages from specified mirrors. The first time this command is ran the partial mirror is generated: after this, only newer or updated packages will be downloaded into the mirror. all all all is used to perform both update and upgrade commands. OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -h --help Show summary of options. -v --version Show version of program. -cCONFIGFILE --configfile=CONFIGFILE Select the confiruration file. -s --simulate Do nothing, only simulate all. Actually it is not implemented -sf --skip-files Skip downloading of files. Actually it is not implemented -sp --skip-packages Skip downloading of packages. Actually it is not implemented AUTHOR
This manual page was written by Otavio Salvador (otavio@debian.org). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. DEBPARTIAL-MIRROR(1)
All times are GMT -4. The time now is 09:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy