Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Thursday, 7 January 2021

GPG error: in Ubuntu Linux

You may face the following GPG error whenever you try to update the repository using apt update or apt-get update command

 


 

It could be fix the broken GPG signature validation for apt using rebuild the trust db.

Follow the steps to rebuild the trust db,

Remove or move trustdb.gpg, trusted.gpg.d (files and folder)

# rm -rf  /etc/apt/trusted.gpg*

Then update the key using the following command

# apt-key  update

Finally try to update the repository

# apt-get update

Still if you are facing the problem, you may refer the below link

https://gist.github.com/piersharding/ffc505564a82daaf6ff33d951f568dad


 
 
 
 

Friday, 18 May 2018

Format USB Drive in Linux


Insert usb drive into your laptop or machine and follow the steps to format

Step1  : Identify the usb drive

manivel ~ # df -h

Step2 : umount the usb drive

manivel ~ # umount /dev/sdb

Step3: Recheck the usb drive whether umount or not

manivel ~ # df -h | grep /dev/sdb

Step4: Format the usb drive with vfat filesystem

manivel ~ # mkfs.vfat -n "LAB-9" -I /dev/sdb

-n ----> Volume name
-I ---> device type

In this way you can format the usb drive with different file system methods.

Step5:  Mount the usb drive


manivel ~ # mount /dev/sdb /mnt/manivel_pendrive/


This is the image overall steps covered.