software-center crashed with Package bcperfect isn't available in _run_transaction()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Confirmed
|
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
ProcVersionSign
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/
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120913.3)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
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/
yield trans.run(
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
tags: | removed: need-duplicate-check |
Changed in software-center (Ubuntu): | |
status: | New → Triaged |
<davmor2> mvo: so looking at subscriptions it say natty previous- purchases as ideally the agent would send a "foo:i386" packagename then for i386-multiarch packages on amd64 center needs to figure it out compatible way
<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-
<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-
<achuni> mvo: if we add an optional arg to the call to specify the architecture, the server could do it in a backwards-