Using stellar-quickstart
, I am able to install, then start and sync stellar-core
. However, my attempts to install stellar-horizon
fail with the following message:
Package stellar-horizon-postgres is not configured yet.
How to configure it? Thanks in advance. More info, if required:
alec@alec-MS-7596 ~/product $ sudo systemctl stop stellar-core
alec@alec-MS-7596 ~/product $ sudo systemctl mask stellar-core
Created symlink from /etc/systemd/system/stellar-core.service to /dev/null.
alec@alec-MS-7596 ~/product $ sudo apt-get update && sudo apt-get install stellar-horizon
Hit:1 https://deb.nodesource.com/node_8.x xenial InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Hit:4 http://ppa.launchpad.net/jonathonf/vim/ubuntu xenial InRelease
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Hit:6 https://apt.stellar.org/public stable/ InRelease
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Hit:8 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
Fetched 325 kB in 1s (306 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
stellar-horizon is already the newest version (0.17.4-45).
0 upgraded, 0 newly installed, 0 to remove and 84 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up stellar-horizon-postgres (0.1-5) ...
2019/04/05 11:30:38 exec failed: pq: relation "gorp_migrations" already exists
dpkg: error processing package stellar-horizon-postgres (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of stellar-quickstart:
stellar-quickstart depends on stellar-horizon-postgres; however:
Package stellar-horizon-postgres is not configured yet.
dpkg: error processing package stellar-quickstart (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
stellar-horizon-postgres
stellar-quickstart
E: Sub-process /usr/bin/dpkg returned an error code (1)