[SERVER-18516] ubuntu/debian packaging : Release files report wrong Codename Created: 18/May/15 Updated: 16/Sep/22 Resolved: 19/Aug/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.7, 3.1.7 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | patrice Damezin | Assignee: | Ernie Hershey |
| Resolution: | Done | Votes: | 0 |
| Labels: | Bug, Packaging, build-planning | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Debian Wheezy / Ubuntu Trusty / Ubuntu Precise |
||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | Linux | ||||||||||||
| Backport Completed: | |||||||||||||
| Sprint: | BUILD 4 06/05/15, Build 5 06/26/16, Build 6 07/17/15, Build 7 08/10/15, Build 8 08/31/15 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Release files on repo.mongodb.org/apt like http://repo.mongodb.org/apt/debian/dists/wheezy/mongodb-org/3.0/Release ou http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/3.0/Release report a wrong codename. On http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/3.0/Release the Codename should be : "trusty/mongodb-org/3.0" and not "trusty/mongodb-org". This error seems to not affect Ubuntu or Debian, but it affect tools like debmirror. We use this tool to create our internal mirrors.
|
| Comments |
| Comment by Ernie Hershey [ 12/Jan/16 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
wayne530 - to install specific versions, you have to specify the individual component packages as documented in our installation guide. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Y. Wayne Huang [ 12/Jan/16 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This does not appear to be fixed. I believe a consequence of this is that if a system has both 3.0 and 3.2 repos that installing by version, e.g. apt-get install mongodb-org=3.0.8, doesn't work properly. It pulls the 3.0.8 metapackage but then proceeds to install 3.2.0 component packages. Additionally, it appears there are 3.2.1 packages but it seems it hasn't been added to the Packages/Packages.gz file.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Githook User [ 23/Sep/15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Author: {u'username': u'ehershey', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}Message: (cherry picked from commit 3f8acecab74e520aa1f1564cd0512417a0f3c64e) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Githook User [ 19/Aug/15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Author: {u'username': u'ehershey', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}Message: | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Ernie Hershey [ 21/May/15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
If I set the suite to "wheezy" it works (in Debian). Despite the error string it's actually comparing against the first part of the distribution, not the entire thing - so in this case I'll set it to "trusty" and that should work. In this line in debmirror, it's comparing against $dist_raw, which is set here | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by patrice Damezin [ 20/May/15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hello,
(we have no problem mirroring the previous repository (downloads-distro.mongodb.org) using debmirror :
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Ernie Hershey [ 19/May/15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I tried a test with the codename set to "wheezy/mongodb-org/3.1" instead of "wheezy/mongodb-org" and got this error running apt-get update:
patphobos can you share the exact debmirror command line you're using so I can reproduce the error and work on a fix? Perhaps changing the Suite field instead of the Codename will fix the problem without causing this new error. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by patrice Damezin [ 18/May/15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sorry for the wrong category. As it concern only packaging, i didn't know witch category was the better. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Ernie Hershey [ 18/May/15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Does this need to be in SECURITY? Can we move to SERVER? |