I wrote a post-install script, which is executed after the package installation by command like " pkgadd -d /mypackage.pkg".
I also want to read user input in post-install script as follows:
However, it does NOT pause and wait for user input at all! Instead, it goes into an infinite loop:
Any advice will be appreciated!
Hi,
on Red Hat Enterprise Linux AS release 3 (Taroon).
How can I :
1-install a package (exemple : compat-gcc-7.3-2.96.128.src.rpm)
2-uninstall (or delete or deinstall) a package (exemple : compat-gcc-7.3-2.96.122).
Many thanks before. (6 Replies)
I'm a newcomer for Solaris.
I tried to install Net::FTP package ( a tool perl ) on our sun server 5.9.
We used the below command:
/usr/bin/perl MakeFilePL
make
make install
How can I uninstall this package ? (1 Reply)
i am struggling to find an error free, and complete install package for ImageMagick (with perl- "PerlMagick"). imagemagick.org not much help.... links for source, mirrors etc dont work. any pointers appreciated.
linux server. (2 Replies)
I am working with sun solaris 9 and I want to install some packages but due to less disk space I am not able to install the packages.
I am giving the output of filesystem--
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 2148263 1997593 107705 ... (10 Replies)
Dears,
i am new user in solaris
i am using solaris 10
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=Sol-audio-drivers1.0-x86-G-F@CDS-CDS_SMI
after i unzip this package
i didn't found any package to install
cos i only... (1 Reply)
Dear all,
I would like to install a new version of package without remove old version on Centos and vice versa.
Please give me advice!
thanks much, (2 Replies)
Hello,
i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm"
in /usr/local/ directory.
I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't.
I did:
1st try: Didn't work
sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Hello,
i have installed a package by using the command
sudo rpm -i filepackage.rpm
package filepackage is already installed
when i try to remove it, i get an error saying "is not installed":
sudo rpm -e filepackage.rpm
error: package filepackage is not installed
How can... (4 Replies)
Hello,
When i try to install any package,the following appears:
# yum install yum
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Nothing to do
#
plz guide me asap!
---------- Post... (1 Reply)
Discussion started by: ahmedamer12
1 Replies
LEARN ABOUT FREEBSD
protect
PROTECT(1) BSD General Commands Manual PROTECT(1)NAME
protect -- protect processes from being killed when swap space is exhausted
SYNOPSIS
protect [-i] command
protect [-cdi] -g pgrp | -p pid
DESCRIPTION
The protect command is used to mark processes as protected. The kernel does not kill protected processes when swap space is exhausted. Note
that this protected state is not inherited by child processes by default.
The options are:
-c Remove protection from the specified processes.
-d Apply the operation to all current children of the specified processes.
-i Apply the operation to all future children of the specified processes.
-g pgrp Apply the operation to all processes in the specified process group.
-p pid Apply the operation to the specified process.
command Execute command as a protected process.
Note that only one of the -p or -g flags may be specified when adjusting the state of existing processes.
EXIT STATUS
The protect utility exits 0 on success, and >0 if an error occurs.
EXAMPLES
Mark the Xorg server as protected:
pgrep Xorg | xargs protect -p
Protect all ssh sessions and their child processes:
pgrep sshd | xargs protect -dip
Remove protection from all current and future processes:
protect -cdi -p 1
SEE ALSO procctl(2)BUGS
If you protect a runaway process that allocates all memory the system will deadlock.
BSD September 19, 2013 BSD