Bug 21453

Summary: dnfdragora don't keep in memory the packages source list
Product: Mageia Reporter: peter lawford <petlaw726>
Component: RPM PackagesAssignee: Mageia tools maintainers <mageiatools>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: anaselli, fri, lloyd.osten, marja11, ngompa13, ouaurelien
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
URL: https://github.com/manatools/dnfdragora/issues/66
Whiteboard:
Source RPM: dnfdragora-2.0.4-3.mga8.noarch CVE:
Status comment:
Attachments: return of dnf upgrade
return of urpmi --auto-update
return of ls /ver/cache/dnf

Description peter lawford 2017-08-05 15:20:21 CEST
Description of problem:
open dnfdragora: a window opens, click on "files > package sources" : the window "packages sources manager" opens, displaying a list of sources: only two boxes are checked by default: mageia-x86_64 and updates-x86_64; I have selected mageia-i586, updates-i586 and a couple of others, then I have click on the "apply button" and quitted dnfdragora; it didn't keep my choice in memory, since after running successively as root, and in this order, the commands:

dnf upgrade
urpmi --auto-update

(which returns you'll find in the attached documents) shows that dnf took into account only updates-x86_64 and not upgrades-i586

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 peter lawford 2017-08-05 15:21:37 CEST
Created attachment 9571 [details]
return of dnf upgrade
Comment 2 peter lawford 2017-08-05 15:22:17 CEST
Created attachment 9572 [details]
return of urpmi --auto-update
Marja Van Waes 2017-08-06 12:02:19 CEST

Assignee: bugsquad => mageiatools
CC: (none) => anaselli, marja11, ngompa13

Comment 3 Angelo Naselli 2017-08-06 12:21:03 CEST
I will try to find a workaround, though atm you can enable/disable repositories during your session. I mean if you don't exit dnfdragora you have those repos enabled/disabled. 
Nowadays dnfdaemon does not offer a permanent option for that sorry.
Comment 4 Angelo Naselli 2017-08-06 12:24:29 CEST
reported upstream

URL: (none) => https://github.com/manatools/dnfdragora/issues/66

Comment 5 peter lawford 2017-08-06 14:50:09 CEST
it's strange, because even if dnfdragora is off repos choice remains permanent in /var/cache/dnf  (see attachment)
Comment 6 peter lawford 2017-08-06 14:52:22 CEST
Created attachment 9573 [details]
return of ls /ver/cache/dnf
Comment 7 Aurelien Oudelet 2020-08-05 15:00:34 CEST
Changed SRPM version to that is in Cauldron today.

Changed Mageia version to Cauldron as upstream bug is still open.

https://github.com/manatools/dnfdragora/issues/66

Version: 6 => Cauldron
Source RPM: dnfdragora-1.0.1-2.mga6, dnfdragora-common-1.0.1-2.mga6, dnfdragora-qt-1.0.1-2.mga6 => dnfdragora-2.0.4-3.mga8.noarch
CC: (none) => ouaurelien

Comment 8 Angelo Naselli 2020-08-05 20:10:52 CEST
I haven't found dnf API to mnanage that in a permanent way, if you find it i'll try to add it to dnfdaemon and use it in dnfdragora.
Morgan Leijström 2020-09-21 01:41:07 CEST

CC: (none) => fri

Comment 9 Morgan Leijström 2021-01-29 00:47:26 CET
*** Bug 28245 has been marked as a duplicate of this bug. ***

CC: (none) => lloyd.osten