software-center crashed with Package bcperfect isn't available in _run_transaction()

Bug #1050948 reported by Dave Morley on 2012-09-14
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
High
Unassigned

Bug Description

In reinstall previous purchses the list available isn't taylored to your arch so you are offered apps you can't install.

One of them is BCPerfect which is i386 only. However rather than seeing an error I got a crash report.

What I expect is an error saying why it couldn't install.

ProblemType: RecoverableProblem
DistroRelease: Ubuntu 12.10
Package: software-center 5.3.13
ProcVersionSignature: Ubuntu 3.5.0-14.17-generic 3.5.3
Uname: Linux 3.5.0-14-generic x86_64
ApportVersion: 2.5.1-0ubuntu7
Architecture: amd64
Date: Fri Sep 14 15:43:29 2012
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120913.3)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center
ProcEnviron:
 TERM=xterm
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 LANGUAGE=en_GB:en
SourcePackage: software-center
Title: software-center crashed with Package bcperfect isn't available in _run_transaction()
Traceback:
 Traceback (most recent call last):
   File "/usr/share/software-center/softwarecenter/backend/installbackend_impl/aptd.py", line 964, in _run_transaction
     yield trans.run(defer=True)
 TransactionFailed: Transaction failed: Package does not exist
  Package bcperfect isn't available
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Dave Morley (davmor2) wrote :
Changed in software-center (Ubuntu):
importance: Undecided → High
tags: added: ca-escalated
tags: removed: need-duplicate-check
Michael Vogt (mvo) on 2012-09-17
Changed in software-center (Ubuntu):
status: New → Triaged
Michael Vogt (mvo) wrote :

<davmor2> mvo: so looking at subscriptions it say natty
<mvo> davmor2: ok, this subscription dates all the way back to natty? and back then it was i386/amd64 and later it was only i386?
 davmor2: just to ensure I understand this correctly
<davmor2> mvo: correct and now I believe it is being made multiarch now that the i386 version installs correctly on amd64
<mvo> davmor2: aha, so now == precise? and there its multiarch?
<davmor2> mvo: Yes so we tried it recently on precise, I'm not sure if it is multiarch now or whether jpugh was looking to make it multi
 mvo: but until really recently it was i386 only
<mvo> davmor2: it may well be that the multiarch change is the issue
<davmor2> mvo: no I'm pretty sure it is setting it to natty's i386/amd64 version
<mvo> achuni: we may need to talk about the multiarch strategy for the reinstall-previous-purchases as ideally the agent would send a "foo:i386" packagename then for i386-multiarch packages on amd64
<achuni> mvo: ouch
<mvo> davmor2: :) I need to figure out a way to simulate this, I may ask you for the json output of this particular part of the "available_for_me" call - but more on that later
 davmor2: need to go to a call first
<achuni> mvo: ok...
<mvo> achuni: yes :(
 achuni: lets talk after the call, its a bit anoying, maybe in this case-software-center needs to figure it out
<achuni> mvo: if we add an optional arg to the call to specify the architecture, the server could do it in a backwards-compatible way

Gary Lasker (gary-lasker) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1049000, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

visibility: private → public
Changed in software-center (Ubuntu):
status: Triaged → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers