FS#21294 - Pacman freezes when DSL disconnected.

Attached to Project: Pacman
Opened by Alexander (heaven) - Sunday, 17 October 2010, 17:26 GMT
Last edited by Dan McGee (toofishes) - Tuesday, 15 February 2011, 23:04 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Pacman freezes in case if I'll run system update when my DSL connection is broken.

Steps to reproduce:
Turn off a DLS connection and try to run system update then.

Reproducible: always
This task depends upon

Closed by  Dan McGee (toofishes)
Tuesday, 15 February 2011, 23:04 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#15369 
Comment by Alexander (heaven) - Sunday, 17 October 2010, 17:29 GMT
I don't know, at least it should ping the mirror server before
Comment by Allan McRae (Allan) - Tuesday, 19 October 2010, 00:52 GMT
I can not replicate. Please provide more details of your network setup and attach the "--debug" log from pacman on a run that freezes.
Comment by Alexander (heaven) - Tuesday, 19 October 2010, 08:20 GMT
[heaven@arch: ~$] sudo pacman -Syu --debug
Пароль:
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: architecture: x86_64
debug: config: usesyslog
debug: config: showsize
debug: config: usedelta
debug: config: totaldownload
debug: config: new section 'core'
debug: registering sync database 'core'
debug: config file /etc/pacman.conf, line 40: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'core': http://mir.archlinux.fr/core/os/x86_64
debug: setlibpaths() called
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: registering sync database 'extra'
debug: config file /etc/pacman.conf, line 43: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'extra': http://mir.archlinux.fr/extra/os/x86_64
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: registering sync database 'community'
debug: config file /etc/pacman.conf, line 49: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'community': http://mir.archlinux.fr/community/os/x86_64
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.conf
debug: registering local database
:: Синхронизируются базы данных пакетов...
debug: destfile found, using mtime only
debug: using 'core.db.tar.gz' for download progress
debug: HTTP_PROXY: (null)
debug: http_proxy: (null)
debug: FTP_PROXY: (null)
debug: ftp_proxy: (null)

And I can not terminate it with ^C, only kill command helps.
Network config:
eth0="eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(eth0)
gateway="default gw 192.168.1.1"
ROUTES=(gateway)

Where 192.168.1.1 is my ADSL modem (Zyxel P600) with an integrated router. To reproduce this issue I should reset a DSL connection on my router and run pacman.

Loading...