[Bug 954609] Re: /usr/bin/python2 overwrites file in old versions of python-minimal

Steve Langasek steve.langasek at canonical.com
Sat Mar 24 09:12:37 UTC 2012


For reference, this was in python-minimal in lucid but not in any later
releases.  So Replaces: python-minimal (<< 2.6.6-2ubuntu1) should
suffice.

** Changed in: python2.7 (Ubuntu Precise)
     Assignee: (unassigned) => Matthias Klose (doko)

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

Title:
  /usr/bin/python2 overwrites file in old versions of python-minimal

Status in “python2.7” package in Ubuntu:
  Triaged
Status in “python2.7” source package in Precise:
  Triaged

Bug description:
  In a test upgrade from lucid to precise:

  Selecting previously unselected package python2.7.
  Unpacking python2.7 (from .../python2.7_2.7.3~rc1-1ubuntu2_i386.deb) ...
  dpkg: error processing /var/cache/apt/archives/python2.7_2.7.3~rc1-1ubuntu2_i386.deb (--unpack):
   trying to overwrite '/usr/bin/python2', which is also in package python-minimal 2.6.5-0ubuntu1

  At minimum, a Replaces is needed here.

  Wasn't the old layout better, though?  This seems to make more sense
  in a -defaults package than in a versioned package; although I realise
  that it's arguably a moot point given that there won't be a python2.8.
  But still.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/954609/+subscriptions




More information about the foundations-bugs mailing list