Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 690904

Summary: Detecting low battery before installing package.
Product: Portage Development Reporter: lekto
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: enhancement CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 23851    

Description lekto 2019-07-28 09:21:46 UTC
Before installing newer version of package the older one is removed from filesystem. When system turn off during this time package will be damaged and this could lead to unbootable system. My idea is feature that stop portage from this when battery is under certain level and wait for plug power supply in. This could be extended to UPS also.

Reproducible: Always