Ask Your Question

Restore file gschema.dtd accidentally overwritten

asked 2013-09-01 07:48:37 +0000

bpbp gravatar image

updated 2014-09-29 02:31:24 +0000

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

answered 2013-09-01 07:59:36 +0000

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

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.


Asked: 2013-09-01 07:48:37 +0000

Seen: 68 times

Last updated: Sep 01 '13