Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265663 - media-sound/mpd-0.14.2 needs a database update warning on pkg_postinst
Summary: media-sound/mpd-0.14.2 needs a database update warning on pkg_postinst
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-10 15:24 UTC by Olliver Schinagl
Modified: 2009-05-20 16:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
add warnings to ebuild when upgrading mpd. (mpd-0.14.2-r1.ebuild.diff,1.14 KB, patch)
2009-04-10 15:33 UTC, Olliver Schinagl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olliver Schinagl 2009-04-10 15:24:55 UTC
When updating from 0.13 -> 0.14 of mpd the internal database format seems to have changed (db_file "/var/lib/mpd/database").

Previous versions of mpd stored the metadata in some format, however when updating to 0.14.2 this older format is only being used in some form of backwards compatibility. This has as a side effect, that metadata is no longer stored in the database and thus is no longer displayed. Submitting an update command to mpd will update the database, but only using this older format. The user has to stop mpd (and probably remove db_file) and run mpd --create-db to create a database based on the new format.


Reproducible: Always

Steps to Reproduce:
Comment 1 Olliver Schinagl 2009-04-10 15:33:07 UTC
Created attachment 187892 [details, diff]
add warnings to ebuild when upgrading mpd.

Add some information to inform the user to update his database format if he wants metadata like artist, title etc to work properly again.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-05-20 16:23:33 UTC
+  20 May 2009; Samuli Suominen <ssuominen@gentoo.org> mpd-0.14.2.ebuild:
+  Database update warning by Oliver Schinagl wrt #265663.