public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Odd portage quirk
@ 2019-01-16  9:50 Peter Humphrey
  2019-01-16 10:06 ` Peter Humphrey
  2019-01-16 10:15 ` Neil Bothwick
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Humphrey @ 2019-01-16  9:50 UTC (permalink / raw
  To: gentoo-user

Hello list,

This box acts as an emerge server for a 32-bit Atom. So I NFS-mount the Atom's 
portage tree in a 32-bit chroot, build the packages it needs and then emerge 
the packages on the Atom.

This morning I found something odd: the Atom wanted to emerge perl 5.24, even 
though 5.26 was already present, so I got a long list of clashes. This is the 
emerge command on the Atom:

emerge -auDvUK --jobs=2 --load-average=4 --changed-use --changed-deps \
            --with-bdeps=y --nospinner --keep-going world

The solution was to delete the 5.24 package left over from an earlier emerge. 
All was then well.

It looks as though the -K switch caused portage to want to emerge the package 
even though it wasn't indicated by the update. Is it supposed to do that?

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Odd portage quirk
  2019-01-16  9:50 [gentoo-user] Odd portage quirk Peter Humphrey
@ 2019-01-16 10:06 ` Peter Humphrey
  2019-01-16 10:15 ` Neil Bothwick
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Humphrey @ 2019-01-16 10:06 UTC (permalink / raw
  To: gentoo-user

On Wednesday, 16 January 2019 09:50:58 GMT I wrote:

> This morning I found something odd: the Atom wanted to emerge perl 5.24,
> even though 5.26 was already present, so I got a long list of clashes.

I forgot to say that the emerge host had no trouble with this daily update; 
just the client Atom box.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Odd portage quirk
  2019-01-16  9:50 [gentoo-user] Odd portage quirk Peter Humphrey
  2019-01-16 10:06 ` Peter Humphrey
@ 2019-01-16 10:15 ` Neil Bothwick
  2019-01-16 11:02   ` Peter Humphrey
  1 sibling, 1 reply; 4+ messages in thread
From: Neil Bothwick @ 2019-01-16 10:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1223 bytes --]

On Wed, 16 Jan 2019 09:50:58 +0000, Peter Humphrey wrote:

> This box acts as an emerge server for a 32-bit Atom. So I NFS-mount the
> Atom's portage tree in a 32-bit chroot, build the packages it needs and
> then emerge the packages on the Atom.
> 
> This morning I found something odd: the Atom wanted to emerge perl
> 5.24, even though 5.26 was already present, so I got a long list of
> clashes. This is the emerge command on the Atom:
> 
> emerge -auDvUK --jobs=2 --load-average=4 --changed-use --changed-deps \
>             --with-bdeps=y --nospinner --keep-going world
> 
> The solution was to delete the 5.24 package left over from an earlier
> emerge. All was then well.
> 
> It looks as though the -K switch caused portage to want to emerge the
> package even though it wasn't indicated by the update. Is it supposed
> to do that?

Was there a suitable package for 5.26 in $PKGDIR? The -K switch forces
portage to use a package, unlike -k, so if the exact 5.26 version you had
installed had been removed from the tree in favour of an updated/fixed
version, portage would have to downgrade if you hadn't built the new
package.


-- 
Neil Bothwick

Weird enough for government work.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Odd portage quirk
  2019-01-16 10:15 ` Neil Bothwick
@ 2019-01-16 11:02   ` Peter Humphrey
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Humphrey @ 2019-01-16 11:02 UTC (permalink / raw
  To: gentoo-user

On Wednesday, 16 January 2019 10:15:22 GMT Neil Bothwick wrote:
> On Wed, 16 Jan 2019 09:50:58 +0000, Peter Humphrey wrote:
> > This box acts as an emerge server for a 32-bit Atom. So I NFS-mount the
> > Atom's portage tree in a 32-bit chroot, build the packages it needs and
> > then emerge the packages on the Atom.
> > 
> > This morning I found something odd: the Atom wanted to emerge perl
> > 5.24, even though 5.26 was already present, so I got a long list of
> > clashes. This is the emerge command on the Atom:
> > 
> > emerge -auDvUK --jobs=2 --load-average=4 --changed-use --changed-deps \
> > 
> >             --with-bdeps=y --nospinner --keep-going world
> > 
> > The solution was to delete the 5.24 package left over from an earlier
> > emerge. All was then well.
> > 
> > It looks as though the -K switch caused portage to want to emerge the
> > package even though it wasn't indicated by the update. Is it supposed
> > to do that?
> 
> Was there a suitable package for 5.26 in $PKGDIR? The -K switch forces
> portage to use a package, unlike -k, so if the exact 5.26 version you had
> installed had been removed from the tree in favour of an updated/fixed
> version, portage would have to downgrade if you hadn't built the new
> package.

No, the 5.26 package was there alongside the 5.24, and portage didn't want to 
downgrade. Once I'd removed the 5.24 package portage was no longer confused.

I have checked that the host and client have identical world and package.* 
files. Also make.conf, except for things like --jobs and buildpkg.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-16 11:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-16  9:50 [gentoo-user] Odd portage quirk Peter Humphrey
2019-01-16 10:06 ` Peter Humphrey
2019-01-16 10:15 ` Neil Bothwick
2019-01-16 11:02   ` Peter Humphrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox