Bug#1026086: closed by Julian Andres Klode (Re: Bug#1026086: Wrong output of apt-cache depends)

2022-12-14 Thread Orangey
Thanks for the help!

> --installed not filtering out libelogind, that's
> well it is what is. It actually filters installed dependencies, not
> installed packages, and hence libelogind0 is shown

> You're likely better of asking your questions using patterns, e.g.:
> $ apt list '?reverse-depends(?name(libdbus-1-3))'

It still shows uninstalled libelogind0 in case of --recourse for

apt-cache depends --recurse --no-recommends --no-suggests --no-conflicts
--no-breaks --no-replaces --no-enhances --installed
"?reverse-depends(?name(libpcap0.8))"

How can I avoid this in a such case?
I see no ability to rewrite this command using patterns.

On Wed, 14 Dec 2022 at 12:21, Debian Bug Tracking System <
ow...@bugs.debian.org> wrote:

> This is an automatic notification regarding your Bug report
> which was filed against the apt package:
>
> #1026086: Wrong output of apt-cache depends
>
> It has been closed by Julian Andres Klode .
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Julian Andres Klode <
> j...@debian.org> by
> replying to this email.
>
>
> --
> 1026086: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026086
> Debian Bug Tracking System
> Contact ow...@bugs.debian.org with problems
>
>
>
> -- Forwarded message --
> From: Julian Andres Klode 
> To: 1026086-cl...@bugs.debian.org
> Cc:
> Bcc:
> Date: Wed, 14 Dec 2022 16:18:14 +0100
> Subject: Re: Bug#1026086: Wrong output of apt-cache depends
> On Wed, Dec 14, 2022 at 11:18:37AM -0300, Orangey wrote:
> > Package: apt
> > Version: 2.2.4
> >
> > Linux 5.19.0-0.deb11.2-amd64 #1 SMP PREEMPT_DYNAMIC Debian
> > 5.19.11-1~bpo11+1 (2022-10-03) x86_64 GNU/Linux
> > Description: Debian GNU/Linux 11 (bullseye)
> >
> > # apt show libdbus-1-3
> > Package: libdbus-1-3
> > Version: 1.12.20-2
> > Priority: optional
> > Section: libs
> > Source: dbus
> > Maintainer: Utopia Maintenance Team <
> > pkg-utopia-maintain...@lists.alioth.debian.org>
> > Installed-Size: 496 kB
> > *Depends: libc6 (>= 2.17), libsystemd0*
> > Recommends: dbus
> > Breaks: dbus (<< 1.9.16-1~)
> > Homepage: https://dbus.freedesktop.org/
> > Tag: role::shared-lib
> > Download-Size: 219 kB
> > APT-Manual-Installed: no
> > APT-Sources: http://mirror.insacom.cl/debian bullseye/main amd64
> Packages
> > Description: simple interprocess messaging system (library)
> >
> > # apt depends libdbus-1-3
> > libdbus-1-3
> > *  Depends: libc6 (>= 2.17)*
> >
> > *  Depends: libsystemd0libelogind0*
> >   Breaks: dbus (<< 1.9.16-1~)
> >   Recommends: dbus
> >
> > *libelogind0 must not be in the command output.*
>
> No you're wrong. Please read the manual page:
>
> depends shows a listing of each dependency a package has and all the
> possible other packages that can fulfill that dependency
>
> and if you check libelogind you see:
>
> Provides: libsystemd0 (= 246.9.1)
>
>
> WRT your followup on --installed not filtering out libelogind, that's
> well it is what is. It actually filters installed dependencies, not
> installed packages, and hence libelogind0 is shown.
>
> They're legacy commands provided for backward compatibility for users
> who know what they're doing. You're likely better of asking your
> questions using patterns, e.g.:
>
> $ apt list '?reverse-depends(?name(libdbus-1-3))'
> libc6/stable-updates,now 2.31-13+deb11u5 amd64 [installed,automatic]
> libsystemd0/stable,now 247.3-7+deb11u1 amd64 [installed,automatic]
>
> or using apt-cache show with the pattern if you need a machine-readable
> output. See apt-patterns(7) for more information.
>
> --
> debian developer - deb.li/jak | jak-linux.org - free software dev
> ubuntu core developer  i speak de, en
>
>
> -- Forwarded message --
> From: Orangey 
> To: sub...@bugs.debian.org
> Cc:
> Bcc:
> Date: Wed, 14 Dec 2022 11:18:37 -0300
> Subject: Wrong output of apt-cache depends
> Package: apt
> Version: 2.2.4
>
> Linux 5.19.0-0.deb11.2-amd64 #1 SMP PREEMPT_DYNAMIC Debian
> 5.19.11-1~bpo11+1 (2022-10-03) x86_64 GNU/Linux
> Description: Debian GNU/Linux 11 (bullseye)
>
> # apt show libdbus-1-3
> Package: libdbus-1-3
> Version: 1.12.20-2
> Priority: optional
> Section: libs
> Source: dbus
> Maintainer: Utopia Maintenance Team <
> pkg-utopia-maintain...@lists.alioth.debian.org>
> Installed-Size: 496 kB
> *Depe

