08-11-2016
check the user perrmissions first.
will he has required permissions for installing the package.
and let me know reflecting error on the screen.
10 More Discussions You Might Find Interesting
1. Solaris
anyone have directions?
running solaris 9
thanks! (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
2. Solaris
Some members asked about this way, click Here
u will find what u want (1 Reply)
Discussion started by: Sound Of Wisdom
1 Replies
3. Red Hat
How i can install Solaris 10x86 (08/07) in Xen ? OS RHEL 5.1
With virt-manager i can't chose media (for example /media/cdrom), because that reque URL for kickstart cfg. But Solaris have not kickstart =((( ?
Please i'm realy noob and need in your help ! ? ( (2 Replies)
Discussion started by: jess_t03
2 Replies
4. Solaris
Dear Friends ,
Is it possible to install Redhat Linux Ent 5 (or other Linux distro) in sun solaris spark v220 ? If it is possible then plz help me to give any documentation .
Thx in advance ... ... (3 Replies)
Discussion started by: shipon_97
3 Replies
5. Red Hat
Hi ,
I want to install RHCS on a remote RHEL machine. This machine is in amazon ec2, is there any way to do it without accessing the media?
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.1 (Santiago)
Thanks in advance. (1 Reply)
Discussion started by: sussus2326
1 Replies
6. Linux
I wanted clarity on the steps to install RHEL 6.0. The steps are as follows:-
1) Download the ISO image from the Red Hat site.
2) Burn it into DVD.
3) Download boot.iso from Red Hat (Is this step required or ISO image can install RHEL 6.0 by itself?)
4) Start installation from DVD.
Request... (4 Replies)
Discussion started by: RHCE
4 Replies
7. Red Hat
Hello Geeks,
I would like to know the procedure and the commands which are used for this.
Thanks for your time.
Thanks,
NaReN (0 Replies)
Discussion started by: naren nandale
0 Replies
8. Red Hat
After checking the dependencies from below command:-
yum deplist gcc
Update:-
Now when I tried to install the very first dependency , it gave the below error, I guess something is wrong with YUM server itself :P
... (1 Reply)
Discussion started by: manish131081
1 Replies
9. Red Hat
Hi,
I am trying to install git on RHEL 6. From the research I have done I should be able to just say:
sudo yum install git
but it is not working (it says no package git is available). I am fairly new to linux and cannot figure this out.
Thanks for any help you can provide. (7 Replies)
Discussion started by: dsabol
7 Replies
10. Red Hat
Hi
We have RHEL 6.7 on an HP physical server and want to install RHEL 7 (not upgrade) on top of it by means of virtualization. Is it possible to install/configure RHEV/KVM virtualization on base RHEL 6.7 OS instance and then install RHEL 7 as a VM guest on it? If yes, could you please guide me... (1 Reply)
Discussion started by: magnus29
1 Replies
LEARN ABOUT CENTOS
package-cleanup
package-cleanup(1) package-cleanup(1)
NAME
package-cleanup - clean up locally installed, duplicate, or orphaned packages
SYNOPSIS
package-cleanup [options] <item ...>
DESCRIPTION
package-cleanup is a program for cleaning up the locally-installed RPMs.
GENERAL OPTIONS
-c <config file>
Use alternative config file (default is /etc/yum.conf).
-h, --help
Help; display a help message and then quit.
-q, --quiet
Print out nothing unnecessary.
-v, --version
Report program version and exit.
-y Agree to anything asked.
--leaves
List leaf nodes in the local RPM database. Leaf nodes are RPMs that are not relied upon by any other RPM.
--orphans
List installed packages which are not available from currently configured repositories. This is identical to "yum list extras",
which may provide better output.
--oldkernels
Remove old kernel and kernel-devel packages.
--problems
List dependency problems in the local RPM database. If any problems are found it will exit with an exit code of 1.
--dupes
Scan for duplicates in the local RPM database.
--cleandupes
Scan for duplicates in the local RPM database and clean out the older versions.
--count <COUNT>
Number of duplicate/kernel packages to keep on the system (default 2)
LEAVES OPTIONS
--all When listing leaf nodes also list leaf nodes that are not libraries.
--leaf-regex
A package name that matches this regular expression will be considered a leaf.
--exclude-devel
When listing leaf nodes do not list development packages.
--exclude-bin
When listing leaf nodes do not list packages with files in bin directories.
OLDKERNELS OPTIONS
--keepdevel
Do not remove kernel-devel packages when removing kernels
EXAMPLES
List all dependency problems:
package-cleanup --problems
List all packages that are not in any Yum repository:
package-cleanup --orphans
Remove old kernels keeping 3 and leaving old kernel-devel packages installed:
package-cleanup --oldkernels --count=3 --keepdevel
List all leaf packages with no files in a bin directory whose name begins with either 'perl' or 'python':
package-cleanup --leaves --exclude-bin --leaf-regex="^(perl)|(python)"
FILES
As package-cleanup uses YUM libraries for retrieving all the information, it relies on YUM configuration for its default values like which
repositories 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.
Gijs Hollestelle 03 November 2005 package-cleanup(1)