[Bug 1800287] Re: Package python3-mock is not available
Hans Joachim Desserud
1800287 at bugs.launchpad.net
Wed Oct 31 17:58:58 UTC 2018
Thanks for taking your time to report this issue and help making Ubuntu
better.
I am not able to reproduce this issue, I was able to install
python3-mock without issues on my 18.04 system. Since you mention that
you have a fresh install, it might be that the package list hasn't been
refreshed. Could you please try running `sudo apt update`? If this
doesn't resolve the issue, could you please attach the output of `apt
policy python3-mock`, this will list the available package version if
any.
One thing to note is that python3-mock is part of the universe repo, so
if you have only main but not universe enabled, this would explain why
it fails to find the package.
** Changed in: python-mock (Ubuntu)
Status: New => Incomplete
** Tags added: bionic
--
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