Don't forget that "sudo" essentially means "su do". If you can't get pacman functioning in your chroot, try using the "pacstrap" command (see beginner's guide) but use the argument "pacman" in place of "base" or "base-devel", then chroot. That will reinstall pacman for you.
It would be the same as `pacman -Ss base` plus `pacman -Ss base-devel`. Note "-Ssq" would probably be much more useful in this context.
Trilby
https://bbs.archlinux.org/profile.php?id=54694
2012-11-25T01:38:42Z
cfr wrote:Does https://wiki.archlinux.org/index.php/Pa … upgrade.21 help at all?Well, the suggestion there seems to be to reinstall glibc, which I have tried (that is: I have tried "pacman -Su glibc -r etc."). However, pacman won't do it because of the file conflicts (I get the same errors as when upgrading base. No surprises there).
Are you installing from a package or building manually?Do you have 'automake' package installed (pacman -Q automake)?If you are planning to build packages, make sure you have the packages from package groups 'base' and 'base-devel' installed in your system (pacman -S base base-devel)
josephg
https://bbs.archlinux.org/profile.php?id=29428
2012-04-20T03:29
I'd like to install a base arch linux in a non-root directory on a remote computer.I tried the instructions from: https://wiki.archlinux.org/index.php/In … get_systemI have my remote directory mounted and naively thought this should work as well.
If you add SigLevel = Neverand then run pacman -Su base -r /mnton a different vt the packages installed for me.The installer replaces /etc/pacman.conf when you tell it to install packages, so manually running pacman is required.
dmm
https://bbs.archlinux.org/profile.php?id=63324
2012-08-30T01:07:50Z
johane wrote:I am trying to install Arch but when I type "pacstrap /mnt base base-devel" I keep on getting this error "error could not open file /var/lib/pacman/sync/core.db unrecognized archive format".I have tried:# rm -R /var/lib/pacman/sync/Pacstrap was telling you it couldn't open a file, so you just deleted the entire directory tree?
Hello everyone,I can't seem to install any packages successfully as I attempt to install Arch, and I've tried all suggested solutions I've come across online.If I run pacstrap /mnt base base-devel, I receive 'signature from XXX is invalid', and nothing is installed. This is despite already having run pacman-key --init, pacman-key --populate archlinux, and pacman-key
What do you run 'sudo pacman -S pacman' in the first place? Have you tried running just 'sudo pacman -Syu'?What's the output ofstat -c %s $(find /var/lib/pacman/local -name "pacman-4*")/files?
karol
https://bbs.archlinux.org/profile.php?id=25522
2012-04-28T08:52:41Z