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