04-05-2017
PKG repositories
It should be noted that by default pkg points to pkg.oracle.com. If you are familiar with Linux apt-get or yum that point to vendor repositories, this is much the same thing.
if you don't alter it, when you run pkg update it will connect to the internet, communicate with pkg.oracle.com and download updates.
if you DO alter it, you'll have to change the pkg publisher (repository location) to a local file system. Then manually go to oracle and get the pkg repo updates install them into your repo yourself. it doesn't save time to do it manually, in fact it's a lot more of a hassle to do it because you have to manage the repository AND the server.
If you don't have a security reason (you don't want the server to talk to the internet because it contains sensitive date) or a networking reason.
It's far better and easier, especially for a novice sysadmin, to leave pkg alone and just update from the internet. The same could be said of apt-get and yum they have the same options.
This User Gave Thanks to os2mac For This Post:
4 More Discussions You Might Find Interesting
1. Solaris
I have compiled my application on Solaris 10 with following description
SunOS ldg1 5.10 Generic_138888-03 sun4v sparc SUNW,Sun-Blade-T6320
The compiler is Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
But when installing the application on Solaris 9
SunOS odcarch02 5.9... (2 Replies)
Discussion started by: ash_bit2k2
2 Replies
2. Solaris
Hi,
I am unable to login into my terminal hosting Solaris 10 and get the below error message
"Server refused to allocate pty
ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory "
Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies
3. Solaris
Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment.
Let me know if you need any deatils on this.
Thanks,
Rama (1 Reply)
Discussion started by: ramareddi16
1 Replies
4. Solaris
Hi Gurus
I am not able to find the patching procedure for solaris 10 ( sol10 u11) to latest patchset with sun cluster having failover zones so that same I should follow.
Take an instance, there are sol1 and sol2 nodes and having two failover zones like sozone1-rg and sozone2-rg and currently... (1 Reply)
Discussion started by: nick101
1 Replies
LEARN ABOUT CENTOS
show-changed-rco
show-installed(1) show-installed(1)
NAME
show-changed-rco - show changes in an RPM package
SYNOPSIS
show-changed-rco [options]
DESCRIPTION
show-changed-rco gives a compact description of the changes to a packages Requires, Conflicts and Obsoletes data from the installed (or
old) to a specified rpm file.
OPTIONS
-h, --help
show this help message and exit
-C, --cache
Tells repoquery to run entirely from YUM cache - does not download any metadata or update the cache. Queries in this mode can fail
or give partial/incorrect results if the cache isn't fully populated beforehand with eg "yum makecache".
-c <config file>, --config=<config file>
Use alternative config file (default is /etc/yum.conf).
--repoid=<repo>
Specify which repository to query. Using this option disables all repositories not explicitly enabled with --repoid option (can be
used multiple times). By default repoquery uses whatever repositories are enabled in YUM configuration.
--enablerepo=<repo>
In addition to the default set, query the given additional repository, even if it is disabled in YUM configuration. Can be used
multiple times.
--disablerepo=<repo>
Do not query the given repository, even if it is enabled in YUM configuration. Can be used multiple times.
--repofrompath=<repoid>,<path/url>
Specify a path or url to a repository (same path as in a baseurl) to add to the repositories for this query. This option can be used
multiple times. If you want to view only the pkgs from this repository combine this with --repoid. The repoid for the repository is
specified by <repoid>.
--old-packages=<pkg>
Explicitly list the valid old packages to match the new packages against.
--ignore-arch
Ignore arch. so you can compare foo-2.i686 to foo-1.x86_64.
--skip-new
Only give output for packages which we've found an old package for.
SEE ALSO
yum.conf (5)
http://yum.baseurl.org/
AUTHORS
See the Authors file included with this program.
BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if
unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com
for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs.
James Antill 30 March 2011 show-installed(1)