You are not logged in.
Pages: 1
Hi,
I want to ask, if there is way, that pacman automatically installs resp. deinstalls all the needed packages I put to the depends-field?
Offline
You could use the -c option in pacman (cascade), removing all dependend packages as well, if they are not required by any other packages.
Pacman automatically installs all depend() packages, if they are available in the repos by default.
Ability is nothing without opportunity.
Offline
I'm sorry to say this, but it's right there... read the man page.
Offline
Hm, exact problem ist following:
pacman -A ogmrip-0.10.0-1.pkg.tar.gz
loading package data... done.
error: unsatisfied dependencies:
ogmrip: requires ogmtools
ogmrip: requires vorbis-tools
ogmrip: requires intltool
ogmrip: requires gconf
ogmrip: requires mkvtoolnix
ogmrip: requires gocr
with PKGBUILD
# Contributor: Moo-Crumpus <do.not.spam.me AT web.de>
pkgname=ogmrip
pkgver=0.10.0
pkgrel=1
pkgdesc="Librairies and gtk2 interface for dvd ripping using mencoder"
url="http://ogmrip.sourceforge.net/"
license="GPL"
# Optional depedencies comes after pkgconfig. You can add enchant(for spellchacking in subtitiles), faac and libtheora
depends=('xorg' 'glib2' 'libxml2' 'libdvdread' 'mplayer' 'ogmtools' 'vorbis-tools' 'lame' 'intltool' 'pkgconfig' 'gtk2' 'gconf' 'libglade' 'dbus' 'hal' 'mkvtoolnix' 'gocr')
makedepends=('perlxml')
conflicts=()
replaces=()
backup=()
install=
#source=(http://mesh.dl.sourceforge.net/sourceforge/ogmrip/$pkgname-$pkgver.tar.gz)
source=(http://dl.sourceforge.net/sourceforge/ogmrip/$pkgname-$pkgver.tar.gz)
md5sums=('cef80b77b551a6e7accc1441b62c1b4a')
build() {
[ "$GNOMEDIR" = "" ] && source /etc/profile.d/gnome.sh
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
Had the same problem also with another package.
Offline
That's not a problem, it's the way pacman works. -A does not install dependencies. -S does, as long as all required packages are in correctly-configured repos.
Offline
-A does not install dependencies. -S does, as long as all required packages are in correctly-configured repos.
Yup. This will be changed in the future (probably the 3.1 release, heh)
Offline
Ok then I wait and hope the dependency support for pkgbuilds will implemented soon.
Now it's a little bit annoying to (de)install all needed packages by hand.
Offline
Make a custom local repo and put your package in there. That is the method I use and it serves me well. Instructions should be in the wiki.
Offline
Ok then I wait and hope the dependency support for pkgbuilds will implemented soon.
Now it's a little bit annoying to (de)install all needed packages by hand.
You don't have to... when you install the dependencies and -A/-U a new package, you can also:
pacman -Rsc the-package
This will remove the package and all dependencies that are no longer needed because of that removal.
Offline
@toofishes: sounds interesting
@phrakture: This does not work, if I install the packages manually. Because pacman only removes packages recursively, if they are not installed by the user.
Offline
Pages: 1