[Discover] [Bug 445761] Discover shows "uninstall" button when viewing a package that will replace an existing file if installed

2024-02-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=445761

Nate Graham  changed:

   What|Removed |Added

 CC||bram.diede...@gmail.com

--- Comment #25 from Nate Graham  ---
*** Bug 480284 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 445761] Discover shows "uninstall" button when viewing a package that will replace an existing file if installed

2022-12-01 Thread Christopher Yeleighton
https://bugs.kde.org/show_bug.cgi?id=445761

--- Comment #24 from Christopher Yeleighton  ---
(In reply to Nate Graham from comment #23)
> I believe you, I just can't reproduce it myself.

InstallApplicationButton declares that action is a read-only; this probably
means that the label cannot be changed while the application page is open. 
When you open a local package that is installed, Discover offers to uninstall
the package.  So far, so good.  It does not offer to update the package because
it does not know it can.  So what.   You can uninstall and install, right?  So
you uninstall and the action text does not change.  So you think that uninstall
failed and you press the action button once more.  But this time the
application gets installed.  And everybody is confused, as requested XD

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 445761] Discover shows "uninstall" button when viewing a package that will replace an existing file if installed

2022-12-01 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=445761

--- Comment #23 from Nate Graham  ---
I believe you, I just can't reproduce it myself.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 445761] Discover shows "uninstall" button when viewing a package that will replace an existing file if installed

2022-12-01 Thread Christopher Yeleighton
https://bugs.kde.org/show_bug.cgi?id=445761

--- Comment #22 from Christopher Yeleighton  ---
Here is a trace of uninstalling a local RedHat package.  Note how Discover
installs the package.  You have to take my word for the fact that the button in
Discover is labelled [Uninstall].

Transactions:
 [none]
daemon connected=0
daemon connected=1
network status=online
Transactions:
 1  /1_edddaece
/1_edddaece allow_cancel 1
/1_edddaece percentage   -1
/1_edddaece role install-files
/1_edddaece status   setup
/1_edddaece status   dep-resolve
/1_edddaece percentage   0
/1_edddaece percentage   100
/1_edddaece percentage   0
/1_edddaece package-id  
google-chrome-beta;108.0.5359.71-1;x86_64;PK_TMP_DIR
/1_edddaece package 
installing:google-chrome-beta;108.0.5359.71-1;x86_64;PK_TMP_DIR:Google Chrome
(beta)
/1_edddaece status   finished
/1_edddaece exit code: success
Transactions:
 [none]
Transactions:
 1  /2_ccdbbdee
/2_ccdbbdee allow_cancel 1
/2_ccdbbdee percentage   -1
/2_ccdbbdee role install-files
/2_ccdbbdee status   setup
/2_ccdbbdee status   dep-resolve
/2_ccdbbdee percentage   0
/2_ccdbbdee percentage   100
/2_ccdbbdee status   install
/2_ccdbbdee percentage   0
/2_ccdbbdee status   download
/2_ccdbbdee package-id  
google-chrome-beta;108.0.5359.71-1;x86_64;PK_TMP_DIR
/2_ccdbbdee package 
downloading:google-chrome-beta;108.0.5359.71-1;x86_64;PK_TMP_DIR:Google Chrome
(beta)
/2_ccdbbdee item-progress
google-chrome-beta;108.0.5359.71-1;x86_64;PK_TMP_DIR,100 [download]
/2_ccdbbdee percentage   100
/2_ccdbbdee status   install
/2_ccdbbdee package 
installing:google-chrome-beta;108.0.5359.71-1;x86_64;PK_TMP_DIR:Google Chrome
(beta)
/2_ccdbbdee item-progress
google-chrome-beta;108.0.5359.71-1;x86_64;PK_TMP_DIR,50 [install]
/2_ccdbbdee item-progress
google-chrome-beta;108.0.5359.71-1;x86_64;PK_TMP_DIR,0 [install]
/2_ccdbbdee item-progress
google-chrome-beta;108.0.5359.71-1;x86_64;PK_TMP_DIR,75 [install]
/2_ccdbbdee item-progress
google-chrome-beta;108.0.5359.71-1;x86_64;PK_TMP_DIR,83 [install]
/2_ccdbbdee item-progress
google-chrome-beta;108.0.5359.71-1;x86_64;PK_TMP_DIR,100 [install]
/2_ccdbbdee item-progress
google-chrome-beta;108.0.5359.71-1;x86_64;PK_TMP_DIR,0 [install]
˙…
/2_ccdbbdee item-progress
google-chrome-beta;108.0.5359.71-1;x86_64;PK_TMP_DIR,100 [install]
/2_ccdbbdee status   finished
/2_ccdbbdee exit code: success
Transactions:
 [none]
daemon connected=0

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 445761] Discover shows "uninstall" button when viewing a package that will replace an existing file if installed

2022-10-19 Thread Christopher Yeleighton
https://bugs.kde.org/show_bug.cgi?id=445761

--- Comment #21 from Christopher Yeleighton  ---
A distro example: I cannot update libffi8-3.4.3-1.1 to 3.4.3-2.1 (downloaded
and opened in Discover).

plasma-discover[25858]: could not find an executable desktop file for
QUrl("file:///home/dell/Pobrane/libffi8-3.4.3-2.1.x86_64.rpm") among
("/usr/lib64/libffi.so.8", "/usr/lib64/libffi.so.8.1.1",
"/usr/share/licenses/libffi8", "/usr/share/licenses/libffi8/LICENSE")

19:00:58PackageKit  emit transaction-list-changed
19:00:58PackageKit  current:/1_bcdccecd
19:00:58PackageKit  emit added: /1_bcdccecd
Transactions:
 1  /1_bcdccecd
