Giter Club home page Giter Club logo

Comments (18)

ericsomdahl avatar ericsomdahl commented on August 13, 2024 1

And as a general caution: i would not want to run a geth node on an operating system that was not actively receiving security patches. There seem to be no shortages of bad actors looking to exploit security flaws and running a full node exposes your IP in a very loud way.

from go-ethereum.

realcodywburns avatar realcodywburns commented on August 13, 2024

I have azure templates, and aws cloudformations that could use a PPA to pull from. Has any progress been made on this?

from go-ethereum.

realcodywburns avatar realcodywburns commented on August 13, 2024

Cloud templates gave been configured to build geth from scratch . We still need pos and aur support for easy package deployment

from go-ethereum.

realcodywburns avatar realcodywburns commented on August 13, 2024

in progress

from go-ethereum.

ericsomdahl avatar ericsomdahl commented on August 13, 2024

@realcodywburns cool! Where will the build/push run at?

from go-ethereum.

realcodywburns avatar realcodywburns commented on August 13, 2024

it will be from canonical's ppa universe https://launchpad.net/
The ethereum-classic group is formed there for anyone needing access.

the steps to install will be

sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum-classic/etc-geth
sudo add-apt-repository -y ppa:ethereum-classic/etc-geth-dev
sudo apt-get update
sudo apt-get install etc-geth

from go-ethereum.

ericsomdahl avatar ericsomdahl commented on August 13, 2024

the PPA is being published to by the TeamCity server for both develop and release tags. We are maintaining a structure parallel to what upstream is doing so @realcodywburns' description of what will happen is slightly different.

sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum-classic/etc-geth
sudo apt-get update
sudo apt-get install ethereum-classic
# OR
sudo apt-get install ethereum-classic-unstable

This gets you

  • abigen(-unstable) Source code generator to convert Ethereum contract definitions into easy to use, compile-time type-safe Go packages.
  • ethereum-classic(-unstable) Meta-package to install geth and other tools
  • evm(-unstable) Developer utility version of the EVM (Ethereum Virtual Machine) that is capable of running bytecode snippets within a configurable environment and execution mode.
  • geth(-unstable) Classic version of the Ethereum CLI client.
  • rlpdump(-unstable) Developer utility tool that prints RLP structures.

from go-ethereum.

ericsomdahl avatar ericsomdahl commented on August 13, 2024

ethereum-classic-unstable is currently available for install. The first ethereum-classic build will be published when the next formal release tag is created.

from go-ethereum.

MartinMakowski avatar MartinMakowski commented on August 13, 2024

Has there been a deployment of packages to the PPA repositories? I get the following errors at this time when following the installation steps above:

E: Unable to locate package etc-geth
E: Unable to locate package ethereum-classic
E: Unable to locate package ethereum-classic-unstable

This is the behavior as of October 22nd.

Thank you,
Martin

from go-ethereum.

ericsomdahl avatar ericsomdahl commented on August 13, 2024

Here is the URL to the PPA.

https://launchpad.net/~ethereum-classic/+archive/ubuntu/etc-geth

What distro and version are you using? @MartinMakowski

from go-ethereum.

MartinMakowski avatar MartinMakowski commented on August 13, 2024

I originally responded to your email from github but that doesn't appear to have correctly recognized my email response since there is no addition of my comments to this thread. I'm riposting them manually:

Hello Eric,

I am using Ubuntu Desktop 15.10 Wily Werewolf.

I have added the PPA and ran sudo apt-get update and it definitely reports that it hits the Launchpad PPA endpoints:

marty@Dionysus:~$ sudo add-apt-repository ppa:ethereum-classic/etc-geth
Official golang implementation of the Ethereum classic protocol supporting the original chain. A version which can honestly offer both a censorship resistant and unstoppable application platform for developers.
More info: https://launchpad.net/~ethereum-classic/+archive/ubuntu/etc-geth
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring /tmp/tmp3pmbxs5j/secring.gpg' created gpg: keyring/tmp/tmp3pmbxs5j/pubring.gpg' created
gpg: requesting key E44E94CC from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp3pmbxs5j/trustdb.gpg: trustdb created
gpg: key E44E94CC: public key "Launchpad PPA for Ethereum Classic" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK

When I run sudo apt-get update it correctly hits the Lauchpad endpoints:

