On 2018-01-05 14:04 +0100, Guillem Jover wrote: > On Fri, 2018-01-05 at 10:55:50 +0100, Sven Joachim wrote: >> On 2018-01-05 10:44 +0100, Sven Joachim wrote: >> >> > Package: dpkg >> > Version: 1.19.0.4 >> > Severity: normal >> > >> > After switching from rxvt-unicode-256color to rxvt-unicode (see >> > #848284), dpkg-query reports a conffile as obsolete: >> > >> > ,---- >> > | $ dpkg-query -W -f='${Conffiles}\n' | grep obsolete$ >> > | [...] >> > | /etc/X11/app-defaults/URxvt 7b221a2da49507e31f42e702791b085b obsolete >> > | $ dpkg -S /etc/X11/app-defaults/URxvt >> > | rxvt-unicode: /etc/X11/app-defaults/URxvt >> > `---- >> > >> > This is bogus since the file is shipped in the package, otherwise it >> > would belong to rxvt-unicode-256color which was its previous owner. > > This does not show what package owned that obsolete entry, though. But > in principle that should have been rxvt-unicode-256color. Both packages > will have such conffiles listed in their Conffiles fields, but the old > one might have an obsolete entry, which will be ignored by dpkg for > most operations.
That seems to be correct. What I find confusing is that neither "dpkg -S /etc/X11/app-defaults/URxvt" nor "dpkg -L rxvt-unicode-256color" give any hint about this. What is the point of leaving the obsolete conffile in the dpkg database then? >> Purging the rxvt-unicode-256color package helped, although that package >> did not contain any files according to "dpkg -L" (I had already removed >> but not purged it). Now the conffile is no longer reported as obsolete. > > Was going to ask for the -s output for both packages, but it's too > late now. :) Well, barring reinstalling the older package. It was easy to replicate the upgrade, so here is the output which I think matches your expectations: ,---- | $ dpkg -s rxvt-unicode rxvt-unicode-256color | Package: rxvt-unicode | Status: install ok installed | Priority: optional | Section: x11 | Installed-Size: 3312 | Maintainer: Ryan Kavanagh <r...@debian.org> | Architecture: i386 | Version: 9.22-2 | Replaces: aterm (<< 1.0.1dummy), aterm-ml (<< 1.0.1dummy), rxvt (<< 1:2.7.10-7.1~), rxvt-ml (<< 1:2.7.10-7.1~), rxvt-unicode-256color (<< 9.22-2), rxvt-unicode-lite (<< 9.22-2) | Provides: aterm, rxvt, x-terminal-emulator | Depends: libc6 (>= 2.17), libfontconfig1 (>= 2.12), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:4.2), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.12.0), libperl5.26 (>= 5.26.0~rc1), libstartup-notification0 (>= 0.2), libx11-6, libxft2 (>> 2.1.1), libxrender1, base-passwd (>= 2.0.3.4), ncurses-term (>= 5.8-1) | Recommends: fonts-dejavu, fonts-vlgothic | fonts-japanese-gothic | Breaks: aterm (<< 1.0.1dummy), aterm-ml (<< 1.0.1dummy), rxvt (<< 1:2.7.10-7.1~), rxvt-ml (<< 1:2.7.10-7.1~) | Conflicts: rxvt-unicode-256color (<< 9.22-2), rxvt-unicode-lite (<< 9.22-2) | Conffiles: | /etc/X11/app-defaults/URxvt 7b221a2da49507e31f42e702791b085b | Description: RXVT-like terminal emulator with Unicode and 256-color support | rxvt-unicode is a modern, Unicode-aware color xterm replacement that uses | significantly less memory than a conventional xterm and many other Unicode | supporting terminal emulators. | . | It supports using multiple fonts at the same time, including Xft fonts, and | client-server technology to reduce memory consumption when using multiple | windows. | . | This package is configured with 256-color support, and TERM set to | "rxvt-unicode-256color". Any other systems you log into must have this | terminfo entry installed! | Homepage: http://software.schmorp.de/pkg/rxvt-unicode.html | | Package: rxvt-unicode-256color | Status: deinstall ok config-files | Priority: optional | Section: x11 | Installed-Size: 62 | Maintainer: Ryan Kavanagh <r...@debian.org> | Architecture: all | Source: rxvt-unicode | Version: 9.22-2 | Config-Version: 9.22-2 | Depends: rxvt-unicode (>= 9.22-2) | Conflicts: rxvt-unicode (<< 9.22-2) | Conffiles: | /etc/X11/app-defaults/URxvt 7b221a2da49507e31f42e702791b085b obsolete | Description: dummy transitional package for rxvt-unicode | This is a dummy transitional package transitioning rxvt-unicode-256color to | rxvt-unicode. It can safely be removed. | Homepage: http://software.schmorp.de/pkg/rxvt-unicode.html `---- Cheers, Sven