LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-27-2015, 10:47 AM   #1
fmfsys
LQ Newbie
 
Registered: Mar 2015
Posts: 1

Rep: Reputation: Disabled
How i fix problem package databases in the distribution Arch 2015


After the completion installation of the distribution Arch evolutionlinux When I try to activate the Enable AUR work through the following steps

/etc/pacman.conf

[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch

sudo pacman-db-upgrade
sudo pacman -Sy yaourt

Code:
[gsm@sonia ~]$ sudo pacman-db-upgrade[sudo] password for sonia: 
[gsm@sonia ~]$ sudo pacman -Sy yaourt
:: Synchronizing package databases...
 archlinuxfr is up to date
error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
resolving dependencies...
error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
warning: cannot resolve "yajl>=2.0", a dependency of "package-query"
warning: cannot resolve "package-query>=1.4", a dependency of "yaourt"
:: The following package cannot be upgraded due to unresolvable dependencies:
      yaourt


:: Do you want to skip the above package for this upgrade? [y/N] n
error: failed to prepare transaction (could not satisfy dependencies)
:: package-query: requires yajl>=2.0
:: yaourt: requires package-query>=1.4
[gsm@sonia ~]$
 
Old 03-28-2015, 05:33 AM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Yeah, isn't Yaourt rubbish?
:P

As the error message states, you need package-query before you can use the Yaourt repository.

Download the tarball from here:
https://aur.archlinux.org/packages/package-query/

Then extract it using:
Code:
tar xf package-query.tar.gz
Then `cd` into the directory & build the package manually:
Code:
cd package-query
makepkg -ics
https://wiki.archlinux.org/index.php...lling_packages
You really should consider building all AUR packages this way rather than using the buggy piece of crap that is Yaourt; you can use Cower instead (written by one of the Arch developers) to keep your AUR packages updated.
https://aur.archlinux.org/packages/cower/

Also, never use `-Sy` without also upgrading your system (check the News Page first!):
Code:
# pacman -Syu
# yaourt -Syu
https://wiki.archlinux.org/index.php...re_unsupported

Finally, as you have used the evo/lution installer you will have no idea about how your system is set up -- this defeats the entire purpose of Arch and makes it almost impossible to troubleshoot your system when things go wrong.

Please do not post support questions on the Arch forums unless you have installed Arch properly (see my signature).
 
1 members found this post helpful.
Old 04-17-2015, 09:28 AM   #3
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
Head_on_a_Stick,

I have just started using Arch, so thanks for the advice about Yaourt.

I will definitely avoid using it.

I will use the safer package-build route.
 
  


Reply



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
LXer: Bridge Linux Xfce 2015.02 Released, a Fast and User-Friendly Arch Linux Distro LXer Syndicated Linux News 0 02-16-2015 03:02 PM
which package management system / distribution is the simplest to package for? Siljrath Linux - General 2 10-25-2014 08:08 PM
Problem with file permission to fix Synaptic Package Manager vansch76 Linux - Software 1 03-20-2009 09:40 PM
How do I fix Suse 10.1 package manager problem? little_penguin SUSE / openSUSE 3 11-02-2006 03:49 PM
I really want to try Arch, is it hard to fix the fonts? frontier1 Arch 2 12-05-2003 09:07 AM

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

All times are GMT -5. The time now is 08:09 PM.

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