[Bug 1876597] Re: [SRU] package pure-ftpd-common 1.0.49-4 failed to install/upgrade: unable to open '/usr/share/doc/pure-ftpd-common/README.Authentication-Modules.gz.dpkg-new': No such file or directory

Dave Jones 1876597 at bugs.launchpad.net
Wed Mar 27 12:12:42 UTC 2024


Tested locally in a focal container with the quick test plan and it does
indeed fix the issue. The patch looks good too, sponsoring.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1876597

Title:
  [SRU] package pure-ftpd-common 1.0.49-4 failed to install/upgrade:
  unable to open '/usr/share/doc/pure-ftpd-common/README.Authentication-
  Modules.gz.dpkg-new': No such file or directory

Status in pure-ftpd package in Ubuntu:
  Fix Released
Status in pure-ftpd source package in Focal:
  Confirmed
Status in pure-ftpd package in Debian:
  Fix Released

Bug description:
  [ Impact ]

  pure-ftpd will fail to upgrade from Bionic to Focal. It will give an
  error as below:

  dpkg: error processing archive /var/cache/apt/archives/pure-ftpd-common_1.0.49-4_all.deb (--unpack):
   unable to open '/usr/share/doc/pure-ftpd-common/README.Authentication-Modules.gz.dpkg-new': No such file or directory
  No apport report written because the error message indicates an issue on the local system
           Errors were encountered while processing:
   /var/cache/apt/archives/pure-ftpd-common_1.0.49-4_all.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  [ Test Plan ]

  Complete test plan:
  1. Use a Bionic system
  2. Install pure-ftpd
  3. Execute "do-release-upgrade" to upgrade the system to Focal.
  4. Upgrade the system to Jammy to confirm next upgrade is not broken.

  
  A quick test plan: I have made a PPA with pure-ftpd from Bionic but rebuilt for Focal.
  1. Use a Focal system.
  2. sudo add-apt-repository ppa:sudipmuk/pure-ftpd
  3. sudo apt update
  4. sudo apt-get install pure-ftpd=1.0.46-1ubuntu18.04.1~ppa1 pure-ftpd-common=1.0.46-1ubuntu18.04.1~ppa1
  5. sudo apt-get upgrade

  With the fixed package, pure-ftpd will now upgrade to the version in
  Focal.

  Redo the quick testplan for pure-ftpd-mysql, pure-ftpd-ldap, pure-
  ftpd-postgresql to confirm they do not have any regression. These
  binaries do not have this original issue.


  [ Where problems could occur ]

  It does not change any part of the code, only change is in the d/rules
  file which removes the symlink from /usr/share/doc/pure-ftpd* to pure-
  ftpd-common and instead uses dpkg-maintscript-helper scripts to manage
  the symlink. There should not be any regression in the software for
  this change.

  [ Other Info ]

  This has been fixed in Debian by pure-ftpd/1.0.49-4.1 and so Jammy
  onwards is not affected.

  [ Original Bug Description ]

  this bug triggered when i was upgrading my ubuntu and broke dpkg

  ProblemType: Package
  DistroRelease: Ubuntu 20.04
  Package: pure-ftpd-common 1.0.49-4
  ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30
  Uname: Linux 5.4.0-28-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Sun May  3 17:25:35 2020
  DuplicateSignature:
   package:pure-ftpd-common:1.0.49-4
   Unpacking pure-ftpd-common (1.0.49-4) over (1.0.47-3build1) ...
   dpkg: error processing archive /tmp/apt-dpkg-install-FSKNo5/539-pure-ftpd-common_1.0.49-4_all.deb (--unpack):
    unable to open '/usr/share/doc/pure-ftpd-common/README.Authentication-Modules.gz.dpkg-new': No such file or directory
  ErrorMessage: unable to open '/usr/share/doc/pure-ftpd-common/README.Authentication-Modules.gz.dpkg-new': No such file or directory
  InstallationDate: Installed on 2018-08-21 (621 days ago)
  InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
  PackageArchitecture: all
  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
  RelatedPackageVersions:
   dpkg 1.19.7ubuntu3
   apt  2.0.2
  SourcePackage: pure-ftpd
  Title: package pure-ftpd-common 1.0.49-4 failed to install/upgrade: unable to open '/usr/share/doc/pure-ftpd-common/README.Authentication-Modules.gz.dpkg-new': No such file or directory
  UpgradeStatus: Upgraded to focal on 2020-05-03 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pure-ftpd/+bug/1876597/+subscriptions




More information about the Ubuntu-sponsors mailing list