Am Wed, Nov 01, 2023 at 11:55:29PM +0100 schrieb Norwid Behrnd: Your transitional package needs to Depends: on the new package.
> The /debian/control file was edited to eventually yield an updated > `markdownlint_0.13.0-1_all.deb` (for future use) and a transitional > `ruby-mdl_0.13.0-1_all.deb`. Does this meet the criteria better? > > The additional lines replaces/provides/conflicts follow Andreas Fester's > blog[1] and example.[2] However, after reading current lintian's note and > sections 7.3 and 7.6 of the Debian Policy Manual (v4.6.2.0) with > > "[`Conflicts:`] can make it more difficult for the package manager to find a > correct solution to an upgrade or installation problem." (see page 61). > > I substituted `Conflicts:` for `Breaks:`. > [1] https://www.labcorner.de/renaming-a-debian-package/ > [2] https://sources.debian.org/src/crossvc/1.5.0-1%2Betch1/debian/control/ I think you need also > ``` file /debian/control > Source: ruby-mdl > Section: text > Priority: optional > Maintainer: Norwid Behrnd <nbeh...@protonmail.com> > Build-Depends: debhelper-compat (= 13), > gem2deb (>= 1), > ruby (>= 2.7), > ruby-kramdown (>= 2.3), > ruby-kramdown-parser-gfm (>= 1.1), > ruby-mixlib-cli (<< 2.2), > ruby-mixlib-cli (>= 2.1.1), > ruby-mixlib-config (<< 4), > ruby-mixlib-config (>= 2.2.1), > ruby-mixlib-shellout > Standards-Version: 4.6.2 > Vcs-Git: https://salsa.debian.org/nbehrnd/ruby-mdl.git > Vcs-Browser: https://salsa.debian.org/nbehrnd/ruby-mdl > Homepage: https://github.com/markdownlint/markdownlint > Testsuite: autopkgtest-pkg-ruby > Rules-Requires-Root: no > > Package: markdownlint > Architecture: all > Depends: ${misc:Depends}, > ${ruby:Depends}, > ${shlibs:Depends} > Replaces: ruby-mdl > Provides: ruby-mdl > Breaks: ruby-mdl (<< 0.13.0-1) > Description: Markdown lint tool > markdownlint checks an individual markdown file, or a directory of markdown > files against a set of rules for syntax consistency. In its report back > to the CLI, the Ruby based implementation reports the line(s) with an issue > identified and how to improve it. > > Package: ruby-mdl > Architecture: all > Depends: ${misc:Depends} > Section: oldlibs > Description: Markdown lint tool - transitional dummy package > This is a transitional package for markdownlint. It can be safely removed. > > ``` >