Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
questions about dependencies/installing packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mathieu
Guest





PostPosted: Sun Jul 07, 2002 3:32 pm    Post subject: questions about dependencies/installing packages Reply with quote

Hello,

I'm just new to gentoo and I ran into two problems I don't know how to fix:

1. When I want to install kdegraphics, it wants to install sane-backends. While sane-backends wants to install all kinds of docbook-(xml/sgml/dsssl) packages. However, I don't have a scanner, so what do I need sane-backends (and the rest) for? Can I install kdegraphics without sane-backends, if so; how? (I always like my installation as small as possible, and these packages seems useless to me, that's why.)

2. I use lilo for booting. (Because I have an onboard "hardware" raid0 controller and lilo runs fine with it). So I don't wan't grub. However every time I do a "emerge rsync" followed by a "emerge -up world" it wants to install grub. I figured out it's because of /etc/make.profile/packages, and it gets rewritten every time I do a rsync, so changing grub into lilo doesn't work. Can I change this behaviour perminently?

mathieu
Back to top
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20589

PostPosted: Sun Jul 07, 2002 4:21 pm    Post subject: Reply with quote

Not sure about 1.

2. I think adding -grub to the USE variable in /etc/make.conf should do the trick.
Check the Gentoo Guide to USE flags for more info.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20589

PostPosted: Sun Jul 07, 2002 4:24 pm    Post subject: Reply with quote

OK, that may not be true... I didn't see grub mentioned in the USE doc page.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Sun Jul 07, 2002 4:35 pm    Post subject: Re: questions about dependencies/installing packages Reply with quote

mathieu wrote:
1. When I want to install kdegraphics, it wants to install sane-backends. While sane-backends wants to install all kinds of docbook-(xml/sgml/dsssl) packages. However, I don't have a scanner, so what do I need sane-backends (and the rest) for? Can I install kdegraphics without sane-backends, if so; how? (I always like my installation as small as possible, and these packages seems useless to me, that's why.)

Gentoo definitely needs some more work on either a) more granular USE variables or b) more granular package control. Right now, the only way I know of to override dependencies is to manually edit the ebuild. (which will then get overwritten the next time you rsync.) You can also try masking sane-backends in /usr/portage/profiles/package.mask, but that may simply cause the kdegraphics ebuild to fail because it can't satisfy dependencies. Not sure.

mathieu wrote:
2. I use lilo for booting. (Because I have an onboard "hardware" raid0 controller and lilo runs fine with it). So I don't wan't grub. However every time I do a "emerge rsync" followed by a "emerge -up world" it wants to install grub. I figured out it's because of /etc/make.profile/packages, and it gets rewritten every time I do a rsync, so changing grub into lilo doesn't work. Can I change this behaviour perminently?

Easiest method: mask grub in /usr/portage/profiles/package.mask. Second-easiest method: /etc/make.profile is really a symlink to /usr/portage/profiles/<your profile>. This is why it gets overwritten at every rsync. To change this behavior, remove the symlink and copy all the files over to /etc/make.profile so it becomes an actual directory. This can cause other problems, however, since your profile won't be getting updated any more, so you'll want to keep a careful eye on the diff between /etc/make.profile and /usr/portage/profiles/<your profile>

--kurt

EDIT: cleaned up a stray bbcode remnant
_________________
The problem with political jokes is that they get elected


Last edited by klieber on Mon Jul 08, 2002 8:22 pm; edited 2 times in total
Back to top
View user's profile Send private message
mathieu
Guest





PostPosted: Mon Jul 08, 2002 8:19 pm    Post subject: Re: questions about dependencies/installing packages Reply with quote

> Gentoo definitely needs some more work on either a) more granular USE
> variables or b) more granular package control.

I agree, I guess I have to wait for things to get better.

For now I use 'emerge -i sys-apps/grub-0.90-r7' It works until a higher version is unmasked. I'll try it for sane-backends later.
USE doesn't work and unmasking gets overwritten every rsync, so 'injecting' is the best option for me for now, I think.

mathieu
Back to top
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum