Bug 1280 - All related packages removed when only one package deselected
Summary: All related packages removed when only one package deselected
Status: VERIFIED FIXED
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Joshua Lock - Disabled
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-07-24 05:20 UTC by Jiajun Xu
Modified: 2011-08-02 22:52 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiajun Xu 2011-07-24 05:20:15 UTC
Tree/Branch: 1.1_M2
Commit: a62982ffb6b35acc70bb30a429fc854cf9a8873f

With 1.1 M2 branch, when I select package avahi first and then select acl, then I deselect avahi, all packages in "image contents" will be removed, including acl.
It may confuse user becasue they may not want to remove acl and acl has no dependency with avahi actually.
Comment 1 Jessica 2011-07-24 18:40:59 UTC
The issue also exists against latest master
Comment 2 Jessica 2011-07-24 22:00:23 UTC
It's related to package dependency, if I selected acpid or adt-installer, then deselect acpid or adt-installer won't cause the same problem.  When select avahi, I noticed there seems be a circular dependency issue between avahi and libnss-mdns, if you deselect either, it claims the other depends on it
Comment 3 Joshua Lock - Disabled 2011-07-25 08:14:39 UTC
This is related to Tasks and Images using the same dependency and reverse dependency resolution as packages whereas we should not be doing reverse dependency checking for tasks so as not to confuse the user with this behaviour.

Fixed in Master but didn't make it into M2.
Comment 4 Jessica 2011-07-25 08:21:39 UTC
I verified against latest master last night and issue still there as I mentioned in my update
Comment 5 Joshua Lock - Disabled 2011-07-25 08:52:13 UTC
Comment 2 sounds like a by-product of 1263, unless you are saying that deselecting Avahi results in empty image contents?
Comment 6 Joshua Lock - Disabled 2011-07-25 08:52:31 UTC
Sorry, comment invalid. Still to early. Bug reopened.
Comment 8 Jiajun Xu 2011-08-02 22:52:23 UTC
I think for this bug, selecting avahi->acl, then deselect avahi could work now, with commit 46cf540e63a848512617b20fd8492f81bfb2f704.
But I find other issues, like hob hang if I deselect acl first. Will open another bug.