Jira (PUP-11432) Debian package versions don't allow for clean upgrades

5 views
Skip to first unread message

Kenyon Ralph (Jira)

unread,
Jan 22, 2022, 1:38:02 PM1/22/22
to puppe...@googlegroups.com
Kenyon Ralph created an issue
 
Puppet / Bug PUP-11432
Debian package versions don't allow for clean upgrades
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2022/01/22 10:37 AM
Priority: Normal Normal
Reporter: Kenyon Ralph

Please use Debian package versions that sort properly across Debian releases. Currently, when upgrading from Debian 10 buster to Debian 11 bullseye for example, the buster package versions are higher than the bullseye versions, which means you have to manually upgrade these packages:

% apt policy puppet-agent puppetserver puppetdb               
puppet-agent:
  Installed: 7.14.0-1buster
  Candidate: 7.14.0-1buster
  Version table:
 *** 7.14.0-1buster 100
        100 /var/lib/dpkg/status
     7.14.0-1bullseye 500
        500 https://apt.puppet.com bullseye/puppet amd64 Packages
     7.13.1-1bullseye 500
        500 https://apt.puppet.com bullseye/puppet amd64 Packages
     7.12.1-1bullseye 500
        500 https://apt.puppet.com bullseye/puppet amd64 Packages
     7.12.0-1bullseye 500
        500 https://apt.puppet.com bullseye/puppet amd64 Packages
     7.11.0-1bullseye 500
        500 https://apt.puppet.com bullseye/puppet amd64 Packages
     7.10.0-1bullseye 500
        500 https://apt.puppet.com bullseye/puppet amd64 Packages
     7.9.0-1bullseye 500
        500 https://apt.puppet.com bullseye/puppet amd64 Packages
puppetserver:
  Installed: 7.6.0-1buster
  Candidate: 7.6.0-1buster
  Version table:
 *** 7.6.0-1buster 100
        100 /var/lib/dpkg/status
     7.6.0-1bullseye 500
        500 https://apt.puppet.com bullseye/puppet amd64 Packages
        500 https://apt.puppet.com bullseye/puppet all Packages
puppetdb:
  Installed: 7.9.0-1buster
  Candidate: 7.9.0-1buster
  Version table:
 *** 7.9.0-1buster 100
        100 /var/lib/dpkg/status
     7.9.0-1bullseye 500
        500 https://apt.puppet.com bullseye/puppet amd64 Packages
        500 https://apt.puppet.com bullseye/puppet all Packages

For example, replacing the codename ("bullseye") with the numerical version ("debian11") would solve the problem.

Version number format reference: https://manpages.debian.org/unstable/dpkg-dev/deb-version.7.en.html

Version comparison tool: https://manpages.debian.org/unstable/dpkg/dpkg.1.en.html#compare

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo

Josh Cooper (Jira)

unread,
Feb 1, 2022, 4:51:01 PM2/1/22
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-11432
 
Re: Debian package versions don't allow for clean upgrades

Thoughts about this morgan? Is there something that needs to be updated in vanagon or our build automation?

Yury Bushmelev (Jira)

unread,
Apr 20, 2022, 10:00:06 AM4/20/22
to puppe...@googlegroups.com

I understand that "me too" is not too productive kind of comments.. but we just hit the issue too after buster -> bullseye migration. Could you please adjust the package naming for future releases?

ghislain (Jira)

unread,
Nov 30, 2022, 11:56:02 AM11/30/22
to puppe...@googlegroups.com
ghislain commented on Bug PUP-11432

hi,

 same here, know that you can use the version NAME but after a ~.  Like mydumper for exemple

Version: 0.12.7-3~buster

the part after the tilde will not be an issue here.

 

if not you'll have

dpkg: warning: downgrading puppet-agent from 6.28.0-1buster to 6.28.0-1bullseye
Preparing to unpack .../220-puppet-agent_6.28.0-1bullseye_amd64.deb ...
Unpacking puppet-agent (6.28.0-1bullseye) over (6.28.0-1buster) ...

 

best regards,

Ghislain.

 

This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages