awsdocs / amazon-kinesis-data-firehose-developer-guide

The open source version of the Amazon Kinesis Data Firehose docs. You can submit feedback & requests for changes by submitting issues in this repo or by making proposed changes & submitting a pull request.
Other
25 stars 32 forks source link

Agent Install Yum Link Broken #5

Closed josjaf closed 1 year ago

josjaf commented 5 years ago

Hi,

I'm using Amazon Linux 2, trying to use the yum link below and it's not working after running a yum upgrade.

[ec2-user@ip-10-207-0-169 ~]$ sudo yum install –y aws-kinesis-agent Loaded plugins: extras_suggestions, langpacks, priorities, update-motd 151 packages excluded due to repository priority protections No package aws-kinesis-agent available.

https://github.com/awsdocs/amazon-kinesis-data-firehose-developer-guide/blob/master/doc_source/writing-with-agents.md

oonisim commented 5 years ago

Any update on this?

[ec2-user@ip-10-0-3-24 httpd]$ sudo yum update
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
amzn2-core                                                                                                                                                                           | 2.4 kB  00:00:00     
amzn2extra-docker                                                                                                                                                                    | 1.3 kB  00:00:00     
amzn2extra-epel                                                                                                                                                                      | 1.3 kB  00:00:00     
epel/x86_64/metalink                                                                                                                                                                 |  16 kB  00:00:00     
epel                                                                                                                                                                                 | 5.3 kB  00:00:00     
(1/8): amzn2-core/2/x86_64/updateinfo                                                                                                                                                | 115 kB  00:00:00     
(2/8): amzn2-core/2/x86_64/group_gz                                                                                                                                                  | 2.4 kB  00:00:00     
(3/8): amzn2extra-docker/2/x86_64/primary_db                                                                                                                                         |  51 kB  00:00:00     
(4/8): amzn2extra-epel/2/x86_64/primary_db                                                                                                                                           | 1.8 kB  00:00:00     
(5/8): epel/x86_64/group_gz                                                                                                                                                          |  88 kB  00:00:00     
(6/8): amzn2-core/2/x86_64/primary_db                                                                                                                                                |  30 MB  00:00:00     
(7/8): epel/x86_64/updateinfo                                                                                                                                                        | 976 kB  00:00:00     
(8/8): epel/x86_64/primary_db                                                                                                                                                        | 6.7 MB  00:00:01     
183 packages excluded due to repository priority protections
No packages marked for update
[ec2-user@ip-10-0-3-24 httpd]$ sudo yum install –y aws-kinesis-agent
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
183 packages excluded due to repository priority protections
No package aws-kinesis-agent available.
Error: Nothing to do

Environment

ami-082b5a644766e0e6f

NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
kinowarrior commented 5 years ago

Same problem, using amazon linux.

$ sudo yum install -y aws-kinesis-agent
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
No package aws-kinesis-agent available.
Error: Nothing to do

Please can anyone advise?

kinowarrior commented 5 years ago

Workaround:

git clone https://github.com/awslabs/amazon-kinesis-agent.git

sudo ./setup --install
maksym-synkevych commented 4 years ago

Same for me on newly created EC2 instance using Amazon Linux AMI:

[root@ip-172-31-45-157 Fake-Apache-Log-Generator]# sudo yum install –y aws-kinesis-agent
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
No package aws-kinesis-agent available.
Error: Nothing to do
vikramaditya234 commented 4 years ago

Same here guys.. surprising no comment on this. Is this even being watched?

antonsorensen-jpph commented 4 years ago

Found another workaround: use an AMI with amazon-linux 1, not amazon-linux 2. Unfortunate that they're not mentioning this in their own documentation.

eg. Amazon Linux AMI 2018.03.0 works. Amazon Linux 2 AMI does not.

Gaianab commented 1 year ago

closing