Libfdk-aac2 - got stuck after passing from Packman to VLC repo

Hello! I am trying to test the VLC repo regarding codecs. At first, I removed the Packman then switched to openSUSE repo successfully.

Then i switched to VLC, which continues as follows, but i am stuck for libfdk-aac2 at the end.

$ zypper lr -d
# | Alias                            | Name                                   | Enabled | GPG Check | Refresh | Keep | Priority | Type   | URI                                                      | Service
--+----------------------------------+----------------------------------------+---------+-----------+---------+------+----------+--------+----------------------------------------------------------+--------
1 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)              | No      | ----      | ----    | -    |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/    | 
2 | download.opensuse.org-oss        | Main Repository (OSS)                  | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/        | 
3 | download.opensuse.org-tumbleweed | Main Update Repository                 | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/          | 
4 | repo-debug                       | openSUSE-Tumbleweed-Debug              | No      | ----      | ----    | -    |   99     | N/A    | http://download.opensuse.org/debug/tumbleweed/repo/oss/  | 
5 | repo-openh264                    | Open H.264 Codec (openSUSE Tumbleweed) | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed  | 
6 | repo-source                      | openSUSE-Tumbleweed-Source             | No      | ----      | ----    | -    |   99     | N/A    | http://download.opensuse.org/source/tumbleweed/repo/oss/ | 
7 | vlc                              | VLC                                    | Yes     | (r ) Yes  | Yes     | -    |   90     | rpm-md | http://download.videolan.org/pub/vlc/SuSE/Tumbleweed/    | 
$ sudo zypper ar -cfp 90 -n VLC http://download.videolan.org/pub/vlc/SuSE/Tumbleweed/ vlc
[sudo] password for root: 
Adding repository 'VLC' ..............................................................................................................................................................................................................[done]
Repository 'VLC' successfully added

URI         : http://download.videolan.org/pub/vlc/SuSE/Tumbleweed/
Enabled     : Yes
GPG Check   : Yes
Autorefresh : Yes
Priority    : 90 (raised priority)

Repository priorities in effect:                                                                                                                                                                            (See 'zypper lr -P' for details)
      90 (raised priority)  :  1 repository
      99 (default priority) :  3 repositories
$ sudo zypper ref
Repository 'Main Update Repository' is up to date.                                                                                                                                                                                          
Repository 'Main Repository (OSS)' is up to date.                                                                                                                                                                                           
Repository 'Open H.264 Codec (openSUSE Tumbleweed)' is up to date.                                                                                                                                                                          
Looking for gpg keys in repository VLC.
  gpgkey=http://download.videolan.org/pub/vlc/SuSE/Tumbleweed/repodata/repomd.xml.key

