You are not logged in.
I tried to upgrade and found that pyhton-html5lib was failing to update due to messages like
python-html5lib: /usr/lib/python3.6/site-packages/html5lib/treewalkers/genshi.py exists in filesystem
So great, I know pacman has a new option. I want to overwrite those files so I am trying
sudo pacman -Sy python-pip --overwrite=/usr/lib/python3.6/site-packages/html5lib/treewalkers/*
but then I get the exact same messages. I have tried different formats of how to put in the globbed files, but nothing seems to work.
Could someone give an example of how the new pacman --overwrite works?
Offline
you should specify the path without a leading slash.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
man pacman shows no equal sign :
--overwrite <glob>
Offline
you should specify the path without a leading slash.
Thank you. It was the leading slash that was causing everything I tried not to work. Odd that it should be without the leading slash, but ok. Thanks!
Offline
Odd that it should be without the leading slash, but ok. Thanks!
The option works similar to NoUpgrade and NoExtract in pacman.conf, only a single phrase is missing in the manpage that is there for those options.
NoUpgrade = file ...
All files listed with a NoUpgrade directive will never be touched
during a package install/upgrade, and the new files will be
installed with a .pacnew extension. These files refer to files in
the package archive, so do not include the leading slash (the
RootDir) when specifying them. Shell-style glob patterns are
allowed. It is possible to invert matches by prepending a file with
an exclamation mark. Inverted files will result in previously
blacklisted files being whitelisted again. Subsequent matches will
override previous ones. A leading literal exclamation mark or
backslash needs to be escaped.
Last edited by progandy (2018-06-02 00:42:58)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Was there a typo in your first post: the conflict was with python-html5lib, but you used --overwrite with python-pip.
Also, please be sure to do a `pacman -Su` to complete any other upgrades and in the future avoid ever using -Sy without also using 'u'.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Well... https://lists.archlinux.org/pipermail/p … 22515.html
There's no especial reason to force the / here.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline