You are not logged in.
Hi all.
I'm trying to install packages from shared cache to keep few machines in sync. I thought using "pacman -U --needed /path/to/cache/*" would solve it. However when I started testing I've noticed that when one package is removed I cannot install it back that way. Pacman will just skip that package for some reason. If i use the same command but specify the the package /path/to/package/package_name or even first letter followed by * it will also install it. Why is that?
Offline
Cannot reproduce it.
Does it happen with any particular package?
Offline
Yes it happens to all packages (tested audacious and vlc).
Maybe I need to make myself clear.
I have cache at /mnt/1. It's nfs share between few machines. Now. If I run on one machine pacman -U --needed /mnt/1/* it will install all pkg that aren't installed yet or that need to be updated. As expected. However if I uninstall a package (let's say audacious) and then run pacman -U --needed /mnt/1/* it will go thought all the packages but not audacious. Weird. If i type pacman -U --needed /mnt/1/a* it will ask if i want to install audacious.
Offline
Is it possible that the '*' is expanded in some unexpected way?
I'm not using nfs, I tested it by uninstalling aurphan and running
$ sudo pacman -U --needed /var/cache/pacman/pkg/*
loading packages...
warning: archlinux-keyring-20131027-1 is up to date -- skipping
warning: aurora-27.0a2+20131114+gc6d8fa8-1 is up to date -- skipping
warning: avahi-0.6.31-11 is up to date -- skipping
warning: bison-3.0.1-1 is up to date -- skipping
<snip>
warning: xproto-7.0.25-1 is up to date -- skipping
warning: xvidcore-1.3.2-3 is up to date -- skipping
resolving dependencies...
looking for inter-conflicts...
Packages (1):
Name New Version Net Change
aurphan 20130912-1 0.03 MiB
Total Installed Size: 0.03 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [########################################################] 100%
(1/1) checking package integrity [########################################################] 100%
(1/1) loading package files [########################################################] 100%
(1/1) checking for file conflicts [########################################################] 100%
(1/1) checking available disk space [########################################################] 100%
(1/1) installing aurphan [########################################################] 100%Offline
karol you're right. I just tersted it locally and seems there is no problem. I will investigate. Thanks for pointing me to right direction. Sorry for not testing it locally before writing the post
. Well, at least I had finally a reason to write here.
Offline