Daemon state: 'State:
0   get-details-local   /1_bcdccecd state[running] exclusive[1]
background[0]
1   unknown /2_bdcbebda state[new] exclusive[0] background[0]
'
19:00:58PackageKit  emit transaction-list-changed
19:00:58PackageKit  last:   /1_bcdccecd
19:00:58PackageKit  current:/1_bcdccecd
19:00:58PackageKit  current:/2_bdcbebda
19:00:58PackageKit  emit added: /2_bdcbebda
Transactions:
 1  /1_bcdccecd
 2  /2_bdcbebda
Daemon state: 'State:
0   get-details-local   /1_bcdccecd state[running] exclusive[1]
background[0]
1   get-files-local /2_bdcbebda state[ready] exclusive[1] background[0]
'
/1_bcdccecd allow_cancel 1
/1_bcdccecd percentage   -1
19:00:58PackageKit  role now get-details-local
/1_bcdccecd role get-details-local
/1_bcdccecd status   setup
/2_bdcbebda allow_cancel 1
/2_bdcbebda percentage   -1
19:00:58PackageKit  role now get-files-local
/2_bdcbebda role get-files-local
/2_bdcbebda status   wait
daemon locked=1
19:00:58PackageKit  emit transaction-list-changed
19:00:58PackageKit  last:   /1_bcdccecd
19:00:58PackageKit  last:   /2_bdcbebda
19:00:58PackageKit  current:/1_bcdccecd
19:00:58PackageKit  current:/2_bdcbebda
19:00:58PackageKit  current:/3_bdcaddee
19:00:58PackageKit  emit added: /3_bdcaddee
Transactions:
 1  /1_bcdccecd
 2  /2_bdcbebda
 3  /3_bdcaddee
19:00:58PackageKit  emit transaction-list-changed
19:00:58PackageKit  last:   /1_bcdccecd
19:00:58PackageKit  last:   /2_bdcbebda
19:00:58PackageKit  last:   /3_bdcaddee
19:00:58PackageKit  current:/1_bcdccecd
19:00:58PackageKit  current:/2_bdcbebda
19:00:58PackageKit  current:/3_bdcaddee
19:00:58PackageKit  current:/4_ddadeecc
19:00:58PackageKit  emit added: /4_ddadeecc
Transactions:
 1  /1_bcdccecd
 2  /2_bdcbebda
 3  /3_bdcaddee
 4  /4_ddadeecc
Daemon state: 'State:
0   get-details-local   /1_bcdccecd state[running] exclusive[1]
background[0]
1   get-files-local /2_bdcbebda state[ready] exclusive[1] background[0]
2   resolve /3_bdcaddee state[ready] exclusive[1] background[0]
3   resolve /4_ddadeecc state[ready] exclusive[1] background[0]
'
Daemon state: 'State:
0   get-details-local   /1_bcdccecd state[running] exclusive[1]
background[0]
1   get-files-local /2_bdcbebda state[ready] exclusive[1] background[0]
2   resolve /3_bdcaddee state[ready] exclusive[1] background[0]
3   resolve /4_ddadeecc state[ready] exclusive[1] background[0]
'
/3_bdcaddee allow_cancel 1
/3_bdcaddee percentage   -1
19:00:58PackageKit  role now resolve
/3_bdcaddee role resolve
/3_bdcaddee status   wait
/4_ddadeecc allow_cancel 1
/4_ddadeecc percentage   -1
19:00:58PackageKit  role now resolve
/4_ddadeecc role resolve
/4_ddadeecc status   wait
/1_bcdccecd status   query
/1_bcdccecd status   finished
/1_bcdccecd exit code: success
daemon locked=0
19:00:58PackageKit  emit transaction-list-changed
19:00:58PackageKit  last:   /1_bcdccecd
19:00:58PackageKit  last:   /2_bdcbebda
19:00:58PackageKit  last:   /3_bdcaddee
19:00:58PackageKit  last:   /4_ddadeecc
19:00:58PackageKit  current:/2_bdcbebda
19:00:58PackageKit  current:/3_bdcaddee
19:00:58PackageKit  current:/4_ddadeecc
19:00:58PackageKit  emit removed: /1_bcdccecd
Transactions:
 1  /2_bdcbebda
 2  /3_bdcaddee
 3  /4_ddadeecc
/2_bdcbebda status   setup
Daemon state: 'State:
0   get-details-local   /1_bcdccecd state[finished] exclusive[1]
background[0]
1   get-files-local /2_bdcbebda state[running] 

[Discover] [Bug 445761] Discover shows "uninstall" button when viewing a package that will replace an existing file if installed

2022-04-18 Thread Christopher Yeleighton
https://bugs.kde.org/show_bug.cgi?id=445761

--- Comment #20 from Christopher Yeleighton  ---
(In reply to Nate Graham from comment #19)
> OK, thanks. I wonder if this could be a bug in PackageKit itself.

I consider that a fact, considering how `pkcon` is unable to handle the
situation or even attempt to diagnose it.  I hope you will report it  upstream
(since the observable behaviour of `pkcon` does not directly correspond to the
API calls emitted by Discover).

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 445761] Discover shows "uninstall" button when viewing a package that will replace an existing file if installed

2022-04-18 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=445761

Nate Graham  changed:

   What|Removed |Added

Summary|Discover offers me to   |Discover shows "uninstall"
   |remove code |button when viewing a
   ||package that will replace
   ||an existing file if
   ||installed
 Ever confirmed|1   |0
 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

--- Comment #19 from Nate Graham  ---
OK, thanks. I wonder if this could be a bug in PackageKit itself.

-- 
You are receiving this mail because:
You are watching all bug changes.