Error Failed To Initialize Alpm Library
Contents |
Sign in Pricing Blog Support Search GitHub This repository Watch 42 Star 195 Fork 52 FZUG/repo Code Issues 32 Pull error failed to initialize alpm library (could not find or read directory) requests 1 Projects 0 Wiki Pulse Graphs New issue Failed To
Pacman Failed To Initialize Alpm Library
Initialize ALPM Library #16 Closed tharrisone opened this Issue Jul 29, 2015 · 5 comments Projects None
Failed To Initialize Alpm Library (database Is Incorrect Version)
yet Labels None yet Milestone No milestone Assignees No one assigned 4 participants tharrisone commented Jul 29, 2015 pacman -Sy error: failed to initialize alpm
Failed To Initialise Alpm Library
library (could not find or read directory: /var/lib/pacman/) I went and grabbed a pacman database and moved it to that folder and still no love. Updated the database but still I get that error. Fedora Zhongwen User Group member 1dot75cm commented Jul 29, 2015 You should set /etc/pacman.conf, then exec pacman -v -Sy. $ vim /etc/pacman.conf could not find or read directory: /var/lib/pacman/ RootDir = /opt/arch/ DBPath = /var/lib/pacman/ LogFile = /var/log/pacman.log $ pacman -v Root : /opt/arch/ Conf File : /etc/pacman.conf DB Path : /var/lib/pacman/ Cache Dirs: /var/cache/pacman/pkg/ Lock File : /var/lib/pacman/db.lck Log File : /var/log/pacman.log GPG Dir : /etc/pacman.d/gnupg/ tharrisone commented Jul 29, 2015 I didn't mkdir the /opt/arch directory, its working good now. … On 07/29/2015 04:53 AM, 1dot75cm wrote: You should set /etc/pacman.conf, then exec pacman -v -Sy. |$ vim /etc/pacman.conf RootDir = /opt/arch/ DBPath = /var/lib/pacman/ LogFile = /var/log/pacman.log $ pacman -v Root : /opt/arch/ Conf File : /etc/pacman.conf DB Path : /var/lib/pacman/ Cache Dirs: /var/cache/pacman/pkg/ Lock File : /var/lib/pacman/db.lck Log File : /var/log/pacman.log GPG Dir : /etc/pacman.d/gnupg/ | — Reply to this email directly or view it on GitHub <#16 (comment)>.Web Bug from https://github.com/notifications/beacon/AFuHg2KCy7FY-yIDHC5JcIStOYq6P807ks5oiJosgaJpZM4Fhq4c.gif Endle commented Jul 29, 2015 There is a solution in reddit 1.Make sure you configure /etc/pacman.conf as per the instructions. 2.Manually make the /opt/arch directory 3.Add the line "Architecture = auto" under the [options] section of the conf fil
Sign in Pricing Blog Support Search GitHub This repository Watch 42 Star 195 Fork 52 FZUG/repo Code Issues 32 Pull requests 1 Projects 0 Wiki Pulse Graphs New issue error: error: failed to initialize alpm library (could not find or read directory: /var/lib/pacman/) failed to initialize alpm library #77 Open bordermick opened this Issue Mar 17, database is incorrect version var lib pacman 2016 · 7 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned yaourt failed to initialize alpm library 3 participants bordermick commented Mar 17, 2016 Hello, I have been trying to get yaourt working in fedora but I continue to run into this issue when trying to run pacman -Sy error: https://github.com/FZUG/repo/issues/16 failed to initialize alpm library (could not find or read directory: /opt/arch/var/lib/pacman/) I have tried following the fixes given in this issue report but there has still been no luck. Does anyone know how I would go about getting this working successfully? Any help would be great, thanks in advance. Fedora Zhongwen User Group member 1dot75cm commented Mar 19, 2016 Hi @bordermick I'm so sorry. These days, https://github.com/FZUG/repo/issues/77 I'm not online. You may need to check the alsm library exists. $ pacman -V Pacman v5.0.1 - libalpm v10.0.1 $ ldd /usr/bin/pacman libalpm.so.10 => /lib64/libalpm.so.10 (0x00007f71cf847000) $ ll /usr/lib64/libalpm.so.10.0.1 -rwxr-xr-x. 1 root root ... bordermick commented Mar 20, 2016 No problem, I ran those same commands and got the same outputs as you so I assume that means that the alsm library exists. Fedora Zhongwen User Group member 1dot75cm commented Mar 20, 2016 Please use --debug option to see more information. -> $ pacman -V Pacman v5.0.1 - libalpm v10.0.1 -> $ pacman -v Root : /opt/arch1/ Conf File : /etc/pacman.conf DB Path : /opt/arch1/var/lib/pacman/ Cache Dirs: /var/cache/pacman/pkg/ Hook Dirs : /opt/arch1/usr/share/libalpm/hooks/ /etc/pacman.d/hooks/ Lock File : /opt/arch1/var/lib/pacman/db.lck Log File : /var/log/pacman.log GPG Dir : /etc/pacman.d/gnupg/ -> $ pacman -Sy --debug [04:03:54] debug: pacman v5.0.1 - libalpm v10.0.1 ...... bordermick commented Mar 23, 2016 Sorry for the late response, I have been rather busy over the past 3 days. When I run pacman -v I get the same error: $ pacman -v error: failed to initialize alpm library (could not find or read directory: /opt/arch/var/lib/pacman/) This is my pacman -Sy --debug output: $ pacman -Sy --debug [18
»archlinuxcommentsWant to join? Log in or sign up in seconds.|Englishlimit my search to /r/archlinuxuse the following search parameters to narrow your results:subreddit:subredditfind submissions in "subreddit"author:usernamefind submissions by https://www.reddit.com/r/archlinux/comments/2qpl4v/failure_to_initialise_alpm_library/ "username"site:example.comfind submissions from "example.com"url:textsearch for http://bbs.bbqlinux.org/viewtopic.php?id=76 "text" in urlselftext:textsearch for "text" in self post contentsself:yes (or self:no)include (or exclude) self postsnsfw:yes (or nsfw:no)include (or exclude) results marked as NSFWe.g. subreddit:aww failed to site:imgur.com dogsee the search faq for details.advanced search: by author, subreddit...this post was submitted on 29 Dec 20143 points (64% upvoted)shortlink: remember mereset passwordloginSubmit a new linkSubmit a new text postarchlinuxsubscribeunsubscribe32,545 readers~58 users failed to initialize here now Home 2. Wiki 3. Forums Quick Links Arch Packages AUR Bugs Download Linux Reddits Linux Linux Questions Linux4noobs Linux Multi Documentation Installation Guide ArchWiki Community Mailing Lists IRC Channels Planet Arch International Communities a community for 7 yearsmessage the moderatorsMODERATORSkousikovertLinuxMageYour Friendly Mod!joelthelionphraktureOverlordGewieStiffinabout moderation team »discussions in /r/archlinux<>X238 points · 13 comments A Solarized Wallpaper Inspired By Archlinux Logo22 points · 7 comments networkmanager vs. systemd-networkd, thoughts?2 points · 2 comments Arch Linux install guide[Sticky Suggestion] Current issues with Intel hardware thread2 points · 1 comment Install rust package group2 points · 3 comments Chromium d
1 #1 2014-12-29 17:39:51 codeworkx Administrator Registered: 2014-10-05 Posts: 81 [FIX] failed to initialize alpm library ... failed to initialize alpm library (database is incorrect version)Resolution:sudo pacman-db-upgrade Offline Pages: 1 Index »Pacman & Package Upgrade Issues »[FIX] failed to initialize alpm library ... Board footer Jump to Newbie Corner Installation Kernel & Hardware System Administration Announcements, Package & Security Advisories BBQLinux Discussion BUG reports Pacman & Package Upgrade Issues [testing] Repo Forum AUR Issues, Discussion & PKGBUILD Requests GNU/Linux Discussion Community Contributions Programming & Scripting Artwork and Screenshots Atom topic feed Powered by FluxBB