You are not logged in.
hi
I have dual boot system Ubuntu + Arch linux and I wanted to configure arch through chroot. unfortunatly I forgot to mount /dev and /proc so it got some errors during upgrade.
/tmp/alpm_xXzQ7F/.INSTALL: line 7: /dev/null: Permission denied
or
/sbin/mkinitcpio: line 253: /dev/null: Permission denied
I didn't start the system yet but I would like to reinstall packages if its posible. I found this command
pacman -S $(pacman -Qq | grep -v "$(pacman -Qmq)")and it returns
error: no targets specified (use -h for help)which is not so strange cause
pacman -Qmqreturns nothing which is strange ![]()
Any help would be apriciated.
Offline
The "target" for your command is missing, s/b:
pacman -S $(pacman -Qq | grep -v "$(pacman -Qmq)" >pkglist)This command is used to generate a list of installed packages such that they can be re-installed by pacman:
#pacman -S $(cat pkglist)....EDIT
This pkglist has to be accessed possibly through usb flash such that the re-install is accomplished for the packages in the pkglist.
Please google "re-install pacman packages" for more accurate info( my info from memory).
Your /var/cache/pacman/pkg may not contain the desired packages altho I have no reason to believe it won't.
Last edited by lilsirecho (2009-11-05 18:22:25)
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
pacman -S $(pacman -Qq | grep -v "$(pacman -Qmq)" >pkglist)
You mean
pacman -Qq | grep -v "$(pacman -Qmq)" >pkglist?
Offline
didn't read the whole thrad but... use -vx to match whole lines, otherwise you could omit package foo-bar if package foo happens to be foreign.
pacman -Qq | grep -vx "$(pacman -Qqm)" | xargs pacman -Sshould reinstall your system.
Last edited by brisbin33 (2009-11-05 20:11:43)
//github/
Offline