Bug#818919: aptitude markauto runs wild, if package does not exist

2016-03-22 Thread Manuel A. Fernandez Montecelo
2016-03-22 7:00 GMT+00:00  :
> Hi, here
>
> aptitude markauto 123
>
> yields
>
> Couldn't find any package whose name is "123", but
> there are 23 packages which contain "123" in their name..."
>
> So there must be a problem reading the description of packagens.

What does

  aptitude search "?description(1234)"

say?



-- 
Manuel A. Fernandez Montecelo 



Bug#818919: aptitude markauto runs wild, if package does not exist

2016-03-21 Thread Manuel A. Fernandez Montecelo

Control: tags -1 + moreinfo


Hi,

2016-03-21 18:23 zieg...@uni-freiburg.de:

Package: aptitude
Version: 0.7.8-1
Severity: normal
Tags: upstream

Dear Maintainer,

If PATTERN does not match a package, the command

  aptitude markauto PATTERN

does not stop, using 100% CPU. Example

aptitude markauto 1234

The same is true for "aptitude forbid-version".


It works fine around here:

 # aptitude markauto 1234
 Couldn't find any package matching "1234", but there are 15 packages which contain 
"1234" in their description:
   modem-cmd modem-cmd:i386 libmath-nocarry-perl libnxml0 libnxml0:i386 tcs 
tcs:i386 postgresql-9.5-prefix postgresql-9.5-prefix:i386 
libscalar-properties-perl
   golang-github-jinzhu-now-dev libnxml0-dbg libnxml0-dbg:i386 libnxml0-dev 
libnxml0-dev:i386
 Unable to apply some actions, aborting

 # aptitude forbid-version 1234
 Couldn't find any package matching "1234", but there are 15 packages which contain 
"1234" in their description:
   modem-cmd modem-cmd:i386 libmath-nocarry-perl libnxml0 libnxml0:i386 tcs 
tcs:i386 postgresql-9.5-prefix postgresql-9.5-prefix:i386 
libscalar-properties-perl
   golang-github-jinzhu-now-dev libnxml0-dbg libnxml0-dbg:i386 libnxml0-dev 
libnxml0-dev:i386
 Unable to apply some actions, aborting


Would you be able to get a backtrace with gdb or valgrind,
aptitude-dbgsym installed, and Control-C after a few seconds when
looping (maybe a couple of minutes with valgrind)?


Cheers.
--
Manuel A. Fernandez Montecelo 



Bug#818919: aptitude markauto runs wild, if package does not exist

2016-03-21 Thread ziegler
Package: aptitude
Version: 0.7.8-1
Severity: normal
Tags: upstream

Dear Maintainer,

If PATTERN does not match a package, the command

   aptitude markauto PATTERN

does not stop, using 100% CPU. Example

 aptitude markauto 1234

The same is true for "aptitude forbid-version".

Regards,

Martin

-- Package-specific info:
Terminal: linux
$DISPLAY not set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.7.8
Compiler: g++ 5.3.1 20160224
Compiled against:
  apt version 5.0.0
  NCurses version 6.0
  libsigc++ version: 2.6.2
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 6.0.20160213
  cwidget version: 0.5.17
  Apt version: 5.0.0

aptitude linkage:
linux-vdso.so.1 (0x7ffe82493000)
libapt-pkg.so.5.0 =3D> /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 
(0x00=
007f304c83a000)
libncursesw.so.5 =3D> /lib/x86_64-linux-gnu/libncursesw.so.5 
(0x7f30=
4c60a000)
libtinfo.so.5 =3D> /lib/x86_64-linux-gnu/libtinfo.so.5 
(0x7f304c3df0=
00)
libsigc-2.0.so.0 =3D> /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 
(0x=
7f304c1d9000)
libcwidget.so.3 =3D> /usr/lib/x86_64-linux-gnu/libcwidget.so.3 
(0x7f=
304bedc000)
libsqlite3.so.0 =3D> /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 
(0x7f=
304bbe4000)
libboost_iostreams.so.1.58.0 =3D> 
/usr/lib/x86_64-linux-gnu/libboost_ios=
treams.so.1.58.0 (0x7f304b9ca000)
libboost_filesystem.so.1.58.0 =3D> 
/usr/lib/x86_64-linux-gnu/libboost_fi=
lesystem.so.1.58.0 (0x7f304b7b1000)
libboost_system.so.1.58.0 =3D> 
/usr/lib/x86_64-linux-gnu/libboost_system=
.so.1.58.0 (0x7f304b5ac000)
libxapian.so.22 =3D> /usr/lib/x86_64-linux-gnu/libxapian.so.22 
(0x7f=
304b1a8000)
libpthread.so.0 =3D> /lib/x86_64-linux-gnu/libpthread.so.0 
(0x7f304a=
f8b000)
libstdc++.so.6 =3D> /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
(0x7f30=
4ac0f000)
libm.so.6 =3D> /lib/x86_64-linux-gnu/libm.so.6 (0x7f304a911000)
libgcc_s.so.1 =3D> /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x7f304a6fb0=
00)
libc.so.6 =3D> /lib/x86_64-linux-gnu/libc.so.6 (0x7f304a356000)
libutil.so.1 =3D> /lib/x86_64-linux-gnu/libutil.so.1 
(0x7f304a153000=
)
libdl.so.2 =3D> /lib/x86_64-linux-gnu/libdl.so.2 (0x7f3049f4f000)
libresolv.so.2 =3D> /lib/x86_64-linux-gnu/libresolv.so.2 
(0x7f3049d3=
7000)
libz.so.1 =3D> /lib/x86_64-linux-gnu/libz.so.1 (0x7f3049b1c000)
libbz2.so.1.0 =3D> /lib/x86_64-linux-gnu/libbz2.so.1.0 
(0x7f304990c0=
00)
liblzma.so.5 =3D> /lib/x86_64-linux-gnu/liblzma.so.5 
(0x7f30496e8000=
)
liblz4.so.1 =3D> /usr/lib/x86_64-linux-gnu/liblz4.so.1 
(0x7f30494d60=
00)
librt.so.1 =3D> /lib/x86_64-linux-gnu/librt.so.1 (0x7f30492cd000)
libuuid.so.1 =3D> /lib/x86_64-linux-gnu/libuuid.so.1 
(0x7f30490c8000=
)
/lib64/ld-linux-x86-64.so.2 (0x55e066e92000)

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-00038-gafaea24 (SMP w/4 CPU cores)
Locale: LANG=3Dde_DE, LC_CTYPE=3Dde_DE (charmap=3DISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages aptitude depends on:
ii  aptitude-common0.7.8-1
ii  libapt-pkg5.0  1.2.6
ii  libboost-filesystem1.58.0  1.58.0+dfsg-5+b1
ii  libboost-iostreams1.58.0   1.58.0+dfsg-5+b1
ii  libboost-system1.58.0  1.58.0+dfsg-5+b1
ii  libc6  2.22-3
ii  libcwidget3v5  0.5.17-4+b1
ii  libgcc11:5.3.1-11
ii  libncursesw5   6.0+20160213-1
ii  libsigc++-2.0-0v5  2.6.2-1
ii  libsqlite3-0   3.11.1-1
ii  libstdc++6 5.3.1-11
ii  libtinfo5  6.0+20160213-1
ii  libxapian22v5  1.2.22-3

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc]  0.7.5-3
ii  libparse-debianchangelog-perl   1.2.0-8
ii  sensible-utils  0.0.9

Versions of packages aptitude suggests:
pn  apt-xapian-index  
pn  debtags   
pn  tasksel   

-- no debconf information