You are not logged in.
Hello everybody, I've been a happy arch user for some years now (4 I think) but now after some upgrades 2 weeks ago I can't use pacman.
[root@Mexicola ~]# sudo pacman -Syu
:: Synchronizing package databases...
error: failed to init transaction (unable to lock database)
if you're sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck
[root@Mexicola ~]# sudo rm /var/lib/pacman/db.lck
rm: cannot remove `/var/lib/pacman/db.lck': No such file or directory
I don't have space problems as with this other post https://bbs.archlinux.org/viewtopic.php?pid=1045162
I tried reinstalling everything like in this other post https://bbs.archlinux.org/viewtopic.php?id=95007 but doesn't work after fixing package versions. Tar doesn't overwrite anything because it's read only.
usr/share/man/man3/ASN1_STRING_length_set.3.gz
tar: usr/share/man/man3/ASN1_STRING_length_set.3.gz: Cannot create symlink to `ASN1_STRING_length.3.gz': File exists
usr/share/man/man3/RSA_new.3.gz
tar: usr/share/man/man3/RSA_new.3.gz: Cannot open: File exists
usr/share/man/man3/DES_ecb3_encrypt.3.gz
tar: usr/share/man/man3/DES_ecb3_encrypt.3.gz: Cannot create symlink to `des.3.gz': File exists
usr/share/man/man3/EVP_EncryptInit.3.gz
tar: usr/share/man/man3/EVP_EncryptInit.3.gz: Cannot open: File exists
usr/share/man/man3/EVP_PKEY_ctrl_str.3.gz
tar: usr/share/man/man3/EVP_PKEY_ctrl_str.3.gz: Cannot create symlink to `EVP_PKEY_CTX_ctrl.3.gz': File exists
usr/share/man/man7/des_modes.7.gz
tar: usr/share/man/man7/des_modes.7.gz: Cannot open: File exists
tar: usr: Cannot utime: Read-only file system
tar: usr: Cannot change ownership to uid 0, gid 0: Read-only file system
tar: Exiting with failure status due to previous errors
Any help wpuld be appreciated.
Last edited by Linoman (2012-02-06 12:26:20)
Offline
Sorry for the late replay. So what number should I use with chmod -r 750 /root/?
I was thinking this would be the optimal solution https://wiki.archlinux.org/index.php/Pa … upgrade.21
Any advice?
Offline
What the...? When does this happened?
cat /etc/fstab
/dev/sda6 /media/Fatboy ntfs defaults 0 0
tmpfs /tmp tmpfs nodev,nosuid 0 0
Let me fix this and see if the scripts works. Anybody knows why this happened?
Offline
I dont have root on my fstab but I can't mount anything because it's already mounted. Also I can't edit fstab, its read-only.
Any ideas?
Last edited by Linoman (2012-02-02 19:34:14)
Offline
Thank you Stebalien and FalconIndy. My fstab was messed up. After that a simple reboot (just to be sured everything loaded nicely) and pacman worked very well. Well I still have to upgrade it to pacman 4.0.
Thanks guys. This can be marked as solved.
Still, can somebody tell me what happened to my fstab? It was ok a few weeks ago.
Offline
Offline
Thanks falconindy
Marked as solved
Offline
Thanks falconindy
Marked as solved
Don't forget to edit the first post and change 'pacman' in the topic title to 'myself'.
ᶘ ᵒᴥᵒᶅ
Offline
Don't forget to actually mark the thread as solved ;P
Offline
Don't forget to edit the first post and change 'pacman' in the topic title to 'myself'.
Why myself? I didn't break fstab!!
Offline