[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#549312: apt 0.7.21



After fighting dependecies, I have managed a run with 0.7.21
No cdrom segfault seen: -

================================================================
# dpkg -s apt
Package: apt
Status: install ok installed
Priority: important
Section: admin
Installed-Size: 10328
Maintainer: APT Development Team <deity@lists.debian.org>
Architecture: i386
Version: 0.7.21
 ...
---------------------------------------------------------------------
# apt-get install octave3.2 libarpack2 libgraphicsmagick++3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
octave3.2 is already the newest version.
The following packages were automatically installed and are no longer required:
  texlive libgail-common libjs-jquery texlive-math-extra wwwconfig-common
  python-gtkhtml2 python-sexy texlive-bibtex-extra libgtkhtml2-0
  python-4suite-xml javascript-common lsb-release
Use 'apt-get autoremove' to remove them.
Suggested packages:
  graphicsmagick-dbg
Recommended packages:
  atlas3-base
The following NEW packages will be installed
  libarpack2 libgraphicsmagick++3
0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
Need to get 0B/423kB of archives.
After this operation, 1225kB of additional disk space will be used.
0% [Working]ID 2 08d8254d138a3e88dfbcff4e8b38d692-2
ID 1 08d8254d138a3e88dfbcff4e8b38d692-1
Media Change: Please insert the disc labelled
 'Debian GNU/Linux testing _Squeeze_ - Official Snapshot i386 DVD Binary-2 20091019-05:59'
in the drive ‘/dvd/’ and press enter
0% [Working]ID 2 a2d1cdec7388a76b1bf8b836022f0985-2
Selecting previously deselected package libarpack2.
(Reading database ... 243959 files and directories currently installed.)
Unpacking libarpack2 (from .../libarpack2_2.1+parpack96.dfsg-2+b1_i386.deb) ...
Selecting previously deselected package libgraphicsmagick++3.
Unpacking libgraphicsmagick++3 (from .../libgraphicsmagick++3_1.3.5-5.1_i386.deb) ...
Setting up libarpack2 (2.1+parpack96.dfsg-2+b1) ...
Setting up libgraphicsmagick++3 (1.3.5-5.1) ...
Setting up octave3.2 (3.2.3-1) ...
update-alternatives: using /usr/bin/octave-3.2.3 to provide /usr/bin/octave (octave) in auto mode.
update-alternatives: using /usr/bin/octave-bug-3.2.3 to provide /usr/bin/octave-bug (octave-bug) in auto mode.
error: fclose: invalid stream number = -1
error: called from:
error:   /usr/share/octave/3.2.3/m/pkg/pkg.m at line 363, column 1
error:   /usr/share/octave/3.2.3/m/startup/octaverc at line 25, column 1

dpkg: error processing octave3.2 (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for menu ...
Errors were encountered while processing:
 octave3.2
E: Sub-process /usr/bin/dpkg returned an error code (1)

 ---------------------------------------------------------

gdm was attached to the cdrom method and reported no problem:
# gdb /usr/lib/apt/methods/cdrom 3558
GNU gdb (GDB) 7.0-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/apt/methods/cdrom...done.
Attaching to program: /usr/lib/apt/methods/cdrom, process 3558
Reading symbols from /usr/lib/libapt-pkg-libc6.9-6.so.4.7...done.
Loaded symbols for /usr/lib/libapt-pkg-libc6.9-6.so.4.7
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/i686/cmov/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libm.so.6

Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/i686/cmov/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libc.so.6
Reading symbols from /lib/i686/cmov/libutil.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libutil.so.1
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
0xffffe424 in __kernel_vsyscall ()
(gdb) set logging file
Argument required (filename to set it to.).
(gdb) set logging file /tmp/gdb_cdrom.txt
(gdb) bt
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb75c2fad in select () from /lib/i686/cmov/libc.so.6
#2  0xb77f428a in WaitFd (Fd=0, write=false, timeout=0)
    at contrib/fileutl.cc:362
#3  0xb781f80b in pkgAcqMethod::MediaFail (this=0xbff27618, Required=..., 
    Drive=...) at acquire-method.cc:258
#4  0x0804adb3 in CDROMMethod::Fetch (this=0xbff27618, Itm=0x80508a8)
    at cdrom.cc:168
#5  0xb7820b4c in pkgAcqMethod::Run (this=0xbff27618, Single=false)
    at acquire-method.cc:389
#6  0x0804b340 in main () at cdrom.cc:201
(gdb) continue
Continuing.

Program exited normally.
(gdb) q
===========================================================================

So 0.7.21 seems not to give the segfault, but still has problems. Or 
it is in another package....

ael




Reply to: