[CPR-388] puppetlabs-release installs a broken apt sources file Created: 2016/11/07  Updated: 2017/12/28  Resolved: 2017/12/28

Status: Closed
Project: Community Package Repository
Component/s: None
Affects Version/s: None
Fix Version/s: 2017/08/02

Type: Bug Priority: Blocker
Reporter: Past Haus Assignee: Melissa Stone
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Team: Release Engineering
Story Points: 3
Sprint: RE 2016-11-16

 Description   

After getting a fresh trusty vm, if I then install the puppetlabs-release package, it looks like the deb-src entries cause apt to freak out.

root@xdpe7h5ug00xdn0:~# wget https://apt.puppetlabs.com/puppetlabs-release.deb
--2016-11-07 10:41:02--  https://apt.puppetlabs.com/puppetlabs-release.deb
Resolving apt.puppetlabs.com (apt.puppetlabs.com)... 198.58.114.168, 2600:3c00::f03c:91ff:fe69:6bf0
Connecting to apt.puppetlabs.com (apt.puppetlabs.com)|198.58.114.168|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-11-07 10:41:02 ERROR 404: Not Found.
 
root@xdpe7h5ug00xdn0:~# wget https://apt.puppetlabs.com/puppetlabs-release-trusty.deb
--2016-11-07 10:41:05--  https://apt.puppetlabs.com/puppetlabs-release-trusty.deb
Resolving apt.puppetlabs.com (apt.puppetlabs.com)... 198.58.114.168, 2600:3c00::f03c:91ff:fe69:6bf0
Connecting to apt.puppetlabs.com (apt.puppetlabs.com)|198.58.114.168|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16944 (17K) [application/x-debian-package]
Saving to: ‘puppetlabs-release-trusty.deb’
 
100%[==================================================================================================================================================================================================================================================================================================================================>] 16,944      --.-K/s   in 0.06s
 
2016-11-07 10:41:05 (300 KB/s) - ‘puppetlabs-release-trusty.deb’ saved [16944/16944]
 
