You are not logged in.
I try to update the system using pacman, but I get an error when committing. I have never compiled and installed xorg-server manually.
Looking forward to any suggestions, thanks.
Packages (3) 11bmwau-0.3.21-2 xorg-server-21.1.3-6 xorg-server-common-21.1.3-6
Total Installed Size:
10.93 MIB
Net Upgrade Size:
-55.96 MIB
:: Proceed with installation? [Y/n] y
(3/3) checking keys in keyring
(3/3) checking package integrity
100%
100Z
(3/3) loading package files
(3/3) checking for file conflicts
100%
error:failed to commit transaction (conflicting files)
100%
xorg-server-common: /usr/lib/xorg/protocol.txt exists in filesystem
xorg-server-common:/usr/share/licenses/xorg-server-common/COPYING exists in filesystem
xorg-server-common:/usr/share/man/man1/Xserver.1.gz exists in filesystem
xorg-sarver-common: /var/14b/xkb/READNE.cOmpl1ed exlsts In filesustem
xorg-server: /usr/bin/X exists in fllesystem
xorg-server: /usr/bin/Xorg exists in filesystem
xorg-server:/usr/bin/gtf exists in filesystem
xorg-server: /usr/lib/Xorg exists in filesystem
xorg-server: /usr/lib/Xorg,wrap exists in fllesystem
xorg-server:/usr/lib/xorg/modules/drivers/modesetting_drv.so exists in filesystem
xorg-server:/usr/lib/xorg/modules/extensions/libglx.so exists in filesystem
xorg-server:/usr/lib/xorg/modules/input/inputtest_drv.so exists in filesystem
xorg-server: /usr/lib/xorg/modules/libexa.so exists in filesystem
xorg-server:/usr/lib/xorg/modules/libfbdevhw.so exists in filesystem
xorg-server:/usr/lib/xorg/modules/libglamoregl.so exists in fllesystem
xorg-server:/usr/lib/xorg/modules/libint10.so exists in filesystem
xorg-server:/usr/lib/xorg/modules/libshadow.so exists in filesystem
xorg-server:/usr/lib/xorg/modules/libshadowfb.so exists in filesystem
xorg-server:/usr/lib/xorg/modules/libvgahw.so exists in filesystem
xorg-server:/usr/lib/xorg/modules/libwfb.so exists in filesystem
xorg-server:/usr/share/X11/xorg.conf.d/10-quirks.conf exists in filesystem
xorg-server:/usr/share/licenses/xorg-server/COPYING exists in filesystem
xorg-server: /usr/share/man/man1/Xorg.1.gz exists in filesystem
xorg-server:/usr/share/man/man1/Xorg.wrap.1.gz exists in filesystem
xorg-server:/usr/share/man/man1/gtf.1.gz exists in filesystem
xorg-server:/usr/share/man/man4/exa.4.gz exists in filesystem
xorg-server:/usr/share/man/man4/fbdevhw.4.gz exists in filesystem
xorg-server:/usr/share/man/man4/inputtestdrv.4.gz exists in filesystem
xorg-server:/usr/share/man/man4/modesetting.4.gz exists in filesystem
xorg-server:/usr/share/man/man5/Xurapper.config.5.gz exists in filesystem
xorg-server:/usr/share/man/man5/xorg.conf.5.gz exists in filesystem
xorg-server:/usr/share/man/man5/xorg.conf.d.5.gz exists in filesystem
Errors occurred. no packages were upgraded.
Last edited by c137 (2022-02-21 02:44:35)
Offline
Did you read this yet?
Offline
Any particular reason why you are using -Syyu?
Offline
Did you read this yet?
Yes, I read it. But I never compile and install xorg-sever manually
Last edited by c137 (2022-02-20 06:30:44)
Offline
Please post the output of the following
# pacman -Qkk 2>&1 | grep -Fv '0 altered files'See pastebin so you do not have to copy the output by hand producing transliteration errors such as
xorg-sarver-common: /var/14b/xkb/READNE.cOmpl1ed exlsts In filesustemPlease also use code tags for commands and their outputs.
Offline
Please post the output of the following
# pacman -Qkk 2>&1 | grep -Fv '0 altered files'See pastebin so you do not have to copy the output by hand producing transliteration errors such as
xorg-sarver-common: /var/14b/xkb/READNE.cOmpl1ed exlsts In filesustemPlease also use code tags for commands and their outputs.
Thank you for your reply.Below is the ouput url
Offline
No it's not…
http://ix.io/3Q7N - ftfy
Edit: there're still some bogus lines "ed files" in there.
Please provide the actual, unedited output.
Edit #2:
error: error while reading file /var/lib/pacman/local/xorg-server-common-21.1.3-5/mtree: Unrecognized archive formatstat /var/lib/pacman/local/xorg-server-common-21.1.3-5/mtree
file /var/lib/pacman/local/xorg-server-common-21.1.3-5/mtree
head -c1kB /var/lib/pacman/local/xorg-server-common-21.1.3-5/mtreeLast edited by seth (2022-02-20 08:06:24)
Offline
No it's not…
http://ix.io/3Q7N - ftfyEdit: there're still some bogus lines "ed files" in there.
Please provide the actual, unedited output.Edit #2:
error: error while reading file /var/lib/pacman/local/xorg-server-common-21.1.3-5/mtree: Unrecognized archive formatstat /var/lib/pacman/local/xorg-server-common-21.1.3-5/mtree file /var/lib/pacman/local/xorg-server-common-21.1.3-5/mtree head -c1kB /var/lib/pacman/local/xorg-server-common-21.1.3-5/mtree
pacman -Qkk 2>&1 | grep -F -v '0 altered files'Offline
No it's not…
http://ix.io/3Q7N - ftfyEdit: there're still some bogus lines "ed files" in there.
Please provide the actual, unedited output.Edit #2:
error: error while reading file /var/lib/pacman/local/xorg-server-common-21.1.3-5/mtree: Unrecognized archive formatstat /var/lib/pacman/local/xorg-server-common-21.1.3-5/mtree file /var/lib/pacman/local/xorg-server-common-21.1.3-5/mtree head -c1kB /var/lib/pacman/local/xorg-server-common-21.1.3-5/mtree
[bjl@c137 1$ stat /var/lib/pacman/local/xorg-server-common-21.1.3-5/ntree
File:/var/lib/pacman/local/xorg-server-common-21.1.3-5/mtree
Size:0
Blocks: 0
10 Block: 4096
regular empty file
Device:0.28
Inode:3124919
Links: 1
Access:(0644/-rw-r--r--) Uid: (
0/
root)
Gid:(
0/
root)
Access:2022-02-20 23:28:54.815720707 +0800
Modify:2022-02-19 19:28:02.000000000 +0800
Change:2022-02-20 00:37:05.677154819 +0800
Birth:2022-02-20 00:37:05.677154819 +0800
[bjl@c137^]$ file /var/lib/pacman/local/xorg-server-common-21.1.3-5/ntree
/var/lib/pacman/local/xorg-server-common-21.1.3-5/mtree:empty
[bjl@c137~1$ head -c1kB /var/lib/pacman/local/xorg-server-common-21.1.3-5/ntreeLast edited by c137 (2022-02-20 08:43:28)
Offline
stat /var/lib/pacman/local/xorg-server-common-21.1.3-5/ntree
File:/var/lib/pacman/local/xorg-server-common-21.1.3-5/mtree
Stop transcripting stuff, it's useless effort and introduces errors.
The exactl same bogus lines are still in the supposed pacman output - it might be a straight up copy-and-fail of the stripped down version I posted.
You need to re-install all packages w/ broken mtrees using "--dbonly" and then it looks like you installed a bunch of python packages using a global PIP setup?
Remove those packages from pip and re-install the pacman packages.
Also output of
/etc/arch-release?
Offline
c137 wrote:stat /var/lib/pacman/local/xorg-server-common-21.1.3-5/ntree
File:/var/lib/pacman/local/xorg-server-common-21.1.3-5/mtreeStop transcripting stuff, it's useless effort and introduces errors.
The exactl same bogus lines are still in the supposed pacman output - it might be a straight up copy-and-fail of the stripped down version I posted.You need to re-install all packages w/ broken mtrees using "--dbonly" and then it looks like you installed a bunch of python packages using a global PIP setup?
Remove those packages from pip and re-install the pacman packages.Also output of
/etc/arch-release?
cat /etc/arch-release
Arch Linux releaseOffline
c137 wrote:stat /var/lib/pacman/local/xorg-server-common-21.1.3-5/ntree
File:/var/lib/pacman/local/xorg-server-common-21.1.3-5/mtreeStop transcripting stuff, it's useless effort and introduces errors.
The exactl same bogus lines are still in the supposed pacman output - it might be a straight up copy-and-fail of the stripped down version I posted.You need to re-install all packages w/ broken mtrees using "--dbonly" and then it looks like you installed a bunch of python packages using a global PIP setup?
Remove those packages from pip and re-install the pacman packages.Also output of
/etc/arch-release?
I can't connect to xserver when the first time
So I tried to update the system and found the problem that the pacman transaction could not be committed
I reinstalled the pacman packages as you said and now I can connect to the xserver
However, I didn't reinstall pip packages, does this matter?
Offline
You probably still have a bunch of conflicting PIP packages around, see https://wiki.archlinux.org/title/Python … management and https://wiki.archlinux.org/title/Python … nvironment to clean that up and avoid future update conflicts.
Also don't use "-yy" unless you know why and have to. There's a good chance that you broke the database this way.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
You probably still have a bunch of conflicting PIP packages around, see https://wiki.archlinux.org/title/Python … management and https://wiki.archlinux.org/title/Python … nvironment to clean that up and avoid future update conflicts.
Also don't use "-yy" unless you know why and have to. There's a good chance that you broke the database this way.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
I read the relevant wiki.
https://wiki.archlinux.org/title/Pacman … 6%E5%8C%85
https://wiki.archlinux.org/title/System … B%E7%BB%9F
Thanks a million ![]()
Offline
Any particular reason why you are using -Syyu?
Did I miss the answer to this?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
skunktrader wrote:Any particular reason why you are using -Syyu?
Did I miss the answer to this?
Based on some unofficial tutorials
Offline
Shame on you ![]()
I see you joined less than a week ago, so welcome to the forum ![]()
Just for your info, while upgrading Arch is fairly easy, as with most things a little wiki-reading is always useful.
The problem with -Syyu is that you force a refresh of the package database, and unless your current mirror is the most up to date mirror you have used, there's a risk that you downgrade some packages when you update - and you can get in a situation with partial upgrades, as discussed in the link above.
There are situations where a double-y is called for, but they are concerning fixing a corrupt package database.
I'd recommend using reflector to keep your mirror list updated, and using
sudo pacman -Syuwhen you upgrade.
Take it easy, and read a lot, and you'll find Arch is a breath of fresh air ![]()
Offline
Everything Ferdinand said, especially welcome to the forums.
Also, the double-y is less than considerate of the limited server resources provided free of charge.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Shame on you
I see you joined less than a week ago, so welcome to the forum
Just for your info, while upgrading Arch is fairly easy, as with most things a little wiki-reading is always useful.
The problem with -Syyu is that you force a refresh of the package database, and unless your current mirror is the most up to date mirror you have used, there's a risk that you downgrade some packages when you update - and you can get in a situation with partial upgrades, as discussed in the link above.
There are situations where a double-y is called for, but they are concerning fixing a corrupt package database.
I'd recommend using reflector to keep your mirror list updated, and using
sudo pacman -Syuwhen you upgrade.
Take it easy, and read a lot, and you'll find Arch is a breath of fresh air
I found the archlinux wiki and forums really cool
Thanks to contributors. AGAIN!!!
I did use reflector before and it worked fine
Offline
Everything Ferdinand said, especially welcome to the forums.
Also, the double-y is less than considerate of the limited server resources provided free of charge.
Although I am a layman, for archlinux or linux
It doesn't matter, I find a lot of fun in it ![]()
Offline