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

Colin Watson cjwatson at canonical.com
Wed Mar 14 00:22:19 UTC 2012


Public bug reported:

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.

** Affects: python2.7 (Ubuntu)
     Importance: High
         Status: Triaged

** Affects: python2.7 (Ubuntu Precise)
     Importance: High
         Status: Triaged


** Tags: lucid2precise

** Package changed: python-defaults (Ubuntu) => python2.7 (Ubuntu)

-- 
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