You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I uninstalled a deb package version of lnav: aptitude remote lnav --purge, to replace it with the lnav 0.10.1 version from snap. sudo snap install lnav.
If I ran snap from the command line I got a long list of file access errors:
I assumed the config files were left from the deb package with the wrong permissions. So I deleted the $HOME/.config/lnav/ directory, and then: sudo snap remove lnav --purge and then reinstalled the snap.
I tried again, . This time the files were missing.
lnav
error:unable to write default config file: /home/<me>/.config/lnav/configs/default/root-config.json.sample -- No such file or directory
error:unable to write default config file: /home/<me>/.config/lnav/configs/default/de-keymap.json.sample -- No such file or directory
error:unable to write default config file: /home/<me>/.config/lnav/configs/default/default-keymap.json.sample -- No such file or directory
error:unable to write default config file: /home/<me>/.config/lnav/configs/default/fr-keymap.json.sample -- No such file or directory
[...]
error:unable to write default format file: /home/<me>/.config/lnav/formats/default/access_log.json.sample -- No such file or directory
error:unable to write default format file: /home/<me>/.config/lnav/formats/default/alb_log.json.sample -- No such file or directory
error:unable to write default format file: /home/<me>/.config/lnav/formats/default/autodeploy_log.json.sample -- No such file or directory
From the manual, I tried:
lnav -i extra
error:unable to write default config file: /home/<me>/.config/lnav/configs/default/root-config.json.sample -- No such file or directory
error:unable to write default config file: /home/<me>/.config/lnav/configs/default/de-keymap.json.sample -- No such file or directory
error:unable to write default config file: /home/<me>/.config/lnav/configs/default/default-keymap.json.sample -- No such file or directory
[...]
error:unable to write default config file: /home/<me>/.config/lnav/configs/default/solarized-light.json.sample -- No such file or directory
Cloning lnav remote config repo...
fatal: could not create leading directories of '/home/<me>/.config/lnav/remote-config': Permission denied
Unable to open remote-config.json: No such file or directory
I may be doing something wrong, I thought I cleaned up ok.
It looks like the config directories in my HOME directory aren't being set up properly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I uninstalled a deb package version of lnav:
aptitude remote lnav --purge
, to replace it with thelnav 0.10.1
version from snap.sudo snap install lnav
.If I ran snap from the command line I got a long list of file access errors:
I assumed the config files were left from the deb package with the wrong permissions. So I deleted the
$HOME/.config/lnav/
directory, and then:sudo snap remove lnav --purge
and then reinstalled the snap.I tried again, . This time the files were missing.
From the manual, I tried:
I may be doing something wrong, I thought I cleaned up ok.
It looks like the config directories in my HOME directory aren't being set up properly.
Beta Was this translation helpful? Give feedback.
All reactions