Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via or IRC

Bug 520642

Summary: Emerge/Portage Update entire system improvement ideas
Product: Portage Development Reporter: Ryan <ryan>
Component: Conceptual/Abstract IdeasAssignee: Portage team <dev-portage>
Status: UNCONFIRMED ---    
Severity: enhancement CC: esigra, kingjon3377, pacho
Priority: High    
Version: 2.2   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 300071    

Description Ryan 2014-08-22 20:05:49 UTC
As of Portage 2.2.8-r1 and emerge 1.11

Ideas for improvement:

- Updating packages can be a nightmare over time, as this brings along package version conflicts and package conflicts, such as : systemd and udev.

As this can be tedious, and in some cases impossible to solve effectivly, i would like to suggest adding a new flags. 


This will improve the --update flag by adding these features:

-ability to search online database to see what is the most recommended package to use when a conflict is brought into play.
-remove old packages to remove conflicts
-edit /etc/portage/package.* files to coincide with blocked and unblocked packages so users dont have to do each one manually
- in CLI choices before emerge changes anything:
   -this will allow users to have full control over files being edited, packages that will be removed and installed and what package to use when there is a conflict (this will override the online database suggestion) - options (1,2,3 ect.. for the conflict choices) (Y , N , YA , NA .. for the package choices - Y=yes N=no A=all)
-Force use of higher version package instead of needing to downgrade (might break things in rare cases but will remove conflicts and allow a full update)
-deep search to what depends on selected package and give choices to alternate programs if the current ones are known to break after change)

-There can be alot more that could be built on this idea


-These flag will be used as a full system restore


- To be used after 1st initial setup or at a point in time where the system is setup as the user likes it
- This will collect the list of packages and version numbers at the current time and save to file. It will also keep them in a offline database


- To Clean the system back to restore point

- This will get a list of all packages and versions at the current time and compare them to the --Stock-Set file. Any versions numbers that are higher and package names that arent in the 1st file will be listed for removal, once removed emerge will look at the --stock-set file and install all of those packages.