![Manjaro lsb-release 设置为 Arch(lsb-release:/etc/lsb-release 存在于文件系统中)](https://linux22.com/image/198511/Manjaro%20lsb-release%20%E8%AE%BE%E7%BD%AE%E4%B8%BA%20Arch%EF%BC%88lsb-release%EF%BC%9A%2Fetc%2Flsb-release%20%E5%AD%98%E5%9C%A8%E4%BA%8E%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E4%B8%AD%EF%BC%89.png)
我尝试升级我的软件包pacman -Syu
并收到错误消息。
error: failed to commit transaction (conflicting files)
lsb-release: /etc/lsb-release exists in filesystem (owned by manjaro-release)
Errors occurred, no packages were upgraded.
所以我想我可以尝试备份该/etc/lsb-release
文件(使用另一个名称),这样也许在进行另一次升级后冲突就会得到解决。
虽然现在再次运行pacman -Syu
成功且没有错误,但该/etc/lsb-release
文件包含以下内容:
LSB_VERSION=1.4
DISTRIB_ID=Arch
DISTRIB_RELEASE=rolling
DISTRIB_DESCRIPTION="Arch Linux"
虽然它曾经包含:
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=21.1.6
DISTRIB_CODENAME=Pahvo
DISTRIB_DESCRIPTION="Manjaro Linux"
所以我的系统现在将 Arch 识别为它的发行版,这是不正确的。是否可以逆转此操作以及我做错了什么?