Bug 13760

Summary: [libsolv] a state where a package has the status: install ok not-installed should never have the field "Auto-Installed: yes"
Product: [Yocto Project Subprojects] opkg Reporter: John Robertson <jd.robertson>
Component: opkgAssignee: Alejandro del Castillo <alejandro.delcastillo>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided    
Version: 0.4.2   
Target Milestone: ---   
Hardware: Other   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description John Robertson 2020-01-29 20:00:47 UTC
a state where a package has the status: install ok not-installed should never have the field "Auto-Installed: yes". The result is that the package in that state will prevent any operation from succeeding, as the solver will fail (libsolv backend).

It's not completely clear how to get the system into this state. This is happening intermittently on hardware running as part of an automated test suite. Live changes are being pushed to the feeds the targets are referencing. This includes renaming some packages. It seems that devices with a package installed under the old name would update to the latest version of the feed, see that packages now depended on the new package name, and try to fix it, resulting in a package in the state described above.
Comment 1 Alejandro del Castillo 2020-02-06 21:32:54 UTC
Issue only happens on libsolv backend
Comment 2 Alejandro del Castillo 2020-02-10 16:50:31 UTC
fixed on c23fab68e57d3dc6632c1699d662c23a83ce7214