[FIXED] pacman fails on Raspberry Pi1 (Model B)

This forum is for topics dealing with problems with software specifically in the ARMv6h repo.

[FIXED] pacman fails on Raspberry Pi1 (Model B)

Postby attos » Fri Jul 10, 2020 6:56 pm

pacman fails to update the packages on my Raspberry Pi1 (Model B).
Are the mirrors still available?
Thanks.

This is the debug utput:

$this->bbcode_second_pass_code('', 'sudo pacman -Sy --debug
debug: pacman v5.2.1 - libalpm v12.0.1
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: arch: armv6h
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 72: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 75: including /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: new section 'alarm'
debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
debug: config: new section 'aur'
debug: config file /etc/pacman.conf, line 84: including /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'hookdir' = /etc/pacman.d/hooks/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': http://mirror.archlinuxarm.org/armv6h/core
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for extra repository
debug: adding new server URL to database 'extra': http://mirror.archlinuxarm.org/armv6h/extra
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for community repository
debug: adding new server URL to database 'community': http://mirror.archlinuxarm.org/armv6h/community
debug: registering sync database 'alarm'
debug: database path for tree alarm set to /var/lib/pacman/sync/alarm.db
debug: "/var/lib/pacman/sync/alarm.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/alarm.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for alarm repository
debug: adding new server URL to database 'alarm': http://mirror.archlinuxarm.org/armv6h/alarm
debug: registering sync database 'aur'
debug: database path for tree aur set to /var/lib/pacman/sync/aur.db
debug: "/var/lib/pacman/sync/aur.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/aur.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for aur repository
debug: adding new server URL to database 'aur': http://mirror.archlinuxarm.org/armv6h/aur
:: Synchronizing package databases...
debug: url: http://mirror.archlinuxarm.org/armv6h/core/core.db
debug: maxsize: 26214400
debug: using time condition: 1591300143
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 28 from transfer
error: failed retrieving file 'core.db' from mirror.archlinuxarm.org : Resolving timed out after 10000 milliseconds
debug: failed to sync db: download library error
error: failed to update core (download library error)
debug: url: http://mirror.archlinuxarm.org/armv6h/extra/extra.db
debug: maxsize: 26214400
debug: using time condition: 1591305475
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 28 from transfer
error: failed retrieving file 'extra.db' from mirror.archlinuxarm.org : Resolving timed out after 10000 milliseconds
debug: failed to sync db: download library error
error: failed to update extra (download library error)
debug: url: http://mirror.archlinuxarm.org/armv6h/community/community.db
debug: maxsize: 26214400
debug: using time condition: 1591303770
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 28 from transfer
error: failed retrieving file 'community.db' from mirror.archlinuxarm.org : Resolving timed out after 10000 milliseconds
debug: failed to sync db: download library error
error: failed to update community (download library error)
debug: url: http://mirror.archlinuxarm.org/armv6h/alarm/alarm.db
debug: maxsize: 26214400
debug: using time condition: 1591065331
debug: opened tempfile for download: /var/lib/pacman/sync/alarm.db.part (wb)
debug: curl returned error 28 from transfer
error: failed retrieving file 'alarm.db' from mirror.archlinuxarm.org : Resolving timed out after 10000 milliseconds
debug: failed to sync db: download library error
error: failed to update alarm (download library error)
debug: url: http://mirror.archlinuxarm.org/armv6h/aur/aur.db
debug: maxsize: 26214400
debug: using time condition: 1539734812
debug: opened tempfile for download: /var/lib/pacman/sync/aur.db.part (wb)
debug: curl returned error 28 from transfer
error: failed retrieving file 'aur.db' from mirror.archlinuxarm.org : Resolving timed out after 10000 milliseconds
debug: failed to sync db: download library error
error: failed to update aur (download library error)
error: failed to synchronize all databases
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'alarm'
debug: unregistering database 'aur'
')
Last edited by attos on Thu Jul 30, 2020 8:09 pm, edited 1 time in total.
attos
 
Posts: 3
Joined: Thu Sep 20, 2012 12:35 pm

Re: pacman fails on Raspberry Pi1 (Model B)

Postby ufo6000 » Sat Jul 11, 2020 9:18 am

Re-check your configured mirrors,
check if you can connect with http/https the internet,
check installation guide https://archlinuxarm.org/platforms/armv6/raspberry-pi
on last step 10. Initialize the pacman keyring ....
ufo6000
 
Posts: 117
Joined: Fri Jan 22, 2016 7:54 pm

Re: pacman fails on Raspberry Pi1 (Model B)

Postby attos » Thu Jul 30, 2020 8:08 pm

After several days I finally find a solution.

The way I fixed it was disabling the systemd-resolved service and set manually the DNS servers in /etc/resolv.conf

$this->bbcode_second_pass_code('', 'sudo systemctl stop systemd-resolved.service
sudo systemctl disable systemd-resolved.service')

The contents of /etc/resolv.conf are:

$this->bbcode_second_pass_code('', 'nameserver 1.1.1.1
nameserver 1.0.0.1')
attos
 
Posts: 3
Joined: Thu Sep 20, 2012 12:35 pm

Re: [FIXED] pacman fails on Raspberry Pi1 (Model B)

Postby billwaley » Thu Aug 06, 2020 1:51 am

I tried to disable the systemd-resolved service and set manually the DNS servers in /etc/resolv.conf and it works.
geometry dash
billwaley
 
Posts: 1
Joined: Thu Aug 06, 2020 1:44 am


Return to ARMv6h

Who is online

Users browsing this forum: No registered users and 4 guests