[Bug 1937286] [NEW] containerd depends on unreleased docker19 package in focal

2021-07-22 Thread Peter Tripp
Public bug reported:

containerd release 1.5.2-0ubuntu1~20.10.2 addressing USN-5102-1 in focal
includes a "Breaks" reference to a docker.io package version
(19.03.8-0ubuntu1.20.04.2) that was never released. Currently only .1 is
available not .2.

$ dpkg -I /var/cache/apt/archives/containerd_1.5.2-0ubuntu1~20.04.2_amd64.deb  
|grep -P '(Package|Version|Breaks)'
 Package: containerd
 Version: 1.5.2-0ubuntu1~20.04.2
 Breaks: docker.io (<< 19.03.8-0ubuntu1.20.04.2)

So it breaks if you're using the newest docker19 in focal
(19.03.8-0ubuntu1.20.04.1) https://packages.ubuntu.com/focal/docker.io

Publishing history of the .2 release:
https://launchpad.net/ubuntu/+source/docker.io/19.03.8-0ubuntu1.20.04.2/+publishinghistory
Not sure why it was deleted and uploaded.

I assume this slipped thru because docker20 is focal-updates and so
that's what most folks would run.  Docker20 satisfies the "Breaks" >=
stanza in the package, but all available versions of docker19 degs are
broken with the new containerd.

Steps to reproduce on a clean focal machine:
apt-get update -qq
apt-get install install docker.io=19.03.8-0ubuntu1.20.04.1


For example under docker on my mac:
% docker pull ubuntu:focal
% docker run -it ubuntu:focal bash -c "apt-get update -qq && apt-get install 
docker.io=19.03.8-0ubuntu1.20.04.1"
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:
 docker.io : Depends: containerd (>= 1.2.6-0ubuntu1~) but it is not going to be 
installed
E: Unable to correct problems, you have held broken packages.

** Affects: containerd (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  containerd depends on unreleased docker19 package in focal

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1533634] Re: Installation Issue : Dangling symlink six and decorator

2017-12-18 Thread Peter Tripp
As far as I'm concerned this is a packaging bug plain and simple.
There's no reason to have the python-scipy package depend upon python-
decorator/python3-decorator with a fragile symlink.

Upstream scipy 0.17.0 does not symlink decorator.py it vendors a working copy:
https://github.com/scipy/scipy/blob/v0.17.0/scipy/_lib/decorator.py

jtaylor switched to a symlink ages ago (2013-05-09) in debian upstream 
python-scipy 0.12.0-1
https://launchpad.net/debian/+source/python-scipy/0.12.0-1

I understand the logic behind that change and while there's nothing in
the Debian Python Packaging guide which explicitly forbids it, making a
symlink to a file provided by another package strikes me as extremely
poor form.  Personally I'd vote for re-including the copy decorator.py
included upstream. Alternatively a simple "from decorator import *" in
decorator.py would be similarly as kludgy but without a guaranteed
broken scipy when pip uninstalls the system decorator.

Thoughts jtaylor?



Steps to reproduce:

pip install a package which has a dependency on any version of decorator
newer than the 4.0.6 provided by python-decorator.  Pip will happily
uninstall it from the old location (/usr/lib/python3/dist-packages) and
install the newer version in an alternate location
(/usr/local/lib/python3.5/dist-packages/ for me) which breaks the
symlink.

For googlability when running import scipy._lib.decorator the error is:
ImportError: No module named 'scipy._lib.decorator'

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

Title:
  Installation Issue : Dangling symlink six and decorator

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs