View previous topic :: View next topic |
Author |
Message |
mrbassie l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/2027197225fd39331ea1f1.jpg)
Joined: 31 May 2013 Posts: 834 Location: Go past the sign for cope, right at the sign for seethe. If you see the target you've missed it.
|
Posted: Sat Feb 01, 2025 6:23 pm Post subject: Set/command smart-live-rebuild |
|
|
[Administrator note: this post, and all posts up through (but not including) my first response were originally attached to the topic Portage crashes terminal, unable to compile @world set. -Hu]
Code: | @smart-live-rebuild |
What does this do? It's neither in the man page nor the wiki. _________________ I spent a christmas in Vienna twenty something years ago. It was a beautiful city. Everyone was so friendly. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Banana Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/5204386264b863c6da7ffb.jpg)
Joined: 21 May 2004 Posts: 1890 Location: Germany
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Zucca Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/8484577066727ff6a19116.gif)
Joined: 14 Jun 2007 Posts: 3939 Location: Rasi, Finland
|
Posted: Sat Feb 01, 2025 8:19 pm Post subject: |
|
|
I think that set is automatically constructed from packages that fill the the requirement of @installed && FEATURES=live.
man portage *snip*: | sets.conf
A package set configuration file. Settings here override settings
from /var/db/repos/gentoo/sets.conf and /usr/share/portage/con‐
fig/sets. The format is described extensively in the Package Set
Configuration section of the html documentation which is in‐
stalled with portage when the "doc" USE flag is enabled.
Example:
[world]
class = portage.sets.base.DummyPackageSet
packages = @profile @selected @system
[usersets]
class = portage.sets.files.StaticFileSet
multiset = true
directory = %(PORTAGE_CONFIGROOT)setc/portage/sets
world-candidate = True
[module-rebuild]
class = portage.sets.dbapi.OwnerSet
files = /lib/modules |
EDIT: The set is added by app-portage/smart-live-rebuild so it's not part of the default sets. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
Last edited by Zucca on Sun Feb 02, 2025 4:23 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2705
|
Posted: Sat Feb 01, 2025 8:28 pm Post subject: |
|
|
It is not a set but a command and it is not related to OP's problem in any way. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pingtoo Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_storm_trooper.gif)
Joined: 10 Sep 2021 Posts: 1492 Location: Richmond Hill, Canada
|
Posted: Sun Feb 02, 2025 4:55 am Post subject: |
|
|
logrusx wrote: | It is not a set but a command and it is not related to OP's problem in any way. |
I must say, I disagreed.
If you install correctly it extend the Portage builtin to have the "smart-live-rebuild" as additional to existing default sets. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2705
|
Posted: Sun Feb 02, 2025 5:08 am Post subject: |
|
|
pingtoo wrote: | logrusx wrote: | It is not a set but a command and it is not related to OP's problem in any way. |
I must say, I disagreed.
If you install correctly it extend the Portage builtin to have the "smart-live-rebuild" as additional to existing default sets. |
I must say I disagree. Look closely at the original command. The user alerted the quote.
Best Regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Josef.95 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 03 Sep 2007 Posts: 4693 Location: Germany
|
Posted: Sun Feb 02, 2025 8:10 am Post subject: |
|
|
You can using smart-live-rebuild directly or as set - both works :)
/usr/share/doc/smart-live-rebuild-1.4.1/README.bz2 wrote: | Portage set support
-------------------
Apart from being called directly, smart-live-rebuild provides a package
set for portage-2.2, called ``smartliverebuild.sets.SmartLiveRebuildSet``.
Please take a look at ``sets.conf.example`` file for a use example. |
Code: | emerge --list-sets | grep smart
smart-live-rebuild |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23101
|
Posted: Sun Feb 02, 2025 2:28 pm Post subject: |
|
|
logrusx wrote: | I must say I disagree. Look closely at the original command. The user alerted the quote.
Best Regards,
Georgi | It is both a set and a command, and different posters in these threads have referred to it in different ways. picarica (author of the original thread Portage crashes terminal, unable to compile @world set) wrote it as a set: picarica wrote: | Code: | $ sudo emerge --sync;sudo emerge -a --verbose --update --deep --newuse --keep-going --with-bdeps=y @world && sudo emerge @smart-live-rebuild |
| Later, ingenarel posted it as a command ingenarel wrote: | Code: | sudo emerge --ask --deep --verbose --update --newuse @world && sudo smart-live-rebuild |
| After that, mrbassie asked what the set does: mrbassie wrote: | Code: | @smart-live-rebuild |
What does this do? | Thus, depending on whose quote you want to look at, you can say it was altered (if you compare mrbassie's quote as a set to ingenarel's post as a command) or you can say it was a straight quote if you compare mrbassie's quote as a set to picarica's original question as a set. This would have been somewhat clearer if mrbassie's question had quoted the post (and poster name) that he was questioning.
For users who have not installed the package app-portage/smart-live-rebuild, neither the set nor the command is available, which makes researching this very slightly harder. (Though as Banana's first post here demonstrates, it's not particularly hard to find with a search engine.) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2705
|
Posted: Sun Feb 02, 2025 3:16 pm Post subject: |
|
|
Hu wrote: | It is both a set and a command, and different posters in these threads have referred to it in different ways. |
OK, I'll admit it's my bad this time. And I apologize to everybody involved. However I still support it's off topic and diverting attention from the original issue, so thanks for taking into account my complaint and splitting the thread.
Best Regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Zucca Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/8484577066727ff6a19116.gif)
Joined: 14 Jun 2007 Posts: 3939 Location: Rasi, Finland
|
Posted: Sun Feb 02, 2025 4:21 pm Post subject: |
|
|
Don't quote me on this, but I think @smart-live-rebuild, the set, invokes the command smart-live-rebuild to construct the items to the before-mentioned set. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mrbassie l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/2027197225fd39331ea1f1.jpg)
Joined: 31 May 2013 Posts: 834 Location: Go past the sign for cope, right at the sign for seethe. If you see the target you've missed it.
|
Posted: Fri Feb 07, 2025 7:13 pm Post subject: |
|
|
Zucca wrote: | Don't quote me on this, but I think @smart-live-rebuild, the set, invokes the command smart-live-rebuild to construct the items to the before-mentioned set. |
Sorry I had to. An older boy made me.
Code: | $ emerge -pv @smart-live-rebuild
emerge: There are no sets to satisfy 'smart-live-rebuild'. The following sets exist:
changed-deps
changed-subslot
deprecated-live-rebuild
downgrade
esteam
installed
live-rebuild
module-rebuild
preserved-rebuild
profile
rebuilt-binaries
rust-rebuild
security
selected
selected-packages
selected-sets
system
unavailable
unavailable-binaries
world
x11-module-rebuild
|
Hence the question. _________________ I spent a christmas in Vienna twenty something years ago. It was a beautiful city. Everyone was so friendly. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
szatox Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 27 Aug 2013 Posts: 3504
|
Posted: Fri Feb 07, 2025 8:35 pm Post subject: |
|
|
I don't know anything about the set, but there is a standalone tool which does the same things as emerge @live-rebuild, but cheaper
Code: | # eix app-portage/smart-live-rebuild
[I] app-portage/smart-live-rebuild
Available versions: 1.4.1^t **9999*l^t {test PYTHON_TARGETS="pypy3 python3_10 python3_11 python3_12 python3_13"}
Installed versions: 1.4.1^t(09:57:42 PM 01/21/2025)(-test PYTHON_TARGETS="python3_11 python3_12 -pypy3 -python3_10 -python3_13")
Homepage: https://github.com/projg2/smart-live-rebuild/
Description: Check live packages for updates and emerge them as necessary
|
_________________ Make Computing Fun Again |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sam_ Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/7738740495f7d1acc45bdb.jpg)
Joined: 14 Aug 2020 Posts: 2144
|
Posted: Fri Feb 07, 2025 9:09 pm Post subject: |
|
|
app-portage/smart-live-rebuild installs /usr/share/portage/config/sets/smart-live-rebuild.conf which provides the set. I'm not sure what confusion remains here -- it's been answered a few times above. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Zucca Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/8484577066727ff6a19116.gif)
Joined: 14 Jun 2007 Posts: 3939 Location: Rasi, Finland
|
Posted: Sat Feb 08, 2025 6:07 am Post subject: |
|
|
I may sound stupid but:
mrbassie wrote: | Hence the question. | You need to first install the package: app-portage/smart-live-rebuild _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|