Pacman Error Database Not Found
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you error failed to get canonical path of airootfs might have Meta Discuss the workings and policies of this site
Grub Install Error Failed To Get Canonical Path Of Airootfs
About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting arch linux partition too full ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users
Grub Install Failed To Get Canonical Path Of Airootfs
of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top pacman could not find database up vote 13 down vote favorite 4 I want to install grub failed to get canonical path of airootfs sudo. So I type in pacman -S sudo. But then I get the following errors: warning: database file for 'extra' does not exist warning: database file for 'community' does not exist error: failed to prepare transaction (could not find database) How do I install the database files for 'extra' and 'community'? I am in Arch Linux. arch-linux pacman share|improve this question edited Mar 20 '12 at 21:57 Gilles 373k696801129 asked Mar 20 '12 at 18:19 gadgetmo 3882819 add a comment| 1 Answer 1 active oldest votes up vote 19 down vote accepted Firstly, try running pacman -Syy, then try to install sudo again. Check that the repositories are uncommented in /etc/pacman.conf. Or your mirrorlist might be outdated: Generate a current list of mirrors and copy it to /etc/pacman.d/mirrorlist Quoting from this relevant forum thread: You can: pick another mirror try using an http mirror, not an ftp one (pick http mirror from the mirrorlist). Alternatively you can manually download the databases with: wget ftp://mirror.csclub.uwaterloo.ca/archlinux/community/os/x86_64/community.db wget ftp://mirror.csclub.uwaterloo.ca/archlinux/extra/
jmak Member Registered: 2008-12-21 Posts: 394 Fresh Install: database file for "extra" does not exist Hi,The first stage of the installation went
Mirrorlist Arch
without a glitch, then I rebooted and did a "pacman -Syu"
Pacman Syu
when I get:database file for "extra" does not existdatabase file for "community" does not existerror segmentation archlinux install faultI cannot proceed with the installation. Any idea?Thanks,jmak Offline #2 2012-02-27 01:34:48 karol Archivist Registered: 2009-05-06 Posts: 25,433 Re: Fresh Install: database file for "extra" does not http://unix.stackexchange.com/questions/34606/pacman-could-not-find-database exist Do you have a working network connection?Please post the output of 'pacman -Syu --debug'. Offline #3 2012-02-27 02:11:13 jmak Member Registered: 2008-12-21 Posts: 394 Re: Fresh Install: database file for "extra" does not exist Thanks karol,A bit embarassing, but I'm not sure how to save the debug output into a file to be able https://bbs.archlinux.org/viewtopic.php?id=136596 to post it. I got long output. Last edited by jmak (2012-02-27 02:13:19) Offline #4 2012-02-27 02:17:28 karol Archivist Registered: 2009-05-06 Posts: 25,433 Re: Fresh Install: database file for "extra" does not exist First off, try running 'pacman -Syy' https://bbs.archlinux.org/viewtopic.php?id=134999If it doesn't work, post your pacman.conf andpacman -Syu --debug > pac.logusing an app from https://wiki.archlinux.org/index.php/Pastebin_Clients (if you can install it). Offline #5 2012-02-27 03:02:18 jmak Member Registered: 2008-12-21 Posts: 394 Re: Fresh Install: database file for "extra" does not exist karol wrote:First off, try running 'pacman -Syy' https://bbs.archlinux.org/viewtopic.php?id=134999If it doesn't work, post your pacman.conf andpacman -Syu --debug > pac.logusing an app from https://wiki.archlinux.org/index.php/Pastebin_Clients (if you can install it).I've tried the "pacman -Syy" but didn't work.I don't know what's wrong but the debug output is not saved in the output file. Only one line saved. Offline #6 2012-02-27 03:04:34 karol Archivist Registered: 2009-05-06 Posts: 25,433 Re: Fresh Install: database file for "extra" does not exist Sorry, my mistake, you should usepacman -Syu --debug
functions may not work. Please re-enable javascript to access full functionality. 1 unable to sync the databases in Manjaro Started by réjean , http://forums.scotsnewsletter.com/index.php?showtopic=64218 Jul 18 2013 10:40 AM Please log in to reply 23 https://forum.antergos.com/topic/2859/solved-invalid-or-corrupted-database-pgp-signature replies to this topic #1 OFFLINE réjean réjean Discussion Deity Forum MVP 4,436 posts Posted 18 July 2013 - 10:40 AM Hi all! I want to use Manjaro again but it needs some updating. Unfortunately I cannot sync the db and/or update. I posted the failed to following on the Manjaro forum; Quote I am unable to sync the databases. First I realised that every mirror in /etc/pacman.d/mirrorlist was commented out (?) or in (they all had a # in front of them) so I login in as root then I changed the mirrorlist for France and United States. After that I tried "sudo pacman failed to get -Syu" and "sudo pacman -Syyu" but I still get; Code: [Select] [root@manjaro rejean]# pacman -Syyu :: Synchronizing package databases... error: failed retrieving file 'basis.db' from manjarolinux.polymorf.fr : The requested URL returned error: 404 Not Found error: failed retrieving file 'basis.db' from repo.manjaro.org.uk : The requested URL returned error: 404 Not Found error: failed retrieving file 'basis.db' from mirror.dacentec.com : The requested URL returned error: 404 Not Found error: failed to update basis (download library error) error: failed retrieving file 'platform.db' from manjarolinux.polymorf.fr : The requested URL returned error: 404 Not Found error: failed retrieving file 'platform.db' from repo.manjaro.org.uk : The requested URL returned error: 404 Not Found ... error: failed retrieving file 'multilib.db' from mirror.dacentec.com : The requested URL returned error: 404 Not Found error: failed to update multilib (download library error) error: failed to synchronize any databases error: failed to init transaction (download library error) [root@manjaro rejean]# any suggestion? after that I went back into /etc/pacman.d/mirrorlist and uncommented all the servers with the same effect. Someone suggested I need an
viewing experience will be diminished, and you have been placed in read-only mode. Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). Home Technical Issues and Assistance Pacman & Package Upgrade Issues [SOLVED] invalid or corrupted database (PGP signature) This topic has been deleted. Only users with topic management privileges can see it. Like 0 M Modisc Moderator [SOLVED] invalid or corrupted database (PGP signature) did this: sudo pacman -Syu :: Synchronizing package databases... core 848.0 B 276K/s 00:00 [######################] 100% core.sig 848.0 B 0.00B/s 00:00 [######################] 100% error: GPGME error: No data error: failed to update core (invalid or corrupted database (PGP signature)) extra 848.0 B 0.00B/s 00:00 [######################] 100% extra.sig 848.0 B 0.00B/s 00:00 [######################] 100% error: GPGME error: No data error: failed to update extra (invalid or corrupted database (PGP signature)) community 848.0 B 0.00B/s 00:00 [######################] 100% community.sig 848.0 B 0.00B/s 00:00 [######################] 100% error: GPGME error: No data error: failed to update community (invalid or corrupted database (PGP signature)) multilib 848.0 B 0.00B/s 00:00 [######################] 100% multilib.sig 848.0 B 0.00B/s 00:00 [######################] 100% error: GPGME error: No data error: failed to update multilib (invalid or corrupted database (PGP signature)) antergos 476.9 KiB 877K/s 00:01 [######################] 100% error: database 'core' is not valid (invalid or corrupted database (PGP signature)) error: database 'extra' is not valid (invalid or corrupted database (PGP signature)) error: database 'community' is not valid (invalid or corrupted database (PGP signature)) error: database 'multilib' is not valid (invalid or corrupted database (PGP signature)) then did this after I got a new mirrorlist from the Arch wiki (copy/pasted it): sudo pacman-key --populate archlinux ==> Appending keys from archlinux.gpg... gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model gpg: depth: 0 valid: 1 signed: 8 trust: 0-, 0q, 0n, 0m, 0f, 1u gpg: depth: 1 valid: 8 signed: 64 trust: 0-, 0q, 0n, 8m, 0f, 0u gpg: dep