I was messing with pkgsrc and wanted to start fresh so I manually deleted the /var/pkg directory on Solaris 11 (of course I was supposed to delete the /var/db folder instead)...
Anyways... I've basically bricked the Solaris11 Package Manager. Do you know if there is any way to recreate the /var/pkg database without doing a full format? I've had no luck trying to find a simple rebuild command or anything like that.
Any pkg * command returns the error:
but everything else in the OS still functions normally.
Thanks!
Last edited by rbatte1; 08-21-2015 at 09:37 AM..
Reason: Added CODE tags for output/error
I am researching CVE-2009-1386 and am trying to determine if my version of SUNWopensslr is equivalent to OpenSSL v0.9.8i.
Here's my output:
root# pkginfo -l SUNWopensslr
PKGINST: SUNWopensslr
NAME: OpenSSL (Root)
CATEGORY: system
ARCH: sparc
VERSION: ... (1 Reply)
hello... i'm new in solaris 10.
i have installed solaris 10 core.
but i need pkg ssh.
anybody can help me how to install ssh. and where i can find this ssh pkg?
hope somebody can give me solution... >.<
searching but not found it >.<:( (6 Replies)
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)
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)
Hi,
I am trying to update my Solaris 11 system's Java 7 version to 1.7.0.65.
I tried to do a pke update, and it only updated it to version 60.
When I do a pkg list or search, i can see 65 is available but it wont update to it.
I am getting this error, and I do not know how to get... (1 Reply)
My dedicated server is VERY old (running Apache/1.3.37 (Unix) PHP/4.4.4 FrontPage/5.0.2.2510).
We have a script that runs and manages our customer database. Early in the morning last Friday, it was working fine and processed data as usual. Later in the day, we got this error:
Cannot... (2 Replies)
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
# pkg publisher
command returns bash: pkg: command not found
while looking for /usr/bin/pkg i get bash:... (2 Replies)
hi downloaded the pkg and installed the pkg from root user .But still when i run command lsof and man lsof .No command found is the error. I tried by pkgadd -d (.pkg file). Please help me
---------- Post updated at 12:44 PM ---------- Previous update was at 12:41 PM ----------
This is what i... (8 Replies)
Discussion started by: chaithanyaa
8 Replies
LEARN ABOUT OPENSOLARIS
depend
depend(4) File Formats depend(4)NAME
depend - software dependencies file
DESCRIPTION
depend is an ASCII file used to specify information concerning software dependencies for a particular package. The file is created by a
software developer.
Each entry in the depend file describes a single software package. The instance of the package is described after the entry line by giving
the package architecture and/or version. The format of each entry and subsequent instance definition is:
type pkg name
(arch)version
(arch)version
...
The fields are:
type Defines the dependency type. Must be one of the following characters:
P Indicates a prerequisite for installation; for example, the referenced package or versions must be installed.
I Implies that the existence of the indicated package or version is incompatible.
R Indicates a reverse dependency. Instead of defining the package's own dependencies, this designates that another
package depends on this one. This type should be used only when an old package does not have a depend file, but
relies on the newer package nonetheless. Therefore, the present package should not be removed if the designated old
package is still on the system since, if it is removed, the old package will no longer work.
pkg Indicates the package abbreviation.
name Specifies the full package name.
(arch)version Specifies a particular instance of the software. A version name cannot begin with a left parenthesis. The instance speci-
fications, both (arch) and version, are completely optional, but each (arch)version pair must begin on a new line that
begins with white space. A null version set equates to any version of the indicated package.
EXAMPLES
Example 1 Sample of depend file
Here are the contents of a sample depend file, for the SUNWftpr (FTP Server) package, stored in /var/sadm/pkg/SUNWftpr/install:
P SUNWcar Core Architecture, (Root)
P SUNWkvm Core Architecture, (Kvm)
P SUNWcsr Core Solaris, (Root)
P SUNWcsu Core Solaris, (Usr)
P SUNWcsd Core Solaris Devices
P SUNWcsl Core Solaris Libraries
R SUNWftpu FTP Server, (Usr)
SEE ALSO pkginfo(4)
Application Packaging Developer's Guide
SunOS 5.11 4 Oct 1996 depend(4)