Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308357 - update-mime-database command with x11-misc/shared-mime-info-0.70
Summary: update-mime-database command with x11-misc/shared-mime-info-0.70
Status: RESOLVED DUPLICATE of bug 306089
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-07 18:27 UTC by John Dough
Modified: 2010-03-07 18:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Dough 2010-03-07 18:27:30 UTC
After upgrading to x11-misc/shared-mime-info-0.70 I get the info message

* Messages for package x11-misc/shared-mime-info-0.70:

 *
 * The database format has changed between 0.60 and 0.70.
 * You may need to update all your local databases and caches.
 * To do so, please run the following commands:
 * (for each user) $ update-mime-database ~/.local/share/mime/
 * (as root)       # update-mime-database /usr/local/share/mime/
 *

Yet when I run this command as root I get the error

# update-mime-database /usr/local/share/mime/
Directory '/usr/local/share/mime/packages' does not exist!

It runs fine as a user though

Reproducible: Always

Steps to Reproduce:
1. upgrade to x11-misc/shared-mime-info-0.70:
2. run update-mime-database /usr/local/share/mime/ as root




suggested that the ebuild is corrected to display the correct path as root.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-03-07 18:51:54 UTC

*** This bug has been marked as a duplicate of bug 306089 ***