- Package:
- libglib2.0-0
- Source:
- glib2.0
- Description:
- GLib library of C routines
- Submitter:
- cgzones
- Date:
- 2023-04-05 14:03:03 UTC
- Severity:
- normal
cruft creates a report regarding this package:
---- missing: dpkg ----
/usr/lib/x86_64-linux-gnu/gio
/usr/lib/x86_64-linux-gnu/gio/modules
This is due to libglib2.0-0 lists this directory and file but does not
ship it by default.
The postinst script contains the following comment:
# The /usr/lib/gio/modules directory is no longer shipped by
# libglib2.0 itself so we need to check to avoid a warning from
# gio-querymodules
Can you elaborate what is supposed to be the bug here?
On a minimal non graphical system without any gio modules installed, e.g. the packages glib-networking or dconf-gsettings-backend, the directory /usr/lib/x86_64-linux-gnu/gio/modules does not exist. Due to the entry in debian/libglib2.0-0.dirs, the path is contained on the system at /var/lib/dpkg/info/libglib2.0-0:amd.list . Cruft then complains about the nonexistence of the path. Maybe the directory could be shipped empty? Can you elaborate what is supposed to be the bug here?
Am 15.02.2017 um 19:41 schrieb cgzones: Well, it is shipped by libglib2.0-0 # dpkg -L libglib2.0-0 | grep gio/modules /usr/lib/x86_64-linux-gnu/gio/modules
Le 15/02/2017 à 20:01, Michael Biebl a écrit : Did you try to actually check the directory's presence ? I think OP is onto something here: raph@atlantis:~$ dpkg -L libglib2.0-0 | grep gio/modules /usr/lib/x86_64-linux-gnu/gio/modules raph@atlantis:~$ ls -l /usr/lib/x86_64-linux-gnu/gio/modules ls: cannot access /usr/lib/x86_64-linux-gnu/gio/modules: No such file or directory This is on a Jessie amd64 server, headless, no recommended packages, libglib2.0-0 version 2.42.1-1+b1. But on a Jessie i386 server, same conditions: raph@kanon:~$ dpkg -L libglib2.0-0 | grep gio/modules /usr/lib/i386-linux-gnu/gio/modules raph@kanon:~$ ls -l /usr/lib/i386-linux-gnu/gio/modules total 0 Indeed, the amd64 version doesn't actually ship the directory, although it's listed as belonging to the package. Regards,
Am 15.02.2017 um 21:29 schrieb Raphaël Halimi:
Sure, I've checked:
login into a minimal chroot:
[michael@pluto ~]$ sudo cowbuilder --login
[sudo] Passwort für michael:
I: Copying COW directory
I: forking: rm -rf /var/cache/pbuilder/build/cow.30225
I: forking: cp -al /var/cache/pbuilder/sid.cow
/var/cache/pbuilder/build/cow.30225
I: removed stale ilistfile /var/cache/pbuilder/build/cow.30225/.ilist
I: Invoking pbuilder
I: forking: pbuilder login --buildplace
/var/cache/pbuilder/build/cow.30225 --no-targz --internal-chrootexec
'chroot /var/cache/pbuilder/build/cow.30225 cow-shell'
I: Running in no-targz mode
I: copying local configuration
I: mounting /proc filesystem
I: mounting /sys filesystem
I: creating /{dev,run}/shm
I: mounting /dev/pts filesystem
I: policy-rc.d already exists
I: using eatmydata during job
I: Obtaining the cached apt archive contents
I: entering the shell
mesg: ttyname failed: Success
root@pluto:/# apt-get install libglib2.0-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libffi6
Recommended packages:
libglib2.0-data shared-mime-info xdg-user-dirs
The following NEW packages will be installed:
libffi6 libglib2.0-0
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2710 kB of archives.
After this operation, 5170 kB of additional disk space will be used.
Do you want to continue? [Y/n]
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libffi6:amd64.
(Reading database ... 11685 files and directories currently installed.)
Preparing to unpack .../libffi6_3.2.1-6_amd64.deb ...
Unpacking libffi6:amd64 (3.2.1-6) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../libglib2.0-0_2.50.2-2_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.50.2-2) ...
Processing triggers for libc-bin (2.24-9) ...
Setting up libffi6:amd64 (3.2.1-6) ...
Setting up libglib2.0-0:amd64 (2.50.2-2) ...
No schema files found: doing nothing.
Processing triggers for libc-bin (2.24-9) ...
root@pluto:/# ls -la /usr/lib/x86_64-linux-gnu/
Display all 147 possibilities? (y or n)
root@pluto:/# ls -la /usr/lib/x86_64-linux-gnu/gio/modules/
total 8
drwxr-xr-x 2 root root 4096 Nov 23 16:33 .
drwxr-xr-x 3 root root 4096 Feb 15 20:44 ..
So, my only guess is, that *something else* removed that directory
Not reproducible on bookworm.