package openafs-client 1.8.4~pre1-1ubuntu2 failed to install/upgrade: installed openafs-client package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openafs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
New to Linux, installing a package to enable sys commands.
Installation failed and got the following summary at the end:
DKMS: install completed.
Setting up openafs-client (1.8.4~
update-
sh) in auto mode
Created symlink /etc/systemd/
ce → /lib/systemd/
Created symlink /etc/systemd/
e → /lib/systemd/
Job for openafs-
ror code.
See "systemctl status openafs-
invoke-rc.d: initscript openafs-client, action "start" failed.
● openafs-
Loaded: loaded (/lib/systemd/
preset: enabled)
Active: failed (Result: exit-code) since Sun 2020-06-07 11:36:33 AEST; 49ms
ago
Process: 78141 ExecStartPre=
=exited, status=0/SUCCESS)
Process: 78153 ExecStart=
E)
Process: 78154 ExecStopPost=
)
Jun 07 11:36:33 colin-Linux systemd[1]: Starting OpenAFS client...
Jun 07 11:36:33 colin-Linux afsd[78153]: afsd: some file missing or bad in /etc/
openafs/
Jun 07 11:36:33 colin-Linux systemd[1]: openafs-
exited, code=exited, status=1/FAILURE
Jun 07 11:36:33 colin-Linux systemd[1]: openafs-
lt 'exit-code'.
Jun 07 11:36:33 colin-Linux systemd[1]: Failed to start OpenAFS client.
dpkg: error processing package openafs-client (--configure):
installed openafs-client package post-installation script subprocess returned e
rror exit status 1
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3.1) ...
Errors were encountered while processing:
openafs-client
E: Sub-process /usr/bin/dpkg returned an error code (1)
I searched for the error "E: Sub-process /usr/bin/dpkg returned an error code (1)" and tried all of the suggestions in the following link "https:/
Errors were "E: Unable to locate package –f" when running "sudo apt-get install –f" and E: Unable to locate package ––purge when running "sudo apt-get remove ––purge package_name" (I replaced package name with a few programs I tried to uninstall; virtualbox 6.1 for example).
I do not know if this is a bug, but my system said it was and automatically began the reporting process.
I am using Ubuntu 20.04, using lUbuntu as the machine is more than 13 years old.
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: openafs-client 1.8.4~pre1-1ubuntu2
ProcVersionSign
Uname: Linux 5.4.0-33-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27.2
AptOrdering:
openafs-
openafs-
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Sun Jun 7 11:36:34 2020
ErrorMessage: installed openafs-client package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2020-06-05 (1 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18rc1, python-is-python2, 2.7.17-4
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.2ubuntu0.1
SourcePackage: openafs
Title: package openafs-client 1.8.4~pre1-1ubuntu2 failed to install/upgrade: installed openafs-client package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
Although the openafs-client package happens to include a command named ‘sys’, it’s almost certainly not the one you’re looking for. openafs-client is for connecting to the AFS network filesystem (https:/ /en.wikipedia. org/wiki/ Andrew_ File_System). What are you trying to do?
As for the errors with –f and ––purge, you want -f and --purge instead (with the normal hyphen that you can type on your keyboard, not a Unicode dash character).