[Bug 1927803] Re: package cvs 2:1.12.13+real-27build1 failed to install/upgrade: 已安装 cvs 软件包 post-installation 脚本 子进程返回错误状态 1

Thorsten Glaser 1927803 at bugs.launchpad.net
Sat May 8 03:57:21 UTC 2021


Your problem is this:

useradd:无法打开 /etc/passwd

and

groupadd:无法打开 /etc/group

Basically, your system is hosed. Get an experienced system administrator
to fix it.

** Changed in: cvs (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cvs in Ubuntu.
https://bugs.launchpad.net/bugs/1927803

Title:
  package cvs 2:1.12.13+real-27build1 failed to install/upgrade: 已安装 cvs
  软件包 post-installation 脚本 子进程返回错误状态 1

Status in cvs package in Ubuntu:
  Invalid

Bug description:
  outhterm at you-dp:~$ sudo apt install git-all
  [sudo] youthterm 的密码: 
  正在读取软件包列表... 完成
  正在分析软件包的依赖关系树       
  正在读取状态信息... 完成       
  git-all 已经是最新版 (1:2.25.1-1ubuntu3.1)。
  下列软件包是自动安装的并且现在不需要了:
    chromium-codecs-ffmpeg-extra gstreamer1.0-vaapi
    libgstreamer-plugins-bad1.0-0 libva-wayland2
  使用'sudo apt autoremove'来卸载它(它们)。
  升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 13 个软件包未被升级。
  有 5 个软件包没有被完全安装或卸载。
  解压缩后会消耗 0 B 的额外空间。
  您希望继续执行吗? [Y/n] y
  正在设置 git-daemon-run (1:2.25.1-1ubuntu3.1) ...
  警告:您指定的主目录 /nonexistent 不能够访问:No such file or directory
  正在添加系统用户"gitlog" (UID 126)...
  正在将新用户"gitlog" (UID 126)添加到组"nogroup"...
  useradd:无法打开 /etc/passwd
  adduser:"/sbin/useradd -d /nonexistent -g nogroup -s /usr/sbin/nologin -u 126 g
  itlog"返回错误代码 1,退出。
  dpkg: 处理软件包 git-daemon-run (--configure)时出错:
   已安装 git-daemon-run 软件包 post-installation 脚本 子进程返回错误状态 1
  正在设置 cvs (2:1.12.13+real-27build1) ...
  允许使用可疑的用户名。
  正在添加组"_cvsadmin" (GID 133)...
  groupadd:无法打开 /etc/group
  addgroup:"/sbin/groupadd -g 133 _cvsadmin"返回错误代码 10,退出。
  dpkg: 处理软件包 cvs (--configure)时出错:
   已安装 cvs 软件包 post-installation 脚本 子进程返回错误状态 1
  dpkg: 依赖关系问题使得 cvsps 的配置工作不能继续:
   cvsps 依赖于 cvs;然而:
    软件包 cvs 尚未配置。

  dpkg: 处理软件包 cvsps (--configure)时出错:
   依赖关系问题 - 仍未被配置
  dpkg: 依赖关系问题使得 git-cvs 的配置工作不能继续:
   git-cvs 依赖于 cvsps;然而:
    软件包 cvsps 尚未配置。

  dpkg: 处理软件包 git-cvs (--configure)时出错:
   依赖关系问题 - 仍未被配置
  dpkg: 依赖关系问题使得 git-all 的配置工作不能继续:
   git-all 依赖于 git-cvs;然而:
    软件包 git-cvs 尚未配置。

  dpkg: 处理软件包 git-all (--configure)时出错:
   依赖关系问题 - 仍未被配置
  因为错误消息指示这是由于上一个问题导致的错误,没有写入 apport 报告。
                                                                      由于已经达到
   MaxReports 限制,没有写入 apport 报告。
                                          由于已经达到 MaxReports 限制,没有写入 a
  pport 报告。
              在处理时有错误发生:
   git-daemon-run
   cvs
   cvsps
   git-cvs
   git-all
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 20.04
  Package: cvs 2:1.12.13+real-27build1
  ProcVersionSignature: Ubuntu 5.8.0-50.56~20.04.1-generic 5.8.18
  Uname: Linux 5.8.0-50-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.17
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Sat May  8 10:39:03 2021
  ErrorMessage: 已安装 cvs 软件包 post-installation 脚本 子进程返回错误状态 1
  InstallationDate: Installed on 2021-05-04 (3 days ago)
  InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
  Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.19.7ubuntu3
   apt  2.0.5
  SourcePackage: cvs
  Title: package cvs 2:1.12.13+real-27build1 failed to install/upgrade: 已安装 cvs 软件包 post-installation 脚本 子进程返回错误状态 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cvs/+bug/1927803/+subscriptions



More information about the foundations-bugs mailing list