LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 12-29-2014, 02:55 PM   #1
J_Led
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 16

Rep: Reputation: Disabled
Manjaro Problem


All,

Yesterday I installed Manjaro but I can't update anything, I get:

Code:
Unable to lock database
and

Code:
Failed retrieving file 'core.db'
Same thing for extra.db, community.db and multilib.db and this, for every server.

As suggested on their wiki, I deleted /var/lib/pacman/db.lck but no difference.

What can I do ?

Thanks,
J_Led
 
Old 12-30-2014, 01:57 AM   #2
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Rep: Reputation: 37
Hi J_Led,

what is the output of
Code:
sudo pacman -Syu
?
 
Old 12-30-2014, 02:25 AM   #3
J_Led
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: Disabled
Hello,

Here:

Code:
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.catn.com : Resolving timed out after 10519 milliseconds
error: failed retrieving file 'core.db' from ftp.nluug.nl : Resolving timed out after 10519 milliseconds
error: failed retrieving file 'core.db' from mirror.netzspielplatz.de : Resolving timed out after 10519 milliseconds
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from mirror.catn.com : Resolving timed out after 10520 milliseconds
error: failed retrieving file 'extra.db' from ftp.nluug.nl : Resolving timed out after 10523 milliseconds
error: failed retrieving file 'extra.db' from mirror.netzspielplatz.de : Resolving timed out after 10520 milliseconds
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from mirror.catn.com : Resolving timed out after 10519 milliseconds
error: failed retrieving file 'community.db' from ftp.nluug.nl : Resolving timed out after 10520 milliseconds
error: failed retrieving file 'community.db' from mirror.netzspielplatz.de : Resolving timed out after 10518 milliseconds
error: failed to update community (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)

================================


Quote:
Originally Posted by slacksam View Post
Hi J_Led,

what is the output of
Code:
sudo pacman -Syu
?
 
Old 12-30-2014, 03:52 AM   #4
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Rep: Reputation: 37
Looks like there's no connection to the servers.

Try updating the mirrors list with
Code:
sudo pacman-mirrors -g
and run
Code:
sudo pacman -Syu
again.
 
Old 12-30-2014, 03:59 AM   #5
J_Led
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: Disabled
Yes I'm really connected. And I already tried the commands that you wrote.

Thanks,
J_Led


Quote:
Originally Posted by slacksam View Post
Looks like there's no connection to the servers.

Try updating the mirrors list with
Code:
sudo pacman-mirrors -g
and run
Code:
sudo pacman -Syu
again.
 
Old 12-30-2014, 04:14 AM   #6
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Rep: Reputation: 37
Quote:
Originally Posted by J_Led View Post
[...]
I get:

Code:
Unable to lock database
and

Code:
Failed retrieving file 'core.db'
[...]
Where do you get those messages from (octopi or pamac?) and which Manjaro version and edition do you use?


What is the output of
Code:
head -n 30 /etc/pacman.d/mirrorlist
and
Code:
sudo pacman -Syy
?
 
Old 12-30-2014, 04:26 AM   #7
J_Led
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: Disabled
I'm using Pamac. My Manjaro version is 0.8.11

And here's what I get:

Code:
# head -n 30 /etc/pacman.d/mirrorlist
##
## Manjaro Linux repository mirrorlist
## Generated on 30 December 2014 01:07
##
## Use pacman-mirrors to modify
##


## Location  : United_Kingdom
## Time      : 0.218
## Last Sync : 3:45
Server = http://mirror.catn.com/pub/manjaro/stable/$repo/$arch

## Location  : Netherlands
## Time      : 0.221
## Last Sync : 1:15
Server = http://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/$repo/$arch

## Location  : Germany
## Time      : 0.342
## Last Sync : 0:05
Server = http://mirror.netzspielplatz.de/manjaro/packages/stable/$repo/$arch

And:

Code:
# sudo pacman -Syy
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.catn.com : Resolving timed out after 10525 milliseconds
error: failed retrieving file 'core.db' from ftp.nluug.nl : Resolving timed out after 10524 milliseconds
error: failed retrieving file 'core.db' from mirror.netzspielplatz.de : Resolving timed out after 10517 milliseconds
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from mirror.catn.com : Resolving timed out after 10518 milliseconds
error: failed retrieving file 'extra.db' from ftp.nluug.nl : Resolving timed out after 10517 milliseconds
error: failed retrieving file 'extra.db' from mirror.netzspielplatz.de : Resolving timed out after 10517 milliseconds
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from mirror.catn.com : Resolving timed out after 10517 milliseconds
error: failed retrieving file 'community.db' from ftp.nluug.nl : Resolving timed out after 10516 milliseconds
error: failed retrieving file 'community.db' from mirror.netzspielplatz.de : Resolving timed out after 10524 milliseconds
error: failed to update community (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)

=========================================


Quote:
Originally Posted by slacksam View Post
Where do you get those messages from (octopi or pamac?) and which Manjaro version and edition do you use?


What is the output of
Code:
head -n 30 /etc/pacman.d/mirrorlist
and
Code:
sudo pacman -Syy
?
 
Old 12-30-2014, 04:47 AM   #8
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Rep: Reputation: 37
Which edition of Manjaro 0.8.11 do you use (e.g. Xfce, KDE, Net or any community edition)?
And where or when do you get the message
Quote:
Unable to lock database
?

Last edited by slacksam; 12-30-2014 at 04:48 AM.
 
Old 12-30-2014, 04:59 AM   #9
J_Led
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: Disabled
Xfce and it's when I use the Pamac Software Updater.

Quote:
Originally Posted by slacksam View Post
Which edition of Manjaro 0.8.11 do you use (e.g. Xfce, KDE, Net or any community edition)?
And where or when do you get the message ?
 
Old 12-30-2014, 08:20 AM   #10
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 210

Rep: Reputation: 37
How about booting from the Manjaro live-dvd or -flash and making an update (at least of the manjaro-system package)? Do you get the same error?
 
Old 12-31-2014, 07:22 PM   #11
J_Led
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: Disabled
Something new: I just found out that the dependencies are the problem. What I mean is if I want to install a program, I first have to download and install all its dependencies one by one and then install the program. That's the only way the servers "accept" to let me download via a package manager. Not very useful to update my system... I'm still working on this and I'll be back. In the meantime, any suggestions would be appreciated.

Many thanks,
J_Led

==============================================

Quote:
Originally Posted by slacksam View Post
How about booting from the Manjaro live-dvd or -flash and making an update (at least of the manjaro-system package)? Do you get the same error?

Last edited by J_Led; 12-31-2014 at 07:55 PM.
 
Old 01-20-2015, 12:09 PM   #12
Rubian
Member
 
Registered: Dec 2013
Distribution: Arch Linux
Posts: 116

Rep: Reputation: 18
Quote:
Sudo rm /var/lib/pacman/db.lck
Good luck.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] cannot update manjaro - dependencies problem bmaguire Linux - Newbie 2 10-24-2014 10:32 AM
Manjaro setup problem? grim3271 Linux - Newbie 32 07-12-2014 01:21 PM
Will Manjaro Linux Net edition act like Manjaro or a base install of Arch? punchy71 Linux - Newbie 4 06-28-2014 08:05 AM
Can't update Manjaro 0.8.8 Chriscrof Linux - Desktop 8 05-22-2014 04:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 09:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration