Unable to build from source mongodb-server-core - focal
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
mongodb (Ubuntu) | ||||||
Focal |
Fix Released
|
High
|
Unassigned |
Bug Description
root@focal:
Note, using directory '.' to get the build dependencies
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
builddeps:. : Depends: python-requests but it is not installable
E: Unable to correct problems, you have held broken packages.
root@focal:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-requests
------
Need to drop support for Python2 in mongodb-server-core focal [0]
[0] https:/
installed version: 1:3.6.9+
series release: focal
container: LXD
no longer affects: | requests (Ubuntu) |
no longer affects: | requests (Ubuntu Impish) |
no longer affects: | requests (Ubuntu Hirsute) |
no longer affects: | requests (Ubuntu Groovy) |
no longer affects: | mongodb (Ubuntu) |
no longer affects: | mongodb (Ubuntu Groovy) |
no longer affects: | mongodb (Ubuntu Hirsute) |
no longer affects: | mongodb (Ubuntu Impish) |
Changed in mongodb (Ubuntu Focal): | |
assignee: | Heather Lemon (hypothetical-lemon) → nobody |
Thanks for reporting.
I get the same error message when attempting to install build dependencies for mongodb on Ubuntu 20.04. It looks like the python2 package was dropped from requests shortly before the release of focal (https:/ /launchpad. net/ubuntu/ +source/ requests/ 2.22.0- 2ubuntu1), which means mongodb can no longer be rebuilt.