Bug#1026086: Wrong output of apt-cache depends

2022-12-14 Thread Orangey
Package: apt
Version: 2.2.4

Linux 5.19.0-0.deb11.2-amd64 #1 SMP PREEMPT_DYNAMIC Debian
5.19.11-1~bpo11+1 (2022-10-03) x86_64 GNU/Linux
Description: Debian GNU/Linux 11 (bullseye)

# apt show libdbus-1-3
Package: libdbus-1-3
Version: 1.12.20-2
Priority: optional
Section: libs
Source: dbus
Maintainer: Utopia Maintenance Team <
pkg-utopia-maintain...@lists.alioth.debian.org>
Installed-Size: 496 kB
*Depends: libc6 (>= 2.17), libsystemd0*
Recommends: dbus
Breaks: dbus (<< 1.9.16-1~)
Homepage: https://dbus.freedesktop.org/
Tag: role::shared-lib
Download-Size: 219 kB
APT-Manual-Installed: no
APT-Sources: http://mirror.insacom.cl/debian bullseye/main amd64 Packages
Description: simple interprocess messaging system (library)

# apt depends libdbus-1-3
libdbus-1-3
*  Depends: libc6 (>= 2.17)*

*  Depends: libsystemd0libelogind0*
  Breaks: dbus (<< 1.9.16-1~)
  Recommends: dbus

*libelogind0 must not be in the command output.*


Bug#1025328:

2022-12-02 Thread Orangey
This segfault occurs on any action inside the small pop-up window of
controls of "Text tool" during edition of a text object.


Bug#1025328: Fwd: GIMP Segmentation fault in g_object_new_with_properties

2022-12-02 Thread Orangey
Package: gimp
Version: 2.10.22-4

Linux 5.19.0-0.deb11.2-amd64 #1 SMP PREEMPT_DYNAMIC Debian
5.19.11-1~bpo11+1 (2022-10-03) x86_64 GNU/Linux
Description: Debian GNU/Linux 11 (bullseye)

GNU Image Manipulation Program version 2.10.22
git-describe: GIMP_2_10_20-217-g0c8a7891f7
Build: unknown rev 0 for linux
# C compiler #
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/10/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 10.2.1-6'
--with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs
--enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2
--prefix=/usr --with-gcc-major-version-only --program-suffix=-10
--program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-vtable-verify --enable-plugin --enable-default-pie
--with-system-zlib --enable-libphobos-checking=release
--with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch
--disable-werror --with-arch-32=i686 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic
--enable-offload-targets=nvptx-none=/build/gcc-10-Km9U7s/gcc-10-10.2.1/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-10-Km9U7s/gcc-10-10.2.1/debian/tmp-gcn/usr,hsa
--without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
--with-build-config=bootstrap-lto-lean --enable-link-mutex
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.1 20210110 (Debian 10.2.1-6)

