Skip to content

clean chroot issue?

I've recently tried several times to build packages in a clean chroot, but I always get the following error:

$ mkarchroot $CHROOT/root base-devel
[sudo] password for ldm: 
==> Creating install root at /home/ldm/chroot/root
==> Installing packages to /home/ldm/chroot/root
:: Synchronizing package databases...
error: could not open file /home/ldm/chroot/root/var/lib/pacman/sync/download-VCSBGa/core.db.part: Permission denied
error: failed to setup a download payload for core.db
error: failed to synchronize all databases (failed to retrieve some files)
==> ERROR: Failed to install packages to new root
==> ERROR: Failed to install all packages

workaround:

comment line DownloadUser = alpm in /etc/pacman.conf

is this a known bug?

1 points2 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 60% up
Kind
Text
ID
1fthfws

Author

53
posts
125
comments
77
media
View profile
No comments archived yet. Reddit counts 2.

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.