* [gentoo-user] Problem with Portage profile override
@ 2010-02-21 7:54 hb-xxl
2010-02-21 15:31 ` Neil Bothwick
0 siblings, 1 reply; 7+ messages in thread
From: hb-xxl @ 2010-02-21 7:54 UTC (permalink / raw
To: gentoo-user
Hi!
I do have a problem using /etc/portage/profile/package.provided. At
first I added some other packages to this file and got the expected
functionality. Then I added sys-apps/busybox-1.16 to package.provided.
It works and portage detects the entry on an emerge, but it prints a big
fat warning, that busybox has been excluded and suggests deleting from
worlds file or removing from the package.provided file. But busybox
isn't in the worlds file. And removing it from the package.provided
files leeds to emerge trying to install busybox 1.15.3 which conflicts
with my manual installation of busybox 1.16.0 (or daily snapshot).
How is it possible to disable this warning message from emerge, because
it's half a screen full of text on every merge and scrolls off a lot of
other wanted information from the screen?
If any additional Information required please feel free to ask. I'm new
to gentoo and portage but otherwise a C programmer and more or less an
linux expert.
Thx for your help.
Harald
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Problem with Portage profile override
2010-02-21 7:54 [gentoo-user] Problem with Portage profile override hb-xxl
@ 2010-02-21 15:31 ` Neil Bothwick
2010-02-21 16:58 ` hb-xxl
0 siblings, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2010-02-21 15:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1158 bytes --]
On Sun, 21 Feb 2010 08:54:16 +0100, hb-xxl@web.de wrote:
> I do have a problem using /etc/portage/profile/package.provided. At
> first I added some other packages to this file and got the expected
> functionality. Then I added sys-apps/busybox-1.16 to package.provided.
> It works and portage detects the entry on an emerge, but it prints a big
> fat warning, that busybox has been excluded and suggests deleting from
> worlds file or removing from the package.provided file. But busybox
> isn't in the worlds file. And removing it from the package.provided
> files leeds to emerge trying to install busybox 1.15.3 which conflicts
> with my manual installation of busybox 1.16.0 (or daily snapshot).
package.provided is the wrong file. Your problem is caused by busybox
being in @system, which is a subset of @world. That's why you see the
message about it being in world even though it is not in the world file.
To remove it from @system, add
-sys-apps/busybox
in /etc/portage/profile/packages.
--
Neil Bothwick
"Everything takes longer than expected, even when you take
into account Hoffstead's Law." - Hoffstead's Law
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Problem with Portage profile override
2010-02-21 15:31 ` Neil Bothwick
@ 2010-02-21 16:58 ` hb-xxl
2010-02-21 19:07 ` Paul Colquhoun
2010-02-21 19:18 ` Neil Bothwick
0 siblings, 2 replies; 7+ messages in thread
From: hb-xxl @ 2010-02-21 16:58 UTC (permalink / raw
To: gentoo-user
On 21.02.2010 16:31, Neil Bothwick wrote:
> package.provided is the wrong file. Your problem is caused by busybox
> being in @system, which is a subset of @world. That's why you see the
> message about it being in world even though it is not in the world file.
> To remove it from @system, add
>
> -sys-apps/busybox
>
> in /etc/portage/profile/packages.
>
>
I tried this before I posted my question and did it again now ... sorry,
no ... this doesn't solve the problem. It doesn't matter if
/etc/portage/profile/packages (tried "packages." too, just to be sure)
contains "-sys-apps/busybox" or not, as soon as I do remove busybox from
package.provided emerge tries to install busybox-1.15.3, and if I add it
back to provided the warning reappears.
What's wrong? Did any change of the system installation I made break
portage? ... but everything else seems to work fine.
... but thx for that fast try to help.
Harald
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Problem with Portage profile override
2010-02-21 16:58 ` hb-xxl
@ 2010-02-21 19:07 ` Paul Colquhoun
2010-02-22 10:12 ` hb-xxl
2010-02-21 19:18 ` Neil Bothwick
1 sibling, 1 reply; 7+ messages in thread
From: Paul Colquhoun @ 2010-02-21 19:07 UTC (permalink / raw
To: gentoo-user
On Mon, 22 Feb 2010 03:58:33 hb-xxl@web.de wrote:
> On 21.02.2010 16:31, Neil Bothwick wrote:
> > package.provided is the wrong file. Your problem is caused by busybox
> > being in @system, which is a subset of @world. That's why you see the
> > message about it being in world even though it is not in the world file.
> > To remove it from @system, add
> >
> > -sys-apps/busybox
> >
> > in /etc/portage/profile/packages.
>
> I tried this before I posted my question and did it again now ... sorry,
> no ... this doesn't solve the problem. It doesn't matter if
> /etc/portage/profile/packages (tried "packages." too, just to be sure)
> contains "-sys-apps/busybox" or not, as soon as I do remove busybox from
> package.provided emerge tries to install busybox-1.15.3, and if I add it
> back to provided the warning reappears.
>
> What's wrong? Did any change of the system installation I made break
> portage? ... but everything else seems to work fine.
>
> ... but thx for that fast try to help.
Have you tried making an ebuild for 1.16 and putting it in /usr/local/portage
directory?
That way you won't be fighting with portage about what version to install.
--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Before you criticize someone, you should walk a mile in their shoes.
Then, when you do, you'll be a mile away, and you'll have their shoes.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Problem with Portage profile override
2010-02-21 16:58 ` hb-xxl
2010-02-21 19:07 ` Paul Colquhoun
@ 2010-02-21 19:18 ` Neil Bothwick
2010-02-22 9:59 ` hb-xxl
1 sibling, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2010-02-21 19:18 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 605 bytes --]
On Sun, 21 Feb 2010 17:58:33 +0100, hb-xxl@web.de wrote:
> I tried this before I posted my question and did it again now ... sorry,
> no ... this doesn't solve the problem. It doesn't matter if
> /etc/portage/profile/packages (tried "packages." too, just to be sure)
> contains "-sys-apps/busybox" or not, as soon as I do remove busybox from
> package.provided emerge tries to install busybox-1.15.3, and if I add it
> back to provided the warning reappears.
Does --tree show what is trying to pull it in?
--
Neil Bothwick
"Press Return to Continue" - known as "The Mail Menupause".
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Problem with Portage profile override
2010-02-21 19:18 ` Neil Bothwick
@ 2010-02-22 9:59 ` hb-xxl
0 siblings, 0 replies; 7+ messages in thread
From: hb-xxl @ 2010-02-22 9:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 190 bytes --]
On 21.02.2010 20:18, Neil Bothwick wrote:
> Does --tree show what is trying to pull it in?
No. It does only say "world" or "system".
Some command outputs appended to clarify the problem.
[-- Attachment #2: ee --]
[-- Type: text/plain, Size: 1417 bytes --]
$ emerge -v -t -p -u -D world
These are the packages that would be merged, in reverse order:
Calculating dependencies ... done!
Total: 0 packages, Size of downloads: 0 kB
WARNING: A requested package will not be merged because it is listed in
package.provided:
sys-apps/busybox pulled in by 'world'
This problem can be solved in one of the following ways:
A) Use emaint to clean offending packages from world (if not installed).
B) Uninstall offending packages (cleans them from world).
C) Remove offending entries from package.provided.
The best course of action depends on the reason that an offending
package.provided entry exists.
$ emerge -v -t -p -u -D system
These are the packages that would be merged, in reverse order:
Calculating dependencies ... done!
Total: 0 packages, Size of downloads: 0 kB
WARNING: A requested package will not be merged because it is listed in
package.provided:
sys-apps/busybox pulled in by 'system'
$ emerge --deselect sys-apps/busybox
>>> No matching atoms found in "world" favorites file...
$ emaint -c all
Checking world for problems
Checking moveinst for problems
Checking movebin for problems
Checking binhost for problems
Checking cleanresume for problems
Finished
$ cat /etc/portage/profile/packages
-sys-apps/busybox
$ cat /etc/portage/profile/package.provided
sys-apps/openrc-0
mail-mta/ssmtp-9
dev-util/gtk-doc-am-1
sys-apps/busybox-1.16
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Problem with Portage profile override
2010-02-21 19:07 ` Paul Colquhoun
@ 2010-02-22 10:12 ` hb-xxl
0 siblings, 0 replies; 7+ messages in thread
From: hb-xxl @ 2010-02-22 10:12 UTC (permalink / raw
To: gentoo-user
On 21.02.2010 20:07, Paul Colquhoun wrote:
>
> Have you tried making an ebuild for 1.16 and putting it in /usr/local/portage
> directory?
>
> That way you won't be fighting with portage about what version to install.
>
No. I'm fairly new to gentoo and the ebuild system. Currently I don't
know much about creating ebuilds. Is there anywhere a specification of
those ebuild files? ... but it wouldn't either be easy to create a
special ebuild for my installation, because I don't do a normal busybox
build/installation. I'm throwing in several source modifications to
busybox and I do a completely different installation (e.g. naming and
placement of the files in the destination system). In addition I'm
trying and working with daily snapshots of busybox (from time to time).
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-02-22 11:03 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-21 7:54 [gentoo-user] Problem with Portage profile override hb-xxl
2010-02-21 15:31 ` Neil Bothwick
2010-02-21 16:58 ` hb-xxl
2010-02-21 19:07 ` Paul Colquhoun
2010-02-22 10:12 ` hb-xxl
2010-02-21 19:18 ` Neil Bothwick
2010-02-22 9:59 ` hb-xxl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox