唉,磐石又在背锅
😥
唉,磐石又在背锅
😥
"无法获得锁”的原因是apt-get在安装软件包的时候,同一时间只能有一个对应进程在进行安装或卸载操作,如果已经处于安装或卸载中,再执行apt等命令就会这样提示,这是上游的一套机制。避免多个进程同时安装应用导致系统状态异常的问题。
apt安装或卸载存在lock问题时,一般会默认等待上一操作完成,之后自动继续当前操作。或者您等待一段时间后重新执行当前进程。
如果您等不及,也可以查看持有这个lock文件的进程,看是否是重要进程,不重要可以用kill命令干掉它,然后再执行您的安装命令。
至于系统的设置不存在的问题,可能是您某次操作中误卸载了dde-control-center,可以自行安装回去
"无法获得锁”的原因是apt-get在安装软件包的时候,同一时间只能有一个对应进程在进行安装或卸载操作,如果已经处于安装或卸载中,再执行apt等命令就会这样提示,这是上游的一套机制。避免多个进程同时安装应用导致系统状态异常的问题。
apt安装或卸载存在lock问题时,一般会默认等待上一操作完成,之后自动继续当前操作。或者您等待一段时间后重新执行当前进程。
如果您等不及,也可以查看持有这个lock文件的进程,看是否是重要进程,不重要可以用kill命令干掉它,然后再执行您的安装命令。
至于系统的设置不存在的问题,可能是您某次操作中误卸载了dde-control-center,可以自行安装回去
后来整个系统崩了,重新安装的,不关磐石将就用了,盼望官方完善吧,尽量安装appimage 版本了
马上beta版本了,体验上会好很多,可以继续尝试一下
马上beta版本了,体验上会好很多,可以继续尝试一下
我看有些人直接更新已经是beta了,盼望越来越好
一样!现在25系统自带的设置已经没有了,怎么搞!
原本的配置:
cat /etc/apt/sources.list.bak
## Generated by deepin-installer
#deb https://community-packages.deepin.com/beige/ beige main commercial community
#deb-src https://community-packages.deepin.com/beige/ beige main commercial community
deb https://ci.deepin.com/repo/deepin/deepin-community/testing/ unstable main dde community commercial
deb https://ci.deepin.com/repo/deepin/deepin-community/testing/ unstable/25 main community commercial
deb [trusted=yes] https://ci.deepin.com/repo/obs/deepin:/Develop:/community/deepin_develop/ /
deb [trusted=yes] https://ci.deepin.com/repo/obs/deepin:/Develop:/dde/deepin_develop/ /
deb [trusted=yes] https://ci.deepin.com/repo/obs/deepin:/Develop:/main/standard/ /
deb [trusted=yes] https://ci.deepin.com/repo/obs/deepin:/GPL:/Rust/standard/ /
cat /etc/apt/sources.list
## Generated by deepin-installer
#deb https://mirrors.hust.edu.cn/deepin/beige/ beige main commercial community
#deb-src https://mirrors.hust.edu.cn/deepin/beige/ beige main commercial community
deb https://ci.deepin.com/repo/deepin/deepin-community/testing/ unstable main dde community commercial
deb https://ci.deepin.com/repo/deepin/deepin-community/testing/ unstable/25 main community commercial
deb [trusted=yes] https://ci.deepin.com/repo/deepin/deepin-community/stable/dists/beige/25/ ./
deb [trusted=yes] https://ci.deepin.com/repo/deepin/deepin-community/stable/dists/beige/ ./
执行:
sudo apt update && sudo apt full-upgrade
提示有软件包需卸载,按提示执行:
sudo apt autoremove
然后设置都没有了!
安装:
sudo apt install dde-control-center
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:
下列软件包有未满足的依赖关系:
dde-control-center : 依赖: libdareader1 但无法安装它
依赖: libqt6multimedia6 (>= 6.8.0) 但是它将不会被安装
依赖: netselect 但无法安装它
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
一样!现在25系统自带的设置已经没有了,怎么搞!
原本的配置:
cat /etc/apt/sources.list.bak
## Generated by deepin-installer
#deb https://community-packages.deepin.com/beige/ beige main commercial community
#deb-src https://community-packages.deepin.com/beige/ beige main commercial community
deb https://ci.deepin.com/repo/deepin/deepin-community/testing/ unstable main dde community commercial
deb https://ci.deepin.com/repo/deepin/deepin-community/testing/ unstable/25 main community commercial
deb [trusted=yes] https://ci.deepin.com/repo/obs/deepin:/Develop:/community/deepin_develop/ /
deb [trusted=yes] https://ci.deepin.com/repo/obs/deepin:/Develop:/dde/deepin_develop/ /
deb [trusted=yes] https://ci.deepin.com/repo/obs/deepin:/Develop:/main/standard/ /
deb [trusted=yes] https://ci.deepin.com/repo/obs/deepin:/GPL:/Rust/standard/ /
cat /etc/apt/sources.list
## Generated by deepin-installer
#deb https://mirrors.hust.edu.cn/deepin/beige/ beige main commercial community
#deb-src https://mirrors.hust.edu.cn/deepin/beige/ beige main commercial community
deb https://ci.deepin.com/repo/deepin/deepin-community/testing/ unstable main dde community commercial
deb https://ci.deepin.com/repo/deepin/deepin-community/testing/ unstable/25 main community commercial
deb [trusted=yes] https://ci.deepin.com/repo/deepin/deepin-community/stable/dists/beige/25/ ./
deb [trusted=yes] https://ci.deepin.com/repo/deepin/deepin-community/stable/dists/beige/ ./
执行:
sudo apt update && sudo apt full-upgrade
提示有软件包需卸载,按提示执行:
sudo apt autoremove
然后设置都没有了!
安装:
sudo apt install dde-control-center
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:
下列软件包有未满足的依赖关系:
dde-control-center : 依赖: libdareader1 但无法安装它
依赖: libqt6multimedia6 (>= 6.8.0) 但是它将不会被安装
依赖: netselect 但无法安装它
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
你重启看看是不是整个系统都崩了,要是的话只能重新安装了
继续问为什么 netselect 等包安装失败。
sudo apt install netselect
sudo apt install libdareader1
sudo apt install libqt6multimedia6
可能是软件源出了问题。
Popular Events
More
终端打开达芬奇19提示/opt/resolve/bin/resolve
/opt/resolve/bin/resolve: symbol lookup error: /lib/x86_64-linux-gnu/libpango-1.0.so.0: undefined symbol: g_once_init_leave_pointer
只能选择卸载
sudo apt remove --purge libpango-1.0-0
但是重新安装却提示
E: 无法获得锁 /var/lib/apt/lists/lock。锁正由进程 22864(apt-get.real)持有
N: 请注意,直接移除锁文件不一定是合适的解决方案,且可能损坏您的系统。
E: 无法对目录 /var/lib/apt/lists/ 加锁
这就是说卸载后装不回去了,这种逻辑谁想出来的,这不导致很多软件不能使用,我们本来软件就少,这还人为加门槛吗
现在25系统自带的设置已经没有了,这怎么搞啊,这磐石TMD忍不住爆粗口