Sponsored Content
Full Discussion: Solaris 11.3
Operating Systems Solaris Solaris 11.3 Post 302995385 by os2mac on Wednesday 5th of April 2017 07:51:12 AM
Old 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

application compiled on solaris 10 throwing error when executed on solaris 9

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

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

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

root disk mirroring in solaris volume manager for solaris 10

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

Patching Procedure in Solaris 10 with sun cluster having Solaris zone

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
repo-rss(1)															       repo-rss(1)

NAME
repo-rss - generates an RSS feed from one or more Yum repositories SYNOPSIS
repo-rss [options] repoid1 [repoid2...] DESCRIPTION
repo-rss is a program for generating RSS feeds for one or more Yum repositories. GENERAL OPTIONS
-h, --help Help; display a help message and then quit. -f <file> Specify the file to which the RSS will be written. Default is repo-rss.xml. -l <link> Specify the URL to the RSS feed. Default is http://yum.baseurl.org/. -t <title> Specify the title for the RSS feed. Default is "RSS Repository - Recent Packages". -d <description> Specify the description of the RSS feed. Default is "Most recent packages in Repositories". -r <days> Specify the number of days to consider most recent. Default is 3. --tempcache Enable the use of a temporary directory for the yum cache. This is enabled by default for non-root users. EXAMPLES
Generate an RSS for the updates-released repository and save it as updates-release.xml: repo-rss -f updates-released.xml updates-released FILES
As repo-rss uses YUM libraries for retrieving all the information, it relies on YUM configuration for its default values like which reposi- tories to use. Consult YUM documentation for details: /etc/yum.conf /etc/yum/repos.d/ /var/cache/yum/ 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. Seth Vidal 2005 repo-rss(1)
All times are GMT -4. The time now is 10:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy