Ticket #1411 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Packagekit reply successful when remove failed

Reported by: tick@… Owned by: thomas@…
Priority: high Milestone:
Component: ASU Version: unspecified
Severity: normal Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

Packagekit ebbbfa191257861bd19bd47ba646dce590b51858 patched to
d1e096c3267c1c9492041382b954e9327bc8bbec
Assassin 131
opkg 4446

In fact there are three issues.

  1. packagekit reply wrong reponses
  2. assassin turned the force flag to 1 but packagekit does not remove diversity-nav
  3. diversity-nav shall not be depended.

Here we focus on the 1 and 2.

DEBUG: (confirm_command.c, 94): do_confirm:
target->package=diversity-nav;0.0.1+svnr373-r4;armv4t;
DEBUG: (gears.c, 50): put_a_mask_on_screen: Put the mask on
DEBUG: (gears.c, 113): alert_set_callback: remove old callback!!
DEBUG: (gears.c, 116): alert_set_callback: adding new callback!
DEBUG: (gears.c, 113): alert_set_callback: remove old callback!!
DEBUG: (gears.c, 116): alert_set_callback: adding new callback!
DEBUG: (confirm_command.c, 44): assassin_confirm_positive: Yes selected!!
DEBUG: (confirm_command.c, 47): assassin_confirm_positive:
target->package=diversity-nav;0.0.1+svnr373-r4;armv4t;
DEBUG: (gears.c, 67): remove_the_mask_on_screen: Take the mask off
DEBUG: (gears.c, 144): new_Progressbar: text = Uninstalling
DEBUG: (gears.c, 50): put_a_mask_on_screen: Put the mask on
DEBUG: (actions.c, 79): action: Do uninstall!
DEBUG: (pkutil.c, 113): pk_get_tid: Get tid /1_beacdabc_data
DEBUG: (pkutil.c, 234): starts_a_new_translation: Trans /1_beacdabc_data proxy
is 0x304300
DEBUG: (pkutil.c, 239): starts_a_new_translation: connecting signal
ProgressChanged? of tran /1_beacdabc_data
DEBUG: (pkutil.c, 239): starts_a_new_translation: connecting signal
StatusChanged? of tran /1_beacdabc_data
DEBUG: (pkutil.c, 239): starts_a_new_translation: connecting signal Finished of
tran /1_beacdabc_data
DEBUG: (pkutil.c, 239): starts_a_new_translation: connecting signal ErrorCode? of
tran /1_beacdabc_data
DEBUG: (pkutil.c, 239): starts_a_new_translation: connecting signal Message of
tran /1_beacdabc_data
DEBUG: (pkutil.c, 239): starts_a_new_translation: connecting signal Details of
tran /1_beacdabc_data
DEBUG: (pkutil.c, 239): starts_a_new_translation: connecting signal Files of
tran /1_beacdabc_data
DEBUG: (pkutil.c, 239): starts_a_new_translation: connecting signal Package of
tran /1_beacdabc_data
DEBUG: (pkutil.c, 239): starts_a_new_translation: connecting signal RepoDetail?
of tran /1_beacdabc_data
DEBUG: (pkutil.c, 239): starts_a_new_translation: connecting signal UpdateDetail?
of tran /1_beacdabc_data
================Tick Dbus Debug====================
n_elements='1'
value_p=0xbe87bbb0,
value[0]=='diversity-nav;0.0.1+svnr373-r4;armv4t;'
DEBUG: (pkutil.c, 413): _pk_uninstall_package: Ret==1
DEBUG: (actions.c, 148): pk_change_status_cb: Status Changed: running
DEBUG: (actions.c, 148): pk_change_status_cb: Status Changed: remove
DEBUG: (gears.c, 235): progressbar_animator_start: Already running
DEBUG: (actions.c, 96): pk_update_progress_cb: get progress cb!!
DEBUG: (actions.c, 110): pk_update_progress_cb: Progress: 101 101 1 0
DEBUG: (actions.c, 112): pk_update_progress_cb: Status is 1
DEBUG: (gears.c, 235): progressbar_animator_start: Already running
DEBUG: (actions.c, 96): pk_update_progress_cb: get progress cb!!
DEBUG: (actions.c, 110): pk_update_progress_cb: Progress: 0 101 363 0
DEBUG: (actions.c, 112): pk_update_progress_cb: Status is 1
DEBUG: (actions.c, 96): pk_update_progress_cb: get progress cb!!
DEBUG: (actions.c, 110): pk_update_progress_cb: Progress: 25 101 392 0
DEBUG: (actions.c, 112): pk_update_progress_cb: Status is 1
DEBUG: (actions.c, 96): pk_update_progress_cb: get progress cb!!
DEBUG: (actions.c, 110): pk_update_progress_cb: Progress: 75 101 396 0
DEBUG: (actions.c, 112): pk_update_progress_cb: Status is 1
DEBUG: (actions.c, 96): pk_update_progress_cb: get progress cb!!
DEBUG: (actions.c, 110): pk_update_progress_cb: Progress: 100 101 4921 0
DEBUG: (actions.c, 112): pk_update_progress_cb: Status is 1
DEBUG: (actions.c, 148): pk_change_status_cb: Status Changed: finished
DEBUG: (actions.c, 276): delayed_fade_out: Transaction '/1_beacdabc_data' is
finished!
DEBUG: (actions.c, 277):
delayed_fade_out: exit_text: success
DEBUG: (actions.c, 278): delayed_fade_out: runtime 5009
DEBUG: (pkutil.c, 189): pk_default_get_finished_cb: exit_text: success
DEBUG: (pkutil.c, 190): pk_default_get_finished_cb: runtime 5009

After removeing from assassin try to remove from opkg

root@om-gta02:/var/lib/opkg#
root@om-gta02:/var/lib/opkg# diversity-
diversity-daemon diversity-nav

root@om-gta02:/var/lib/opkg# opkg remove diversity-nav
loading conf file /etc/opkg.conf
loading conf file /etc/opkg/gta02.conf
Nothing to be done
Collected errors:
Package diversity-nav is depended upon by packages:

task-openmoko-qtopia-x11

These might cease to work if package diversity-nav is removed.

You can force removal of this package with -force-depends.
You can force removal of this package and its dependents
with -force-removal-of-dependent-packages or -recursive
or by setting option force_removal_of_dependent_packages
in opkg.conf.

Change History

comment:1 Changed 5 years ago by thomas@…

  • Status changed from new to closed
  • Resolution set to fixed

libopkg now reports errors from opkg_remove_pkg.

Note: See TracTickets for help on using tickets.