System Update froze - UbuntuMATE 16-04

Bret Busby bret.busby at gmail.com
Thu Jun 21 19:49:34 UTC 2018


On 22/06/2018, Sarunas Burdulis <sarunas at math.dartmouth.edu> wrote:
> On 2018-06-21 15:18, Bret Busby wrote:
>> On 22/06/2018, Sarunas Burdulis <sarunas at math.dartmouth.edu> wrote:
>>> On 2018-06-21 13:41, Bret Busby wrote:
>>>> On 22/06/2018, Sarunas Burdulis <sarunas at math.dartmouth.edu> wrote:
>>>
>>>>> ... If you're not sure what
>>>>> sdb is, you can search dmesg messages for clues. For example
>>>>>
>>>>> dmesg | grep -A8 usb
>>>>>
>>>>> might show new USB device being initialized and then turned into sdb.
>>>
>>> ...
>>>
>>>> root at bret-Inspiron-580-UbuntuMATE:/home/bret# dmesg | grep -A8 usb
>>>> root at bret-Inspiron-580-UbuntuMATE:/home/bret# dmesg | grep usb
>>>> root at bret-Inspiron-580-UbuntuMATE:/home/bret#
>>>
>>> You can grep /var/log/dmesg* similarly. Use zgrep for dmesg.N.gz ones.
>>>
>>>
>>
>> "
>> root at bret-Inspiron-580-UbuntuMATE:/home/bret# grep -A8  usb
>> /var/log/dmesg*
>> root at bret-Inspiron-580-UbuntuMATE:/home/bret# man grep
>> root at bret-Inspiron-580-UbuntuMATE:/home/bret# grep -A8  usb
>> /var/log/dmesg*
>> root at bret-Inspiron-580-UbuntuMATE:/home/bret#
>> "
>
> zgrep -A8 -i usb /var/log/dmesg*
>

"
root at bret-Inspiron-580-UbuntuMATE:/home/bret# grep -A8  usb /var/log/dmesg*
root at bret-Inspiron-580-UbuntuMATE:/home/bret# man grep
root at bret-Inspiron-580-UbuntuMATE:/home/bret# grep -A8  usb /var/log/dmesg*
root at bret-Inspiron-580-UbuntuMATE:/home/bret# zgrep -A8 -i usb /var/log/dmesg*
root at bret-Inspiron-580-UbuntuMATE:/home/bret# grep -A8 -i usb /var/log/dmesg*
root at bret-Inspiron-580-UbuntuMATE:/home/bret#
"

>> I can not determine what dmesg.N.gz files exist, as I apparently have
>> no file management tools.
>
> “File management”:
> ls -l /var/log/dmesg*
>

Sorry - as caja is not working, when it was not working before it
revived, df -h did not work, and so I had assumed that ls would also
not work.

"
bret at bret-Inspiron-580-UbuntuMATE:~$ ls -l /var/log/dmesg*
-rw-r----- 1 root adm 31 Oct 22  2015 /var/log/dmesg
bret at bret-Inspiron-580-UbuntuMATE:~$
"

So, only the one file appears to exist, and, that appears to not
return any lines sought by the zgrep  or grep command.



-- 
Bret Busby
Armadale
West Australia
..............

"So once you do know what the question actually is,
 you'll know what the answer means."
- Deep Thought,
 Chapter 28 of Book 1 of
 "The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts",
 written by Douglas Adams,
 published by Pan Books, 1992

....................................................



More information about the ubuntu-users mailing list