LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-05-2012, 06:58 AM   #1
zmajgoku
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Rep: Reputation: Disabled
DMESG deleted


hi all, i accidentally deleted dmesg from my Ubuntu. how can i return it.

tnx
 
Old 04-05-2012, 07:08 AM   #2
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
Find the package which provides it, then reinstall it
 
Old 04-05-2012, 07:12 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Reinstall
Code:
util-linux-ng
Kind regards
 
Old 04-05-2012, 07:59 AM   #4
zmajgoku
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jf.argentino View Post
Find the package which provides it, then reinstall it
i already do that, but i still get the same message :
" The program 'dmesg' is currently not installed. You can install it by typing:
sudo apt-get install util-linux"

when i try to istall util-linux package i got this message :

"util-linux is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded."
 
Old 04-05-2012, 08:03 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
apt-get has a --reinstall option, so add that:

Code:
sudo apt-get install util-linux --reinstall
 
1 members found this post helpful.
Old 04-05-2012, 08:05 AM   #6
zmajgoku
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Nylex View Post
apt-get has a --reinstall option, so add that:

Code:
sudo apt-get install util-linux --reinstall
tnx m8 this was usefull
 
Old 04-05-2012, 08:12 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
No problem, but please avoid the "SMS speak", as per the LQ rules (i.e. please write out words in full).
 
Old 04-05-2012, 08:44 AM   #8
zmajgoku
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Nylex View Post
No problem, but please avoid the "SMS speak", as per the LQ rules (i.e. please write out words in full).
no problem mate, i'll do that in the further posting. thanks again for help .
 
  


Reply


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
Difference between ouput of dmesg and content of /var/log/dmesg Sayan Acharjee Linux - General 1 09-21-2011 11:42 AM
dmesg vs /var/log/dmesg drManhattan Linux - Newbie 2 08-07-2011 06:28 AM
[SOLVED] Deleted 'dmesg' by mistake.... honeybadger Slackware 7 05-31-2011 03:18 AM
dmesg (command) and /var/log/dmesg are different? Oxagast Linux - Software 2 07-10-2006 06:50 AM
/bin/dmesg > /dmesg-boot not Working in Knoppix 3.4 suguru Debian 2 07-04-2004 06:21 PM


All times are GMT -5. The time now is 09:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration