You are not logged in.

#1 2006-06-18 23:20:07

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

How not to install a dependency

Okay, it has come to my attention that IgnorePkg does not work for skipping a single dep... Either you skip the package or you install it and all its dependencies. Is there a way to completely bypass a given dependency? Say, for example, that you want KDE without archlinux-menus - is there a way to force pacman to avoid installing archlinux-menus when you install KDE?

Offline

#2 2006-06-18 23:29:41

z4ziggy
Member
From: Israel
Registered: 2004-03-29
Posts: 573
Website

Re: How not to install a dependency

the only (stupid) solution i can come up with is having a dummy package installed (using a dummy pkgbuild) to satisfy pacman as the dependency. maybe someone else has a better solution...

Offline

#3 2006-06-19 01:08:42

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: How not to install a dependency

or you could let it install it, and force remove it, that could well be the simplest option here.

Offline

#4 2006-06-19 20:00:35

z4ziggy
Member
From: Israel
Registered: 2004-03-29
Posts: 573
Website

Re: How not to install a dependency

nice solution mate smile
however, on each package upgrade, he will need to redo it again...

Offline

#5 2006-06-19 20:03:30

twiistedkaos
Member
Registered: 2006-05-20
Posts: 666

Re: How not to install a dependency

z4ziggy wrote:

nice solution mate smile
however, on each package upgrade, he will need to redo it again...

Or he could just use your idea, and add another NoUpgrade line tot he pacman.conf to ignore updating the dependancy.

Offline

#6 2006-06-20 18:48:11

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: How not to install a dependency

Perhaps the next version of pacman should have a new pacman.conf option: NoInstall, which would do exactly what it says.

Offline

#7 2006-06-20 18:59:04

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: How not to install a dependency

Very true. I have a "server" (i.e. I mostly access it through SSH) I mostly use to store data on. I use avimerge (from transcode) to merge two .avi's into one big one from time to time. It's a shame I have a basic X.org installation on there just to keep pacman happy about transcode (and cups, for a very strange reason).


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#8 2006-06-20 23:55:03

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: How not to install a dependency

yeah cups is weird.


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#9 2006-06-21 01:07:22

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: How not to install a dependency

I've wondered a few times if it would be possible to implement something like CUPS as a library ala gamin, that could be used by applications spawned by a user in a given group... It's not like CUPS is bad or anything, but I am a bit annoyed that it needs me to open up my root account in order to do the administration stuff. As a daemon that runs as root and has a network interface, it looks to me as if it could pose security problems for someone who wasn't careful.

Offline

#10 2006-06-21 09:12:50

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: How not to install a dependency

Gullible Jones wrote:

Perhaps the next version of pacman should have a new pacman.conf option: NoInstall, which would do exactly what it says.

That sounds good yes

Offline

#11 2006-06-21 18:43:54

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: How not to install a dependency

I'll file a feature request.

Edit: here it is.

Offline

#12 2006-06-22 05:24:01

ScriptDevil
Member
From: In Front of My PC
Registered: 2006-04-06
Posts: 253

Re: How not to install a dependency

good work Gullible


Be yourself, because you are all that you can be

Offline

#13 2006-06-22 13:44:47

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: How not to install a dependency

Thanks.

Offline

Board footer

Powered by FluxBB