public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] x11-bas/xorg-x11 removal
       [not found] <5bd4da44-49a4-972a-e75b-5258093a6839.ref@yahoo.com>
@ 2022-10-29  8:26 ` ralfconn
  2022-10-29 10:09   ` David Haller
  0 siblings, 1 reply; 10+ messages in thread
From: ralfconn @ 2022-10-29  8:26 UTC (permalink / raw
  To: gentoo-user

Rather than adding the whole x11-base/xorg-apps and x11-base/xorg-fonts, 
I'd like to build a list of the x11 utilities currently installed on my 
systems to add them to world in preparation of the xorg-x11 package removal.

Is anybody aware of some ready to use tool for the purpose, without 
re-inventing the wheel?

thanks,

raffaele



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

* Re: [gentoo-user] x11-bas/xorg-x11 removal
  2022-10-29  8:26 ` [gentoo-user] x11-bas/xorg-x11 removal ralfconn
@ 2022-10-29 10:09   ` David Haller
  2022-10-29 10:47     ` ralfconn
  0 siblings, 1 reply; 10+ messages in thread
From: David Haller @ 2022-10-29 10:09 UTC (permalink / raw
  To: gentoo-user

Hello,

On Sat, 29 Oct 2022, ralfconn wrote:
>Rather than adding the whole x11-base/xorg-apps and x11-base/xorg-fonts, I'd
>like to build a list of the x11 utilities currently installed on my systems
>to add them to world in preparation of the xorg-x11 package removal.
>
>Is anybody aware of some ready to use tool for the purpose, without
>re-inventing the wheel?

for c in x11-base/ x11-apps/; do
    eix '-I*' --format '<installedversions:NAMESLOT>' "$c"
done

HTH,
-dnh

-- 
panic("Oh boy, that early out of memory?");
        linux-2.2.16/arch/mips/mm/init.c


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

* Re: [gentoo-user] x11-bas/xorg-x11 removal
  2022-10-29 10:09   ` David Haller
@ 2022-10-29 10:47     ` ralfconn
  2022-10-29 22:39       ` Neil Bothwick
  0 siblings, 1 reply; 10+ messages in thread
From: ralfconn @ 2022-10-29 10:47 UTC (permalink / raw
  To: gentoo-user

On 10/29/22 12:09, David Haller wrote:
> On Sat, 29 Oct 2022, ralfconn wrote:
>> Rather than adding the whole x11-base/xorg-apps and x11-base/xorg-fonts, I'd
>> like to build a list of the x11 utilities currently installed on my systems
>> to add them to world in preparation of the xorg-x11 package removal.
>>
>> Is anybody aware of some ready to use tool for the purpose, without
>> re-inventing the wheel?
> for c in x11-base/ x11-apps/; do
>      eix '-I*' --format '<installedversions:NAMESLOT>' "$c"
> done
Wonderfully simple, thank you


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

* Re: [gentoo-user] x11-bas/xorg-x11 removal
  2022-10-29 10:47     ` ralfconn
@ 2022-10-29 22:39       ` Neil Bothwick
  2022-10-31 21:12         ` Walter Dnes
  0 siblings, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2022-10-29 22:39 UTC (permalink / raw
  To: gentoo-user

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

On Sat, 29 Oct 2022 12:47:38 +0200, ralfconn wrote:

> On 10/29/22 12:09, David Haller wrote:
> > On Sat, 29 Oct 2022, ralfconn wrote:  
> >> Rather than adding the whole x11-base/xorg-apps and
> >> x11-base/xorg-fonts, I'd like to build a list of the x11 utilities
> >> currently installed on my systems to add them to world in
> >> preparation of the xorg-x11 package removal.
> >>
> >> Is anybody aware of some ready to use tool for the purpose, without
> >> re-inventing the wheel?  
> > for c in x11-base/ x11-apps/; do
> >      eix '-I*' --format '<installedversions:NAMESLOT>' "$c"
> > done  
> Wonderfully simple, thank you

qlist -IC | grep -e x11-base -e x11-apps -e x11-fonts >/etc/portage/sets/x11
emerge -n @x11

Saves filling @world with dozens of x11 entries.


-- 
Neil Bothwick

Having children will turn you into your parents.

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

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

* Re: [gentoo-user] x11-bas/xorg-x11 removal
  2022-10-29 22:39       ` Neil Bothwick
@ 2022-10-31 21:12         ` Walter Dnes
  2022-10-31 21:32           ` Arve Barsnes
  0 siblings, 1 reply; 10+ messages in thread
From: Walter Dnes @ 2022-10-31 21:12 UTC (permalink / raw
  To: gentoo-user

On Sat, Oct 29, 2022 at 11:39:47PM +0100, Neil Bothwick wrote
> 
> qlist -IC | grep -e x11-base -e x11-apps -e x11-fonts >/etc/portage/sets/x11
> emerge -n @x11
> 
> Saves filling @world with dozens of x11 entries.

  1) Has /var/lib/portage/set_name been deprecated?

  2) Will items in /etc/portage/sets/<whatever> be automatically updated
each time you update world?

-- 
I've seen things, you people wouldn't believe; Gopher, Netscape with
frames, the first Browser Wars.  Searching for pages with AltaVista,
pop-up windows self-replicating, trying to uninstall RealPlayer.  All
those moments, will be lost in time like tears in rain... time to die.


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

* Re: [gentoo-user] x11-bas/xorg-x11 removal
  2022-10-31 21:12         ` Walter Dnes
@ 2022-10-31 21:32           ` Arve Barsnes
  2022-10-31 23:06             ` Neil Bothwick
  0 siblings, 1 reply; 10+ messages in thread
From: Arve Barsnes @ 2022-10-31 21:32 UTC (permalink / raw
  To: gentoo-user

On Mon, 31 Oct 2022 at 22:12, Walter Dnes <waltdnes@waltdnes.org> wrote:
>
> On Sat, Oct 29, 2022 at 11:39:47PM +0100, Neil Bothwick wrote
> >
> > qlist -IC | grep -e x11-base -e x11-apps -e x11-fonts >/etc/portage/sets/x11
> > emerge -n @x11
> >
> > Saves filling @world with dozens of x11 entries.
>
>   1) Has /var/lib/portage/set_name been deprecated?

No. The new default is now /var/lib/portage. Check your
/etc/portage/repos.conf/gentoo.conf if you're in doubt about where
your main repo is.

>   2) Will items in /etc/portage/sets/<whatever> be automatically updated
> each time you update world?

What kind of updates would that be? You never update world, it is a
registry of what packages you have installed, generally, not a
specific version. A set would be the same.

Regards,
Arve


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

* Re: [gentoo-user] x11-bas/xorg-x11 removal
  2022-10-31 21:32           ` Arve Barsnes
@ 2022-10-31 23:06             ` Neil Bothwick
  2022-11-01  8:44               ` Peter Humphrey
  0 siblings, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2022-10-31 23:06 UTC (permalink / raw
  To: gentoo-user

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

On Mon, 31 Oct 2022 22:32:34 +0100, Arve Barsnes wrote:

> On Mon, 31 Oct 2022 at 22:12, Walter Dnes <waltdnes@waltdnes.org> wrote:
> >
> > On Sat, Oct 29, 2022 at 11:39:47PM +0100, Neil Bothwick wrote  
> > >
> > > qlist -IC | grep -e x11-base -e x11-apps -e x11-fonts
> > > >/etc/portage/sets/x11 emerge -n @x11
> > >
> > > Saves filling @world with dozens of x11 entries.  
> >
> >   1) Has /var/lib/portage/set_name been deprecated?  
> 
> No. The new default is now /var/lib/portage. Check your
> /etc/portage/repos.conf/gentoo.conf if you're in doubt about where
> your main repo is.

When did that happen? The portage man page still shows /etc/portage/sets/
as the location for  user-defined sets.


> >   2) Will items in /etc/portage/sets/<whatever> be automatically
> > updated each time you update world?  

