-
Star
(161)
You must be signed in to star a gist -
Fork
(73)
You must be signed in to fork a gist
-
-
Save nakamuraos/717eb99b5e145ed11cd754ad3714b302 to your computer and use it in GitHub Desktop.
./reset-trial-navicat.sh: 行 43: dconf: 未找到命令
@MIchale-GPT It seems that dconf is not installed on your system. You can install it using the command:
sudo apt install dconf-cli
It works but it doesn't in 17.3.2. I am using Ubuntu 22.04.
@i-oc Can you show me a screenshot after running this script?


It works but it doesn't in 17.3.2. I am using Ubuntu 22.04.
@i-oc Can you show me a screenshot after running this script?
![]()
@i-oc I've run this script on Navicat 17.3.2 and Ubuntu 22.04, and it still works. Did you completely exit Navicat before running this script? Can you check that the output of ps aux | grep navicat
does not include any Navicat process?
It works but it doesn't in 17.3.2. I am using Ubuntu 22.04.
@i-oc Can you show me a screenshot after running this script?
![]()
@i-oc I've run this script on Navicat 17.3.2 and Ubuntu 22.04, and it still works. Did you completely exit Navicat before running this script? Can you check that the output of
ps aux | grep navicat
does not include any Navicat process?
I’m not sure why it isn’t working on your computer. How did you install and run Navicat?
Sorry,I think I found the reason.Since the lite version has not been deleted and is in the same directory, you can reset it by deleting and reinstalling it.
is there any way to "hide" the trial reminder?
┌──────────────────────────────────────┐
│ !!! WARNING !!! │
├──────────────────────────────────────┤
│ ALL DATA can be destroyed. │
│ Always BACKUP before continuing. │
└──────────────────────────────────────┘
Report issues:
Reset trial Navicat Premium:
Are you sure? (y/N) y
Starting reset...
=> Creating a backup...
The user dconf backup was created at /home/michale/.config/dconf/user.20250923_094844.bk
cp: 对 '/home/michale/.config/navicat/Premium/preferences.json' 调用 stat 失败: 没有那个文件或目录
The Navicat preferences backup was created at /home/michale/.config/navicat/Premium/preferences.json.20250923_094844.bk
=> Resetting...
./reset-trial-navicat.sh: 行 43: dconf: 未找到命令
The user dconf data was reset
sed:无法读取 /home/michale/.config/navicat/Premium/preferences.json:没有那个文件或目录
The Navicat preferences was reset
Done.