You are not logged in.
Suppose i was going to build a certain package.
Firts yaourt installed all the dependencies.
Then it fails retrieving the sources or whatever.
Now i need to clean all these deps
for the package that isn't there. How?
Offline
Check the pacman log to see which dependencies were installed or look at the PKGBUILD.
Last edited by Slithery (2014-02-25 12:52:03)
Offline
Check the pacman log to see which dependencies were installed
Lots of various deps
Offline
Copy-paste them to the command line.
Offline
Or you could first look into why the package was not installed. If there was an error retrieving the sources, then maybe you should notify the AUR package maintainer. That way you could benefit from it, and others as well.
Also, if you are too lazy to remove the dependencies manually, install the package by fixing the sources problem, then install that package, then do
# pacman -Rsc <pkg>
This will remove that package along with its deps.
Offline
https://wiki.archlinux.org/index.php/Pa … d_packages
I ditched yaourt for the wondrous simplicity of cower and makepkg a long time ago, but as I recall anytime it fails to build an explicitly requested package it offers to remove the pre-installed dependencies.
Offline
https://wiki.archlinux.org/index.php/Pa … d_packages
I ditched yaourt for the wondrous simplicity of cower and makepkg a long time ago, but as I recall anytime it fails to build an explicitly requested package it offers to remove the pre-installed dependencies.
Cower doesn't build packages.
Depends on what options you used with makepkg.
Last edited by karol (2014-02-25 14:52:54)
Offline
# pacman -Rns $(pacman -Qtdq)
Offline
First run just 'pacman -Qtdq' to make sure it doesn't want to remove any packages you need.
Offline
First run just 'pacman -Qtdq' to make sure it doesn't want to remove any packages you need.
Running 'pacman -Rns $(pacman -Qtdq)' will prompt and show you what it is about to remove.
Offline
karol wrote:First run just 'pacman -Qtdq' to make sure it doesn't want to remove any packages you need.
Running 'pacman -Rns $(pacman -Qtdq)' will prompt and show you what it is about to remove.
Sure, but it will include the dependencies too:
$ pacman -Qtdq
gobject-introspection
intel-dri
intltool
ocaml
$ sudo pacman -Rns $(pacman -Qtdq)
checking dependencies...
Packages (8):
Name Old Version Net Change
perl-xml-parser 2.41-4 -0.43 MiB
python2-beaker 1.6.4-1 -0.66 MiB
python2-mako 0.9.1-1 -0.84 MiB
python2-markupsafe 0.18-2 -0.12 MiB
gobject-introspection 1.38.0-1 -8.86 MiB
intel-dri 10.0.3-1 -5.04 MiB
intltool 0.50.2-1 -0.21 MiB
ocaml 4.01.0-3 -177.32 MiB
Total Removed Size: 193.50 MiB
:: Do you want to remove these packages? [Y/n]
The first output is shorter and easier to parse.
Offline
Thanks guys. It seems pacman -Qtdq did the trick.
Last edited by Xelvet (2014-02-25 19:26:22)
Offline
ANOKNUSA wrote:https://wiki.archlinux.org/index.php/Pa … d_packages
I ditched yaourt for the wondrous simplicity of cower and makepkg a long time ago, but as I recall anytime it fails to build an explicitly requested package it offers to remove the pre-installed dependencies.
Cower doesn't build packages.
Depends on what options you used with makepkg.
The "it" refers to yaourt, not cower or makepkg.
Offline