[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Error while trying to install openssh-server on Buster



On Tue, Jul 21, 2020 at 09:48:22PM -0400, rhkramer wrote:
> I get this error when trying to apt-get install openssh-server on my (up to 
> date) Buster system:
> 
> Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit -.mount is 
> masked.
> 
> I tried (based on the reference below):
> 
> root@s32:/# systemctl unmask org.freedesktop.systemd1.UnitMasked
> Unit org.freedesktop.systemd1.UnitMasked.service does not exist, proceeding 
> anyway.

Read the error again.  It's saying that the unit "-.mount" is masked.


unicorn:~$ systemctl status -.mount
systemctl: invalid option -- '.'
Hint: to specify units starting with a dash, use "--":
      systemctl [OPTIONS...] {COMMAND} -- -.mount ...
unicorn:~$ systemctl status -- -.mount
● -.mount - /
   Loaded: loaded (/etc/fstab; generated)
   Active: active (mounted) since Sun 2020-07-19 22:05:16 EDT; 2 days ago
    Where: /
     What: /dev/sda7
     Docs: man:fstab(5)
           man:systemd-fstab-generator(8)


Apparently this unit refers to the root file system.  I have no idea
why it's masked for you, but that's where I'd start looking.


Reply to: