Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-22-2002, 10:59 PM   #1
Registered: Jan 2002
Distribution: Ubuntu Mate
Posts: 116

Rep: Reputation: 15
how to obtain missing file?

while experimenting with various sound definitions and trying to solve a few problems I realized a file named dsp, which had somehow disappeared, was missing and that this was the cause of my inability to make the audio work.

However, I did not know how to get it back there. The cumbersome solution I finally found was to run the entire installation of my Mandrake 8.1 anew in update mode, so it just fixed things without changing anything else.

But I am almost sure there must be a more legant way to correct such problems. Any idea how?

Old 02-23-2002, 12:42 AM   #2
Registered: Jan 2002
Location: Galveston Island
Distribution: suse, redhat
Posts: 208

Rep: Reputation: 30
man rpm

Pay special attention to the query options. If you know the name of a file and want to know what package it came from, do this:

rpm -q -f <name of file>

This will display the name of the file that originally installed the file. Then you can use rpm to re-install the package. Look at man rpm again and look at the update (-U or -F) options. When you do the full Mandrake update, it does this for all packages that are installed, which is sort of a waste of time, but it does work.
Old 02-23-2002, 04:35 AM   #3
Registered: May 2001
Posts: 29,394
Blog Entries: 55

Rep: Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565Reputation: 3565
"dsp" is a device under /dev, there's a script in /dev called smptin like "MAKEDEV" that can do the dirty work using "mknod" itself. If you want to DIY you'll need the major and minor number from MAKEDEV and read man mknod first.
It should look smptin like "mknod -m 666 /dev/dsp c 14 3".


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to obtain file size skie_knite007 Programming 5 08-08-2005 01:10 PM
Missing File Soulful93 Slackware 1 05-13-2005 02:59 AM
MIssing file xlord Linux - Newbie 4 05-17-2004 09:20 AM
Yum update complains missing file (broken dep), but file can be located. davidas Linux - Software 0 03-27-2004 10:11 PM
missing file xquizit Linux - Newbie 7 04-19-2003 07:41 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration