Need help on YUM


 
Thread Tools Search this Thread
Operating Systems Linux Need help on YUM
# 1  
Old 07-19-2016
Need help on YUM

HI,

First I'll use yum check-update to check any updates.

Q1: How can I know that how much space needed to update all packages listed by yum check-update command?

Q2: How can I list kernel related packages?

TIA

Last edited by rbatte1; 07-19-2016 at 09:05 AM.. Reason: Changed CODE tags to ICODE tags because it is free flowing text. Changed to upper case for first person singular references.
# 2  
Old 07-19-2016
Hello Sumanthsv,

For knowing the space while installing any new package it will prompt us for our answer in form of Y or N as follows(Just an example). By that you could check about space and if you are not ok with it just cancel it by entering N.
Code:
# yum install firefox
Loaded plugins: fastestmirror
Dependencies Resolved
================================================================================================
Package                    Arch        Version                    Repository            Size        
================================================================================================
Updating:
firefox                        i686        10.0.6-1.el6.centos     updates             20 M
Updating for dependencies:
xulrunner                     i686        10.0.6-1.el6.centos     updates             12 M
Transaction Summary
================================================================================================
Install       0 Package(s)
Upgrade       2 Package(s)
Total download size: 32 M
Is this ok [y/N]: y

For your second query to check specific packages related to kernel you could try following once.
Code:
yum list updates 'kernel*'

Thanks,
R. Singh

Last edited by RavinderSingh13; 07-19-2016 at 04:29 AM..
# 3  
Old 07-19-2016
Thanks for the reply RavinderSingh,

If am installing single package I can find the size as you told, but yum check-update command will list hundreds of packages...how can I find the total size of all the packages..

TIA

Last edited by rbatte1; 07-19-2016 at 09:06 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Installation of virt-manager while yum update and yum install rhvm does not work

I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal. I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies

2. UNIX and Linux Applications

yum provides help

Is there a reason why yum provide can't find libquazip? I did this. yum whatprovides */libquazip A quick google search told me it was in quazip and libquazip. RPM resource libquazip.so.1 (1 Reply)
Discussion started by: cokedude
1 Replies

3. Red Hat

Yum error

Hi, I have configure local yum repository in my red hat linux on vmware. Below are the steps i followed 1. mkdir -p /root/install/RPMS 2. Copy all the software/packages RPMS from instillation CD/DVD to /root/install/RPMS directory 3. rpm -ivh createrepo-0.4.11-3.el5.rpm 4. createrepo... (5 Replies)
Discussion started by: chetansingh23
5 Replies

4. Red Hat

help with YUM

Hi All, Just installed new Redhat server. I am trying to do rhn_register. I get this error message. Fatal error: The SSL certificate failed verification. Any one ran into this error. Please let me know. I do have internet connection- ping www.google.com PING... (1 Reply)
Discussion started by: samnyc
1 Replies

5. Red Hat

yum error

i have install fresh redhat ent 6.1 and i have configure yum server with ftp but am get this error error 14] PYCURL ERROR 9 - "Server denied you to change to the given directory" i have checked every thing (3 Replies)
Discussion started by: drpix
3 Replies

6. Red Hat

Yum is unusable

How do I delete all of my repo information and start completely fresh? (8 Replies)
Discussion started by: cokedude
8 Replies

7. UNIX for Advanced & Expert Users

yum issue

Hi Guys, I am trying install mysql.i386 with yum... But unfortunately I am getting error as listed below: # yum install mysql.i386 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? ... (2 Replies)
Discussion started by: mahesh_raghu
2 Replies

8. Red Hat

yum problem

hi i am not able to do yum update in centos5 i was not able to use yum at all.i am getting an like this. #yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Setting up Update Process No Packages marked for Update please help me what i have missed (6 Replies)
Discussion started by: praneel2k
6 Replies

9. UNIX for Dummies Questions & Answers

Centos commands: Yum Upgrade versus Yum update

Hi, I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does. Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies

10. Red Hat

Yum Update

I am using Cent OS 5 i need to update proxy server address in yum, i don't know where to update and how exactly i need to specify the proxy address can anyone help me in the issue. (2 Replies)
Discussion started by: praneel2k
2 Replies
Login or Register to Ask a Question