python-smartpm file overwrite with smartpm-core

Bug #288116 reported by James Troup
2
Affects Status Importance Assigned to Milestone
Landscape Client
Invalid
Low
Unassigned
Landscape Server
Invalid
Low
Unassigned
smart (Ubuntu)
Fix Released
High
Christopher Armstrong
Intrepid
Fix Released
High
Christopher Armstrong

Bug Description

During an upgrade from hardy to intrepid, I got the following:

Unpacking python-smartpm (from .../python-smartpm_1.1.1~bzr20081010-0ubuntu0.8.10_i386.deb) ...
dpkg - warning, overriding problem because --force enabled:
 trying to overwrite `/usr/lib/python2.5/site-packages/smart/backends/rpm/crpmver.so', which is also in package smartpm-core
dpkg - warning, overriding problem because --force enabled:
 trying to overwrite `/usr/lib/python2.5/site-packages/smart/backends/deb/cdebver.so', which is also in package smartpm-core
dpkg - warning, overriding problem because --force enabled:
 trying to overwrite `/usr/lib/python2.5/site-packages/smart/util/ctagfile.so', which is also in package smartpm-core
dpkg - warning, overriding problem because --force enabled:
 trying to overwrite `/usr/lib/python2.5/site-packages/smart/util/cdistance.so', which is also in package smartpm-core
dpkg - warning, overriding problem because --force enabled:
 trying to overwrite `/usr/lib/python2.5/site-packages/smart/ccache.so', which is also in package smartpm-core
dpkg - warning, overriding problem because --force enabled:
 trying to overwrite `/usr/lib/smart/distro.py', which is also in package smartpm-core

I probably had the Landscape smartpm-core installed, so I suspect the
Replaces version just needs updated to cover that version too.

ProblemType: Bug
Architecture: i386
Dependencies:

DistroRelease: Ubuntu 8.10
Package: python-smartpm None [modified: /var/lib/dpkg/info/python-smartpm.list]
ProcEnviron:
 PATH=/usr/lib/ccache:/home/username/bin:/sbin:/usr/sbin:/usr/lib/ccache:/home/username/bin:/sbin:/usr/sbin:/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_GB.UTF-8
 SHELL=/usr/bin/zsh
SourcePackage: smart
Uname: Linux 2.6.27-7-generic i686

Tags: apport-bug
Changed in landscape:
importance: Undecided → Low
milestone: none → thames
Changed in smart:
assignee: nobody → radix
Revision history for this message
Christopher Armstrong (radix) wrote :

Here's a quick fix. I tested it on my intrepid machine:

upgrade from smartpm-core_1.1.1~bzr20081010-0ubuntu0.8.04_amd64.deb (landscape repository version) to 1.1.1~bzr20081010-0ubuntu0.8.10 (current Intrepid version) failed with file conflict error. Upgrading to package generated by this patch worked.

We'll avoid this problem in the future by releasing split packages in the landscape repository for future <= hardy versions of smart.

Colin Watson (cjwatson)
Changed in smart:
importance: Undecided → High
milestone: none → ubuntu-8.10
status: New → Triaged
Revision history for this message
Mathias Gug (mathiaz) wrote :

Approved by colin on IRC:
17:57 < radix> hi all, I've nominated a small, upgrade-breaking bug with patch
               for intrepid: bug #288116
17:57 < ubottu> Launchpad bug 288116 in landscape "python-smartpm file
                overwrite with smartpm-core" [Low,New]
                https://launchpad.net/bugs/288116
17:57 < radix> oof, good timing
17:58 < radix> as I understand it, I need to get a member of the release team
               to look at it?
18:03 -!- ogra_ is now known as ogra
18:07 < cjwatson> radix: approved the nomination, please get a sponsor to
                  upload that ASAP
18:07 < radix> cjwatson: thank you very much
18:07 < radix> will do
18:07 < mathiaz> radix: I'm on it :)

Uploaded.

Changed in smart:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package smart - 1.1.1~bzr20081010-0ubuntu0.8.10.1

---------------
smart (1.1.1~bzr20081010-0ubuntu0.8.10.1) intrepid; urgency=low

  * debian/control: Update Replaces for python-smartpm to include versions of
    smartpm-core that were released in the Landscape repositories.
    (LP: #288116)

 -- Christopher Armstrong <email address hidden> Thu, 23 Oct 2008 10:52:51 -0400

Changed in smart:
status: Fix Committed → Fix Released
Changed in landscape:
milestone: thames → thames+1
Changed in landscape-client:
importance: Undecided → Low
Changed in landscape:
milestone: thames+1 → thames+2
Changed in landscape:
milestone: mountainview-pre-1 → mountainview-pre-2
Changed in landscape:
milestone: mountainview-pre-2 → mountainview-pre-3
Changed in landscape:
milestone: mountainview-pre-3 → mountainview
Changed in landscape-client:
status: New → Invalid
Changed in landscape:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.