Bug 400590 - Old heaptrack version breaks update
Summary: Old heaptrack version breaks update
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages Unstable Edition (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-02 12:38 UTC by Roman Gilg
Modified: 2018-11-07 17:43 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Gilg 2018-11-02 12:38:17 UTC
Updating needed on two of my systems manual intervention.

1. Try to update system
...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-Pn6yeT/177-heaptrack-gui_1.1.0+p18.04+git20180923.0230-0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

2. sudo dpkg --remove heaptrac
...
Removing heaptrack (1.2.0+p16.04+git20171128.0209-0) ...
...

3. sudo apt --fix-broken install
Comment 1 Harald Sitter 2018-11-02 12:46:09 UTC
I've been digging through the job archive and found that heaptrack, which is now forks/heaptrack, used to be kde-extras/heaptrack. 

To get the issue at hand: I am almost certain kde-extras/heaptrack was at 1.2 while the new forks/heaptrack is at 1.1 which is causing that version problem. The easy solution is probably to go to 1.2 (although I also do not understand why it would be at 1.1 when the old thing was a 1.2)

I have no actual proof of that because we don't keep old repos. On top of that is the problem that the build history wasn't preserved in the rename, so through jenkins we also get no better metadata.

And the fact that xenial currently does not contain 1.2 either raises yet more questions: what happened to the heaptrack 1.2 deb in the xenial repos. There is a test specifically verifying that all packages in bionic are greater than xenial, if xenial in of itself is not version consistent (as appears to be the case here) that becomes meaningless though.

CCing Scarlett since she's been working on both incarnations of heaptrack
Comment 2 Jonathan Riddell 2018-11-07 17:43:51 UTC
artificially bumped to 1.2 in developer editions
https://packaging.neon.kde.org/forks/heaptrack.git/commit/?id=9b9e9d160afff4d5a613280b7f6e1ae2c8428d0e