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 08-22-2017, 06:52 AM   #1
Joy Stick
Member
 
Registered: Dec 2015
Distribution: RHEL 4.7
Posts: 127

Rep: Reputation: 0
Can i kill yum process ?


Hi,

Yesterday i tried to install lsblk using yum.
Unfortunately my system was restarted.

After restarted my stytem still yum is running.
PHP Code:
# ps -ef | grep yum
root      4270     1  0 17:15 ?        00:00:00 /usr/bin/python -tt /usr/sbin/yum-updatesd
root      4494  4270  9 17
:16 ?        00:00:20 /usr/bin/python -tt /usr/libexec/yum-updatesd-helper --check --dbus
root      4625  4591  0 17
:19 pts/3    00:00:00 grep yum 
How can i stop this process ?
Can i use kill command ?
 
Old 08-22-2017, 07:02 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,594

Rep: Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136
Quote:
Originally Posted by Joy Stick View Post
Hi,
Yesterday i tried to install lsblk using yum. Unfortunately my system was restarted. After restarted my stytem still yum is running.
PHP Code:
# ps -ef | grep yum
root      4270     1  0 17:15 ?        00:00:00 /usr/bin/python -tt /usr/sbin/yum-updatesd
root      4494  4270  9 17
:16 ?        00:00:20 /usr/bin/python -tt /usr/libexec/yum-updatesd-helper --check --dbus
root      4625  4591  0 17
:19 pts/3    00:00:00 grep yum 
How can i stop this process ? Can i use kill command ?
You can wait. Your system restarted; that's just the auto-update doing a check. Or you can kill it, your choice. And isn't this the same ancient RHEL system you've talked about in other threads, that you're not paying for support on? Since you're not paying for updates, the yum should stop pretty quick.
 
2 members found this post helpful.
Old 08-22-2017, 07:32 AM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,940
Blog Entries: 13

Rep: Reputation: 4981Reputation: 4981Reputation: 4981Reputation: 4981Reputation: 4981Reputation: 4981Reputation: 4981Reputation: 4981Reputation: 4981Reputation: 4981Reputation: 4981
TB0ne:

I'm sure the part answering about Yum is very much appreciated.

Yum is not unique to RHEL.

Please stay on point with the thread question.

Remember the LQ rule to not post unless you have something constructive to say, as well as the rule about personal attacks.
 
Old 08-22-2017, 07:53 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,594

Rep: Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136
Quote:
Originally Posted by rtmistler View Post
TB0ne:
I'm sure the part answering about Yum is very much appreciated. Yum is not unique to RHEL.

Please stay on point with the thread question. Remember the LQ rule to not post unless you have something constructive to say, as well as the rule about personal attacks.
First, I did stay on point...the OP has other threads where they specifically say they're using RHEL, and an old version at that.
http://www.linuxquestions.org/questi...um-4175612351/

There were zero personal attacks, merely a statement (which is true), that if you're not paying for RHEL and/or the version of RHEL is not supported any longer, any yum checks SHOULD be over very quickly..since they won't be able to do anything.

I said nothing nasty, and attacked no one.

Last edited by TB0ne; 08-22-2017 at 08:00 AM.
 
1 members found this post helpful.
Old 08-22-2017, 08:14 AM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,940
Blog Entries: 13

Rep: Reputation: 4981Reputation: 4981Reputation: 4981Reputation: 4981Reputation: 4981Reputation: 4981Reputation: 4981Reputation: 4981Reputation: 4981Reputation: 4981Reputation: 4981
If someone has an old version of RHEL which they may have once paid for however no longer pay for support, this is their business and I do not believe that RedHat will consider them to be in any violation, just that Redhat will not provide support for them unless they choose to pay for upgrades.

The OP did not cite in this thread that they are using RHEL, and in spite of their former questions, as well as their profile showing RHEL, specifically calling a user out referencing their posting history, not related to this question, is not something which should be done in this thread as well as any other thread the OP creates. That would be the definition of a personal attack.

If you feel the OP's posting history is not in line with LQ Rules, then use the Report button. If you feel the OP is circumventing LQ Rules and would like to discuss this with the site admins or Jeremy, then us the Contact Us link or the Report button.
 
Old 08-22-2017, 09:03 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,594

Rep: Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136
Quote:
Originally Posted by rtmistler View Post
If someone has an old version of RHEL which they may have once paid for however no longer pay for support, this is their business and I do not believe that RedHat will consider them to be in any violation, just that Redhat will not provide support for them unless they choose to pay for upgrades.
Absolutely correct, and this applies to their RHN subscription, and goes back to my point about the yum auto update ending quickly.
Quote:
The OP did not cite in this thread that they are using RHEL, and in spite of their former questions, as well as their profile showing RHEL, specifically calling a user out referencing their posting history, not related to this question, is not something which should be done in this thread as well as any other thread the OP creates. That would be the definition of a personal attack.

If you feel the OP's posting history is not in line with LQ Rules, then use the Report button. If you feel the OP is circumventing LQ Rules and would like to discuss this with the site admins or Jeremy, then us the Contact Us link or the Report button.
The OP is circumventing nothing, and as you said, it's up to them to use whatever they want. I, however, DID NOT personally attack anyone, nor was I nasty to anyone. The OP posted just yesterday about trying to install an lsblk utility via yum on an old, unsupported version of RHEL. To make the leap that this is the same system doesn't take much.

