Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256870 - sys-apps/portage-2.2_rc23 - inconsistent system state when inter-SLOT upgrade process is terminated (with applied explicit blocks)
Summary: sys-apps/portage-2.2_rc23 - inconsistent system state when inter-SLOT upgrade...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
Depends on: 537080
Blocks: 300071
  Show dependency tree
Reported: 2009-01-30 01:54 UTC by Maciej Mrozowski
Modified: 2016-08-06 04:17 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Mrozowski gentoo-dev 2009-01-30 01:54:05 UTC
Steps to reproduce:
- install multiple slotted packages - KDE 4.1 is good example (SLOT=4.1 with -kdeprefix so that inter-SLOT upgrade will be applied)
- issue upgrade to KDE 4.2 (SLOT=4.2) - this will applu some blocks and will explicitly cause some packages to be uninstalled (as they are no longer present in 4.2 and wouldn't be uninstalled otherwise)
- terminate process at some point

This will leave (as of now) some duplicated package atoms installed - like (arbitrary example):
as uninstall process for those -4.1.4 has been delayed and upgrade process has been terminated before it got there thus leaving system in a bit inconsistent state. Of course one can fix this by --depclean as 4.1.4 are no longer referenced.

This may not be only inter-SLOT related issue, but just issue related to explicit blocks, are they cause some packages to be explicitly uninistalled.
Comment 1 Maciej Mrozowski gentoo-dev 2011-07-17 17:41:53 UTC
I haven't seen this problem in a while. Maybe close it as worksforme, I'll reopen if it appears again.
Comment 2 Maciej Mrozowski gentoo-dev 2011-07-17 17:42:58 UTC
Well, unless you'd like to provide 'atomic installation' feature...
Comment 3 Zac Medico gentoo-dev 2011-07-17 17:48:52 UTC
There's this fix for executing uninstalls as soon as possible:;a=commit;h=6c54b8b0d6d12f40f5172f573d7d030eafeaa9b0

This is a lot less likely to be an issue now that kdeprefix is gone (and all kde-4 packages have moved to SLOT=4).
Comment 4 Zac Medico gentoo-dev 2015-01-19 23:04:40 UTC
*** Bug 537080 has been marked as a duplicate of this bug. ***
Comment 5 Maciej Mrozowski gentoo-dev 2016-08-06 04:17:54 UTC
Haven't seen this in ages. I'll reopen if I ever spot it again.