Ticket #1667 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

[Installer]Uninstall maps does not work

Reported by: will Owned by: tick
Priority: highest Milestone: Om2008.8
Component: Installer Version:
Severity: critical Keywords: must have
Cc: testing@…, olv@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

Uninstall for maps not working?

Tried:
1) Installing Taipei
2) launch and verify in splinter
3) back to installer, uninstall Taipei map
4) close / re-open splinter
5) Taipei maps still loads

Am I missing something?

Change History

comment:1 Changed 11 years ago by will

Could it be that I am connected to the internet, and it is downloading?
Although even after I dis-connect, I can still see the taipei map.
Is it cached?


comment:2 Changed 11 years ago by tick

  • Status changed from new to accepted
  • Owner changed from tick@… to tick

It's a bug. Thanks you

remove in libopkg does not remove files ~_~, but opkg-cl works well
I am going to figure it out

comment:3 Changed 11 years ago by tick

  • Priority changed from high to highest

comment:4 Changed 11 years ago by tick

installing packagekit then remove it quickly, and using the same packagekitd may suffer from the massed up metadata:

opkg-NOTICE: Downloading http://downloads.openmoko.org/community-repository/comic-book-cc-right_0.1_all.ipk
[New LWP 1997]
opkg-NOTICE: Installing comic_book_cc-comic (0.1) to root...
[LWP 1997 exited]
opkg-NOTICE: Removing package comic_book_cc-comic from root...
opkg-NOTICE: [TICK DEBUG opkg_remove.c 305]remove_data_files_and_list comic_book_cc-comic
opkg-NOTICE: [TICK debug opkg_remove.c 356] file_name = /
opkg-NOTICE: [TICK debug opkg_remove.c 356] file_name = /usr/
opkg-NOTICE: [TICK debug opkg_remove.c 356] file_name = /usr/share/
opkg-NOTICE: [TICK debug opkg_remove.c 356] file_name = /usr/share/comic_reader/
opkg-NOTICE: [TICK debug opkg_remove.c 356] file_name = /usr/share/comic_reader/comic/
[New LWP 1990]

actually it should be like the following:
root@om-gta02:/usr/lib/opkg/info# opkg remove comic_book_cc-comic
Removing package comic_book_cc-comic from root...
[TICK DEBUG opkg_remove.c 305]remove_data_files_and_list comic_book_cc-comic
[TICK debug opkg_remove.c 356] file_name = /usr/share/comic_reader/comic/cc-comic.eet

deleting /usr/share/comic_reader/comic/cc-comic.eet (noaction=0)

comment:5 Changed 11 years ago by tick

  • Status changed from accepted to in_testing

The real cause is the reference count is unbalanced, and so that the metadata is not updated.
This had been solved after opkg 4558

comment:6 Changed 11 years ago by wendy_hung

  • Status changed from in_testing to assigned
  • Summary changed from Uninstall maps does not work to [Installer]Uninstall maps does not work

Tested with the image below:

kernel:20080723-asu.stable-uImage.bin
root file system:20080729-asu.stable-rootfs.jffs2

the problem still there, please check if it's in the stable build image, thank you la!

comment:7 Changed 11 years ago by tick

  • Status changed from assigned to in_testing

comment:8 Changed 11 years ago by regina_kim

  • Severity changed from major to critical

comment:9 Changed 11 years ago by wendy_hung

Tested with the image below:

kernel:20080807-asu.stable-uImage.bin
root file system:20080807-asu.stable-rootfs.jffs2

Can't connect neo to network, won't test that now will keep an eye on this.

comment:10 Changed 11 years ago by wendy_hung

will be my setting's problem, test that later

comment:11 Changed 11 years ago by wendy_hung

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

Tested with the image below:

kernel:20080808-asu.stable-uImage.bin
root file system:20080807-asu.stable-rootfs.jffs2\

Once it uninstall, the Taipei map is not there.

Note: See TracTickets for help on using tickets.