You are not logged in.

#1 2010-11-21 10:33:38

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

Installed via --asdeps but some pacakges are orphaned

I recently installed k3b which gave some optional deps (dvd+rw-tools for example).  I installed dvd+rw-tools via:

pacman -S --asdeps dvd+rw-tools

What I don't understand is why dvd+rw-tools shows up as an orphaned package:

$ pacman -Qdt
dvd+rw-tools 7.1-2
gettext 0.18.1.1-1
intltool 0.41.1-2

Even pacman shows that it is a dep:

$ pacman -Qi dvd+rw-tools
Name           : dvd+rw-tools
Version        : 7.1-2
URL            : http://fy.chalmers.se/~appro/linux/DVD+RW
Licenses       : GPL
Groups         : None
Provides       : None
Depends On     : cdrkit  gcc-libs
Optional Deps  : None
Required By    : None
Conflicts With : None
Replaces       : None
Installed Size : 272.00 K
Packager       : Jan de Groot <jgc@archlinux.org>
Architecture   : x86_64
Build Date     : Sat 15 Aug 2009 11:53:52 AM EDT
Install Date   : Sun 21 Nov 2010 05:24:19 AM EST
Install Reason : Installed as a dependency for another package
Install Script : No
Description    : dvd burning tools

I'd ask the same question for gettext which is an optdep of grub2 which I also installed via the --asdeps switch.

Should I log as a bug or am I missing something...?

Last edited by graysky (2010-11-21 10:34:29)

Offline

#2 2010-11-21 10:43:23

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Installed via --asdeps but some pacakges are orphaned

pacman sees dvd+rw-tools as a dependency as you installed it with --asdeps.   The problem is, pacman really does nothing with optdepends so it does not know which package it should be a dependency of....

I have a plan to fix, but doubt I will do anything about this in the near future: https://wiki.archlinux.org/index.php/Us … OptDepends

Offline

#3 2010-11-21 10:52:13

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

Re: Installed via --asdeps but some pacakges are orphaned

Cool, thanks for the info.  So any package that I install via --asdeps will be considered an orphan..?

Offline

#4 2010-11-21 11:12:52

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Installed via --asdeps but some pacakges are orphaned

Yes, provided it is not in some packages dependency list...

Offline

Board footer

Powered by FluxBB