You are not logged in.
When running pacman it stalls just before it downloads anything.
steve@arch ~ $ sudo pacman -Syy
:: Synchronising package databases...steve@arch ~ $ sudo pacman -S zathura
resolving dependencies...
looking for inter-conflicts...
Targets (1): zathura-0.0.8.5-4
Total Download Size: 0.04 MB
Total Installed Size: 0.11 MB
Proceed with installation? [Y/n]
:: Retrieving packages from community...Thats as far as it gets.
It doesnt seem to totally hang since it will respond to ctrl+c after 30 seconds or so
Any ideas?
Last edited by Calin Leafshade (2011-12-09 15:03:20)
Offline
What's the output of
pacman -Syu --debugOffline
Strange, same problem for me after pacman -Syy
My --debug
[gavin@gavin-desktop ~]$ sudo pacman -Syy --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: new section 'core'
debug: registering sync database 'core'
debug: config file /etc/pacman.conf, line 65: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'core': http://archlinux.mirrors.uk2.net/core/os/x86_64
debug: adding new server URL to database 'core': ftp://mirror.archlinux.fi/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': ftp://mirror.rit.edu/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': ftp://ftp.archlinux.org/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.limun.org/core/os/x86_64
debug: adding new server URL to database 'core': ftp://mirrors.kernel.org/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirrors.kernel.org/archlinux/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 68: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'extra': http://archlinux.mirrors.uk2.net/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://mirror.archlinux.fi/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://mirror.rit.edu/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://ftp.archlinux.org/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.limun.org/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://mirrors.kernel.org/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirrors.kernel.org/archlinux/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 74: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'community': http://archlinux.mirrors.uk2.net/community/os/x86_64
debug: adding new server URL to database 'community': ftp://mirror.archlinux.fi/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': ftp://mirror.rit.edu/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': ftp://ftp.archlinux.org/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.limun.org/community/os/x86_64
debug: adding new server URL to database 'community': ftp://mirrors.kernel.org/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirrors.kernel.org/archlinux/community/os/x86_64
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.conf
:: Synchronising package databases...
debug: database path for tree local set to /var/lib/pacman/local/
debug: local database version 2
debug: no file found matching criteria, starting from scratch
debug: using 'core.db' for download progress
debug: HTTP_PROXY: (null)
debug: http_proxy: (null)
debug: FTP_PROXY: (null)
debug: ftp_proxy: (null)
^C
Interrupt signal received
debug: returning error 27 from alpm_trans_interrupt : operation not compatible with the transaction type
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
Thank you for any help
Offline
If you are behind a proxy sudo will lose your environment variables (like your proxy settings) so try sudo -E or just su to root instead and see what happens.
Offline
No luck. Still the same error.
Ive also tried reinstalling pacman following https://wiki.archlinux.org/index.php/Pacman.
Strange one this, it worked last week!
Offline
I had exactly the same problem: similar debug output and, most of all, the same uk2.net mirror. Changing it was the solution.
Try with only the following line in your /etc/pacman.d/mirrorlist
Server = http://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/$archLast edited by Pierre_Buard (2011-12-09 13:32:23)
Offline
That worked. Merci beaucoup Pierre.
The uk2.net mirror must be having a bad week!
Best wishes to all.
Offline
Yep, same problem and solution for me too.
This should probably be marked as a bug. Pacman shouldn't fail due to a bad mirror.
Thanks
Last edited by Calin Leafshade (2011-12-09 14:21:19)
Offline
Depends what do you call "a bad mirror". Feel free to open a bug report if there's none already for this issue.
When pasting code, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode
like thisPlease remember to mark this thread as solved.
Offline