LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-22-2002, 09:59 PM   #1
okok
Member
 
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?

Thanks.
 
Old 02-22-2002, 11:42 PM   #2
Malicious
Member
 
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, 03:35 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
"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".
 
  


Reply



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 12:10 PM
Missing File Soulful93 Slackware 1 05-13-2005 01:59 AM
MIssing file xlord Linux - Newbie 4 05-17-2004 08:20 AM
Yum update complains missing file (broken dep), but file can be located. davidas Linux - Software 0 03-27-2004 09:11 PM
missing file xquizit Linux - Newbie 7 04-19-2003 06:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:50 AM.

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