LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   Manjaro Problem (https://www.linuxquestions.org/questions/arch-29/manjaro-problem-4175529491/)

J_Led 12-29-2014 02:55 PM

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

slacksam 12-30-2014 01:57 AM

Hi J_Led,

what is the output of
Code:

sudo pacman -Syu
?

J_Led 12-30-2014 02:25 AM

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 (Post 5292404)
Hi J_Led,

what is the output of
Code:

sudo pacman -Syu
?


slacksam 12-30-2014 03:52 AM

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.

J_Led 12-30-2014 03:59 AM

Yes I'm really connected. And I already tried the commands that you wrote.

Thanks,
J_Led


Quote:

Originally Posted by slacksam (Post 5292445)
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.


slacksam 12-30-2014 04:14 AM

Quote:

Originally Posted by J_Led (Post 5292137)
[...]
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
?

J_Led 12-30-2014 04:26 AM

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 (Post 5292454)
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
?


slacksam 12-30-2014 04:47 AM

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
?

J_Led 12-30-2014 04:59 AM

Xfce and it's when I use the Pamac Software Updater.

Quote:

Originally Posted by slacksam (Post 5292475)
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 ?


slacksam 12-30-2014 08:20 AM

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?

J_Led 12-31-2014 07:22 PM

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 (Post 5292596)
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?


Rubian 01-20-2015 12:09 PM

Quote:

Sudo rm /var/lib/pacman/db.lck
Good luck.


All times are GMT -5. The time now is 08:18 AM.