Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ubuntu 14.04] Unable to retrieve a valid package #121

Open
bobweston opened this issue May 15, 2019 · 7 comments
Open

[Ubuntu 14.04] Unable to retrieve a valid package #121

bobweston opened this issue May 15, 2019 · 7 comments

Comments

@bobweston
Copy link

bobweston commented May 15, 2019

I'm wondering if this is a name change issue.

This file returns a 404 (like in the error)

http://apt.puppetlabs.com/puppetlabs-release-pc1-trusty.deb

But this file seems to exist:

http://apt.puppetlabs.com/puppet-release-trusty.deb

Stdout from the command:

10:17:28 -0700 INFO: Version parameter defined: 4.10.1
10:17:28 -0700 INFO: Matching Puppet version to puppet-agent package version (See http://docs.puppetlabs.com/puppet/latest/reference/about_agent.html for more details)
10:17:28 -0700 INFO: Downloading Puppet 4.10.1 for ubuntu...
10:17:28 -0700 INFO: Ubuntu platform! Lets get you a DEB...
10:17:28 -0700 INFO: Downloading http://apt.puppetlabs.com/puppetlabs-release-pc1-trusty.deb
10:17:28 -0700 INFO:   to file /tmp/install.sh.2156.random_hexdump/puppetlabs-release-pc1-trusty.deb
10:17:28 -0700 INFO: Trying wget...
10:17:28 -0700 CRIT: ERROR 404
10:17:28 -0700 CRIT: Unable to retrieve a valid package!
10:17:28 -0700 CRIT: Please file a bug report at https://github.com/petems/puppet-install-shell/
10:17:28 -0700 CRIT: 
10:17:28 -0700 CRIT: Version: 4.10.1
10:17:28 -0700 CRIT: Platform: ubuntu
10:17:28 -0700 CRIT: Platform Version: 14.04
10:17:28 -0700 CRIT: Machine: x86_64
10:17:28 -0700 CRIT: OS: Linux
10:17:28 -0700 CRIT: 
10:17:28 -0700 CRIT: Please detail your operating system type, version and any other relevant details
@oren-shoemaker
Copy link

Puppet just changed their repo structure and removed PC1 packages:
https://groups.google.com/forum/#!topic/puppet-users/cCsGWKunBe4

@bobweston
Copy link
Author

just as an fyi. I'm getting similar errors trying to spin up ubuntu 16.04

@petems
Copy link
Owner

petems commented May 15, 2019

Yep, just asked in the slack and saw the change went through. I'll PR to fix those links now

@oren-shoemaker
Copy link

Thanks!

@petems
Copy link
Owner

petems commented May 15, 2019

Ok, so there is no longer an apt link for Puppet 4 as Puppet 4 is now EOL'd...

So essentially there's no point having scripts for those anymore... there's no repo so you'd have to download the DEBs/RPMs from http://release-archives.puppet.com/ manually

So essentially, as a workaround you can just use a script like this:

wget http://release-archives.puppet.com/apt/pool/trusty/PC1/p/puppet-agent/puppet-agent_1.10.14-1trusty_amd64.deb
apt install ./puppet-agent_1.10.14-1trusty_amd64.deb

@petems
Copy link
Owner

petems commented May 15, 2019

I'm gonna delete the EOL'd scripts over the weekend

@petems
Copy link
Owner

petems commented May 17, 2019

Ok, reopening as they're going to add repos back:

s you may have seen, the packages we removed from {yum,apt}.puppetlabs.com this week have been put back. This was due to an outage and the need to restore from backups.

While we originally did not intend to enable repositories on release-archives.puppet.com, the overwhelming demand has made this a priority for us. We will keep the EOL packages on {yum,apt}.puppetlabs.com until that work is done, but then they will be re-archived. You can follow along here: https://tickets.puppetlabs.com/browse/CPR-685

To provide some clarity:
*The puppetlabs-release-* repos contain puppet 3 packages. THESE WILL BE ARCHIVED. You will soon be able to find them at http://release-archives.puppet.com/yum/puppet-archives-release-*.
*The puppetlabs-release-pc1-* repos contain puppet 4 packages. THESE WILL BE ARCHIVED. You will soon be able to find them at http://release-archives.puppet.com/yum/puppetlabs-release-pc1-*.
*puppet-release-* is our rolling repository, which always points to our latest software stream. This is currently puppet 6.
If you have any questions, please feel free to reach out.

Thanks!

@petems petems reopened this May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants