Ticket #1434 (closed defect: fixed)
packagekit send wrong message when md5 miss match
| 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
pkcon send wrong error message
It's md5 miss match.
root@om-gta02:~# opkg install assassin
loading conf file /etc/opkg.conf
loading conf file /etc/opkg/gta02.conf
Upgrading assassin on root from 0.2+svnr141-r5.01 to 0.2+svnr142-r5.01...
Downloading
http://192.168.0.200/build/deploy/glibc/ipk/armv4t//assassin_0.2+svnr142-r5.01_armv4t.ipk
Nothing to be done
Collected errors:
Package assassin md5sum mismatch. Either the opkg or the package index are
corrupt. Try 'opkg update'.
root@om-gta02:~# pkcon install 'assassin;;;'
installing assassin [ == ]
Error: package-already-installed :
[===============]
install-packages runtime was 0.3 seconds
root@om-gta02:~#
Attachments
Change History
comment:1 Changed 5 years ago by thomas@…
- Status changed from new to closed
- Resolution set to invalid
comment:2 Changed 5 years ago by tick@…
If I tried to call pkcon update.
It is still buggy. (should have error message)
root@om-gta02:~# pkcon update 'assassin;0.2+svnr141-r5.01;armv4t;oe-armv4t'
installing assassin-0.2+svnr141-r5.01 [===============] (100%)
update-package runtime was 0.4 seconds
root@om-gta02:~# opkg install assassin
loading conf file /etc/opkg.conf
loading conf file /etc/opkg/gta02.conf
Upgrading assassin on root from 0.2+svnr141-r5.01 to 0.2+svnr142-r5.01...
Downloading
http://192.168.0.200/build/deploy/glibc/ipk/armv4t//assassin_0.2+svnr142-r5.01_armv4t.ipk
Nothing to be done
Collected errors:
Package assassin md5sum mismatch. Either the opkg or the package index are
corrupt. Try 'opkg update'.
root@om-gta02:~#
Changed 5 years ago by thomas@…
- Attachment improve-install-update-error-handling added
Improve the error handling for update and install functions, with new opkg.

assassin was already installed. "opkg-cl install" will upgrade if available, but
pkcon will not upgrade when given the install command.