Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Anyway to update only UPDATABLE 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
finalturismo
Guru
Guru


Joined: 06 Jan 2020
Posts: 410

PostPosted: Tue Jan 18, 2022 8:11 pm    Post subject: Anyway to update only UPDATABLE PACKAGES Reply with quote

So is there a way to update only updatable package on Gentoo.

For example if i run into packages blocking a system update instead of spending 5 hours excluding packages and updating packages 1 by 1 until i can get past the conflict or blocked package etc...

Can i just run a command that only updates the packages that can update without issue?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Tue Jan 18, 2022 8:40 pm    Post subject: Reply with quote

Usually blocked package are caused by a specific problem, it would be better to post the output to get help.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
finalturismo
Guru
Guru


Joined: 06 Jan 2020
Posts: 410

PostPosted: Tue Jan 18, 2022 9:16 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Usually blocked package are caused by a specific problem, it would be better to post the output to get help.


Yes i know and i can fix the issues by playing around and following error messages but i was wondering if it is a possibility.
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3137

PostPosted: Tue Jan 18, 2022 9:36 pm    Post subject: Reply with quote

Yes, emerge does perform partial upgrades automagically if possible.
If it does not offer any updates, it means it was not able to find viable options. You can tell it to try harder by increasing --backtrack= value (i think 5 is the default, manual suggests 30 when required, you can provide an arbitrary value), possibly also --with-bdeps (though this one is probably just a waste of time)

There are no guarantees that a solution will be found (even if one exists), but some blocks can be just waited out, and others require manual intervention from you.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1660

PostPosted: Tue Jan 18, 2022 9:43 pm    Post subject: Reply with quote

The minimum command to update all packages is:
Code:
emerge --update --deep @world


This will not guarantee removal of any conflicts particularly when a USE flag is changed system-wide in the profile such as with PYTHON_TARGETS. For this reason, the --changed-use or --newuse options are often necessary to overcome this.

Solving the real issues and updating at regular intervals will keep things rather quiet.
Back to top
View user's profile Send private message
finalturismo
Guru
Guru


Joined: 06 Jan 2020
Posts: 410

PostPosted: Tue Jan 18, 2022 9:45 pm    Post subject: Reply with quote

grknight wrote:
The minimum command to update all packages is:
Code:
emerge --update --deep @world


This will not guarantee removal of any conflicts particularly when a USE flag is changed system-wide in the profile such as with PYTHON_TARGETS. For this reason, the --changed-use or --newuse options are often necessary to overcome this.

Solving the real issues and updating at regular intervals will keep things rather quiet.


Python updates steal a day or 2 of my life sometimes and this is the 4th times iam having to do this.!?!?!!?!
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21635

PostPosted: Tue Jan 18, 2022 10:19 pm    Post subject: Reply with quote

Over a long enough time period, yes, you can rack up a mess that requires several hours to untangle, particularly if you never develop proficiency in applying the information Portage is giving you. You can also make things worse by keeping several non-identical systems, and then needing to solve each of them individually.
Back to top
View user's profile Send private message
finalturismo
Guru
Guru


Joined: 06 Jan 2020
Posts: 410

PostPosted: Tue Jan 18, 2022 11:20 pm    Post subject: Reply with quote

Hu wrote:
Over a long enough time period, yes, you can rack up a mess that requires several hours to untangle, particularly if you never develop proficiency in applying the information Portage is giving you. You can also make things worse by keeping several non-identical systems, and then needing to solve each of them individually.


Yes well the reason i ask is i manage about 5 Gentoo systems a few which arnt technically mine...
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Tue Jan 18, 2022 11:55 pm    Post subject: Reply with quote

finalturismo wrote:
grknight wrote:
The minimum command to update all packages is:
Code:
emerge --update --deep @world


This will not guarantee removal of any conflicts particularly when a USE flag is changed system-wide in the profile such as with PYTHON_TARGETS. For this reason, the --changed-use or --newuse options are often necessary to overcome this.

Solving the real issues and updating at regular intervals will keep things rather quiet.


Python updates steal a day or 2 of my life sometimes and this is the 4th times iam having to do this.!?!?!!?!


It's not normal to have to do this, see Hu_'s comments. We can actually help you understand and fix them quickly if you let us.
Back to top
View user's profile Send private message
finalturismo
Guru
Guru


Joined: 06 Jan 2020
Posts: 410

PostPosted: Wed Jan 19, 2022 5:42 am    Post subject: Reply with quote

sam_ wrote:
finalturismo wrote:
grknight wrote:
The minimum command to update all packages is:
Code:
emerge --update --deep @world


This will not guarantee removal of any conflicts particularly when a USE flag is changed system-wide in the profile such as with PYTHON_TARGETS. For this reason, the --changed-use or --newuse options are often necessary to overcome this.

Solving the real issues and updating at regular intervals will keep things rather quiet.


Python updates steal a day or 2 of my life sometimes and this is the 4th times iam having to do this.!?!?!!?!


It's not normal to have to do this, see Hu_'s comments. We can actually help you understand and fix them quickly if you let us.


Ty i posted the results in other post.
Back to top
View user's profile Send private message
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