🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by Liz Billiau Mon, 23 Nov 2026 20:30
Bug#1155059: cacti: Unable to update '/usr/share/cacti/resource/snmp_queries/*' not owned by package 'cacti:all'
#5842
Author: Liz Billiau
Date: Mon, 23 Nov 2026 20:30
120 lines
6593 bytes
Package: cacti
Version: 1.2.30+ds1-3
Severity: serious
Justification: 6

Dear Maintainer,

I am upgrading this system to remain up to date. 'sudo apt upgrade' was called. 
Cacti cannot upgrade because the files under /usr/share/cacti/resource/ are not owned by 'cacti:all'
These files either belong to 'www-data:www-data' or to 'root:root'.
The files cannot be reassigned to 'cacti:all' because the user cacti does not exist.
The outcome I expect is that I can upgrade cacti to the newer package, and that the pre-inst script handles creating a new user and chowns the files.


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 7.2.15+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cacti depends on:
ii  dbconfig-common                     2.0.25
ii  dbconfig-mysql                      2.0.25
ii  debconf [debconf-2.0]               1.5.92
ii  fonts-dejavu-core                   2.37-9
ii  fonts-dejavu-extra                  2.37-9
ii  javascript-common                   12+nmu1
ii  libapache2-mod-php                  2:8.4+101
ii  libapache2-mod-php8.4 [php-json]    8.4.28-3
ii  libjs-chart.js                      3.9.1+~cs3.1.2-4
ii  libjs-jquery                        3.7.1+dfsg+~3.5.33-1
ii  libjs-jquery-colorpicker            1.2.21-1
ii  libjs-jquery-cookie                 12-4
ii  libjs-jquery-hotkeys                0.2.0-1
ii  libjs-jquery-jstree                 3.3.17+dfsg1-1
ii  libjs-jquery-metadata               12-4
ii  libjs-jquery-tablesorter            1:2.31.3+dfsg1-5
ii  libjs-jquery-timepicker             1.6.3-7
ii  libjs-jquery-ui                     1.14.2+dfsg-1
ii  libjs-jquery-ui-theme-smoothness    1.14.2+dfsg-1
ii  libjs-jquery-ui-theme-south-street  1.14.2+dfsg-1
ii  libjs-jquery-ui-theme-ui-darkness   1.14.2+dfsg-1
ii  libjs-jquery-ui-touch-punch         0.0~git20141218.2.4bc0091+dfsg1-4.1
ii  libphp-phpmailer                    7.1.1-1
ii  node-d3                             5.16.0+~cs5.28.10-6
ii  node-dompurify                      3.4.17+dfsg-1
ii  node-fortawesome-fontawesome-free   7.3.1+ds1-1
ii  node-ua-parser-js                   0.8.1+ds+~0.7.36-3
ii  perl                                5.42.3-1
ii  php                                 2:8.4+101
pn  php-cli                             <none>
ii  php-gd                              2:8.4+101
ii  php-gmp                             2:8.4+101
ii  php-ldap                            2:8.4+101
ii  php-mbstring                        2:8.4+101
ii  php-mysql                           2:8.4+101
ii  php-phpmyadmin-motranslator         5.4.2-1
ii  php-phpseclib                       2.0.57-1
ii  php-phpseclib3 [php-phpseclib]      3.0.59-1
ii  php-snmp                            2:8.4+101
ii  php-twig                            3.30.0-1
ii  php-xml                             2:8.4+101
ii  php8.4 [php]                        8.4.28-3
ii  php8.4-cli [php-json]               8.4.28-3
ii  php8.4-gd [php-gd]                  8.4.28-3
ii  php8.4-gmp [php-gmp]                8.4.28-3
ii  php8.4-ldap [php-ldap]              8.4.28-3
ii  php8.4-mbstring [php-mbstring]      8.4.28-3
ii  php8.4-snmp [php-snmp]              8.4.28-3
ii  php8.4-xml [php-xml]                8.4.28-3
ii  rrdtool                             1.9.0-2.1+b4
ii  snmp                                5.9.5.2+dfsg-3
ii  ucf                                 3.0056

Versions of packages cacti recommends:
ii  apache2 [httpd]                        2.4.58-1
ii  default-mysql-server                   1.1.1
ii  iputils-ping                           3:20250605-1
ii  lighttpd [httpd]                       1.4.85-1
ii  logrotate                              3.22.0-1
ii  mariadb-server [virtual-mysql-server]  1:11.8.9+ds-4

Versions of packages cacti suggests:
ii  cacti-spine  1.2.31-1
ii  moreutils    0.70-1
ii  snmpd        5.9.5.2+dfsg-3

-- Configuration Files:
/etc/cron.d/cacti changed [not included]

-- debconf information:
  cacti/mysql/method: Unix socket
* cacti/mysql/admin-user: root
  cacti/remote/port:
  cacti/remove-error: abort
  cacti/upgrade-backup: true
  cacti/purge: false
  cacti/passwords-do-not-match:
  cacti/db/app-user: 10 cacti/db/app-user doesn't exist@localhost
  cacti/mysql/authplugin: default
  cacti/internal/reconfiguring: false
  cacti/db/dbname: cacti
  cacti/dbconfig-upgrade:
  cacti/database-type: mysql
  cacti/internal/skip-preseed: false
  cacti/install-error: abort
  cacti/upgrade-error: abort
  cacti/dbconfig-remove:
  cacti/remote/newhost:
  cacti/dbconfig-reinstall: false
* cacti/dbconfig-install: true
  cacti/remote/host: localhost
  cacti/missing-db-package-error: abort
* cacti/webserver: None
Bug#1155059: cacti: Unable to update '/usr/share/cacti/resource/snmp_queries/*' not owned by package 'cacti:all'
#5967
Author: Paul Gevers
Date: Tue, 24 Nov 2026 18:20
35 lines
3266 bytes
Control: fixed -1 1.2.31+ds1-1

Hi Liz,

On 2026-11-24 08:19, Liz Dodd wrote:
> On Mon, 23 Nov 2026 21:28:35 +0100
> Paul Gevers <elbrus@debian.org> wrote:
>> On 2026-11-23 21:22, Liz Billiau wrote:
>>> I am upgrading this system to remain up to date. 'sudo apt upgrade'
>>> was called. Cacti cannot upgrade because the files under
>>> /usr/share/cacti/resource/ are not owned by 'cacti:all'
>>
>>
>> Where are you seeing this? Can you copy/paste the error message?


After I sent my message I noticed that the version you reported this 
issue against isn't in any suite. Did you really upgrade to version 
1.2.30+ds1-3? How did you do that?

> This is one of the 53 errors, the only one I captured. They covered all
> of the files in /usr/share/cacti/resource/ subdirectories
> 
> ++++++++++++++++++++++
> dpkg-maintscript-helper: error: file
> '/usr/share/cacti/resource/snmp_queries/acme_RealmSessions.xml' not
> owned by package 'cacti:all'
> ++++++++++++++++++++++

The version of cacti after 1.2.30+ds1-3 fixed this issue (it was 
reported before in bug 1135250). Both unstable and testing currently 
have version 1.2.31+ds1-3 which has the fix. These files are no longer 
stored in /usr/share/ but in /var/lib.

Paul
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads