failed to upgrade app_A via Software Centre if there is app_B depends on app_A

Bug #1103046 reported by nickwang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
New
Undecided
Unassigned

Bug Description

On Ubuntu 12.04,

installed app_A and app_B, app_B depends on app_A
double-clicked new app_A to do upgrading, however Software Centre gave prompt that upgrading was failed because app_B depends on app_A.

How to resolve this issue if I would like to upgrade to newer app_A without uninstalling app_B ? Thanks !

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Hi, what do you mean by "double-clicked new app_A to do upgrading"? Double-clicked where?

Changed in software-center (Ubuntu):
status: New → Incomplete
Revision history for this message
nickwang (wwq5000) wrote : Re:[Bug 1103046] Re: failed to upgrade app_A via Software Centre if there is app_B depends on app_A

Hi Matthew ,
Thank you for your response !
I mean I double clicked the .deb files on local machine, then Software Center will pop-up and take up the install/upgrading process, right ?

The Software Center seems to do dependency checking first located in /var/info/dpkg/status. The install will fail if other app depends on app_A. The scenario is as below and hope it helps.
1) install app_A
2) install app_A_patch that depends on app_A
3) install new version app_B ( the .deb file is on local and user tyies to double-click it to do upgrading)
4) Software Center pop-ups and gives prompt that "Breaks existing dependency ......" and upgrading failed

I wonder why I can use dpkg tool to do upgrading, like 'sudo dpkg -i app_B' and seems dpkg can handle the dependency stuff and do upgrading for me. Thanks again !
--

Best Regards
Nicholas

At 2013-01-25 18:39:08,"Matthew Paul Thomas" <email address hidden> wrote:
>Hi, what do you mean by "double-clicked new app_A to do upgrading"?
>Double-clicked where?
>
>** Changed in: software-center (Ubuntu)
> Status: New => Incomplete
>
>--
>You received this bug notification because you are subscribed to the bug
>report.
>https://bugs.launchpad.net/bugs/1103046
>
>Title:
> failed to upgrade app_A via Software Centre if there is app_B depends
> on app_A
>
>Status in “software-center” package in Ubuntu:
> Incomplete
>
>Bug description:
> On Ubuntu 12.04,
>
> installed app_A and app_B, app_B depends on app_A
> double-clicked new app_A to do upgrading, however Software Centre gave prompt that upgrading was failed because app_B depends on app_A.
>
> How to resolve this issue if I would like to upgrade to newer app_A
> without uninstalling app_B ? Thanks !
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1103046/+subscriptions

Revision history for this message
nickwang (wwq5000) wrote :

Hi,

I want to explain the scenario below in case it brings any confusion. Please see blue.
Scenario:
1) install app_A
I installed app_A by double-clicking the .deb file I got on local machine
2) install app_A_patch that depends on app_A
I got another .deb that can patch app_A, which I named it 'app_A_patch'. If you run 'sudo dpkg -l | grep app_' , you will see two records -- 'app_A' and 'app_A_patch' both installed.
3) install new version app_B ( the .deb file is on local and user tyies to double-click it to do upgrading)
Now I have a new version of app_A (it should not be named app_B, maybe just NEW app_A here)
4) Software Center pop-ups and gives prompt that "Breaks existing dependency ......" and upgrading failed
I assumed Software Center could install new app_A for me. I can choose to upgrade the app_A_patch later or uninstall it if I want. Dpkg could do this for me whereas Software Center can't.

--

Best Regards
Nicholas

At 2013-01-25 18:39:08,"Matthew Paul Thomas" <email address hidden> wrote:
>Hi, what do you mean by "double-clicked new app_A to do upgrading"?
>Double-clicked where?
>
>** Changed in: software-center (Ubuntu)
> Status: New => Incomplete
>
>--
>You received this bug notification because you are subscribed to the bug
>report.
>https://bugs.launchpad.net/bugs/1103046
>
>Title:
> failed to upgrade app_A via Software Centre if there is app_B depends
> on app_A
>
>Status in “software-center” package in Ubuntu:
> Incomplete
>
>Bug description:
> On Ubuntu 12.04,
>
> installed app_A and app_B, app_B depends on app_A
> double-clicked new app_A to do upgrading, however Software Centre gave prompt that upgrading was failed because app_B depends on app_A.
>
> How to resolve this issue if I would like to upgrade to newer app_A
> without uninstalling app_B ? Thanks !
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1103046/+subscriptions

Changed in software-center (Ubuntu):
status: Incomplete → New
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.