[SERVER-46938] mongodb-org debian repo has malformed Packages file Created: 18/Mar/20 Updated: 22/Jul/22 Resolved: 19/Mar/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Nathan Perry | Assignee: | Kim Tao |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Steps To Reproduce: |
On a debian-based system, obviously. Specifically, I'm on Ubuntu eoan, but this should be reproducible pretty much anywhere. |
||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||
| Description |
|
debian build seems to be appending a bad line to Packages file:
This is causing apt update and apt upgrade on systems depending on affected repos to fail with the following message:
The problem can be fixed by editing /var/lib/apt/lists/repo.mongodb.org_apt_ubuntu_dists_bionic_mongodb-org_4.0_multiverse_binary-amd64_Packages and removing the last line, but obviously this is not a sustainable solution, as any time I apt update this will be overridden. The xenial and bionic repos at least both have this issue on the 4.0 amd64 package. Looking around at the other versions, I'm only seeing this affecting 4.0. Note: not sure if this is the right project to list this under, but the other possibilities (MAKE? DEVOPS?) don't have many issues for reference/didn't have a linked google doc. Feel free to move if appropriate. |
| Comments |
| Comment by Kay Agahd [ 19/Mar/20 ] |
|
Yes, it works, thanks! |
| Comment by Martin Polak [ 19/Mar/20 ] |
|
Yup, fixed for me as well. |
| Comment by Kim Tao [ 19/Mar/20 ] |
|
I just tried this on Jessie, Stretch, and Xenial and they seem to be fixed. |
| Comment by Kay Agahd [ 19/Mar/20 ] |
|
Please re-open the issue since Jessie, Stretch, Xenial are still broken. |
| Comment by Костик Покотиленко [ 19/Mar/20 ] |
|
Just checked, Bionic is now fixed. |
| Comment by Sam Kleinman (Inactive) [ 18/Mar/20 ] |
|
I've just kicked off jobs to rebuild all of the impacted debian repositories. Sorry for the inconvenience. |
| Comment by Githook User [ 18/Mar/20 ] |
|
Author: {'email': 'garen@tychoish.com', 'name': 'Sam Kleinman', 'username': 'tychoish'}Message: |
| Comment by Sam Kleinman (Inactive) [ 18/Mar/20 ] |
|
Thanks for the report, we've identified an issue. It looks like we combined standard error and standard output into these files, and will regenerate these files as soon as the fix is deployed. |
| Comment by Костик Покотиленко [ 18/Mar/20 ] |
|
This is marked as closed, but those files are still invalid (alien last line): http://repo.mongodb.org/apt/debian/dists/jessie/mongodb-org/4.0/main/binary-amd64/Packages http://repo.mongodb.org/apt/debian/dists/stretch/mongodb-org/4.0/main/binary-amd64/Packages http://repo.mongodb.org/apt/ubuntu/dists/bionic/mongodb-org/4.0/multiverse/binary-amd64/Packages http://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/4.0/multiverse/binary-amd64/Packages |
| Comment by Sam Kleinman (Inactive) [ 18/Mar/20 ] |
|
Thanks for catching this. We just ran the procedure that generated the repositories for this release and I verified manually that the repository is now valid. I filed MAKE-1194 to address this issue in the future. |