Linux - mkfs.btrfs: command not found
Hello,
I am not able to execute format on btrfs filesystem on linux ubuntu:
rumburak @ ubuntu: ~ $
sudo: mkfs-btrfs: command not found
rumburak @ ubuntu: ~ $
Reading package lists ...
Building dependency tree
Reading state information ... Done
E: Unable to locate package mkfs.btrfs
rumburak @ ubuntu: ~ $
Reading package lists ...
Building dependency tree
Reading state information ...
Package btrfs-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'btrfs-tools' has no installation candidate
Can anyone advise how to get brtfs there without adding questionable repositories? Thanks
Hello,
To resolve error "mkfs.btrfs: command not found", install the btrfs-progs package:
rumburak@ubuntu:~$
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
duperemove
The following NEW packages will be installed:
btrfs-progs
0 upgraded, 1 newly installed, 0 to remove and 467 not upgraded.
Need to get 654 kB of archives.
After this operation, 4 112 kB of additional disk space will be used.
I am not able to execute format on btrfs filesystem on linux ubuntu:
rumburak @ ubuntu: ~ $
sudo mkfs.btrfs
sudo: mkfs-btrfs: command not found
rumburak @ ubuntu: ~ $
sudo apt install mkfs.btrfs
Reading package lists ...
Building dependency tree
Reading state information ... Done
E: Unable to locate package mkfs.btrfs
rumburak @ ubuntu: ~ $
sudo apt install btrfs-tools
Reading package lists ...
Building dependency tree
Reading state information ...
Package btrfs-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'btrfs-tools' has no installation candidate
Can anyone advise how to get brtfs there without adding questionable repositories? Thanks
REPLY
Hello,
To resolve error "mkfs.btrfs: command not found", install the btrfs-progs package:
rumburak@ubuntu:~$
sudo apt install btrfs-progs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
duperemove
The following NEW packages will be installed:
btrfs-progs
0 upgraded, 1 newly installed, 0 to remove and 467 not upgraded.
Need to get 654 kB of archives.
After this operation, 4 112 kB of additional disk space will be used.