apt-get segfaults
apt-get seg faults when I try to install a debian package. The version of apt I am running is 0.3.18. Any idea as to what the problem is ? # apt-get -v apt 0.3.18 for i386 compiled on Feb 13 2000 01:58:55 # strace apt-get install [snip] gettimeofday({961307348, 8428}, NULL) = 0 gettimeofday({961307348, 11275}, NULL) = 0 ) = 34ng Dependency Tree... DoneTree... Don"..., 34 write(1, "\n", 1 ) = 1 brk(0x8078000) = 0x8078000 brk(0x807e000) = 0x807e000 --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ # gdb apt-get (gdb) r install ... (gdb) bt #0 0x4007bd46 in pkgProblemResolver::MakeScores () from /usr/lib/libapt-pkg.so.2.7 #1 0x4007c6fc in pkgProblemResolver::Resolve () from /usr/lib/libapt-pkg.so.2.7 #2 0x8055ead in strcpy () #3 0x4004b01a in CommandLine::DispatchArg () from /usr/lib/libapt-pkg.so.2.7 #4 0x805ef92 in strcpy () #5 0x4013fa42 in __libc_start_main () from /lib/libc.so.6 -- saisanthosh
Re: command substition in .signature
> How can I put the stdout of a command like $(uname -a;echo -e > "\n";uptime) in my .signature file? add, set signature=" uname -a; echo -e \"\n\"; uptime |" in ~/.muttrc -- saisanthosh
Re: Processes
> I am wondering, what it means when a process shows up with brackets > around its name when I call "ps ax". For example, the sshd here: > > PID TTY STAT TIME COMMAND > [snip those procs] > 170 ?SW 0:01 [sshd] > [snip those procs] these are processes that have no resident pages, see man page of proc and ps for more information. -- saisanthosh
Re: Resizing volumes?
> Is it possible to resize the space of partitions after installation ? For > example taking 500 MB from /home and giving them to /usr ? have a look at ext2resize -- saisanthosh
Re: Huge font
> I am a new debian user and I have a problem which none of my > debian-using friends have come across. It seems that some apps like > netscape, GIMP, spruce etc seem to be using a large size helvetica > font for the text on buttons and input the FontPath "/usr/X11R6/lib/X11/fonts/75dpi" should come in front of all other FontPath directives in /etc/X11/XF86Config. -- saisanthosh
Re: mouse gpm/xwindow conflict revisited
Preben Randhol wrote: > I have to turn off gpm every time I start the machine. I don't > understand why gpm starts as I'm sure I deleted the S20gpm link in > /etc/rc3.d. assuming that your /etc/inittab is untouched, you should remove it from /etc/rc2.d, however, using update-rc.d is recommended. -- saisanthosh
Re: masqmail - really a good & safe solution for DIP connected box?
> The problem is however, that the providers' smarthosts complain > about the sender's hostname (because it contains my "unofficial" > domain name), and this results sometimes in rejection of my message > at the adressee's mail server. Have a look at "rewrite configuration" section in /etc/exim.conf (incase, you are running exim). You just have to add an entry to /etc/email-addresses. -- saisanthosh
Re: Sockets in C++
> There are some Sockets package for C++ development? have a look at APE (A portable Environment). The deb packages in potato are libape1 and libape1-dev. -- saisanthosh
Re: procmail/formail to change subject?
> Is it possible to put something like "[user]", and "[security]" in front > of the appropriate messages? try this procmail recipe: :0 * ^X-Loop:.*debian { :0 chfw SUBJECT=| formail -xSubject: :0 hfw * ^X-Loop:.*debian-user | /usr/bin/formail -i "Subject: [user] $SUBJECT" :0 hfw * ^X-Loop:.*debian-devel | /usr/bin/formail -i "Subject: [devel] $SUBJECT" } -- saisanthosh
Re: both vi and vim hang when I type CTRL-X,CTRL-S
> When I am using vi,I careless type the emacs Hotkey for saving > file. (CTRL-X,CTRL-S). But then the vi hang. Scroll Lock is turned on when you press Ctrl-S. Switch it off. -- saisanthosh
Re: Suspend and X
> I'd prefer to go back to the same virtual terminal I was on. Is there > a way to query the system for what tty is active? > "/usr/bin/tty >/tmp/ttysuspend" into my script. /usr/bin/fgconsole > /tmp/ttysuspend -- saisanthosh