Skip to content

Instantly share code, notes, and snippets.

@sanemat
Last active May 27, 2016 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sanemat/8d257ac41ae7e6456329 to your computer and use it in GitHub Desktop.
Save sanemat/8d257ac41ae7e6456329 to your computer and use it in GitHub Desktop.
# fluentd
curl -L http://packages.treasure-data.com/debian/RPM-GPG-KEY-td-agent | sudo apt-key add -
sudo apt-add-repository 'deb http://packages.treasuredata.com/2/ubuntu/trusty/ trusty contrib'
sudo apt-get -yq update
sudo apt-get -yq install td-agent
==> default: Fetched 1,588 B in 36s (43 B/s)
==> default: W
==> default: :
==> default: Failed to fetch http://packages.treasuredata.com/2/ubuntu/trusty/dists/trusty/InRelease Unable to find expected entry 'contrib/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
==> default: W
==> default: :
==> default: Failed to fetch http://packages.treasuredata.com/2/ubuntu/trusty/dists/trusty/contrib/binary-amd64/Packages Hash Sum mismatch
==> default: E
==> default: :
==> default: Some index files failed to download. They have been ignored, or old ones used instead.
==> default: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: E
==> default: :
==> default: Unable to locate package td-agent
==> default: sudo: /opt/td-agent/embedded/bin/fluent-gem: command not found
==> default: sudo: /opt/td-agent/embedded/bin/fluent-gem: command not found
==> default: sudo: /opt/td-agent/embedded/bin/fluent-gem: command not found
==> default: td-agent: unrecognized service
==> default: td-agent: unrecognized service
@sanemat
Copy link
Author

sanemat commented Nov 17, 2014

# uname -a
Linux production-blue-do5.tachikoma.io 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"

@sanemat
Copy link
Author

sanemat commented Nov 17, 2014

    sudo apt-add-repository 'deb [arch=amd64] http://packages.treasuredata.com/2/ubuntu/trusty/ trusty contrib'
==> default: W
==> default: : 
==> default: Failed to fetch http://packages.treasuredata.com/2/ubuntu/trusty/dists/trusty/contrib/binary-amd64/Packages  Hash Sum mismatch
==> default: E
==> default: : 
==> default: Some index files failed to download. They have been ignored, or old ones used instead.
==> default: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: E
==> default: : 
==> default: Unable to locate package td-agent
==> default: sudo: /opt/td-agent/embedded/bin/fluent-gem: command not found
==> default: sudo: /opt/td-agent/embedded/bin/fluent-gem: command not found
==> default: sudo: /opt/td-agent/embedded/bin/fluent-gem: command not found
==> default: td-agent: unrecognized service
==> default: td-agent: unrecognized service

@commanderrikker
Copy link

Did you ever find a resolution for this? I'm running into the same thing.

@arturofagundo
Copy link

Me too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment