You are not logged in.
Pages: 1
After installing arch and getting everything up and running, I tried installing pacaur and using it to install bolt. When running pacaur -S bolt I receive the following errors:
:: Package bolt not found in repositories, trying AUR...
:: resolving dependencies...
/usr/bin/pacaur: line 603: pactree: command not found
/usr/bin/pacaur: line 604: pactree: command not found
/usr/bin/pacaur: line 603: pactree: command not found
/usr/bin/pacaur: line 604: pactree: command not found
/usr/bin/pacaur: line 603: pactree: command not found
/usr/bin/pacaur: line 604: pactree: command not found
:: looking for inter-conflicts...
...
:: Checking bolt integrity...
==> Making package: bolt 0.4-1 (Tue 29 May 2018 12:57:01 AM EDT)
==> Retrieving sources...
-> Found bolt-0.4.tar.gz
==> Validating source files with sha256sums...
bolt-0.4.tar.gz ... Passed
:: Building bolt package(s)...
==> Making package: bolt 0.4-1 (Tue 29 May 2018 12:57:02 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
/usr/bin/pacman: unrecognized option '--color never'
==> ERROR: 'pacman' failed to install missing dependencies.
:: failed to build bolt package(s)
Trying 'which pactree' gives 'pactree not found'. Also running 'pacman -Qlq pacman | grep bin' gives:
/usr/bin/
/usr/bin/cleanupdelta
/usr/bin/makepkg
/usr/bin/makepkg-template
/usr/bin/pacman
/usr/bin/pacman-conf
/usr/bin/pacman-db-upgrade
/usr/bin/pacman-key
/usr/bin/pkgdelta
/usr/bin/repo-add
/usr/bin/repo-elephant
/usr/bin/repo-remove
/usr/bin/testpkg
/usr/bin/vercmp
And 'pacman -v':
Root : /
Conf File : /etc/pacman.conf
DB Path : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/
Hook Dirs : /usr/share/libalpm/hooks/ /etc/pacman.d/hooks/
Lock File : /var/lib/pacman/db.lck
Log File : /var/log/pacman.log
GPG Dir : /etc/pacman.d/gnupg/
Targets : None
I've also tried running 'pacman -S pacman' and updaing with 'pacman -Syu' with no luck. Sorry if this is such an easy fix that I seem to be missing. I was wondering if there's any way to install pactree or get pacaur working in another way?
Offline
The pacman update means all the wrappers are broken.
Most of those utilities are now in pacman-contrib.
Also, please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
Offline
Pacaur is unmaintained (https://github.com/rmarquis/pacaur), you should switch to something else.
Offline
The pacman update means all the wrappers are broken.
At least aurutils is in a persistently broken state, so when these things happen people are just used to it.
edit: only the -git version broke. Sad. ![]()
Last edited by Alad (2018-05-29 09:08:10)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Pacaur is unmaintained (https://github.com/rmarquis/pacaur), you should switch to something else.
The funny thing is that I have transitioned to yay from pacaur but after today's pacman update yay completely failed and would not run at all. I then just ran pacaur which proceeded to update yay and package-query just fine to the new versions required for pacman 5.1. Rather ironic given we all moved away from pacaur because it was supposed to fail when pacman 5.1 came along!
Online
yay is over 10k lines of custom Go code, including a full libalpm frontend. Unsurprising it fails as all other third-party frontends did. pacaur just reuses expac and pactree.
Last edited by Alad (2018-05-29 09:53:41)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
You know what else would have properly updated yay and package-query: makepkg.
It amazes me the circuitous lengths people will go to just to avoid using the one ridiculously simple tool that will definitely work.
This isn't to say that helpers don't have a place, but when your helper breaks, if you seek another helper to fix it rather than just falling back on the official and supported means of installing/updating an aur package ... well, that has no place.
Last edited by Trilby (2018-05-29 10:22:14)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
At least aurutils is in a persistently broken state, so when these things happen people are just used to it.
edit: only the -git version broke. Sad.
Ha, despite your best efforts to break it it just keeps running for me
Thanks for these tools, btw, aurutils is awesome.
Offline
I had a similar issue with yaourt this morning, all I had to do was reinstall package-query to get right.
Trilby, what do you do to search for / update packages in the AUR? Do you just go to the AUR site and search there? Genuinely curious.
I made the following simple function in my zshrc to install packages from source, which includes AUR, but only if I know their name. I mostly rely on yaourt for its searching abilities.
isrc() {
current="$PWD"
bld_dir="$HOME/build"
[ ! -d "$bld_dir" ] && mkdir "$bld_dir"
cd "$bld_dir"
asp export $1 2> /dev/null || git clone https://aur.archlinux.org/$1.git
cd $1
makepkg -isf --noconfirm
sudo pacman -Rns $(pacman -Qqdt)
cd "$current"
}Offline
Trilby, what do you do to search for / update packages in the AUR?
That is not really relevant here (but here's and excerpt). Even if I used yaourt, if yaourt broke the solution would be use makepkg to rebuild/update it. This does not involve searching for new packages at all. (on your script, you may want to consider `mkdir -p` and - if you just use zsh and/or bash pushd/popd).
Last edited by Trilby (2018-05-29 13:26:15)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
It amazes me the circuitous lengths people will go to just to avoid using the one ridiculously simple tool that will definitely work.
Circuitous length? I quickly typed "pacaur -Syu" and it fixed my update problem. It that had not worked then I would have done it the longer way.
Online
Pages: 1