Bug 1286273 - When remove of several older versions of the package is displayed removing the wrong version
When remove of several older versions of the package is displayed removing th...
Status: CLOSED DUPLICATE of bug 1253120
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
23
x86_64 Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: packaging-team-maint
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-27 12:26 EST by sudikeru
Modified: 2015-11-30 07:31 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-11-30 07:31:40 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description sudikeru 2015-11-27 12:26:02 EST
Description of problem:
When remove of several older versions of the package is displayed removing the wrong version. I tried to remove the packages kernel, kernel-core, kernel-modules, versions and 4.2.3-300.fc23 4.2.6-300.fc23, and dnf wrote 4.2.3-300.fc23 twice.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Install 3 versions of kernel.
2. Reboot.
3. Remove the two versions of the old kernel.
$ su -c 'dnf remove {'\''kernel'\'','\''kernel-core'\'','\''kernel-modules'\''}'\''-'\''{'\''4.2.3-300.fc23'\'','\''4.2.6-300.fc23'\''}'\''.x86_64'\'

Output (on russian):
Actual results:
Зависимости разрешены.
================================================================================================================================================================
 Package                                Архитектура                    Версия                                    Репозиторий                              Размер
================================================================================================================================================================
Удаление:
 kernel                                 x86_64                         4.2.3-300.fc23                            @koji-override-0                           0  
 kernel                                 x86_64                         4.2.6-300.fc23                            @updates                                   0  
 kernel-core                            x86_64                         4.2.3-300.fc23                            @koji-override-0                          51 M
 kernel-core                            x86_64                         4.2.6-300.fc23                            @updates                                  51 M
 kernel-modules                         x86_64                         4.2.3-300.fc23                            @koji-override-0                          17 M
 kernel-modules                         x86_64                         4.2.6-300.fc23                            @updates                                  17 M

Результат операции
================================================================================================================================================================
Удаление  6 Packages

Объем изменений: 136 M
Продолжить? [д/Н]: y
Выполнение проверки транзакции
Проверка транзакции успешно завершена.
Идет проверка транзакции
Тест транзакции проведен успешно
Выполнение транзакции
  Удаление     : kernel-4.2.3-300.fc23.x86_64                                                                                                               1/6 
  Удаление     : kernel-4.2.3-300.fc23.x86_64                                                                                                               2/6 
  Удаление     : kernel-modules-4.2.3-300.fc23.x86_64                                                                                                       3/6 
  Удаление     : kernel-modules-4.2.3-300.fc23.x86_64                                                                                                       4/6 
  Удаление     : kernel-core-4.2.3-300.fc23.x86_64                                                                                                          5/6 
  Удаление     : kernel-core-4.2.3-300.fc23.x86_64                                                                                                          6/6 
  Проверка     : kernel-modules-4.2.3-300.fc23.x86_64                                                                                                       1/6 
  Проверка     : kernel-modules-4.2.6-300.fc23.x86_64                                                                                                       2/6 
  Проверка     : kernel-4.2.3-300.fc23.x86_64                                                                                                               3/6 
  Проверка     : kernel-4.2.6-300.fc23.x86_64                                                                                                               4/6 
  Проверка     : kernel-core-4.2.3-300.fc23.x86_64                                                                                                          5/6 
  Проверка     : kernel-core-4.2.6-300.fc23.x86_64                                                                                                          6/6 

Удалено:
  kernel.x86_64 4.2.3-300.fc23             kernel.x86_64 4.2.6-300.fc23             kernel-core.x86_64 4.2.3-300.fc23     kernel-core.x86_64 4.2.6-300.fc23    
  kernel-modules.x86_64 4.2.3-300.fc23     kernel-modules.x86_64 4.2.6-300.fc23    

Выполнено!


Expected results:
Зависимости разрешены.
================================================================================================================================================================
 Package                                Архитектура                    Версия                                    Репозиторий                              Размер
================================================================================================================================================================
Удаление:
 kernel                                 x86_64                         4.2.3-300.fc23                            @koji-override-0                           0  
 kernel                                 x86_64                         4.2.6-300.fc23                            @updates                                   0  
 kernel-core                            x86_64                         4.2.3-300.fc23                            @koji-override-0                          51 M
 kernel-core                            x86_64                         4.2.6-300.fc23                            @updates                                  51 M
 kernel-modules                         x86_64                         4.2.3-300.fc23                            @koji-override-0                          17 M
 kernel-modules                         x86_64                         4.2.6-300.fc23                            @updates                                  17 M

Результат операции
================================================================================================================================================================
Удаление  6 Packages

Объем изменений: 136 M
Продолжить? [д/Н]: y
Выполнение проверки транзакции
Проверка транзакции успешно завершена.
Идет проверка транзакции
Тест транзакции проведен успешно
Выполнение транзакции
  Удаление     : kernel-4.2.3-300.fc23.x86_64                                                                                                               1/6 
  Удаление     : kernel-4.2.6-300.fc23.x86_64                                                                                                               2/6 
  Удаление     : kernel-modules-4.2.3-300.fc23.x86_64                                                                                                       3/6 
  Удаление     : kernel-modules-4.2.6-300.fc23.x86_64                                                                                                       4/6 
  Удаление     : kernel-core-4.2.3-300.fc23.x86_64                                                                                                          5/6 
  Удаление     : kernel-core-4.2.6-300.fc23.x86_64                                                                                                          6/6 
  Проверка     : kernel-modules-4.2.3-300.fc23.x86_64                                                                                                       1/6 
  Проверка     : kernel-modules-4.2.6-300.fc23.x86_64                                                                                                       2/6 
  Проверка     : kernel-4.2.3-300.fc23.x86_64                                                                                                               3/6 
  Проверка     : kernel-4.2.6-300.fc23.x86_64                                                                                                               4/6 
  Проверка     : kernel-core-4.2.3-300.fc23.x86_64                                                                                                          5/6 
  Проверка     : kernel-core-4.2.6-300.fc23.x86_64                                                                                                          6/6 

Удалено:
  kernel.x86_64 4.2.3-300.fc23             kernel.x86_64 4.2.6-300.fc23             kernel-core.x86_64 4.2.3-300.fc23     kernel-core.x86_64 4.2.6-300.fc23    
  kernel-modules.x86_64 4.2.3-300.fc23     kernel-modules.x86_64 4.2.6-300.fc23    

Выполнено!

Additional info:
Comment 1 Michal Domonkos 2015-11-30 07:31:40 EST

*** This bug has been marked as a duplicate of bug 1253120 ***

Note You need to log in before you can comment on or make changes to this bug.