Merge ~ahasenack/ubuntu/+source/samba:mantic-fix-breaks-replaces-for-kinetic-upgrade into ubuntu/+source/samba:ubuntu/devel
Status: | Rejected |
---|---|
Rejected by: | Robie Basak |
Proposed branch: | ~ahasenack/ubuntu/+source/samba:mantic-fix-breaks-replaces-for-kinetic-upgrade |
Merge into: | ubuntu/+source/samba:ubuntu/devel |
Diff against target: |
33 lines (+12/-2) 2 files modified
debian/changelog (+9/-0) debian/control (+3/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andreas Hasenack | Disapprove | ||
Canonical Server Reporter | Pending | ||
Review via email:
|
Description of the change
PPA: https:/
Adjust the breaks/replaces originally on version 4.16.6+dfsg-5~ to 2:4.17.
As explained in https:/
I'm unsure how to test mantic specifically, since kinetic can only upgrade to lunar, and not to mantic directly. And upgrades from lunar are unaffected because the version in lunar is already past the original B/R.
To test lunar:
- deploy kinetic
- install packages:
$ sudo apt install samba samba-libs winbind -y
To reproduce the bug:
- upgrade to lunar: sudo do-release-upgrade
- Verify the bug happened by inspecting the apt-terminal.log file:
$ grep "trying to overwrite" /var/log/
dpkg: warning: trying to overwrite '/usr/share/
dpkg: warning: trying to overwrite '/usr/share/
To verify the fix:
- add the ppa (note it will complain there are no kinetic packages in the ppa, that's ok):
$ sudo add-apt-repository ppa:ahasenack/
- upgrade do lunar, but preserving the ppa:
$ sudo do-release-upgrade --allow-third-party
- verify apt-terminal.log has no "trying to overwrite" lines:
$ grep "trying to overwrite" /var/log/
$
- to be sure, check that winbind was unpacked without errors in the log:
$ grep "Unpacking winbind" /var/log/
Unpacking samba (2:4.17.
Preparing to unpack .../18-
Unpacking samba-libs:amd64 (2:4.17.
Preparing to unpack .../19-
Unpacking winbind (2:4.17.
Preparing to unpack .../20-
Unpacking samba-common-bin (2:4.17.
Preparing to unpack .../21-
Unpacking samba-vfs-
I'm going to bundle this together with the 4.18.6 merge that I'm working on and intend to upload today.