Package: emacs
Version: 1:29.1+1-5
Severity: important
X-Debbugs-Cc: johan.laenen+debianb...@gmail.com

Dear Maintainer,

I'm on trixie/sid and I noticed last week that whenever I'd do a
package-refresh-contents or whenever I'd try to launch mastodon.el (M-x
mastodon) my emacs would hang.  The command package-refresh-contents only
showed 'Contacting host: elpa.gnu.org:443' and didn't do much more.  I had to
ctlr-g to break out or wait a couple of minutes before emacs would say that
the package refresh was done.  The package mastodon.el is a different beast.
After a wait I'd get 'Wrong type argument: stringp, nil'.

Switching to ipv4 only made the problem disappear:

root@msi:/home/gargle# /sbin/sysctl -w 
net.ipv6.conf.all.disable_ipv6=1net.ipv6.conf.all.disable_ipv6 = 1
root@msi:/home/gargle# /sbin/sysctl -w 
net.ipv6.conf.default.disable_ipv6=1net.ipv6.conf.default.disable_ipv6 = 1

I moved these two lines above in my /etc/sysctl.conf and double checked my
/etc/network/interfaces.  I had nothing extra about ipv6 in my configuration.
This is what I had and what I still have:

root@msi:/home/gargle/whoami# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*
# The loopback network interface
auto loiface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

I'm baffled because I never experienced this behaviour before.  My company's
laptop runs wsl2 with debian on windows 10 and doesn't show this problem.  My
setup at home used to work in september and october.  On october the
22nd I posted a message on mastodon at floss.social from within emacs by means
of mastodon.el. I don't actually know the exact date on which I started to get
errors.



-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-4-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages emacs depends on:
ii  emacs-gtk  1:29.1+1-5

emacs recommends no packages.

emacs suggests no packages.

-- no debconf information

Reply via email to