Help us understand the problem. What is going on with this article?

yum remove hogehogeする時とかに

More than 5 years have passed since last update.

td-agentのversion 1系を削除しようとしてyum remove -y td-agentやって綺麗に消えなかったっぽかったので、rpmに含まれているファイルを見たりとかしたのでメモ。

このファイルがなんのパッケージに紐付いているか見る。

rpm -qf /usr/sbin/td-agent
td-agent-1.1.18-0.x86_64 # パッケージ名が出てくる。

rpmで作成されたファイル一覧を見る

rpm -ql td-agent

ぐあーって出てくる

rpmの情報を見る

rpm -qi td-agent
Name        : td-agent                     Relocations: (not relocatable)
Version     : 1.1.18                            Vendor: Treasure Data, Inc.
Release     : 0                             Build Date: 2013年12月05日 16時22分10秒
Install Date: 2014年11月05日 11時32分58秒      Build Host: ip-10-123-31-198.ec2.internal
Group       : System Environment/Daemons    Source RPM: td-agent-1.1.18-0.src.rpm
Size        : 111682784                        License: APL2
Signature   : DSA/SHA1, 2014年01月10日 16時40分52秒, Key ID 1093db45a12e206f
URL         : http://treasure-data.com/
Summary     : td-agent
Description :
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした