Bug 502841 - Running kdesrc-build initial setup on kubuntu 24.04 gives error
Summary: Running kdesrc-build initial setup on kubuntu 24.04 gives error
Status: REPORTED
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: Git
Platform: Kubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-15 14:32 UTC by Ian H
Modified: 2025-05-04 11:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian H 2025-04-15 14:32:07 UTC
***
SUMMARY
Fresh install of kubuntu 24.04, running kdesrc-build --initial setup gives this error and fails:

Merging sysadmin-repo-metadata changes from branch master
 - Installing system packages for ubuntu...
    Installing packages for debian/24.04
  * Cannot open file "/home/user/.local/state/sysadmin-repo-metadata/distro-dependencies/debian.ini"


STEPS TO REPRODUCE
1. Fresh install of kubuntu 24.04
2. follow kdesrc-build instructions
3. Run kdesrc-build --initial-setup

OBSERVED RESULT
Gives error saying it cant open the file. Creating that file gives error saying 
* Packages could not be installed, because kdesrc-build does not know your distribution (ubuntu)

EXPECTED RESULT
Should correctly install

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 24.04


ADDITIONAL INFORMATION
Comment 1 Ian H 2025-04-15 14:34:36 UTC
seemed similar to https://bugs.kde.org/show_bug.cgi?id=456205

but adding ID_LIKE=ubuntu debian to /etc/os-release gives this error instead:
  * Unable to open file '/home/user/.local/state/sysadmin-repo-metadata/module-definitions/kf6-qt6.ksb' which was included from /home/ihaber/.config/kdesrc-buildrc:77
Comment 2 Ian H 2025-04-15 14:36:45 UTC
(In reply to Ian H from comment #1)
> seemed similar to https://bugs.kde.org/show_bug.cgi?id=456205
> 
> but adding ID_LIKE=ubuntu debian to /etc/os-release gives this error instead:
>   * Unable to open file
> '/home/user/.local/state/sysadmin-repo-metadata/module-definitions/kf6-qt6.
> ksb' which was included from /home/ihaber/.config/kdesrc-buildrc:77

nevermind, it just skips past the original error if you already created a kdesrc-buildrc file. once that's gone, it goes back to the original error
Comment 3 Ian H 2025-04-16 13:43:14 UTC
okay... it seems to be caused by the latest commit 2ff27ba7ac4ebc200f1c15bcd2e12e2b8cad67c3

going back to the previous commit version, the initial setup works fine.