Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Package name inside which lsblk exist (Read 380 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

Package name inside which lsblk exist

what is the name  of  package inside which  lsblk exist ?

most likely would give more question such for another Linux executables, as for time being,  in difficulty being on "mini" Arch Linux not a real Arch one i.e. MSYS/MingW64 terminal on Windows
Sincere help so invaluable

Re: Package name inside which lsblk exist

Reply #1
Code: [Select]
sudo pacman -Fy lsblk
:: Synchronizing package databases...
 omniverse                                                        542.5 KiB   565 KiB/s 00:01 [#######################################################] 100%
 universe is up to date
 system is up to date
 world                                                             16.1 MiB  26.2 MiB/s 00:01 [#######################################################] 100%
 galaxy is up to date
system/util-linux 2.39.2-1 [installed]
    usr/bin/lsblk
    usr/share/bash-completion/completions/lsblk
galaxy/zfs-utils 2.1.9-1
    etc/zfs/zpool.d/lsblk
    usr/lib/zfs/zfs/zpool.d/lsblk

So the package is util-linux (from the system repository)

artist

Re: Package name inside which lsblk exist

Reply #2
If the package is installed, one can also do
Code: [Select]
$ pacman -Qo lsblk
/usr/bin/lsblk is owned by util-linux 2.39.2-1



Re: Package name inside which lsblk exist

Reply #3
I'm using
Code: [Select]
sudo pacman -Fy && sudo pacman -Syu && sudo pacman -Sc;sync;sudo fstrim -v /
for Updates. So for search "pacman -F lsblk" is enough and needs no "sudo".

With "pacman -Fl util-linux" u can list all.

Re: Package name inside which lsblk exist

Reply #4
I wouldn't recommend using -Sc until after rebooting and checking things still work OK, because that clears the cache of all packages except the currently installed version. If the next boot fails or you have lost network connection you will need to start importing packages on a USB after downloading them elsewhere to downgrade, which can be very time consuming. That's intended for manual use after you have performed manual checks. There are some (very small) AUR packages that work via the pacman hooks feature which clear the cache but leave the currently installed plus previous version, those are designed for automated cache clearance.

Re: Package name inside which lsblk exist

Reply #5
I wouldn't recommend using -Sc until after rebooting and checking things still work OK …
I have Backups (via "rsync -vaxH --link-dest=…") and a 1:1 copy of my Installation on an ext. SSD.

If something goes wrong, I boot the ext. SSD and transfer it back (a simple Script to sync the booted OS to the other: usually in ~20 Seconds.), or restore the nedeed Part from a Backup.

No Problem.

Re: Package name inside which lsblk exist

Reply #6
Oh, that's good, you have a plan B then , in this case B for Backup!  :D