Closed jstangroome closed 1 month ago
Issue for logstash-forwarded: https://github.com/elastic/logstash-forwarder/issues/531
@jstangroome you can override list of architectures using -architectures
flag. You can do that during aptly mirror create
, or later using edit
:
aptly mirror edit -architectures=i386,amd64 logstashforwarder
aptly mirror update logstashforwarder
@smira this does not work in aptly 0.9.5.
$ aptly mirror create -architectures=amd64 logstashforwarder http://packages.elastic.co/logstashforwarder/debian stable main
Downloading http://packages.elastic.co/logstashforwarder/debian/dists/stable/InRelease...
Downloading http://packages.elastic.co/logstashforwarder/debian/dists/stable/Release...
Downloading http://packages.elastic.co/logstashforwarder/debian/dists/stable/Release.gpg...
gpgv: Signature made Thu 05 Mar 2015 08:04:12 PM UTC using RSA key ID D88E42B4
gpgv: Good signature from "Elasticsearch (Elasticsearch Signing Key) <dev_ops@elasticsearch.org>"
ERROR: unable to fetch mirror: architecture amd64 not available in repo [logstashforwarder]: http://packages.elastic.co/logstashforwarder/debian/ stable
and also
$ aptly mirror create logstashforwarder http://packages.elastic.co/logstashforwarder/debian stable main
$ aptly mirror edit -architectures=amd64 logstashforwarder
Downloading http://packages.elastic.co/logstashforwarder/debian/dists/stable/Release...
ERROR: unable to edit: architecture amd64 not available in repo [logstashforwarder]: http://packages.elastic.co/logstashforwarder/debian/ stable
oh... I've added -force-components
some time ago to deal with wrong component list. Looks like we need -force-architectures
as well to workaround broken repos...
Add Elastic's logstashforwarder repo to aptly and attempt update:
This appears to be because the architectures in Elastic's Release file don't match the actual package architectures:
Would be good to be able force Aptly to override the
Architectures:
line in the Release file.I will raise a similar issue with Elastic about this mismatch in their repository.