Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 520642 - Emerge/Portage Update entire system improvement ideas
Summary: Emerge/Portage Update entire system improvement ideas
Status: RESOLVED CANTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Conceptual/Abstract Ideas (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 300071
  Show dependency tree
 
Reported: 2014-08-22 20:05 UTC by Ryan
Modified: 2023-08-29 05:19 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. 

--auto-update

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


--Stock-Wipe
--Stock-Set

-These flag will be used as a full system restore

--Stock-Set

- 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

--Stock-Wipe 

- 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.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-29 05:19:36 UTC
I think this is too vague to be actionable.