[Feature Requests] Deepin 25无法安装微力同步
Tofloor
poster avatar
johnmy
deepin
2025-10-17 21:34
Author
sudo sh -c "./go-installer.sh"
请输入密码:
验证成功
Downloading from https://www.verysync.com/shell/verysync-linux-installer/verysync-linux-installer-1.4.tar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  180k  100  180k    0     0   161k      0  0:00:01  0:00:01 --:--:--  161k
Extracting installer
Processing ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     8  100     8    0     0      8      0  0:00:01 --:--:--  0:00:01     8
Installing verysync v2.21.3 on x86_64
Downloading verysync.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 15.2M  100 15.2M    0     0   298k      0  0:00:52  0:00:52 --:--:--  359k
Extracting verysync package to /tmp/verysync.
mkdir: 无法创建目录 "/usr/bin/verysync": 只读文件系统
cp: 无法创建普通文件 '/usr/bin/verysync/verysync': 没有那个文件或目录
Failed to copy verysync binary and resources.

提示只读系统,怎么办呢

Reply Favorite View the author
All Replies
johnmy
deepin
2025-10-17 21:35
#1

下载编译好的,无法随系统一起启动。

Reply View the author
johnmy
deepin
2025-10-17 22:13
#2

找到原因了,关闭磐石系统即可。https://bbs.deepin.org.cn/post/286633

Reply View the author
阿刀
deepin
2025-10-17 23:26
#3

可以手动把desktop文件放到 ~/.config/autostart 目录,来启用开机启动

Reply View the author
johnmy
deepin
2025-10-19 10:50
#4

已经安装成功,但托盘中没有图标,怎么解决?谢谢

Reply View the author
麦田守望者灬
deepin
2025-10-22 21:11
#5

哈哈哈,我也是折腾半天,发现是这个磐石的原因无法读写/usr,我关了以后安装上微力同步,然后再打开

磐石,没毛病

Reply View the author
麦田守望者灬
deepin
2025-10-22 21:12
#6
johnmy

已经安装成功,但托盘中没有图标,怎么解决?谢谢

linux系统的微力同步是没有图标的,浏览器访问localhost:8886就可以了

Reply View the author
johnmy
deepin
2025-10-22 21:30
#7

现在是在浏览器中这样操作的,我后来一直打开了磐石。

Reply View the author
ycscg
deepin
2025-10-28 21:48
#8
麦田守望者灬

哈哈哈,我也是折腾半天,发现是这个磐石的原因无法读写/usr,我关了以后安装上微力同步,然后再打开

磐石,没毛病

这就叫搬起石头砸了DEEPIN的脚

Reply View the author
johnmy
deepin
2025-10-29 07:44
#9

是啊,不应该,不然没法折腾了

Reply View the author
Tent
deepin
2025-10-29 11:46
#10

我是直接把程序和service文件从包里扒出来,搞成免安装加用户级服务方式运行了。

图片.png

#!/bin/bash

set -x 

unalias -a

IS_SERVICE="true"

THIS_DIR="$(readlink -f "$(dirname "$0")")"

cd "${THIS_DIR}"

[ -f verysync ] || exit 0

if [ x"true" = x"${IS_SERVICE}" -a -f verysync.service ]; then
    [ -d "${HOME}/.config/systemd/user" ] || mkdir -pv "${HOME}/.config/systemd/user"
    SERVICE_DST_FILE="${HOME}/.config/systemd/user/verysync.service"
    if [ -f "${SERVICE_DST_FILE}" ] && grep -q "ExecStart=${THIS_DIR}/verysync" "${SERVICE_DST_FILE}"; then
        if [ "$(systemctl --user is-active verysync.service)" != "active" ]; then
            systemctl --user daemon-reload
            systemctl --user enable --now verysync.service
        fi
        [ "$(systemctl --user is-active verysync.service)" = "active" ] && xdg-open http://127.0.0.1:8886/
    else
        sed -ri "s|^ExecStart=.*$|ExecStart=${THIS_DIR}/verysync -no-browser -no-restart -logflags=0|" verysync.service
        cp -fv verysync.service ${HOME}/.config/systemd/user/
        systemctl --user daemon-reload
        systemctl --user enable --now verysync.service
        [ "$(systemctl --user is-active verysync.service)" = "active" ] && xdg-open http://127.0.0.1:8886/
    fi
else
    if [ "$(systemctl --user is-active verysync.service)" != "active" ]; then
        "${THIS_DIR}"/verysync -no-browser -no-restart -logflags=0
    else
        xdg-open http://127.0.0.1:8886/
    fi
fi

Reply View the author
johnmy
deepin
2025-10-29 12:18
#11
Tent

我是直接把程序和service文件从包里扒出来,搞成免安装加用户级服务方式运行了。

图片.png

#!/bin/bash

set -x 

unalias -a

IS_SERVICE="true"

THIS_DIR="$(readlink -f "$(dirname "$0")")"

cd "${THIS_DIR}"

[ -f verysync ] || exit 0

if [ x"true" = x"${IS_SERVICE}" -a -f verysync.service ]; then
    [ -d "${HOME}/.config/systemd/user" ] || mkdir -pv "${HOME}/.config/systemd/user"
    SERVICE_DST_FILE="${HOME}/.config/systemd/user/verysync.service"
    if [ -f "${SERVICE_DST_FILE}" ] && grep -q "ExecStart=${THIS_DIR}/verysync" "${SERVICE_DST_FILE}"; then
        if [ "$(systemctl --user is-active verysync.service)" != "active" ]; then
            systemctl --user daemon-reload
            systemctl --user enable --now verysync.service
        fi
        [ "$(systemctl --user is-active verysync.service)" = "active" ] && xdg-open http://127.0.0.1:8886/
    else
        sed -ri "s|^ExecStart=.*$|ExecStart=${THIS_DIR}/verysync -no-browser -no-restart -logflags=0|" verysync.service
        cp -fv verysync.service ${HOME}/.config/systemd/user/
        systemctl --user daemon-reload
        systemctl --user enable --now verysync.service
        [ "$(systemctl --user is-active verysync.service)" = "active" ] && xdg-open http://127.0.0.1:8886/
    fi
else
    if [ "$(systemctl --user is-active verysync.service)" != "active" ]; then
        "${THIS_DIR}"/verysync -no-browser -no-restart -logflags=0
    else
        xdg-open http://127.0.0.1:8886/
    fi
fi

高,

我只把磐石关闭了。

Reply View the author