Hit http://ppa.launchpad.net wily InRelease
Hit http://ppa.launchpad.net wily InRelease
Hit http://ppa.launchpad.net wily InRelease
Hit http://ppa.launchpad.net wily/main amd64 Packages
Hit http://archive.canonical.com wily/partner i386 Packages
Hit http://ppa.launchpad.net wily/main i386 Packages
Hit http://ppa.launchpad.net wily/main Translation-en
Hit http://ppa.launchpad.net wily/main amd64 Packages
Hit http://ppa.launchpad.net wily/main i386 Packages
Hit http://ppa.launchpad.net wily/main Translation-en
Hit http://ppa.launchpad.net wily/main amd64 Packages
Hit http://ppa.launchpad.net wily/main i386 Packages
Hit http://ppa.launchpad.net wily/main Translation-en

However once I issue the install command the package is not found, I have tried multiple package names:

marty@Dionysus:~$ sudo apt-get install ethereum-classic-unstable
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ethereum-classic-unstable

After doing some digging online I found that /etc/apt/source.list should contain the PPA after the above commands were ran.
My Ubuntu system did not have the Ethereum Classic "deb" corresponding lines in my file so I added them manually:

Ethereum Classic

deb http://ppa.launchpad.net/ethereum-classic/etc-geth/ubuntu wily main
deb-src http://ppa.launchpad.net/ethereum-classic/etc-geth/ubuntu wily main

Now when running apt-get update it complains about duplicate entries:
W: Duplicate sources.list entry http://ppa.launchpad.net/ethereum-classic/etc-geth/ubuntu/ wily/main amd64 Packages (/var/lib/apt/lists/ppa.launchpad.net_ethereum-classic_etc-geth_ubuntu_dists_wily_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://ppa.launchpad.net/ethereum-classic/etc-geth/ubuntu/ wily/main i386 Packages (/var/lib/apt/lists/ppa.launchpad.net_ethereum-classic_etc-geth_ubuntu_dists_wily_main_binary-i386_Packages)

I think the above error establishes that indeed I already do have the PPA repository added - however the apt-get install ethereum-classic-unstable command still fails:

marty@Dionysus:~$ sudo apt-get install ethereum-classic-unstable
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ethereum-classic-unstable

I noticed on the project page that the wily build of ethereum-classic-unstable has failed - could this have anything to do with my issue? Screenshot attached:
http://imgur.com/a/VutE2

Thank you for your help, I really appreciate it.

regards,
Martin

from go-ethereum.

ericsomdahl avatar ericsomdahl commented on August 13, 2024

@MartinMakowski Yes, thanks: I do appreciate the comprehensive info you have provided! But I could have stopped you at the 15.10 datum.

Wily is the issue. The build system uses go-1.6 to build the binary packages and that version of golang is not available on Wily. At least not through the standard channels that we can run on the Launchpad build system.

I prefer to build using the most current tools possible. Go-1.7 is only available on Yakkety but go-1.6 is available on all of the currently-supported Ubuntu distros. So we are using 1.6.

And there is the issue... Wily is past End of Life. It only has go-1.5 and will not ever be updated to 1.6. Hence the build failure.

I should remove Wily from the list of distros to attempt to build for.

from go-ethereum.

MartinMakowski avatar MartinMakowski commented on August 13, 2024

@ericsomdahl Okay thank you for explaining the issue I will upgrade to a newer distribution that supports go-1.6. Glad to find out what the source of the problem was!

Cheers,
Martin

from go-ethereum.

ericsomdahl avatar ericsomdahl commented on August 13, 2024

@MartinMakowski it is not a matter of your system supporting go-1.6. The binary that is created is not dependent on having go installed at all. If you were to point your deb source list at say the Trusty repo, you would likely be fine. There could potentially be incorrect versions of dynamically linked libs so you would be living on the edge!

Edit: In our specific case the lack of go-1.6 support is important because of the system we build the binary on, not the system it is running on.

In general circumstances the omission of a runtime dependency like this could be important though

from go-ethereum.

MartinMakowski avatar MartinMakowski commented on August 13, 2024

Hello Eric,

I am using Ubuntu Desktop 15.10 Wily Werewolf.

I have added the PPA and ran sudo apt-get update and it definitely reports
that it hits the Launchpad PPA endpoints:

marty@Dionysus:~$ sudo add-apt-repository ppa:ethereum-classic/etc-geth
Official golang implementation of the Ethereum classic protocol supporting
the original chain. A version which can honestly offer both a censorship
resistant and unstoppable application platform for developers.
More info: https://launchpad.net/~ethereum-classic/+archive/ubuntu/etc-geth
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring /tmp/tmp3pmbxs5j/secring.gpg' created gpg: keyring/tmp/tmp3pmbxs5j/pubring.gpg' created
gpg: requesting key E44E94CC from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp3pmbxs5j/trustdb.gpg: trustdb created
gpg: key E44E94CC: public key "Launchpad PPA for Ethereum Classic" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK

