https://bugs.kde.org/show_bug.cgi?id=502333

--- Comment #14 from Piotr Dobrogost <bugs.kde....@p.dobrogost.net> ---
(In reply to Fabio from comment #13)
> > After installing `openh264` with `sudo dnf swap \*openh264\* noopenh264`
> I'm no fedora guy, but s far as i understand you just installed a "Fake
> implementation of the OpenH264 library"

This would seem so according to `man dnf swap` which shows `dnf5 swap [options]
<remove-spec> <install-spec>`.
However it seems that this command does not care about the order of packages
given as arguments and removes one which is installed and install the other
one.

First invocation (removes openh264, installs noopenh264):
```
$ sudo dnf swap \*openh264\* noopenh264
Updating and loading repositories:
Repositories loaded.
Problem: cannot install the best candidate for the job
  - conflicting requests

Package                                                           Arch         
 Version                                                           Repository  
                              Size
Removing:
 mozilla-openh264                                                 x86_64       
 2.4.1-2.fc42                                                     
fedora-cisco-openh264                   1.1 MiB
 openh264                                                         x86_64       
 2.4.1-2.fc42                                                     
fedora-cisco-openh264                   1.1 MiB
Installing:
 noopenh264                                                       x86_64       
 2.5.0-2.fc42                                                      fedora      
                          38.9 KiB

Transaction Summary:
 Installing:         1 package
 Removing:           2 packages

Total size of inbound packages is 22 KiB. Need to download 22 KiB.
After this operation, 2 MiB will be freed (install 39 KiB, remove 2 MiB).
Is this ok [y/N]: y
[1/1] noopenh264-0:2.5.0-2.fc42.x86_64                                         
                                                                          100%
| 143.2 KiB/s |  21.9 KiB |  00m00s
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[1/1] Total                                                                    
                                                                          100%
|  66.0 KiB/s |  21.9 KiB |  00m00s
Running transaction
[1/5] Verify package files                                                     
                                                                          100%
| 125.0   B/s |   1.0   B |  00m00s
[2/5] Prepare transaction                                                      
                                                                          100%
|   2.0   B/s |   3.0   B |  00m01s
[3/5] Installing noopenh264-0:2.5.0-2.fc42.x86_64                              
                                                                          100%
|   1.8 MiB/s |  40.5 KiB |  00m00s
[4/5] Removing mozilla-openh264-0:2.4.1-2.fc42.x86_64                          
                                                                          100%
| 894.0   B/s |  17.0   B |  00m00s
[5/5] Removing openh264-0:2.4.1-2.fc42.x86_64                                  
                                                                          100%
|   6.0   B/s |   9.0   B |  00m01s
Complete!
```


Second, identical invocation (this time does the opposite; removes noopenh264,
installs openh264)
```
$ sudo dnf swap \*openh264\* noopenh264
Updating and loading repositories:
Repositories loaded.
Package "noopenh264-2.5.0-2.fc42.x86_64" is already installed.

Package                                                           Arch         
 Version                                                           Repository  
                              Size
Installing:
 openh264                                                         x86_64       
 2.4.1-2.fc42                                                     
fedora-cisco-openh264                   1.1 MiB
   replacing noopenh264                                           x86_64       
 2.5.0-2.fc42                                                      fedora      
                          38.9 KiB
Installing dependencies:
 mozilla-openh264                                                 x86_64       
 2.4.1-2.fc42                                                     
fedora-cisco-openh264                   1.1 MiB

Transaction Summary:
 Installing:         2 packages
 Replacing:          1 package

Total size of inbound packages is 845 KiB. Need to download 845 KiB.
After this operation, 2 MiB extra will be used (install 2 MiB, remove 39 KiB).
Is this ok [y/N]: y
[1/2] openh264-0:2.4.1-2.fc42.x86_64                                           
                                                                          100%
| 676.0 KiB/s | 419.1 KiB |  00m01s
[2/2] mozilla-openh264-0:2.4.1-2.fc42.x86_64                                   
                                                                          100%
| 676.7 KiB/s | 426.3 KiB |  00m01s
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[2/2] Total                                                                    
                                                                          100%
|   1.0 MiB/s | 845.5 KiB |  00m01s
Running transaction
[1/5] Verify package files                                                     
                                                                          100%
|  60.0   B/s |   2.0   B |  00m00s
[2/5] Prepare transaction                                                      
                                                                          100%
|   2.0   B/s |   3.0   B |  00m01s
[3/5] Installing openh264-0:2.4.1-2.fc42.x86_64                                
                                                                          100%
|  26.4 MiB/s |   1.1 MiB |  00m00s
[4/5] Installing mozilla-openh264-0:2.4.1-2.fc42.x86_64                        
                                                                          100%
|  44.1 MiB/s |   1.1 MiB |  00m00s
[5/5] Removing noopenh264-0:2.5.0-2.fc42.x86_64                                
                                                                          100%
|   8.0   B/s |  10.0   B |  00m01s
Complete!


What implementation of h264 are you using?

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

Reply via email to