Provided the set is in world_sets, all packages in it will be treated as
if they were in @world for updates.


-- 
Neil Bothwick

Guns don't kill people--it's those little pieces of lead.

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

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

* Re: [gentoo-user] x11-bas/xorg-x11 removal
  2022-10-31 23:06             ` Neil Bothwick
@ 2022-11-01  8:44               ` Peter Humphrey
  2022-11-01  9:58                 ` Arve Barsnes
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Humphrey @ 2022-11-01  8:44 UTC (permalink / raw
  To: gentoo-user

On Monday, 31 October 2022 23:06:18 GMT Neil Bothwick wrote:
> On Mon, 31 Oct 2022 22:32:34 +0100, Arve Barsnes wrote:
> > On Mon, 31 Oct 2022 at 22:12, Walter Dnes <waltdnes@waltdnes.org> 
wrote:
> > > On Sat, Oct 29, 2022 at 11:39:47PM +0100, Neil Bothwick wrote
> > > 
> > > > qlist -IC | grep -e x11-base -e x11-apps -e x11-fonts
> > > > 
> > > > >/etc/portage/sets/x11 emerge -n @x11
> > > > 
> > > > Saves filling @world with dozens of x11 entries.
> > > > 
> > >   1) Has /var/lib/portage/set_name been deprecated?
> > 
> > No. The new default is now /var/lib/portage. Check your
> > /etc/portage/repos.conf/gentoo.conf if you're in doubt about where
> > your main repo is.
> 
> When did that happen? The portage man page still shows /etc/portage/sets/
> as the location for  user-defined sets.

There seems to be some confusion here. /var/lib/portage is where portage 
stores things; /etc/portage is where you store portage things.

> > >   2) Will items in /etc/portage/sets/<whatever> be automatically
> > > updated each time you update world?
> 
> Provided the set is in world_sets, all packages in it will be treated as
> if they were in @world for updates.

In my case, nearly all the packages I want installed are specified in 6 sets in 
/etc/portage/sets/<set-name>. When I emerge one of those sets, portage adds it 
to /var/lib/portage/world_sets, just as any package I emerge specifically goes 
into /var/lib/portage/world. In fact my world file has just three entries at 
the moment: things I'm trying before they're moved to a set.

Neat and tidy.

[OT]

This scheme may seem backwards; I started it when I was going through a great 
many reinstallations and wanted to go methodically, one step at a time. First 
a core set, then a broader base set, then xorg, plasma and apps. The 
appropriate profile would be set for each stage. I'd set up the kernel config 
after the core, so that the rest of the base packages had proper kernel 
settings to read. That gave me a bootable system and I'd finish the job in the 
new system itself.

-- 
Regards,
Peter.





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

* Re: [gentoo-user] x11-bas/xorg-x11 removal
  2022-11-01  8:44               ` Peter Humphrey
