You are not logged in.
Pages: 1
Hey!
I have been working hard to install my Arch Linux as all of you have but now that i finally installed it i am trying to do some
postinstalation things located here.
I first opened /etc/pacman.conf file and at the end of the file added the repository [multilib], which pacman was
supposed to look for on my 1st mirror in /etc/pacman.d/mirrorlist which is this one.
Long story short, this is the code i added in my /etc/pacman.conf:
[multilib]
Include = /etc/pacman.d/mirrorlist
I saved the file but while mirror is available pacman still refuses to update mirror lists using command:
pacman -Syy
This produces the error:
Warning: database file for 'multilib' does not exist
:: Synchronizing package databases...
error failed to update core (unable to lock database)
error failed to update extra (unable to lock database)
error failed to update comunity (unable to lock database)
error failed to update multilib (unable to lock database)
error failed to synchronize any databases
error failed to init transaction (unable to lock database)
error: could not lock database: File Exists
If you're sure a package manager is not already running, you can remove [b]/var/lib/pacman/db.lck[/b]
I am currently logged in as root and i don't know why is the database locked, as root was supposed to be able to do whatever he likes?
What can i do to resolve the "lock database" error?
Thank you
Last edited by 71GA (2012-09-16 09:28:37)
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
Did you try to remove the db.lck file? This happens when pacman is interrupted.
Offline
Did you try to remove the db.lck file? This happens when pacman is interrupted.
Is it safe to do it?
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
I did remove /var/lib/pacman/db.lck and again used command
pacman -Syy
And it partialy worked as it did update repositories [core] [extra] and [comunity]. After this it again reports
an error about [multilib]. This is the error which i get for every mirror listed in my /etc/pacman.d/mirrorlist file:
error: failed retrievingfile 'multilib.db' from mirror.de.leaseweb.net : The requested URL returned error: 404 Not Found
"404 Not Found" indicates that URL cant be found which could be an internet problem, but this can't be the issue here
as other depositories are sucessfully installed and furthermore it could never have happend to all the mirrors at once.
Last edited by 71GA (2012-09-16 08:28:06)
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
Please paste the output of uname -a
Offline
Please paste the output of uname -a
Linux ziga-laptop 3.5.3-1-ARCH #1 SMP PREEMPT Sun Aug 26 08:15:06 UTC 2012 i686 GNU/Linux
I ve noticed that my time isnt correct.
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
jasonwryan wrote:Please paste the output of uname -a
Linux ziga-laptop 3.5.3-1-ARCH #1 SMP PREEMPT Sun Aug 26 08:15:06 UTC 2012 i686 GNU/Linux
I ve noticed that my time isnt correct.
That's not the cause of your problems
Enabling the [multilib] repository allows the user to run and build 32-bit applications on 64-bit installations of Arch Linux.
Offline
Enabling the [multilib] repository allows the user to run and build 32-bit applications on 64-bit installations of Arch Linux.
OMG how could i have been so stupid! I installed a 32-bit Arch Linux because i couldn't choose 64-bit when booting from dual boot ISO in my virtual box.
And then i forgot about that.
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
Pages: 1