Your message dated Mon, 09 Jun 2025 09:15:54 +0000
with message-id <e1uoybi-009jak...@fasolo.debian.org>
and subject line Bug#1107082: Removed package(s) from unstable
has caused the Debian Bug report #1088266,
regarding netdata: ineffective Replaces due to /usr-move (DEP17)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1088266: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088266
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: netdata
Version: 2.0.3+dfsg-1
Severity: serious
Tags: patch
Control: affects -1 + netdata-core
User: helm...@debian.org
Usertags: dep17p1

Hi Daniel,

your nedata upload is a restructuring upload where files move between
packages. You also uploaded to experimental. Thank you very much for
taking the experimental detour. As a result, the /usr-move analyzer
(dumat) was able to analyze your upload there an identify a problem.

In bookworm, netdata-core installs /lib/systemd/system/netdata.service
while in experimental netdata installs
/usr/lib/systemd/system/netdata.service. If you were to upgrade, that
file would be lost, because dpkg would be unable to figure out that
those actually refer to the same file. The upgrade scenario is thus
broken at this time, but it only affects people upgrading from bookworm
to experimental just yet.

To get more background on what the precise problem and proposed solution
is, please refer to https://subdivi.de/~helmut/dep17.html sections P1
and M7. I propose changing the correctly declared Breaks + Replaces to
Conflicts and thus force apt to remove netdata-core before unpacking
netdata. There still is a risk of loss in case someone upgrades with
dpkg directly, but we deemed that risk quite low. In case a file is
actually lost, reinstalling the package resolves the problem.

I am attaching a patch for the proposed change. Please do another upload
to experimental including my patch and wait three days. If you don't
hear from me, please assume that no further problems caused by /usr-move
arise.

Sorry for the inconvenience caused by this transition

Helmut
diff --minimal -Nru netdata-2.0.3+dfsg/debian/changelog 
netdata-2.0.3+dfsg/debian/changelog
--- netdata-2.0.3+dfsg/debian/changelog 2024-11-25 18:14:34.000000000 +0100
+++ netdata-2.0.3+dfsg/debian/changelog 2024-11-26 08:20:32.000000000 +0100
@@ -1,3 +1,12 @@
+netdata (2.0.3+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ineffective Replaces (DEP17 P1 M7) (Closes: #-1)
+    * /lib/systemd/system/netdata.service moved from / to /usr and from
+      netdata-core to netdata. Thus upgrade Replaces to Conflicts.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 26 Nov 2024 08:20:32 +0100
+
 netdata (2.0.3+dfsg-1) experimental; urgency=medium
 
   * Uploading to experimental.
diff --minimal -Nru netdata-2.0.3+dfsg/debian/control 
netdata-2.0.3+dfsg/debian/control
--- netdata-2.0.3+dfsg/debian/control   2024-11-25 18:14:34.000000000 +0100
+++ netdata-2.0.3+dfsg/debian/control   2024-11-26 08:18:48.000000000 +0100
@@ -70,14 +70,14 @@
  nc,
 Breaks:
  netdata-apache2,
- netdata-core (<< 2),
  netdata-core-no-sse (<< 2),
  netdata-web,
 Replaces:
  netdata-apache2,
- netdata-core,
  netdata-core-no-sse,
  netdata-web,
+Conflicts:
+ netdata-core (<< 2),
 Description: real-time performance monitoring
  Netdata is distributed, real-time, performance and health monitoring for
  systems and applications. It provides insights of everything happening on the

--- End Message ---
--- Begin Message ---
Version: 2.0.3+dfsg-5+rm

Dear submitter,

as the package netdata has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1107082

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to