When I run sudo apt-get update it correctly hits the Lauchpad endpoints:

Hit http://ppa.launchpad.net wily InRelease
Hit http://ppa.launchpad.net wily InRelease
Hit http://ppa.launchpad.net wily InRelease
Hit http://ppa.launchpad.net wily/main amd64 Packages
Hit http://archive.canonical.com wily/partner i386 Packages
Hit http://ppa.launchpad.net wily/main i386 Packages
Hit http://ppa.launchpad.net wily/main Translation-en
Hit http://ppa.launchpad.net wily/main amd64 Packages
Hit http://ppa.launchpad.net wily/main i386 Packages
Hit http://ppa.launchpad.net wily/main Translation-en
Hit http://ppa.launchpad.net wily/main amd64 Packages
Hit http://ppa.launchpad.net wily/main i386 Packages
Hit http://ppa.launchpad.net wily/main Translation-en

However once I issue the install command the package is not found, I have
tried multiple package names:

marty@Dionysus:~$ sudo apt-get install ethereum-classic-unstable
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ethereum-classic-unstable

After doing some digging online I found that /etc/apt/source.list should
contain the PPA after the above commands were ran.
My Ubuntu system did not have the Ethereum Classic "deb" corresponding
lines in my file so I added them manually:

Ethereum Classic

deb http://ppa.launchpad.net/ethereum-classic/etc-geth/ubuntu wily main
deb-src http://ppa.launchpad.net/ethereum-classic/etc-geth/ubuntu wily main

Now when running apt-get update it complains about duplicate entries:
W: Duplicate sources.list entry
http://ppa.launchpad.net/ethereum-classic/etc-geth/ubuntu/ wily/main amd64
Packages
(/var/lib/apt/lists/ppa.launchpad.net_ethereum-classic_etc-geth_ubuntu_dists_wily_main_binary-amd64_Packages)
W: Duplicate sources.list entry
http://ppa.launchpad.net/ethereum-classic/etc-geth/ubuntu/ wily/main i386
Packages
(/var/lib/apt/lists/ppa.launchpad.net_ethereum-classic_etc-geth_ubuntu_dists_wily_main_binary-i386_Packages)

I think the above error establishes that indeed I already do have the PPA
repository added - however the apt-get install ethereum-classic-unstable
command still fails:

marty@Dionysus:~$ sudo apt-get install ethereum-classic-unstable
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ethereum-classic-unstable

I noticed on the project page that the wily build of
ethereum-classic-unstable has failed - could this have anything to do with
my issue? Screenshot attached:


Thank you for your help, I appreciate it.

regards,
Martin

On Sun, Oct 23, 2016 at 7:24 AM, Eric Somdahl [email protected]
wrote:

Here is the URL to the PPA.

https://launchpad.net/~ethereum-classic/+archive/ubuntu/etc-geth
https://launchpad.net/%7Eethereum-classic/+archive/ubuntu/etc-geth

What distro and version are you using?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#24 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA5P5RaF6DxEPNoCSL67r1iNuQX_pMZRks5q21_9gaJpZM4Jqt_G
.

from go-ethereum.

MartinMakowski avatar MartinMakowski commented on August 13, 2024

Very valid concern, I'm shutting down the current geth node until I can upgrade the OS.

Thanks,
Martin

On Oct 23, 2016, at 5:11 PM, Eric Somdahl [email protected] wrote:

And as a general caution: i would not want to run a geth node on an operating system that was not actively receiving security patches. There seem to be no shortages of bad actors looking to exploit security flaws and running a full node exposes your IP in a very loud way.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

from go-ethereum.

MartinMakowski avatar MartinMakowski commented on August 13, 2024

Living on the edge is my motto so I shall try your Trusty suggestion and report on the results. Thanks for the tip.

Cheers!
Martin

On Oct 23, 2016, at 5:06 PM, Eric Somdahl [email protected] wrote:

@MartinMakowski it is not a matter of your system supporting go-1.6. The binary that is created is not dependent on having go installed at all. If you were to point your deb source list at say the Trusty repo, you would likely be fine. There could potentially be incorrect versions of dynamically linked libs so you would be living on the edge!


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

from go-ethereum.

pascaldekloe avatar pascaldekloe commented on August 13, 2024

We dropped PPA. Installing our Go applications is simple as coping the executable to a location of your choice.

from go-ethereum.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.