root@xdpe7h5ug00xdn0:~# dpkg -i puppetlabs-release-trusty.deb
Selecting previously unselected package puppetlabs-release.
(Reading database ... 58831 files and directories currently installed.)
Preparing to unpack puppetlabs-release-trusty.deb ...
Unpacking puppetlabs-release (1.1-1) ...
Setting up puppetlabs-release (1.1-1) ...
root@xdpe7h5ug00xdn0:~# apt-get update
Get:1 http://osmirror.delivery.puppetlabs.net trusty-security InRelease [65.9 kB]
Get:2 http://osmirror.delivery.puppetlabs.net trusty-updates InRelease [65.9 kB]
Ign http://osmirror.delivery.puppetlabs.net trusty InRelease
Hit http://osmirror.delivery.puppetlabs.net trusty Release.gpg
Hit http://osmirror.delivery.puppetlabs.net trusty Release
Get:3 http://osmirror.delivery.puppetlabs.net trusty-security/main Translation-en [277 kB]
Hit http://osmirror.delivery.puppetlabs.net trusty-security/multiverse Translation-en
Hit http://osmirror.delivery.puppetlabs.net trusty-security/restricted Translation-en
Get:4 http://osmirror.delivery.puppetlabs.net trusty-security/universe Translation-en [77.2 kB]
Get:5 http://osmirror.delivery.puppetlabs.net trusty-security/main Sources [149 kB]
Hit http://osmirror.delivery.puppetlabs.net trusty-security/restricted Sources
Get:6 http://osmirror.delivery.puppetlabs.net trusty-security/universe Sources [44.1 kB]
Hit http://osmirror.delivery.puppetlabs.net trusty-security/multiverse Sources
Get:7 http://osmirror.delivery.puppetlabs.net trusty-security/main amd64 Packages [629 kB]
Hit http://osmirror.delivery.puppetlabs.net trusty-security/restricted amd64 Packages
Get:8 http://osmirror.delivery.puppetlabs.net trusty-security/universe amd64 Packages [170 kB]
Hit http://osmirror.delivery.puppetlabs.net trusty-security/multiverse amd64 Packages
Get:9 http://osmirror.delivery.puppetlabs.net trusty-security/main i386 Packages [589 kB]
Ign http://apt.puppetlabs.com trusty InRelease
Hit http://osmirror.delivery.puppetlabs.net trusty-security/restricted i386 Packages
Get:10 http://osmirror.delivery.puppetlabs.net trusty-security/universe i386 Packages [170 kB]
Hit http://osmirror.delivery.puppetlabs.net trusty-security/multiverse i386 Packages
Get:11 http://apt.puppetlabs.com trusty Release.gpg [841 B]
Get:12 http://osmirror.delivery.puppetlabs.net trusty-updates/main Translation-en [396 kB]
Hit http://osmirror.delivery.puppetlabs.net trusty-updates/multiverse Translation-en
Hit http://osmirror.delivery.puppetlabs.net trusty-updates/restricted Translation-en
Get:13 http://osmirror.delivery.puppetlabs.net trusty-updates/universe Translation-en [191 kB]
Get:14 http://apt.puppetlabs.com trusty Release [49.6 kB]
Get:15 http://osmirror.delivery.puppetlabs.net trusty-updates/main Sources [350 kB]
Hit http://osmirror.delivery.puppetlabs.net trusty-updates/restricted Sources
Get:16 http://osmirror.delivery.puppetlabs.net trusty-updates/universe Sources [198 kB]
Hit http://osmirror.delivery.puppetlabs.net trusty-updates/multiverse Sources
Get:17 http://osmirror.delivery.puppetlabs.net trusty-updates/main amd64 Packages [991 kB]
Hit http://osmirror.delivery.puppetlabs.net trusty-updates/restricted amd64 Packages
Get:18 http://osmirror.delivery.puppetlabs.net trusty-updates/universe amd64 Packages [469 kB]
Hit http://osmirror.delivery.puppetlabs.net trusty-updates/multiverse amd64 Packages
Get:19 http://osmirror.delivery.puppetlabs.net trusty-updates/main i386 Packages [950 kB]
Hit http://osmirror.delivery.puppetlabs.net trusty-updates/restricted i386 Packages
Get:20 http://osmirror.delivery.puppetlabs.net trusty-updates/universe i386 Packages [470 kB]
Hit http://osmirror.delivery.puppetlabs.net trusty-updates/multiverse i386 Packages
Hit http://osmirror.delivery.puppetlabs.net trusty/main Sources
Hit http://osmirror.delivery.puppetlabs.net trusty/restricted Sources
Hit http://osmirror.delivery.puppetlabs.net trusty/universe Sources
Hit http://osmirror.delivery.puppetlabs.net trusty/multiverse Sources
Hit http://osmirror.delivery.puppetlabs.net trusty/main amd64 Packages
Hit http://osmirror.delivery.puppetlabs.net trusty/restricted amd64 Packages
Hit http://osmirror.delivery.puppetlabs.net trusty/universe amd64 Packages
Hit http://osmirror.delivery.puppetlabs.net trusty/multiverse amd64 Packages
Hit http://osmirror.delivery.puppetlabs.net trusty/main i386 Packages
Hit http://osmirror.delivery.puppetlabs.net trusty/restricted i386 Packages
Hit http://osmirror.delivery.puppetlabs.net trusty/universe i386 Packages
Hit http://osmirror.delivery.puppetlabs.net trusty/multiverse i386 Packages
Ign http://osmirror.delivery.puppetlabs.net trusty/main Translation-en_US
Ign http://osmirror.delivery.puppetlabs.net trusty/main Translation-en
Ign http://osmirror.delivery.puppetlabs.net trusty/multiverse Translation-en_US
Ign http://osmirror.delivery.puppetlabs.net trusty/multiverse Translation-en
Ign http://osmirror.delivery.puppetlabs.net trusty/restricted Translation-en_US
Ign http://osmirror.delivery.puppetlabs.net trusty/restricted Translation-en
Ign http://osmirror.delivery.puppetlabs.net trusty/universe Translation-en_US
Ign http://osmirror.delivery.puppetlabs.net trusty/universe Translation-en
Fetched 6,305 kB in 2s (2,540 kB/s)
W: Failed to fetch http://apt.puppetlabs.com/dists/trusty/Release  Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file)
 
E: Some index files failed to download. They have been ignored, or old ones used instead.

We should probably remove those from the list file being shipped unless we expect them to work.



 Comments   
Comment by Melissa Stone [ 2016/11/07 ]

It looks like this might be an issue with freight. 0.3.9 was released recently, which includes https://github.com/freight-team/freight/pull/32

I'm rolling freight back to 0.3.8 to see if that fixes the issue

Comment by Melissa Stone [ 2016/11/07 ]

Rolling back to 0.3.8 fixes the problem. Now we have to make sure we're pinning freight to that release

Comment by Melissa Stone [ 2016/11/07 ]

The freight team has reverted the breaking commit and is in the process of releasing 0.3.10 with the fix

Comment by Melissa Stone [ 2016/11/08 ]

Freight 0.3.10 has been released and installed on the machine. We should be in the clear now.

Generated at Fri Jan 17 20:22:17 PST 2020 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.