LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-14-2011, 08:26 AM   #1
togitoon
Member
 
Registered: Jul 2011
Location: Istanbul
Distribution: CentOS 6
Posts: 30

Rep: Reputation: Disabled
Two yum proccess at same time ??


Hi ,

I started to use linux (CentOS 5) 1 week ago thanks to my intern

and i took lost of imformation from this forum. So i became a member.

I have a question,is it possible to install two program at same time ?

Total download size: 67 M
Is this ok [y/N]: y
Downloading Packages:
jdk-6u24-linux-i586.rpm 19% [========- ] 6.0 kB/s | 13 MB 153:51 ETA

It is so boring to wait and i have to wait there is nothing to do something else just centOs text
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 07-14-2011, 08:43 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
No, yum creates a lock.

Only one instance of yum can run at a time.
 
2 members found this post helpful.
Old 07-14-2011, 08:48 AM   #3
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,208

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
Its true that you can only run one instance of Yum at a time.

However, are you aware that there are multiple terminals? Pressing Ctrl-Alt-F1, F2, F3, etc... will take you to different terminals that you can still work in while Yum is running.

Or, you can run "screen" then run yum inside of it, and detach from the screen until yum is done.
 
2 members found this post helpful.
Old 07-14-2011, 08:49 AM   #4
togitoon
Member
 
Registered: Jul 2011
Location: Istanbul
Distribution: CentOS 6
Posts: 30

Original Poster
Rep: Reputation: Disabled
Ok.

I am waiting :S

Thanks, szboardstretcher.

I can make some configuration

Last edited by togitoon; 07-14-2011 at 08:51 AM.
 
Old 07-14-2011, 08:51 AM   #5
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,208

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
Are you downloading over a Dial Up Modem?
 
Old 07-14-2011, 09:04 AM   #6
togitoon
Member
 
Registered: Jul 2011
Location: Istanbul
Distribution: CentOS 6
Posts: 30

Original Poster
Rep: Reputation: Disabled
No.

There must be overloading to the internet line of the company or something else.it was OK 2 hours before
 
Old 07-14-2011, 06:08 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,374

Rep: Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383
You can ask yum to install multiple pkgs at the same time, but only one copy of yum can be running at any given time.
If you think about dependencies, it makes sense.
If you've only got cmd line access, these will help http://kbase.redhat.com/faq/docs/DOC-2531.
If you have the GUI, you can use the "Add/Remove Software" menu option.
NB: the default is for the update daemon to kick off every 4(?) hrs, so you may clash with that occasionally; no worries, it sets a lock file to avoid tripping over itself. Just wait 5 mins and tray again.
http://www.linuxtopia.org/online_boo...ion/index.html
http://linux.die.net/man/8/yum
 
1 members found this post helpful.
Old 07-15-2011, 01:57 AM   #8
lamouche
LQ Newbie
 
Registered: Jul 2011
Posts: 8

Rep: Reputation: Disabled
If your downloads are consistently slow but your internet connection is fine, change the yum mirror you're downloading from in "/etc/yum.repos.d".
 
1 members found this post helpful.
Old 07-15-2011, 05:49 AM   #9
togitoon
Member
 
Registered: Jul 2011
Location: Istanbul
Distribution: CentOS 6
Posts: 30

Original Poster
Rep: Reputation: Disabled
Problem was the package "jdk". No problem with the other packages.

Thanks for the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg3793 Fedora 8 04-13-2011 11:25 AM
proccess locks after touching large files over NFS (in first time only) Alizee Slackware 4 06-11-2006 02:13 PM
Yum update, big time problems mickeyboa Fedora 1 05-23-2006 06:09 PM
tell Yum to not update repos every chuffing time?? acid_kewpie Fedora 3 12-20-2005 04:56 PM
i'm using yum for the first time 0pal_t0ad Linux - Newbie 2 03-11-2005 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration