Remove some reported missing packages
Forum member Caramel reported this:
https://forum.puppylinux.com/viewtopic.php?p=160036#p160036
One problem is that Debian can assign alternative names to a
package. These alternatives are specified in the 'control' file
inside the DEB.
One of the missing deps shown in Caramel's photo is
'gir1.2-gdk-3.0'. As far as I can make out, it isn't an
alternative name for a package either, it is just weird:
# grep -F '|gir1.2-gdk-3.0|' /root/.packages/Packages-devuan-excalibur-*
#
# apt info gir1.2-gdk-3.0
Package: gir1.2-gdk-3.0
State: not a real package (virtual)
Notice: Can't select candidate version from package gir1.2-gdk-3.0 as it has no candidate
Notice: Can't select versions from package 'gir1.2-gdk-3.0' as it is purely virtual
Notice: No packages found
What are we supposed to do with that? There doesn't seem to be any reason for a package to list it as a dependency.
I have added some code in /usr/local/petget/findmissingpkgs.sh to weed out these weirdos, line 149:
#20251117 reduce list if pkg not in repo...
echo -n '' > /tmp/petget_missingpkgs_patternsX
while read aPTN
do
grep -qF "${aPTN}" /root/.packages/Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-*
if [ $? -eq 0 ];then
echo "${aPTN}" >> /tmp/petget_missingpkgs_patternsX
fi
done </tmp/petget_missingpkgs_patterns
mv -f /tmp/petget_missingpkgs_patternsX /tmp/petget_missingpkgs_patterns
Interesting, it is listed as a dep in quite a lot of packages:
# grep -F '+gir1.2-gdk-3.0' /root/.packages/Packages-devuan-excalibur-* | cut -f 2 -d '|'
cinnamon-screensaver
cinnamon-session
exaile
gir1.2-atrildocument-1.5.0
gir1.2-atrilview-1.5.0
gir1.2-caribou-1.0
gir1.2-clutter-1.0
gir1.2-evince-3.0
gir1.2-granite-1.0
gir1.2-gtksource-3.0
gir1.2-gtksource-300
gir1.2-gtksource-4
gir1.2-lokdocview-0.1
gir1.2-meta-muffin-0.0
gir1.2-sugarext-1.0
gir1.2-ukwm-1
gir1.2-vte-2.91
gir1.2-zbar-1.0
gtg
libcaribou-dev
libgedit-gtksourceview-dev
libgtksourceview-4-dev
libreofficekit-dev-gtk
libvte-2.91-dev
rednotebook
I'm wondering if it is an alternative name, and apt installed the
real package, then the dependency would have been satisfied. In
that case, it would be quite valid to remove it from the
missing-deps list.
Tags: easy