Bug 11245

Summary: opkg remove fails if a package is half installed
Product: [Yocto Project Subprojects] opkg Reporter: Josh Prewitt <joshua.prewitt>
Component: opkgAssignee: Alejandro del Castillo <alejandro.delcastillo>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided    
Version: 0.3.4   
Target Milestone: 0.3.5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Josh Prewitt 2017-03-24 18:31:30 UTC
I installed a package that tried to overwrite a previously installed file, which correctly failed and was listed as half-installed.  

The problem is that when I try to remove the package I get the following error.

 * pkg_run_script: Internal error: thermal-daq-skyline has a NULL tmp_unpack_dir.
 * opkg_remove_pkg: not removing package "thermal-daq-skyline", prerm script failed
Comment 1 Alejandro del Castillo 2017-04-03 17:04:39 UTC
fixed on 60f2b5f6ba57a520fe6e4ad713acef88632980b3