[Bug 1933378] Re: Unable to build from source mongodb-server-core - focal

Hans Joachim Desserud 1933378 at bugs.launchpad.net
Sat Jun 26 08:22:46 UTC 2021


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.

** Also affects: requests (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: mongodb (Ubuntu)
       Status: New => Confirmed

** Tags added: focal ftbfs unmetdeps

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to requests in Ubuntu.
https://bugs.launchpad.net/bugs/1933378

Title:
  Unable to build from source mongodb-server-core - focal

Status in mongodb package in Ubuntu:
  Confirmed
Status in requests package in Ubuntu:
  New

Bug description:
  root at focal:~/mongodb-3.6.9+really3.6.8+90~g8e540c0b6d# apt build-dep .
  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 at focal:~/mongodb-3.6.9+really3.6.8+90~g8e540c0b6d# apt-get install python-requests
  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://launchpad.net/ubuntu/+source/requests/2.22.0-2ubuntu1

  installed version: 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5
  series release: focal 
  container: LXD

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1933378/+subscriptions



More information about the foundations-bugs mailing list