[Repository/Mirror] 能不能更新一下git包的版本
Tofloor
poster avatar
weboob
deepin
2022-07-05 23:50
Author

现在源里的包是git version 2.20.1 ,不支持新的switchrestore命令。官方能给更新一下不。

$ git switch
git:'switch' 不是一个 git 命令。参见 'git --help'。

2.23版本就开始支持了,git官方到 2.37.0了,不想自己编译

Reply Favorite View the author
All Replies
zccrs
deepin
2022-07-05 23:52
#1
Reply View the author
deepin-superuser
deepin
2022-07-06 00:14
#2

debian sid 里目前是 2.36.1-1 版本,晚上回去编译一个传到 better-dde 里,可以关注一下

Reply View the author
weboob
deepin
2022-07-06 00:59
#3
It has been deleted!
weboob
deepin
2022-07-06 01:01
#4
deepin-superuser

debian sid 里目前是 2.36.1-1 版本,晚上回去编译一个传到 better-dde 里,可以关注一下

好的,感谢👍。不是开发版的源能行吗,还是我需要修改?

Reply View the author
deepin-superuser
deepin
2022-07-06 01:09
#5
weboob

好的,感谢👍。不是开发版的源能行吗,还是我需要修改?

理论上没问题 但还是建议先加入内测

#添加内测源到source.list.d
sudo sh -c 'echo "deb [trusted=yes] https://proposed-packages.deepin.com/dde-apricot unstable main contrib non-free" > /etc/apt/sources.list.d/deepin-unstable.list'

#添加better-dde源到source.list.d
wget -q -O - "http://120.132.17.134:3000/better-dde/ppa/raw/branch/master/better-dde.gpg" | sudo apt-key add -
sudo sh -c 'echo "deb http://120.132.17.134:3000/better-dde/ppa/raw/branch/master/ ./" > /etc/apt/sources.list.d/better-dde.list'

#更新
sudo apt update && sudo apt dist-upgrade
Reply View the author
weboob
deepin
2022-07-06 16:59
#6
deepin-superuser

理论上没问题 但还是建议先加入内测

#添加内测源到source.list.d
sudo sh -c 'echo "deb [trusted=yes] https://proposed-packages.deepin.com/dde-apricot unstable main contrib non-free" > /etc/apt/sources.list.d/deepin-unstable.list'

#添加better-dde源到source.list.d
wget -q -O - "http://120.132.17.134:3000/better-dde/ppa/raw/branch/master/better-dde.gpg" | sudo apt-key add -
sudo sh -c 'echo "deb http://120.132.17.134:3000/better-dde/ppa/raw/branch/master/ ./" > /etc/apt/sources.list.d/better-dde.list'

#更新
sudo apt update && sudo apt dist-upgrade

已成功更新,不加内测源更新不到。
自用生产环境,没敢upgrade,直接install的。
再次感谢☺️


坛子的emoji是不是改改,现在的真的感觉很难受joy

Reply View the author
月落星河Tsukistar
deepin
2023-10-13 21:37
#7

我也是碰上git版本古早的问题,所以我直接按着这篇文章根据源代码自己编译和make install了sad

Reply View the author