[Bug 1800287] Re: Package python3-mock is not available

Timm Murray 1800287 at bugs.launchpad.net
Wed Oct 31 19:03:10 UTC 2018


Thanks--it turned out the lack of the universe repository was the issue.
Doing:

$ sudo add-apt-repository universe

Solved everything.

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

Title:
  Package python3-mock is not available

Status in python-mock package in Ubuntu:
  Incomplete

Bug description:
  On a server with a fresh install of Ubuntu 18.04 within the past week,
  I'm unable install the python3-mock package:

  =========
  $ sudo apt-get install python3-mock
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Package python3-mock is not available, but is referred to by another package.
  This may mean that the package is missing, has been obsoleted, or
  is only available from another source

  E: Package 'python3-mock' has no installation candidate
  =========

  I took a stab at installing it manually with "dpkg -i" using the
  package at:

  http://mirrors.kernel.org/ubuntu/pool/universe/p/python-
  mock/python3-mock_2.0.0-3_all.deb

  Once I installed the prereq (python3-pbr), I was able to install from
  the deb package directly. Some other Python3 packages are giving the
  same error (python3-zope.event, python3-configargparse). Doing "apt-
  cache search python3" does reveal quite a few packages that are
  installable, so I'm not sure why these are an issue.

  =======
  $ lsb_release -rd
  Description:    Ubuntu 18.04.1 LTS
  Release:        18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-mock/+bug/1800287/+subscriptions



More information about the foundations-bugs mailing list