wolfgang42 / vagrant-deb Goto Github PK
View Code? Open in Web Editor NEWUnofficial deb repository for Vagrant
Home Page: http://vagrant-deb.linestarve.com/
Unofficial deb repository for Vagrant
Home Page: http://vagrant-deb.linestarve.com/
via:
Announcing the HashiCorp Linux Repository (Jul 24 2020)
Today we’re happy to announce HashiCorp’s official Linux repository, a source of Debian and RPM packages for HashiCorp products. These packages will provide Linux users with a better installation and upgrade experience.
I'll keep this repo running, but the front page should mention that the official one is now available and therefore preferred. Occasional brownouts to get people to notice wouldn't be a bad idea either.
Looks like the server is down.
This has been supported by apt-get
since 2009, so I'm not worried about breaking compatibility. This has the advantage of not using my bandwidth, and also ensuring that the supplied deb package really is identical to the upstream one (alleviating any concerns that I may be modifying the packages).
In addition, I might even be able to discard the actual package files after extracting their metadata, thus freeing up disk space and allowing me to serve more than just the most recent few versions, or even (per #3) other Hashicorp projects.
W: http://vagrant-deb.linestarve.com/dists/any/InRelease: Signature by key AD319E0F7CFFA38B4D9F6E55CE3F3DE92099F7A4 uses weak digest algorithm (SHA1)
Please upgrade aptly to 0.9.7
smira/aptly#366
On https://vagrant-deb.linestarve.com/ says that is 2.2.9 but instead is 2.2.14 the latest version.
I have most of the code I need to also support the other projects on https://releases.hashicorp.com already; I think it's just a matter of doing the inital import and setting up a loop to run the code on $PROJECT
rather than vagrant
.
I'm not actually working on this at the moment; if anyone else wants to submit a PR I'll take it gladly. If not I'll get around to it eventually.
Updates stopped on 2018-01-29; the failure is as follows:
Traceback (most recent call last):
File "/app/build-packages.py", line 35, in <module>
sys.stdout.write(releaseinfo.build_control_entry(build, 'control'))
File "/app/releaseinfo.py", line 70, in build_control_entry
build_control_file(build)
File "/app/releaseinfo.py", line 15, in wrapper
result = getresult(*args)
File "/app/releaseinfo.py", line 51, in build_control_file
assert head[36:56] == '0 0 100644 ' # Owner, group, mode
AssertionError
Currently, if the repository is accessed over unsecured HTTP it is possible for an attacker to serve an older version of the repository, causing the victim to get an out-of-date version of Vagrant which may have security holes. Fortunately HTTPS is the default so most users are not vulnerable to this (barring attacks on HTTPS itself), but it is still a good idea to fix this. Instead of updating the main Release file only when a new version comes out, it should be updated daily with a Valid-Until of two days in the future (to account for one day of missed update).
A user reports the following error:
thanks for the effort. Unfortunately, the key install does not work
---
root@server: ~ # apt-key adv --keyserver hkp://keyserver.ubuntu.com:80
--recv-key AD319E0F7CFFA38B4D9F6E55CE3F3DE92099F7A4
Executing: /tmp/apt-key-gpghome.koQrR4shPy/gpg.1.sh --keyserver
hkp://keyserver.ubuntu.com:80 --recv-key
AD319E0F7CFFA38B4D9F6E55CE3F3DE92099F7A4
gpg: key CE3F3DE92099F7A4: 1 signature not checked due to a missing key
gpg: key CE3F3DE92099F7A4: "vagrant-deb.linestarve.com automatic signing
key <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
---
afterwards, only the old package (1.9.x) is installed. I am on a
debian 9 box.
root@server: ~ # cat /etc/debian_version
9.8
with all updates applied.
Requested via email from a user, so they can easily use it with Ansible's apt_key module.
Suggested interim workaround: Specify the MIT keyserver and key ID, and have Ansible do the lookup.
Hello!
I am trying to setup the repo on my Ubuntu 16.04 desktop, but I have troubles inserting the key.
Please refer to the command output for details:
$ sudo apt-key adv --keyserver pgp.mit.edu --recv-key AD319E0F7CFFA38B4D9F6E55CE3F3DE92099F7A4
Executing: /tmp/tmp.BNY8FAnNRf/gpg.1.sh --keyserver
pgp.mit.edu
--recv-key
AD319E0F7CFFA38B4D9F6E55CE3F3DE92099F7A4
gpg: requesting key 2099F7A4 from hkp server pgp.mit.edu
gpgkeys: key AD319E0F7CFFA38B4D9F6E55CE3F3DE92099F7A4 can't be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: keyserver helper general error
gpg: keyserver communications error: unknown pubkey algorithm
gpg: keyserver receive failed: unknown pubkey algorithm
Currently APT server tells that there is an updated version, but fails on fetching the .deb file with E: Failed to fetch https://vagrant-deb.linestarve.com/pool/any/main/v/vagrant/vagrant_2.0.3_amd64.deb 404 Not Found
. Looks like the meta data is already there, but the file it self went missing (still processing?)
Can you please check\explain why this is happening? Currently this behavior is breaking default apt upgrade
process.
Thanks!
I am getting this error in apt update
, says that the file is expired since 20h 46min 27s
.
The Vagrant 2.0.1 release was detected successfully, but I forgot that nginx would need to have its configuration reloaded to get the new file.
Alternatively, the redirect file could be changed to use a pattern, since all of the files on the Hashicorp releases server have the same pattern. This would probably be easier to implement (I don't need to figure out how to punch out of the container or add anything to the cronjob) but would break on the off chance that they changed the download link location.
HashiCorp now has an official repository which includes packages for Vagrant. This unofficial repository will be supported until April 30, 2021, after which time it will no longer be available.
👉 Please see the repository homepage for instructions on migrating to the new repository.
There will also be periodic brownouts during which attempting to fetch the repository index will return 503 Service Unavailable
, to give advance notice before the repo goes permanently offline. This results in the following warning from apt-get update
:
W: Failed to fetch https://vagrant-deb.linestarve.com/dists/any/InRelease 503 Service Temporarily Unavailable [IP: 199.38.183.38 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
If you’re getting this error, the repo is in one of these brownout periods; it will come back but please take some time to follow the instructions for migrating to the new repository.
If you have questions about any of this, please email me ([email protected]
) or leave a comment below.
the latest release is of 19 june as say the changelog https://github.com/hashicorp/vagrant/blob/master/CHANGELOG.md
Instead the repo is updated for 2.2.4
On the index page, the apt-key adv
command is missing the actual key fingerprint where $GPG_KEY
is supposed to be, making it impossible to follow the setup instructions.
This seems to be a result of the following error:
gpg: can't connect to the agent: IPC connect call failed
This has happened at least once before; at the time I assumed it was a fluke but apparently not.
I should probably set -o pipefail
so if something goes wrong it doesn't barrel on and update the page to claim that the last check was OK.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.