AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-515239

francois P's questions

Martin Hope
francois P
Asked: 2023-05-11 18:47:59 +0800 CST

构建“新”内核的 debian 更新失败

  • 6

我目前的版本

$ cat /etc/*elease*
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

我运行的确切命令是

sudo aptitude update && sudo aptitude safe-upgrade"

这是我得到的错误(我想它们之间都有联系)

/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-9-amd64.
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
'make' -j8 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.1.0-9-amd64 IGNORE_CC_MISMATCH='' modules.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-9-amd64 (x86_64)
Consult /var/lib/dkms/nvidia/418.113/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-9-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.1.0-9-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.1.0-9-amd64 (--configure):
 installed linux-headers-6.1.0-9-amd64 package post-installation script subprocess returned error exit status 1
Setting up libgnuradio-audio3.10.5:amd64 (3.10.5.1-3) ...
Setting up gcc-11 (11.3.0-14) ...
Setting up libgnuradio-zeromq3.10.5:amd64 (3.10.5.1-3) ...
Setting up console-setup-linux (1.220) ...
Setting up libgnuradio-qtgui3.10.5:amd64 (3.10.5.1-3) ...
Setting up console-setup (1.220) ...
Setting up libncurses-dev:amd64 (6.4-4) ...
dpkg: dependency problems prevent configuration of linux-headers-amd64:
 linux-headers-amd64 depends on linux-headers-6.1.0-9-amd64 (= 6.1.27-1); however:
  Package linux-headers-6.1.0-9-amd64 is not configured yet.

dpkg: error processing package linux-headers-amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up libgnuradio-dtv3.10.5:amd64 (3.10.5.1-3) ...
Setting up libgnuradio-analog3.10.5:amd64 (3.10.5.1-3) ...
Setting up libgnuradio-digital3.10.5:amd64 (3.10.5.1-3) ...
Setting up libstdc++-11-dev:amd64 (11.3.0-14) ...
Setting up libgnuradio-channels3.10.5:amd64 (3.10.5.1-3) ...
Setting up libtinfo-dev:amd64 (6.4-4) ...
Setting up g++-11 (11.3.0-14) ...
Setting up gnuradio (3.10.5.1-3) ...
Setting up gnuradio-dev (3.10.5.1-3) ...
Processing triggers for shared-mime-info (2.2-1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1) ...
Processing triggers for libglib2.0-0:amd64 (2.74.6-2) ...
Processing triggers for libglib2.0-0:i386 (2.74.6-2) ...
Processing triggers for libc-bin (2.36-9) ...
Processing triggers for man-db (2.11.2-2) ...
Errors were encountered while processing:
 linux-image-6.1.0-8-amd64
 linux-image-6.1.0-9-amd64
 linux-image-amd64
 linux-headers-6.1.0-8-amd64
 linux-headers-6.1.0-9-amd64
 linux-headers-amd64
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up linux-headers-6.1.0-8-amd64 (6.1.25-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-8-amd64.
/usr/sbin/dkms: line 2497: echo: write error: Broken pipe
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
'make' -j8 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.1.0-8-amd64 IGNORE_CC_MISMATCH='' modules.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-8-amd64 (x86_64)
Consult /var/lib/dkms/nvidia/418.113/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-8-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.1.0-8-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.1.0-8-amd64 (--configure):
 installed linux-headers-6.1.0-8-amd64 package post-installation script subprocess returned error exit status 1
Setting up linux-image-6.1.0-8-amd64 (6.1.25-1) ...
I: /initrd.img.old is now a symlink to boot/initrd.img-6.1.0-8-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-8-amd64.
/usr/sbin/dkms: line 2497: echo: write error: Broken pipe
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
'make' -j8 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.1.0-8-amd64 IGNORE_CC_MISMATCH='' modules.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-8-amd64 (x86_64)
Consult /var/lib/dkms/nvidia/418.113/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-8-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.1.0-8-amd64 (--configure):
 installed linux-image-6.1.0-8-amd64 package post-installation script subprocess returned error exit status 1
Setting up linux-image-6.1.0-9-amd64 (6.1.27-1) ...
I: /initrd.img is now a symlink to boot/initrd.img-6.1.0-9-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-9-amd64.
/usr/sbin/dkms: line 2497: echo: write error: Broken pipe
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
'make' -j8 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.1.0-9-amd64 IGNORE_CC_MISMATCH='' modules.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-9-amd64 (x86_64)
Consult /var/lib/dkms/nvidia/418.113/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-9-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.1.0-9-amd64 (--configure):
 installed linux-image-6.1.0-9-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-amd64:
 linux-image-amd64 depends on linux-image-6.1.0-9-amd64 (= 6.1.27-1); however:
  Package linux-image-6.1.0-9-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up linux-headers-6.1.0-9-amd64 (6.1.27-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-9-amd64.
/usr/sbin/dkms: line 2497: echo: write error: Broken pipe
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
'make' -j8 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.1.0-9-amd64 IGNORE_CC_MISMATCH='' modules.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-9-amd64 (x86_64)
Consult /var/lib/dkms/nvidia/418.113/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-9-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.1.0-9-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.1.0-9-amd64 (--configure):
 installed linux-headers-6.1.0-9-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-headers-amd64:
 linux-headers-amd64 depends on linux-headers-6.1.0-9-amd64 (= 6.1.27-1); however:
  Package linux-headers-6.1.0-9-amd64 is not configured yet.

dpkg: error processing package linux-headers-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-headers-6.1.0-8-amd64
 linux-image-6.1.0-8-amd64
 linux-image-6.1.0-9-amd64
 linux-image-amd64
 linux-headers-6.1.0-9-amd64
 linux-headers-amd64
                                         
Current status: 1 (-88) upgradable.```

Do I have to *(re)*install missing modules and if so how can I get their list ; or this is not at all the solution so then can you provide a procedure ?
debian
  • 1 个回答
  • 75 Views
Martin Hope
francois P
Asked: 2021-11-18 11:06:04 +0800 CST

什么相当于powershell上的taskset?

  • 0

什么相当于 powershell 上的任务集?

我的意思是,如果您不知道什么是 taskset,那么在 CPU 内核专用池上启动进程/应用程序的命令。

我没有找到类似的东西,是否存在这种可能性?抱歉这么基本的问题,但我没有 Windows 知识。

问候

powershell multi-core
  • 1 个回答
  • 106 Views
Martin Hope
francois P
Asked: 2021-02-06 01:04:13 +0800 CST

jenkins groovy 文件步骤管理:使步骤继续以前的错误

  • 1

您好,我使用 jenkins groovy 文件来管理管道的步骤。

结构就像:

>     ```
>     
>     2 pipeline                                                                                                                                                                                                                                      3 {                                                                   
> 4     agent none                                                      
> 5                                                                     
> 6     options {                                                       
> 7         timeout(time: 240, unit: 'MINUTES')                         
> 8     }                                                               
> 9                                                                     
> 10     stages {                                                       
> 11         stage ("clean xxxxxxx") {                                  
> 12             agent {                                                
> 13                 node {                                             
> 14                     label "xxxxxxx"                                
> 15                     customWorkspace "F:\\xxxxxxx"                  
> 16                 }                                                  
> 17             }                                                      
> 18             steps                                                  
> 19             {                                                      
> 20                 script                                             
> 21                 {                                                  
> 22                     bat """                                        
> 23                         f:                                         
> 24                         cd \\                                      
> 25                         python
> xxxxxxx/scripts/pipeline/removeOldJenkinsBuildDir.py --nbdays 30
> --delete yes                                                                                                                        26                         python
> xxxxxxx/scripts/pipeline/cleanDotConan.py f: --delete                 
> 27                         Powershell("Get-wmiObject -Class
> win32_logicaldisk")                                                   
> 28                     """                                            
> 29                 }                                                  
> 30             }                                                      
> 31         }   
>     
>     ```

对于我列表中的每个节点,依此类推。

我的问题

如果一个步骤失败了所有其余的开始并忽略消息: Stage "clean XXXXXXXX" skipped due to earlier failure(s)。

所以跳过了步骤,但我真的希望它们运行。

我的目标

在这里设置一些东西可能在步骤或更高级别,以避免跳过并强制运行所有步骤。我能做些什么呢?更改选项集?为每个步骤添加选项?

(事实上​​我发现了很多例子;但无法使用它们或崩溃了:))

powershell jenkins jenkins-multibranch
  • 1 个回答
  • 1464 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve