首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法下载SLURM - sacctmgr问题

无法下载SLURM - sacctmgr问题
EN

Ask Ubuntu用户
提问于 2020-07-31 03:31:26
回答 1查看 610关注 0票数 1

我试图在Ubuntu18.04 WSL上设置SLURM。当我试图安装时,收到以下错误:

代码语言:javascript
复制
sudo apt-get install slurm-wlm

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
      slurm-wlm is already the newest version (17.11.2-1build1).
   You might want to run 'apt --fix-broken install' to correct these.
   The following packages have unmet dependencies:
     slurm-wlm : Depends: slurm-client (= 17.11.2-1build1) but it is not going to be installed
     slurmctld : Depends: slurm-client (= 17.11.2-1build1) but it is not going to be installed
   E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

我尝试用下面的代码修复安装,但它也提供了一个错误。

代码语言:javascript
复制
sudo apt --fix-broken install 

  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Correcting dependencies... Done
  The following additional packages will be installed:
    slurm-client
  The following NEW packages will be installed:
    slurm-client
  0 upgraded, 1 newly installed, 0 to remove and 43 not upgraded.
  6 not fully installed or removed.
  Need to get 0 B/870 kB of archives.
  After this operation, 1935 kB of additional disk space will be used.
  Do you want to continue? [Y/n] y
  (Reading database ... 81615 files and directories currently installed.)
  Preparing to unpack .../slurm-client_17.11.2-1build1_amd64.deb ...
  Unpacking slurm-client (17.11.2-1build1) ...
  dpkg: error processing archive /var/cache/apt/archives/slurm-client_17.11.2-1build1_amd64.deb (--unpack):
    unable to install new version of '/usr/bin/sacctmgr': File exists
  Errors were encountered while processing:
    /var/cache/apt/archives/slurm-client_17.11.2-1build1_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

我试图定位该文件,但在系统中任何地方都找不到它。以下代码:

代码语言:javascript
复制
ls -ld /usr/bin/sacctmgr /usr/bin/

产生了以下错误消息:

代码语言:javascript
复制
ls: cannot access '/usr/bin/sacctmgr': No such file or directory
drwxr-xr-x 1 root root 4096 Jul 30 23:16 /usr/bin/ 

谢谢您能提供的任何建议!

EN

回答 1

Ask Ubuntu用户

发布于 2020-08-02 22:43:50

考虑到我运行的是Ubuntu18.04WSL,我实际上能够搜索进入Ubuntu子系统的子目录,找到文件并删除它。

我的所有东西都保存在我的Windows系统中的默认/mnt/文件夹中,所以我能够按照Ubuntu的设置说明在我的文件中找到它。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1263464

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档