# Libraries #
using babl version 0.1.82 (compiled against version 0.1.86)
using GEGL version 0.4.26 (compiled against version 0.4.28)
using GLib version 2.73.3 (compiled against version 2.66.8)
using GdkPixbuf version 2.42.2 (compiled against version 2.42.2)
using GTK+ version 2.24.33 (compiled against version 2.24.33)
using Pango version 1.46.2 (compiled against version 1.46.2)
using Fontconfig version 2.13.1 (compiled against version 2.13.1)
using Cairo version 1.16.0 (compiled against version 1.16.0)

```
> fatal error: Segmentation fault

Stack trace:
```

# Stack traces obtained from PID 105411 - Thread 105411 #

[New LWP 105414]
[New LWP 105415]
[New LWP 105416]
[New LWP 105417]
[New LWP 105418]
[New LWP 105419]
[New LWP 105420]
[New LWP 105428]
[New LWP 105429]
[New LWP 105437]
[New LWP 105490]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__GI___libc_read (nbytes=256, buf=0x7ffe23d4a140, fd=15) at
../sysdeps/unix/sysv/linux/read.c:26
  Id   Target IdFrame
* 1Thread 0x7f9d9d35fe80 (LWP 105411) "gimp-2.10"   __GI___libc_read
(nbytes=256, buf=0x7ffe23d4a140, fd=15) at
../sysdeps/unix/sysv/linux/read.c:26
  2Thread 0x7f9d9c3ff640 (LWP 105414) "worker"  syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  3Thread 0x7f9d9bbfe640 (LWP 105415) "worker"  syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  4Thread 0x7f9d9b3fd640 (LWP 105416) "worker"  syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  5Thread 0x7f9d9abfc640 (LWP 105417) "worker"  syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  6Thread 0x7f9d9a3fb640 (LWP 105418) "worker"  syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  7Thread 0x7f9d99bfa640 (LWP 105419) "worker"  syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  8Thread 0x7f9d993f9640 (LWP 105420) "worker"  syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  9Thread 0x7f9d4a7fc640 (LWP 105428) "gmain"   0x7f9d9dcfda3f
in __GI___poll (fds=0x5649efb711b0, nfds=2, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
  10   Thread 0x7f9d52ffd640 (LWP 105429) "gdbus"   0x7f9d9dcfda3f
in __GI___poll (fds=0x5649efb86790, nfds=3, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
  11   Thread 0x7f9d29ffb640 (LWP 105437) "async"   syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  12   Thread 0x7f9d297fa640 (LWP 105490) "swap writer" syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38

Thread 12 (Thread 0x7f9d297fa640 (LWP 105490) "swap writer"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x7f9d9e09355f in g_cond_wait () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7f9d9e5af53d in  () at /usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0
#3  0x7f9d9e069c0d in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x7f9d9dc87b27 in start_thread (arg=) at
./nptl/pthread_create.c:435
ret = 
pd = 

Bug#910877: apt: Inconsistent behavior for a package version with an epoch

2018-10-12 Thread Orangey
Package: apt
Version: 1.4.8


$ apt-get source mongodb-dev=2:1.1.2-5
Fetched
$ apt-get source mongodb-dev=1.1.2-5
Fetched

$ apt-get download mongodb-dev=2:1.1.2-5
Fetched
$ apt-get download mongodb-dev=1.1.2-5
E: Version '1.1.2-5' for 'mongodb-dev' was not found

$ apt-get changelog mongodb-dev=2:1.1.2-5
Fetched
$ apt-get changelog mongodb-dev=1.1.2-5
E: Version '1.1.2-5' for 'mongodb-dev' was not found


It would be nice, if all commands select package of version with the
highest epoch automatically.