LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Yum - How do I? (https://www.linuxquestions.org/questions/linux-software-2/yum-how-do-i-4175446411/)

m1rr0rm3 01-19-2013 08:37 PM

Yum - How do I?
 
How do I run concurrent yum programs on my desktop? If I had three terminal windows open, how do I run three seperate yum programs?

- Chris

John VV 01-19-2013 09:15 PM

You do not

there is a pid lock

Most people tend to turn off the auto "check for updates on boot"

it tends to get in the way of doing ones work

m1rr0rm3 01-21-2013 09:58 PM

Yum - How do I
 
I understand that the PID is for the process identifier http://en.wikipedia.org/wiki/Process_identifier

But what I was wondering is :

Process IDs are usually allocated on a sequential basis, beginning at 0 and rising to a maximum value which varies from system to system. Once this limit is reached, allocation restarts at 300 and again increases.
"quote - wiki"

Under Linux, the maximum process ID is given by the pseudo-file /proc/sys/kernel/pid_max.
"quote - wiki"

So the PID for PID 1 is locked
so it should move to PID 2 open - should allow me to run a secondary yum command on terminal 2.

or should yum be run in parallel thus allowing multiple Yum commands?

- Chris

John VV 01-21-2013 10:54 PM

yum also updates it's database and keeps it in sync with the rpm database

if two instances of yum were running at the same time the database would get "out of sync."

yum is one of the rare programs that you can not have more than one running at a time


All times are GMT -5. The time now is 05:00 PM.