Bug 1286273 - When remove of several older versions of the package is displayed removing the wrong version
Summary: When remove of several older versions of the package is displayed removing th...
Keywords:
Status: CLOSED DUPLICATE of bug 1253120
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 23
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-27 17:26 UTC by sudikeru
Modified: 2015-11-30 12:31 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-30 12:31:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description sudikeru 2015-11-27 17:26:02 UTC
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 12:31:40 UTC

*** 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.