手機 - PINE64 PinePhone - Sailfish OS - 解決Repository adaptation-community is invalid問題



參考資料:
https://repo.sailfishos.org/obs/nemo:/devel:/hw:/pine:/
https://forum.sailfishos.org/t/sailfish-on-vollaos/6342/37?page=4

問題如下:

[root@PinePhone defaultuser]# zypper ref
    Repository 'adaptation-common' is up to date.
    Retrieving repository 'adaptation-community' metadata ...[error]
    Repository 'adaptation-community' is invalid.
    [adaptation-community|plugin:ssu?repo=adaptation-community] Valid metadata not found at specified URL
    History:
     - [adaptation-community|plugin:ssu?repo=adaptation-community] Repository type can't be determined.
    Please check if the URIs defined for this repository are pointing to a valid repository.
    Skipping repository 'adaptation-community' because of the above error.
    Repository 'adaptation-community-common' is up to date.
    Repository 'adaptation-dontbeevil' is up to date.
    Repository 'adaptation-dontbeevil-kernel' is up to date.
    Repository 'adaptation-pinephone' is up to date.
    Repository 'apps' is up to date.
    Repository 'hotfixes' is up to date.
    Repository 'hw-native-common' is up to date.
    Repository 'jolla' is up to date.
    Repository 'store' is up to date.
    Some of the repositories have not been refreshed because of an error.

解法如下:

$ sudo vim /usr/share/ssu/features.d/adaptation-community.ini
    [adaptation-community]
    repos = adaptation-community
    pattern = Feature community adaptation
    description = Enable ssu for community ports

    [repositories]
    adaptation-community = https://repo.sailfishos.org/obs/nemo:/devel:/hw:/pine:/dontbeevil/sailfish_latest_%(arch)/