@ 2022-11-01  9:58                 ` Arve Barsnes
  2022-11-01 15:14                   ` Peter Humphrey
  0 siblings, 1 reply; 10+ messages in thread
From: Arve Barsnes @ 2022-11-01  9:58 UTC (permalink / raw
  To: gentoo-user

On Tue, 1 Nov 2022 at 09:44, Peter Humphrey <peter@prh.myzen.co.uk> wrote:
> > > >   1) Has /var/lib/portage/set_name been deprecated?
> > >
> > > No. The new default is now /var/lib/portage. Check your
> > > /etc/portage/repos.conf/gentoo.conf if you're in doubt about where
> > > your main repo is.
> >
> > When did that happen? The portage man page still shows /etc/portage/sets/
> > as the location for  user-defined sets.
>
> There seems to be some confusion here. /var/lib/portage is where portage
> stores things; /etc/portage is where you store portage things.

Indeed, this was my mistake. Has /var/lib/portage/ ever been possible
for sets? Since the world file is there, I could see an initial
implementation choosing that as the logical destination, but I have no
memory of it.

Regards,
Arve


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

* Re: [gentoo-user] x11-bas/xorg-x11 removal
  2022-11-01  9:58                 ` Arve Barsnes
@ 2022-11-01 15:14                   ` Peter Humphrey
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Humphrey @ 2022-11-01 15:14 UTC (permalink / raw
  To: gentoo-user

On Tuesday, 1 November 2022 09:58:25 GMT Arve Barsnes wrote:

> ... Has /var/lib/portage/ ever been possible for sets? Since the world file
> is there, I could see an initial implementation choosing that as the logical
> destination, but I have no memory of it.

Likewise my memory. I doubt it was ever advisable to store any user file under 
/var/lib/ -- I'm sure it would cause terrible confusion at some stage.   :)

-- 
Regards,
Peter.





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

end of thread, other threads:[~2022-11-01 15:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <5bd4da44-49a4-972a-e75b-5258093a6839.ref@yahoo.com>
2022-10-29  8:26 ` [gentoo-user] x11-bas/xorg-x11 removal ralfconn
2022-10-29 10:09   ` David Haller
2022-10-29 10:47     ` ralfconn
2022-10-29 22:39       ` Neil Bothwick
2022-10-31 21:12         ` Walter Dnes
2022-10-31 21:32           ` Arve Barsnes
2022-10-31 23:06             ` Neil Bothwick
2022-11-01  8:44               ` Peter Humphrey
2022-11-01  9:58                 ` Arve Barsnes
2022-11-01 15:14                   ` Peter Humphrey

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