Bug 11245 - opkg remove fails if a package is half installed
Summary: opkg remove fails if a package is half installed
Status: RESOLVED FIXED
Alias: None
Product: opkg
Classification: Yocto Project Subprojects
Component: opkg (show other bugs)
Version: 0.3.4
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 0.3.5
Assignee: Alejandro del Castillo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-03-24 18:31 UTC by Josh Prewitt
Modified: 2017-04-03 17:04 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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