Opened 4 years ago

#16460 new defect

opkg: cached md5 hash used for manual installs

Reported by: jernej@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: Cc:


opkg incorrectly uses a cached md5 hash (from the Packages file refreshed during an opkg update) even when one manually installs a package through the CLI by specifying a filename/URL instead of a package name. This can cause opkg to complain about an incorrect checksum:

# opkg install
Installing kmod-pktgen (3.10.36-1) to root...
Collected errors:
 * opkg_install_pkg: Package kmod-pktgen md5sum mismatch. Either the opkg or the package indexare corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package kmod-pktgen.

A workaround is to manually clear or update the packages cache.

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.