Manjaro lsb-release 设置为 Arch(lsb-release:/etc/lsb-release 存在于文件系统中)

Manjaro lsb-release 设置为 Arch(lsb-release:/etc/lsb-release 存在于文件系统中)

我尝试升级我的软件包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 识别为它的发行版,这是不正确的。是否可以逆转此操作以及我做错了什么?

相关内容