[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 directo

2024-05-05 Thread Sudip Mukherjee
I can confirm that pure-ftpd and pure-ftpd-common from focal-proposed
has fixed the bug for me.

Test done:

followed the quick test plan and installed the old pure-ftpd and 
pure-ftpd-common from ppa
upgrade pure-ftpd and pure-ftpd-common from focal and confirm the issue is seen 
(upgrade fails) 

Add focal-proposed to apt sources
upgrade pure-ftpd and pure-ftpd-common and confirm upgrade works.

Package tested:

$ apt-cache policy pure-ftpd-common 
pure-ftpd-common:
  Installed: 1.0.49-4ubuntu0.1
  Candidate: 1.0.49-4ubuntu0.1
  Version table:
 *** 1.0.49-4ubuntu0.1 500
500 http://gb.archive.ubuntu.com/ubuntu focal-proposed/universe amd64 
Packages
500 http://gb.archive.ubuntu.com/ubuntu focal-proposed/universe i386 
Packages
100 /var/lib/dpkg/status
 1.0.49-4 500
500 http://gb.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
500 http://gb.archive.ubuntu.com/ubuntu focal/universe i386 Packages
 1.0.46-1ubuntu18.04.1~ppa1 500
500 http://ppa.launchpad.net/sudipmuk/pure-ftpd/ubuntu focal/main amd64 
Packages
500 http://ppa.launchpad.net/sudipmuk/pure-ftpd/ubuntu focal/main i386 
Packages


Also followed the normal test plan and install pure-ftpd on a bionic system
Do do-release-upgrade to upgrade to Focal, confirm issue is seen

Add focal-proposed to apt sources
upgrade pure-ftpd and pure-ftpd-common and confirm upgrade works.


Test result: the issue with pure-ftpd and pure-ftpd-common has been fixed.

Package tested:

$ apt-cache policy pure-ftpd-common 
pure-ftpd-common:
  Installed: 1.0.49-4ubuntu0.1
  Candidate: 1.0.49-4ubuntu0.1
  Version table:
 *** 1.0.49-4ubuntu0.1 500
500 http://gb.archive.ubuntu.com/ubuntu focal-proposed/universe amd64 
Packages
500 http://gb.archive.ubuntu.com/ubuntu focal-proposed/universe i386 
Packages
100 /var/lib/dpkg/status
 1.0.49-4 500
500 http://gb.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
500 http://gb.archive.ubuntu.com/ubuntu focal/universe i386 Packages

** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 directo

2024-04-10 Thread Robie Basak
Hello Roland, or anyone else affected,

Accepted pure-ftpd into focal-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/pure-
ftpd/1.0.49-4ubuntu0.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: pure-ftpd (Ubuntu Focal)
   Status: Confirmed => Fix Committed

** Tags added: verification-needed verification-needed-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 directo

2024-03-27 Thread Dave Jones
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
Bugs, which is subscribed to Ubuntu.
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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 directo

2024-03-21 Thread Sudip Mukherjee
** Description changed:

  [ 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
+  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
+  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
+ 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)

** Changed in: pure-ftpd (Ubuntu Focal)
   Status: Incomplete => Confirmed

** Changed in: pure-ftpd (Ubuntu Focal)
 Assignee: Sudip Mukherjee (sudipmuk) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 directo

2024-03-21 Thread Sudip Mukherjee
Removed old debdiff and adding new debdiff.


** Patch removed: "pure-ftpd.debdiff"
   
https://bugs.launchpad.net/ubuntu/focal/+source/pure-ftpd/+bug/1876597/+attachment/5750671/+files/pure-ftpd.debdiff

** Patch added: "pure-ftpd.debdiff"
   
https://bugs.launchpad.net/ubuntu/focal/+source/pure-ftpd/+bug/1876597/+attachment/5758155/+files/pure-ftpd.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 directo

2024-03-19 Thread Dan Bungert
Hi Sudip, thanks for the debdiff.  I have some suggestions:

* in the backport of the rules changes, there is a small out-of-order 
difference.  I'm referring to the new dh_installdocs call being after 
dh_installchangelogs instead of before.  I'm 99.9% certain that it doesn't 
matter, but it would be nice to make this precisely match what was done in 
1.0.49-4.1, to reduce the odds of new problems and for ease of patch reviews.
* I believe the version number references in the four maintscript files needs 
to be corrected for the actual version being uploaded.  They reference 
1.0.49-4.1~ but I think that they need to be updated to 1.0.49-4ubuntu0.1~ .
* The test plan references pure-ftpd, but I presume the other packages listed 
in the maintscript updates are also affected.  Would you update the testplan to 
reflect all the binary packages being changed?  I suggest also amending the 
test plan to reflect that updates to the Jammy version of the pure-ftpd 
packages still work.

Removing ubuntu-sponsors for the moment, please re-subscribe ubuntu-
sponsors when you want someone to look again.  Thanks!

** Changed in: pure-ftpd (Ubuntu Focal)
 Assignee: (unassigned) => Sudip Mukherjee (sudipmuk)

** Changed in: pure-ftpd (Ubuntu Focal)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 directo

2024-02-29 Thread Sudip Mukherjee
debdiff attached for Focal.


** Summary changed:

- 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
+ [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

** Description changed:

+ [ 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
+ 
+ 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.
+ 
+ [ 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
+  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
+  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)

** Patch added: "pure-ftpd.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/pure-ftpd/+bug/1876597/+attachment/5750671/+files/pure-ftpd.debdiff

** Changed in: pure-ftpd (Ubuntu Focal)
 Assignee: Sudip Mukherjee (sudipmuk) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs