Re: pacman via pacstrap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




On 06-11-2023 11:25, lacsaP Patatetom wrote:
# pacstrap -c -C target/etc/pacman.conf -U target/ pkg/numix-gtk-theme-git-2.6.7.r55.ad4b345-1-any.pkg.tar.zst -- --overwrite
==> Creating install root at target/
==> Installing packages to target/
loading packages...
error: '--overwrite': could not find or read package
error: '--config=target/etc/pacman.conf': could not find or read package
error: '--noconfirm': could not find or read package
==> ERROR: Failed to install packages to new root
```

the `numix` package simply comes from AUR and the two files I'm following (eg. versioned) `target/usr/share/themes/Numix/gtk-3.20/gtk.css` and `target/usr/share/themes/Numix/openbox-3/themerc` are already present in the tree and make some changes to the files supplied by default with the package.

note that the `--overwrite` option is not passed on to `pacman` and that the problem does not recur if I try to reinstall the package, even though the two files are still present.

regards, lacsaP.


Hi,


error: '--overwrite': could not find or read package

clearly shows --overwrite is passed to pacman . What you don't realise is that --overwrite requires a parameter like to-be-deleted-file.css .

man pacman for details.


There's another more important issue though :

Why do you feel the need to run pacman -U through pacstrap instead of directly ?


Lone_Wolf




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux