Ask Your Question
0

Restore file gschema.dtd accidentally overwritten

asked 2013-09-01 02:48:37 -0500

bpbp gravatar image

updated 2014-09-28 21:31:24 -0500

mether gravatar image

Hello! Today I accidentally overwrote /usr/share/glib-2.0/schemas/gschema.dtd.

How can I recover this file? I thought maybe re-installing glib would do it but:

$ sudo yum reinstall glib
Loaded plugins: langpacks, refresh-packagekit
No Match for argument: glib
Package(s) glib available, but not installed.

I assume my system will be okay until I reboot. I'm running Fedora 19.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-09-01 02:59:36 -0500

jamielinux gravatar image

To find out what package owns a file:

# yum provides /usr/share/glib-2.0/schemas/gschema.dtd

Once you've found the package that owns it, reinstall the package:

# yum reinstall glib2-devel
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-09-01 02:48:37 -0500

Seen: 69 times

Last updated: Sep 01 '13