Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflows: update linux source tgz file version. #644

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

cfc4n
Copy link
Member

@cfc4n cfc4n commented Sep 30, 2024

error output:

Reading state information...
E: Unable to locate package linux-source-6.8.0
E: Couldn't find any package by glob 'linux-source-6.8.0' E: Couldn't find any package by regex 'linux-source-6.8.0' Error: Process completed with exit code 100.

Github Action run failed via : https://github.com/gojue/ecapture/actions/runs/11101523778/job/30839371311?pr=642#step:3:48

The Ubuntu 22.04 image used by Github Action has a system kernel version of 6.8.0-1014-azure, but there is no package for linux-source-6.8.0 in the deb repository. The deb package downloaded from apt install linux-source corresponds to a kernel version of 5.15, which is quite frustrating.


Github Action 使用的UBUNTU 22.04镜像,系统内核版本为6.8.0-1014-azure,但是deb源中却没有linux-source-6.8.0的包,apt install linux-source下载的deb包,对应的内核版本确是5.15,这很让人头疼。

CI log

uname -r
cd /usr/src
ls -al
source_file=$(find . -maxdepth 1 -name "*linux-source*.tar.bz2")
source_dir=$(echo "$source_file" | sed 's/\.tar\.bz2//g')  
echo $source_file
echo $source_dir
...
Setting up gcc-aarch64-linux-gnu (4:11.2.0-1ubuntu1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
NEEDRESTART-VER: 3.5
NEEDRESTART-KCUR: 6.8.0-1014-azure
NEEDRESTART-KEXP: 6.8.0-1014-azure
NEEDRESTART-KSTA: 1
6.8.0-1014-azure
total 24
drwxr-xr-x  6 root root 4096 Sep 30 14:27 .
drwxr-xr-x 15 root root 4096 Sep 30 14:27 ..
drwxr-xr-x 26 root root 4096 Sep 13 02:22 linux-azure-6.8-headers-6.8.0-1014
drwxr-xr-x  7 root root 4096 Sep 13 02:22 linux-headers-6.8.0-1014-azure
drwxr-xr-x  4 root root 4096 Sep 30 14:27 linux-source-5.15.0
lrwxrwxrwx  1 root root   47 Aug 29 12:23 linux-source-5.15.0.tar.bz2 -> linux-source-5.15.0/linux-source-5.15.0.tar.bz2
drwxr-xr-x  4 root root 4096 Sep 22 22:12 python3.10
./linux-source-5.15.0.tar.bz2
...

error output:
Reading state information...
E: Unable to locate package linux-source-6.8.0
E: Couldn't find any package by glob 'linux-source-6.8.0'
E: Couldn't find any package by regex 'linux-source-6.8.0'
Error: Process completed with exit code 100.

Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
@cfc4n cfc4n added the 🐞 bug Something isn't working label Sep 30, 2024
@cfc4n cfc4n force-pushed the github-action-ubuntu-source branch 4 times, most recently from 7a25289 to 198bdc7 Compare September 30, 2024 16:20
error output:
Reading state information...
E: Unable to locate package linux-source-6.8.0
E: Couldn't find any package by glob 'linux-source-6.8.0'
E: Couldn't find any package by regex 'linux-source-6.8.0'
Error: Process completed with exit code 100.

Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
@cfc4n cfc4n force-pushed the github-action-ubuntu-source branch from 198bdc7 to eb0a509 Compare September 30, 2024 16:54
@cfc4n cfc4n merged commit 716cd74 into master Sep 30, 2024
6 checks passed
@cfc4n cfc4n deleted the github-action-ubuntu-source branch September 30, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant