LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Question regarding yum installation process in CentOS (https://www.linuxquestions.org/questions/linux-newbie-8/question-regarding-yum-installation-process-in-centos-938594/)

yariboy 04-07-2012 06:04 AM

Question regarding yum installation process in CentOS
 
Hello,

I'm new to Linux in general and CentOS in particular (used to use Ubuntu).

I'm using the default desktop.

To my knowledge there are two ways you could install new software: either the Add/Remove Software GUI or by using the termainal yum command.

My Questions are:
1. Are the two related?
2. What happens at the end of the process after the new feature has been downloaded and installed? The GUI says it's cleaning up packages. This part of the process usualy take lots of time, and there's no indication it's still working and not stuck.

Thanks.

acid_kewpie 04-07-2012 06:22 AM

1 - yes that noddy gui will use yum libraries behind the scenes.

2 - after an upgrade there are often old files in the previous version of the packages to delete, configuration files to back up etc.

yariboy 04-07-2012 06:31 AM

kewpie, thank you for answering.
 
the reason why I'm asking is the termainal screen I've staring at for the last hour or so:

Quote:

---> Package kernel.i686 0:2.6.32-220.7.1.el6 will be installed
---> Package kernel.i686 0:2.6.32-220.7.1.el6.centos.plus will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Reinstalling:
kernel i686 2.6.32-220.7.1.el6 updates 22 M
kernel i686 2.6.32-220.7.1.el6.centos.plus centosplus 23 M

Transaction Summary
================================================================================
Reinstall 2 Package(s)

Total download size: 45 M
Installed size: 167 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): kernel-2.6.32-220.7.1.el6.i686.rpm | 22 MB 00:40
(2/2): kernel-2.6.32-220.7.1.el6.centos.plus.i686.rpm | 23 MB 00:46
--------------------------------------------------------------------------------
Total 530 kB/s | 45 MB 01:27
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : kernel-2.6.32-220.7.1.el6.i686 1/2
Installing : kernel-2.6.32-220.7.1.el6.centos.plus.i686 2/2
Its been this way for quite some time. Now, similar things have happend to me before, so I know cancelling it now is not a good idea. It's just that it's abit frustrating, you have no indication if it's stuck or still working.

I didn't want to open a new post for this, as it is related to the original post.

thanks.

deep27ak 04-07-2012 06:45 AM

as most of the part seems to be completed and if the yum is getting stucked at the installation part for more than expected time then you can kill the process and update the package once again

Code:

#yum update kernel
and any how while installing you will observer a status bar showing the percentage of package installed
Code:

###################################[1/2]
###################################[2/2]

which i don't see in your case

yariboy 04-07-2012 06:54 AM

It actualy just took more time than expected.

Wolf! wolf!

no indication whatsoever to the progress.

Moved thread to [solved].

Thanks.


All times are GMT -5. The time now is 03:33 PM.