New repository or package signing key received:

  Repository:       VLC
  Key Fingerprint:  BC8D 780D E330 8581 B2E0 7085 33DE 8FB7 C8DA 93D2
  Key Name:         Dominique Leuenberger (VLC openSUSE Repository) <dominique-vlc.suse@leuenberger.net>
  Key Algorithm:    DSA 1024
  Key Created:      Mon 23 Oct 2023 04:20:24 PM CEST
  Key Expires:      Thu 22 Oct 2026 04:20:24 PM CEST (expires in 51 days)
  Subkey:           10BC76B047A4CDAF 2006-12-09 [expired: 2023-11-02]
  Rpm Name:         gpg-pubkey-c8da93d2-65368128



    Note: Signing data enables the recipient to verify that no modifications occurred after the data
    were signed. Accepting data with no, wrong or unknown signature can lead to a corrupted system
    and in extreme cases even to a system compromise.

    Note: A GPG pubkey is clearly identified by its fingerprint. Do not rely on the key's name. If
    you are not sure whether the presented key is authentic, ask the repository provider or check
    their web site. Many providers maintain a web page showing the fingerprints of the GPG keys they
    are using.

Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): a
Retrieving repository 'VLC' metadata .................................................................................................................................................................................................[done]
Building repository 'VLC' cache ......................................................................................................................................................................................................[done]
All repositories have been refreshed.
$ sudo zypper in vlc-codecs
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: 1: the to be installed vlc-codecs-3.0.23-425.5.x86_64 requires 'libavcodec62(unrestricted)', but this requirement cannot be provided
not installable providers: libavcodec62-8.1.2-4.2.x86_64[vlc]

 Solution 1: Following actions will be done:
  install libavcodec62-8.1.2-4.2.x86_64 from vendor VideoLAN Project (http://www.videolan.org)
    replacing libavcodec62-8.1.2-2.3.x86_64 from vendor openSUSE
  install libavdevice62-8.1.2-4.2.x86_64 from vendor VideoLAN Project (http://www.videolan.org)
    replacing libavdevice62-8.1.2-2.3.x86_64 from vendor openSUSE
  install libavfilter11-8.1.2-4.2.x86_64 from vendor VideoLAN Project (http://www.videolan.org)
    replacing libavfilter11-8.1.2-2.3.x86_64 from vendor openSUSE
  install libavformat62-8.1.2-4.2.x86_64 from vendor VideoLAN Project (http://www.videolan.org)
    replacing libavformat62-8.1.2-2.3.x86_64 from vendor openSUSE
  install ffmpeg-8-8.1.2-4.2.x86_64 from vendor VideoLAN Project (http://www.videolan.org)
    replacing ffmpeg-8-8.1.2-2.3.x86_64 from vendor openSUSE
  install libavutil60-8.1.2-4.2.x86_64 from vendor VideoLAN Project (http://www.videolan.org)
    replacing libavutil60-8.1.2-2.3.x86_64 from vendor openSUSE
  install libswresample6-8.1.2-4.2.x86_64 from vendor VideoLAN Project (http://www.videolan.org)
    replacing libswresample6-8.1.2-2.3.x86_64 from vendor openSUSE
  install libswscale9-8.1.2-4.2.x86_64 from vendor VideoLAN Project (http://www.videolan.org)
    replacing libswscale9-8.1.2-2.3.x86_64 from vendor openSUSE
 Solution 2: do not install vlc-codecs-3.0.23-425.5.x86_64
 Solution 3: break vlc-codecs-3.0.23-425.5.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/c/d/?] (c): c
$ 
$ sudo zypper dup --from vlc --allow-vendor-change
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

The following 8 packages are going to be upgraded:
  ffmpeg-8 libavcodec62 libavdevice62 libavfilter11 libavformat62 libavutil60 libswresample6 libswscale9

The following package is going to be downgraded:
  libfdk-aac2

The following 9 packages are going to change vendor:
  ffmpeg-8        openSUSE -> VideoLAN Project (http://www.videolan.org)
  libavcodec62    openSUSE -> VideoLAN Project (http://www.videolan.org)
  libavdevice62   openSUSE -> VideoLAN Project (http://www.videolan.org)
  libavfilter11   openSUSE -> VideoLAN Project (http://www.videolan.org)
  libavformat62   openSUSE -> VideoLAN Project (http://www.videolan.org)
  libavutil60     openSUSE -> VideoLAN Project (http://www.videolan.org)
  libfdk-aac2     openSUSE -> VideoLAN Project (http://www.videolan.org)
  libswresample6  openSUSE -> VideoLAN Project (http://www.videolan.org)
  libswscale9     openSUSE -> VideoLAN Project (http://www.videolan.org)

8 packages to upgrade, 1 to downgrade, 9  to change vendor.

Package download size:    12.6 MiB

Package install size change:
              |      29.2 MiB  required by packages that will be installed
     4.7 MiB  |  -   24.4 MiB  released by packages that will be removed

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): y
Preloading: libswscale9-8.1.2-4.2.x86_64.rpm [done]
Preloading: libavutil60-8.1.2-4.2.x86_64.rpm [done]
Preloading: libswresample6-8.1.2-4.2.x86_64.rpm [done]
Preloading: libavdevice62-8.1.2-4.2.x86_64.rpm [done]
Preloading: libfdk-aac2-2.0.2+230-3.36.x86_64.rpm [done]
Preloading: libavformat62-8.1.2-4.2.x86_64.rpm [done]
Preloading: libavfilter11-8.1.2-4.2.x86_64.rpm [done]
Preloading: libavcodec62-8.1.2-4.2.x86_64.rpm [done]
Preloading: ffmpeg-8-8.1.2-4.2.x86_64.rpm [done]
Preload finished. [success (12.5 MiB/s) ] ............................................................................................................................................................................................[done]
Retrieving: libavutil60-8.1.2-4.2.x86_64 (VLC)                                                                                                                                                                          (1/9), 372.6 KiB    
Retrieving: libfdk-aac2-2.0.2+230-3.36.x86_64 (VLC)                                                                                                                                                                     (2/9), 683.1 KiB    
Retrieving: libswscale9-8.1.2-4.2.x86_64 (VLC)                                                                                                                                                                          (3/9), 312.7 KiB    
Retrieving: libswresample6-8.1.2-4.2.x86_64 (VLC)                                                                                                                                                                       (4/9),  65.4 KiB    
Retrieving: libavcodec62-8.1.2-4.2.x86_64 (VLC)                                                                                                                                                                         (5/9),   6.2 MiB    
Retrieving: libavformat62-8.1.2-4.2.x86_64 (VLC)                                                                                                                                                                        (6/9),   1.2 MiB    
Retrieving: libavfilter11-8.1.2-4.2.x86_64 (VLC)                                                                                                                                                                        (7/9),   1.6 MiB    
Retrieving: libavdevice62-8.1.2-4.2.x86_64 (VLC)                                                                                                                                                                        (8/9),  70.9 KiB    
Retrieving: ffmpeg-8-8.1.2-4.2.x86_64 (VLC)                                                                                                                                                                             (9/9),   2.1 MiB    

Checking for file conflicts: .........................................................................................................................................................................................................[done]
(1/9) Installing: libavutil60-8.1.2-4.2.x86_64 .......................................................................................................................................................................................[done]
(2/9) Installing: libfdk-aac2-2.0.2+230-3.36.x86_64 ..................................................................................................................................................................................[done]
(3/9) Installing: libswscale9-8.1.2-4.2.x86_64 .......................................................................................................................................................................................[done]
(4/9) Installing: libswresample6-8.1.2-4.2.x86_64 ....................................................................................................................................................................................[done]
(5/9) Installing: libavcodec62-8.1.2-4.2.x86_64 ......................................................................................................................................................................................[done]
(6/9) Installing: libavformat62-8.1.2-4.2.x86_64 .....................................................................................................................................................................................[done]
(7/9) Installing: libavfilter11-8.1.2-4.2.x86_64 .....................................................................................................................................................................................[done]
(8/9) Installing: libavdevice62-8.1.2-4.2.x86_64 .....................................................................................................................................................................................[done]
(9/9) Installing: ffmpeg-8-8.1.2-4.2.x86_64 ..........................................................................................................................................................................................[done]
Running post-transaction scripts .....................................................................................................................................................................................................[done]
There are running programs which still use files and libraries deleted or updated by recent upgrades. They should be restarted to benefit from the latest updates. Run 'zypper ps -s' to list these programs.
$ sudo zypper ref
Repository 'Main Update Repository' is up to date.                                                                                                                                                                                          
Repository 'Main Repository (OSS)' is up to date.                                                                                                                                                                                           
Repository 'Open H.264 Codec (openSUSE Tumbleweed)' is up to date.                                                                                                                                                                          
Repository 'VLC' is up to date.                                                                                                                                                                                                             
All repositories have been refreshed.

$ sudo zypper dup
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...
Nothing to do.

At first glance, it looks allright, but when i use zypper -vvv dup i find that libfdk-aac2 it is stuck.

$ sudo zypper ref && sudo zypper -vvv dup
Repository 'Main Update Repository' is up to date.                                                                                                                                                                                          
Repository 'Main Repository (OSS)' is up to date.                                                                                                                                                                                           
Repository 'Open H.264 Codec (openSUSE Tumbleweed)' is up to date.                                                                                                                                                                          
Repository 'VLC' is up to date.                                                                                                                                                                                                             
All repositories have been refreshed.
Verbosity: 3
Initializing Target
Checking whether to refresh metadata for Main Repository (OSS)
Checking whether to refresh metadata for Main Update Repository
Checking whether to refresh metadata for Open H.264 Codec (openSUSE Tumbleweed)
Checking whether to refresh metadata for VLC
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...
Force resolution: No
Computing upgrade...

The following package update will NOT be installed:
  libfdk-aac2  2.0.3-1.2  x86_64  Main Repository (OSS)  openSUSE
Nothing to do.

Is this a possible bug or …? how to proceed in this case?

I don’t think this is a bug. The libfdk-aac2 package is currently installed from the VLC repository (2.0.2+230-3.36 ), while the openSUSE repo has a newer 2.0.3-1.2 .

Because the installed package is from the VLC vendor, a normal zypper dup is leaving it alone rather than switching it back to openSUSE. (The important thing is that the VLC FFmpeg stack is now installed correctly.)

You can confirm with…

zypper se -s libfdk-aac2
rpm -qi libfdk-aac2 | grep -E 'Version|Vendor'

Anyway, I would leave libfdk-aac2 as it is and test the codecs. There’s no need to force the newer openSUSE version unless something actually requires it.

2 Likes

FWIW…
https://en.opensuse.org/SDB:Installing_ffmpeg_from_the_VLC_repository

1 Like

Likewise you shouldn’t need to set the priority, libfdk-aac2 in openSUSE has 2.0.3, VLC is 2.0.2 so it would be a downgrade.

1 Like

Hello! Thanks for your info and suggestions.
It is clear that VLC has a backward version according to the command.

$ zypper se -s libfdk-aac2
Loading repository data...
Reading installed packages...

S  | Name                  | Type    | Version        | Arch   | Repository
---+-----------------------+---------+----------------+--------+----------------------
i  | libfdk-aac2           | package | 2.0.2+230-3.36 | x86_64 | VLC
v  | libfdk-aac2           | package | 2.0.3-1.2      | x86_64 | Main Repository (OSS)
   | libfdk-aac2-32bit     | package | 2.0.3-1.2      | x86_64 | Main Repository (OSS)
   | libfdk-aac2-debuginfo | package | 2.0.2+230-3.36 | x86_64 | VLC
$ rpm -qi libfdk-aac2 | grep -E 'Version|Vendor'
Version     : 2.0.2+230
Vendor      : VideoLAN Project (http://www.videolan.org)

I will leave it that way until it updated itself from VLC. No app asks for anything newer right.

FWIW, on my Slowroll system I have

i  | libfdk-aac2                 | package | 2.0.3-1.2      | x86_64 | repo-oss
v  | libfdk-aac2                 | package | 2.0.2+230-3.36 | x86_64 | vlc

as you can see the newer version from OSS repo.

You can install the OSS one if you want. As it is a newer version just do…
sudo zypper in --from "Main Repository (OSS)" libfdk-aac2

Also, if you wanted to go down to an older version (eg VLC repo) you can use the --oldpackage flag like this…
sudo zypper in --from "VLC" --oldpackage libfdk-aac2

1 Like

Thanks man, Alright, I can use both commands when needed.

My regards

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.