LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   DMESG deleted (https://www.linuxquestions.org/questions/linux-newbie-8/dmesg-deleted-938254/)

zmajgoku 04-05-2012 05:58 AM

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

tnx

jf.argentino 04-05-2012 06:08 AM

Find the package which provides it, then reinstall it

repo 04-05-2012 06:12 AM

Reinstall
Code:

util-linux-ng
Kind regards

zmajgoku 04-05-2012 06:59 AM

Quote:

Originally Posted by jf.argentino (Post 4645322)
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."

Nylex 04-05-2012 07:03 AM

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

Code:

sudo apt-get install util-linux --reinstall

zmajgoku 04-05-2012 07:05 AM

Quote:

Originally Posted by Nylex (Post 4645359)
apt-get has a --reinstall option, so add that:

Code:

sudo apt-get install util-linux --reinstall

tnx m8 this was usefull :)

Nylex 04-05-2012 07:12 AM

No problem, but please avoid the "SMS speak", as per the LQ rules (i.e. please write out words in full).

zmajgoku 04-05-2012 07:44 AM

Quote:

Originally Posted by Nylex (Post 4645367)
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 .


All times are GMT -5. The time now is 11:40 AM.