Further, the OP is most welcomed (and encouraged), to read and follow the "Question Guidelines", and provide these missing details, if I have assumed incorrectly, and this is a different version/distro of Linux. The OP asked a question, and I responded with two correct answers...as you said, I 'stayed on point'. No matter if they're using RHEL, CentOS, Fedora, or something else that uses yum, either waiting or using kill will work. Sorry to seem argumentative, but I didn't attack or insult anyone, nor did I post off topic.
 
1 members found this post helpful.
Old 08-22-2017, 01:26 PM   #7
Joy Stick
Member
 
Registered: Dec 2015
Distribution: RHEL 4.7
Posts: 127

Original Poster
Rep: Reputation: 0
$ cat /etc/*release
Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
Red Hat Enterprise Linux Server release 5.5 (Tikanga)

I am using Oracle Linux 5.5 - NON COMMERCIAL (This is just free of cost)
To download this sw , we need only account in Oracle

Regards
 
Old 08-22-2017, 02:24 PM   #8
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I think lsblk is part of the util-linux package.
 
1 members found this post helpful.
Old 08-22-2017, 03:33 PM   #9
Joy Stick
Member
 
Registered: Dec 2015
Distribution: RHEL 4.7
Posts: 127

Original Poster
Rep: Reputation: 0
Hello,


# yum install lsblk
Loaded plugins: security
Setting up Install Process
No package lsblk available.
Nothing to do

# ping google.com
PING google.com (216.58.197.78) 56(84) bytes of data.
64 bytes from maa03s21-in-f14.1e100.net (216.58.197.78): icmp_seq=1 ttl=128 time=14.2 ms
64 bytes from maa03s21-in-f14.1e100.net (216.58.197.78): icmp_seq=2 ttl=128 time=13.4 ms
64 bytes from maa03s21-in-f14.1e100.net (216.58.197.78): icmp_seq=3 ttl=128 time=13.3 ms
 
Old 08-22-2017, 04:58 PM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,594

Rep: Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136
Quote:
Originally Posted by Joy Stick View Post
$ cat /etc/*release
Enterprise Linux Enterprise Linux Server release 5.5 (Carthage) Red Hat Enterprise Linux Server release 5.5 (Tikanga)

I am using Oracle Linux 5.5 - NON COMMERCIAL (This is just free of cost) To download this sw , we need only account in Oracle
Again, sorry, but no. You can download OEL 5.5 for free, but without purchasing you can't access the online repositories. And it doesn't matter if you're using it for learning or whatever...the same rules apply. You can also download SLES and RHEL for free...but again, you have to PAY to get access to certain features. And OEL 5.5 is still old.

Did you try running "yum whatprovides */lsblk" to see what package it's in? It's probably in util-linux-ng...so "sudo yum install util-linux-ng". And you can also run "repoquery --whatprovides */lsblk" to query ALL your configured repositories for that package.
 
Old 08-23-2017, 01:58 PM   #11
Joy Stick
Member
 
Registered: Dec 2015
Distribution: RHEL 4.7
Posts: 127

Original Poster
Rep: Reputation: 0
# yum provides "*/lsblk"
Loaded plugins: security
el5_latest | 1.4 kB 00:00
ol5_UEK_latest | 1.2 kB 00:00
No Matches found

[root@DGPRIM yum.repos.d]# rpm -qa | grep lsblk
[root@DGPRIM yum.repos.d]# yum install util-linux-ng
Loaded plugins: security
Setting up Install Process
No package util-linux-ng available.
Nothing to do
 
Old 08-23-2017, 02:22 PM   #12
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,594

Rep: Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136Reputation: 8136
Quote:
Originally Posted by Joy Stick View Post
# yum provides "*/lsblk"
Loaded plugins: security
el5_latest | 1.4 kB 00:00
ol5_UEK_latest | 1.2 kB 00:00
No Matches found

[root@DGPRIM yum.repos.d]# rpm -qa | grep lsblk
[root@DGPRIM yum.repos.d]# yum install util-linux-ng
Loaded plugins: security
Setting up Install Process
No package util-linux-ng available.
Nothing to do
..and again, did you do the repo query? And is this thread a duplicate of your other thread, since it (apparently) is dealing with installing lsblk? And again, your system is OLD...this package may not even be available.

You aren't providing any real details here, and continue to ignore the fact that unless you PAY FOR what you're using, you don't get access to those repos.
 
1 members found this post helpful.
Old 08-23-2017, 02:26 PM   #13
Joy Stick
Member
 
Registered: Dec 2015
Distribution: RHEL 4.7
Posts: 127

Original Poster
Rep: Reputation: 0
Hi TBone

Quote:
Your system is OLD...this package may not even be available.
Yes, I think so ..
 
  


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
LXer: How to kill a process in Linux - kill, killall, pkill, xkill LXer Syndicated Linux News 0 04-02-2013 12:01 PM
Kill a zombie process - which process is the parent that I should kill? Mountain Linux - General 3 12-31-2011 02:44 PM
how to kill or clean a Uninterruptible slept session leader process from process tabl golden_boy615 Linux - General 1 12-14-2010 10:47 AM
bash `kill`: process 'B' silently dies; but process 'A' = `kill` spews back debris! GrapefruiTgirl Programming 9 06-23-2009 09:42 AM
Shell Script : Kill a running process when another process starts ashmew2 Linux - General 3 08-20-2008 03:47 AM

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

All times are GMT -5. The time now is 10:20 PM.

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
Open Source Consulting | Domain Registration