10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can you please let me know how can i verify /check inside the script if the below to package installation commands are successful or if they failed for any reasons?
1. pkgadd -a $INSTP/install/dadmin -d $INSTP/install/apachesrv.pkg
2. pkgadd -a $INSTP/install/dadmin -d... (6 Replies)
Discussion started by: mohtashims
6 Replies
2. Solaris
Hi all,
Recently i wanted to see if i have openssl installed in my system (solaris 10), so i do this (not sure if this is the right way to do this)
pkginfo -i | grep -i "ssl"
system SUNWopenssl-commands OpenSSL Commands (Usr)
system SUNWopenssl-include ... (3 Replies)
Discussion started by: javanoob
3 Replies
3. Solaris
I need a programmatic way to check, that supersede of required package is installed. At Linux I do it using rpmvercm utility to compare installed package version to my minimal requirement.
So - I need analog of Linux "rpmvercm" utility for Solaris (10/11)
Let us say - I know that minimal version... (10 Replies)
Discussion started by: zuismanm
10 Replies
4. Emergency UNIX and Linux Support
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)
Discussion started by: g_p
4 Replies
5. Solaris
Hi, One quick question: Which download package should I use to install the whole Solaris 11 OS? Can I use the Text Install package that is only 400 MB? or I need to use the Solaris 11 11/11 Repository Image package? I am in hurry to do it but somewhat confused here.
Thank you in advance!
... (6 Replies)
Discussion started by: aixlover
6 Replies
6. Ubuntu
Hi
I would like to ask in ubuntu or linux on how to list all my package or software the i installed via source code( compile installed in dir default is /usr/local) just like i solaris in which if you installed a package in ur choosing default root installation dir you can just issue a command... (2 Replies)
Discussion started by: jao_madn
2 Replies
7. Solaris
Hi,
What is the necessary package that needs to be installed for using pam_mkhomedir.so in pam.conf file?
And from where can i get that file?
Is that package already shipped with Solaris 10?
Because when i use that file i am getting "open_module: stat(/usr/lib/security/pam_mkhomedir.so)... (1 Reply)
Discussion started by: sathya47
1 Replies
8. Linux
Hi,
I am finding the installed location of a package by:
rpm -qi <package_name>
And then parse the string "Relocations".
If i relocate this package during installation with --relocate option , the "Relocations" string still shows the old value. Though the package has been installed on the... (0 Replies)
Discussion started by: vibhor_agarwali
0 Replies
9. HP-UX
I develop a unix program in HPUX
I want to package my program
to install on HPUX in some dierctory folder
like /user/local/sbin/xxx
and preinstall some software before install my program
package like xxx.depot
how can i do it, have any tools like use setupfactory tools in windows
... (4 Replies)
Discussion started by: alert0919
4 Replies
10. AIX
Hi All,
I want to check if the perl DBI package is already installed my AIX unix machine. is there any command to check this? Please help.
Thanks,
Am (2 Replies)
Discussion started by: am_yadav
2 Replies
APT-MARK(8) APT APT-MARK(8)
NAME
apt-mark - show, set and unset various settings for a package
SYNOPSIS
apt-mark {-f=filename | {auto | manual} pkg... | {showauto | showmanual} [pkg...] } | {-v | --version} | {-h | --help}
apt-mark {hold | unhold | install | remove | purge} pkg... | {showhold | showinstall | showremove | showpurge} [pkg...]
DESCRIPTION
apt-mark can be used as a unified front-end to set various settings for a package, such as marking a package as being
automatically/manually installed or changing dpkg selections such as hold, install, deinstall and purge which are respected e.g. by apt-get
dselect-upgrade or aptitude.
AUTOMATICALLY AND MANUALLY INSTALLED PACKAGES
When you request that a package is installed, and as a result other packages are installed to satisfy its dependencies, the dependencies
are marked as being automatically installed, while the package you installed explicitly is marked as manually installed. Once an
automatically installed package is no longer depended on by any manually installed package it is considered no longer needed and e.g.
apt-get or aptitude will at least suggest removing them.
auto
auto is used to mark a package as being automatically installed, which will cause the package to be removed when no more manually
installed packages depend on this package.
manual
manual is used to mark a package as being manually installed, which will prevent the package from being automatically removed if no
other packages depend on it.
showauto
showauto is used to print a list of automatically installed packages with each package on a new line. All automatically installed
packages will be listed if no package is given. If packages are given only those which are automatically installed will be shown.
showmanual
showmanual can be used in the same way as showauto except that it will print a list of manually installed packages instead.
Options
-f=filename, --file=filename
Read/Write package stats from the filename given with the parameter filename instead of from the default location, which is
extended_status in the directory defined by the Configuration Item: Dir::State.
PREVENT CHANGES FOR A PACKAGE
hold
hold is used to mark a package as held back, which will prevent the package from being automatically installed, upgraded or removed.
unhold
unhold is used to cancel a previously set hold on a package to allow all actions again.
showhold
showhold is used to print a list of packages on hold in the same way as for the other show commands.
SCHEDULE PACKAGES FOR INSTALL, REMOVE AND PURGE
Some front-ends like apt-get dselect-upgrade can be used to apply previously scheduled changes to the install state of packages. Such
changes can be scheduled with the install, remove (also known as deinstall) and purge commands. Packages with a specific selection can be
displayed with showinstall, showremove and showpurge respectively. More information about these so called dpkg selections can be found in
dpkg(1).
OPTIONS
-h, --help
Show a short usage summary.
-v, --version
Show the program version.
-c, --config-file
Configuration File; Specify a configuration file to use. The program will read the default configuration file and then this
configuration file. If configuration settings need to be set before the default configuration files are parsed specify a file with the
APT_CONFIG environment variable. See apt.conf(5) for syntax information.
-o, --option
Set a Configuration Option; This will set an arbitrary configuration option. The syntax is -o Foo::Bar=bar. -o and --option can be
used multiple times to set different options.
FILES
/var/lib/apt/extended_states
Status list of auto-installed packages. Configuration Item: Dir::State::extended_states.
SEE ALSO
apt-get(8),aptitude(8),apt.conf(5)
DIAGNOSTICS
apt-mark returns zero on normal operation, non-zero on error.
BUGS
APT bug page[1]. If you wish to report a bug in APT, please see /usr/share/doc/debian/bug-reporting.txt or the reportbug(1) command.
AUTHORS
Mike O'Connor
APT team
NOTES
1. APT bug page
http://bugs.debian.org/src:apt
APT 1.6.3ubuntu0.1 25 September 2015 APT-MARK(8)