You are not logged in.

#1 2015-06-30 20:04:01

f3bruary
Member
From: /root
Registered: 2015-06-06
Posts: 58

[SOLVED] Fakeroot can't resolve a host. DNS issue ? (curl/wget)

Since a few days the 'checkupdates' script stopped working. It runs fine under sudo/root.

[f3bruary:~]$ checkupdates
[f3bruary:~]$ sudo checkupdates
clutter
clutter-gtk
iniparser
lib32-mesa
lib32-mesa-libgl
zenity

I edited the script to output command results by removing the & from &>, which is the same output I got when performing the command inside the script step by step. which can be seen below.

[f3bruary:tmp]$ checkupdates 
error: failed retrieving file 'core.db' from mirror.i3d.net : Could not resolve host: mirror.i3d.net
error: failed retrieving file 'core.db' from mirror.nl.leaseweb.net : Could not resolve host: mirror.nl.leaseweb.net
error: failed retrieving file 'core.db' from ftp.snt.utwente.nl : Could not resolve host: ftp.snt.utwente.nl
error: failed retrieving file 'core.db' from mirror.i3d.net : Could not resolve host: mirror.i3d.net
error: failed retrieving file 'core.db' from arch.apt-get.eu : Could not resolve host: arch.apt-get.eu
error: failed retrieving file 'core.db' from ftp.nluug.nl : Could not resolve host: ftp.nluug.nl
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from mirror.i3d.net : Could not resolve host: mirror.i3d.net
error: failed retrieving file 'extra.db' from mirror.nl.leaseweb.net : Could not resolve host: mirror.nl.leaseweb.net
error: failed retrieving file 'extra.db' from ftp.snt.utwente.nl : Could not resolve host: ftp.snt.utwente.nl
error: failed retrieving file 'extra.db' from mirror.i3d.net : Could not resolve host: mirror.i3d.net
error: failed retrieving file 'extra.db' from arch.apt-get.eu : Could not resolve host: arch.apt-get.eu
error: failed retrieving file 'extra.db' from ftp.nluug.nl : Could not resolve host: ftp.nluug.nl
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from mirror.i3d.net : Could not resolve host: mirror.i3d.net
error: failed retrieving file 'community.db' from mirror.nl.leaseweb.net : Could not resolve host: mirror.nl.leaseweb.net
error: failed retrieving file 'community.db' from ftp.snt.utwente.nl : Could not resolve host: ftp.snt.utwente.nl
error: failed retrieving file 'community.db' from mirror.i3d.net : Could not resolve host: mirror.i3d.net
error: failed retrieving file 'community.db' from arch.apt-get.eu : Could not resolve host: arch.apt-get.eu
error: failed retrieving file 'community.db' from ftp.nluug.nl : Could not resolve host: ftp.nluug.nl
error: failed to update community (download library error)
error: failed retrieving file 'multilib.db' from mirror.i3d.net : Could not resolve host: mirror.i3d.net
error: failed retrieving file 'multilib.db' from mirror.nl.leaseweb.net : Could not resolve host: mirror.nl.leaseweb.net
error: failed retrieving file 'multilib.db' from ftp.snt.utwente.nl : Could not resolve host: ftp.snt.utwente.nl
error: failed retrieving file 'multilib.db' from mirror.i3d.net : Could not resolve host: mirror.i3d.net
error: failed retrieving file 'multilib.db' from arch.apt-get.eu : Could not resolve host: arch.apt-get.eu
error: failed retrieving file 'multilib.db' from ftp.nluug.nl : Could not resolve host: ftp.nluug.nl
error: failed to update multilib (download library error)
error: failed retrieving file 'archlinuxfr.db' from repo.archlinux.fr : Could not resolve host: repo.archlinux.fr
error: failed to update archlinuxfr (download library error)
error: failed retrieving file 'infinality-bundle.db' from bohoomil.com : Could not resolve host: bohoomil.com
error: failed to update infinality-bundle (download library error)
error: failed retrieving file 'infinality-bundle-multilib.db' from bohoomil.com : Could not resolve host: bohoomil.com
error: failed to update infinality-bundle-multilib (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)

I'm not sure but I think the 'fakeroot' is broken somehow.

Some more info:

[f3bruary:tmp]$ mkdir /tmp/test; fakeroot pacman -Sy --dbpath /tmp/test
(same output as above)
[f3bruary:tmp]$ findmnt /tmp
TARGET SOURCE FSTYPE OPTIONS
/tmp   tmpfs  tmpfs  rw

UPDATE: Changed topic title to reflect the actual issue.

Last edited by f3bruary (2015-07-26 17:47:57)


-f3b

Offline

#2 2015-06-30 20:37:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Fakeroot can't resolve a host. DNS issue ? (curl/wget)

Works fine here: pacman 4.2.1-1


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-07-02 11:03:23

f3bruary
Member
From: /root
Registered: 2015-06-06
Posts: 58

Re: [SOLVED] Fakeroot can't resolve a host. DNS issue ? (curl/wget)

I'm running the same version. The checkupdates script also doesn't clean up the folder in /tmp it creates during execution.


-f3b

Offline

#4 2015-07-02 16:28:30

f3bruary
Member
From: /root
Registered: 2015-06-06
Posts: 58

Re: [SOLVED] Fakeroot can't resolve a host. DNS issue ? (curl/wget)

Now with debugging enabled in pacman

NON-SUDO

[f3bruary:~]$ checkupdates 
debug: pacman v4.2.1 - libalpm v9.0.1
debug: parseconfig: options pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: arch: x86_64
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 75: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 84: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'multilib'
debug: config: new section 'archlinuxfr'
debug: config: finish section 'archlinuxfr'
debug: config: new section 'infinality-bundle'
debug: config: finish section 'infinality-bundle'
debug: config: new section 'infinality-bundle-multilib'
debug: config: finish section 'infinality-bundle-multilib'
debug: config: new section '(null)'
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /dev/null
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: parseconfig: repo pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 75: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: registering sync database 'core'
debug: database path for tree core set to /tmp/checkup-db-f3bruary/sync/core.db
debug: "/tmp/checkup-db-f3bruary/sync/core.db" is not readable: No such file or directory
debug: setting usage of 15 for core repoistory
debug: adding new server URL to database 'core': http://mirror.nl.leaseweb.net/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.i3d.net/pub/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://ftp.snt.utwente.nl/pub/os/linux/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://ftp.nluug.nl/os/Linux/distr/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.i3d.net/pub/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://arch.apt-get.eu/core/os/x86_64
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: registering sync database 'extra'
debug: database path for tree extra set to /tmp/checkup-db-f3bruary/sync/extra.db
debug: "/tmp/checkup-db-f3bruary/sync/extra.db" is not readable: No such file or directory
debug: setting usage of 15 for extra repoistory
debug: adding new server URL to database 'extra': http://mirror.nl.leaseweb.net/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.i3d.net/pub/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://ftp.snt.utwente.nl/pub/os/linux/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://ftp.nluug.nl/os/Linux/distr/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.i3d.net/pub/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://arch.apt-get.eu/extra/os/x86_64
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 84: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: registering sync database 'community'
debug: database path for tree community set to /tmp/checkup-db-f3bruary/sync/community.db
debug: "/tmp/checkup-db-f3bruary/sync/community.db" is not readable: No such file or directory
debug: setting usage of 15 for community repoistory
debug: adding new server URL to database 'community': http://mirror.nl.leaseweb.net/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.i3d.net/pub/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://ftp.snt.utwente.nl/pub/os/linux/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://ftp.nluug.nl/os/Linux/distr/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': https://mirror.i3d.net/pub/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://arch.apt-get.eu/community/os/x86_64
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'multilib'
debug: registering sync database 'multilib'
debug: database path for tree multilib set to /tmp/checkup-db-f3bruary/sync/multilib.db
debug: "/tmp/checkup-db-f3bruary/sync/multilib.db" is not readable: No such file or directory
debug: setting usage of 15 for multilib repoistory
debug: adding new server URL to database 'multilib': http://mirror.nl.leaseweb.net/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://mirror.i3d.net/pub/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://ftp.snt.utwente.nl/pub/os/linux/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://ftp.nluug.nl/os/Linux/distr/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': https://mirror.i3d.net/pub/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://arch.apt-get.eu/multilib/os/x86_64
debug: config: new section 'archlinuxfr'
debug: config: SigLevel: Never
debug: config: finish section 'archlinuxfr'
debug: registering sync database 'archlinuxfr'
debug: database path for tree archlinuxfr set to /tmp/checkup-db-f3bruary/sync/archlinuxfr.db
debug: "/tmp/checkup-db-f3bruary/sync/archlinuxfr.db" is not readable: No such file or directory
debug: setting usage of 15 for archlinuxfr repoistory
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/x86_64
debug: config: new section 'infinality-bundle'
debug: config: SigLevel: Never
debug: config: finish section 'infinality-bundle'
debug: registering sync database 'infinality-bundle'
debug: database path for tree infinality-bundle set to /tmp/checkup-db-f3bruary/sync/infinality-bundle.db
debug: "/tmp/checkup-db-f3bruary/sync/infinality-bundle.db" is not readable: No such file or directory
debug: setting usage of 15 for infinality-bundle repoistory
debug: adding new server URL to database 'infinality-bundle': http://bohoomil.com/repo/x86_64
debug: config: new section 'infinality-bundle-multilib'
debug: config: SigLevel: Never
debug: config: finish section 'infinality-bundle-multilib'
debug: registering sync database 'infinality-bundle-multilib'
debug: database path for tree infinality-bundle-multilib set to /tmp/checkup-db-f3bruary/sync/infinality-bundle-multilib.db
debug: "/tmp/checkup-db-f3bruary/sync/infinality-bundle-multilib.db" is not readable: No such file or directory
debug: setting usage of 15 for infinality-bundle-multilib repoistory
debug: adding new server URL to database 'infinality-bundle-multilib': http://bohoomil.com/repo/multilib/x86_64
debug: config: new section '(null)'
debug: config: finished parsing /etc/pacman.conf
debug: database dir '/tmp/checkup-db-f3bruary/sync/' does not exist, creating it
debug: url: http://mirror.nl.leaseweb.net/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/core.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'core.db' from mirror.nl.leaseweb.net : Could not resolve host: mirror.nl.leaseweb.net
debug: url: http://mirror.i3d.net/pub/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/core.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'core.db' from mirror.i3d.net : Could not resolve host: mirror.i3d.net
debug: url: http://ftp.snt.utwente.nl/pub/os/linux/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/core.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'core.db' from ftp.snt.utwente.nl : Could not resolve host: ftp.snt.utwente.nl
debug: url: http://ftp.nluug.nl/os/Linux/distr/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/core.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'core.db' from ftp.nluug.nl : Could not resolve host: ftp.nluug.nl
debug: url: https://mirror.i3d.net/pub/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/core.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'core.db' from mirror.i3d.net : Could not resolve host: mirror.i3d.net
debug: url: http://arch.apt-get.eu/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/core.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'core.db' from arch.apt-get.eu : Could not resolve host: arch.apt-get.eu
debug: failed to sync db: download library error
error: failed to update core (download library error)
debug: url: http://mirror.nl.leaseweb.net/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/extra.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'extra.db' from mirror.nl.leaseweb.net : Could not resolve host: mirror.nl.leaseweb.net
debug: url: http://mirror.i3d.net/pub/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/extra.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'extra.db' from mirror.i3d.net : Could not resolve host: mirror.i3d.net
debug: url: http://ftp.snt.utwente.nl/pub/os/linux/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/extra.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'extra.db' from ftp.snt.utwente.nl : Could not resolve host: ftp.snt.utwente.nl
debug: url: http://ftp.nluug.nl/os/Linux/distr/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/extra.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'extra.db' from ftp.nluug.nl : Could not resolve host: ftp.nluug.nl
debug: url: https://mirror.i3d.net/pub/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/extra.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'extra.db' from mirror.i3d.net : Could not resolve host: mirror.i3d.net
debug: url: http://arch.apt-get.eu/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/extra.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'extra.db' from arch.apt-get.eu : Could not resolve host: arch.apt-get.eu
debug: failed to sync db: download library error
error: failed to update extra (download library error)
debug: url: http://mirror.nl.leaseweb.net/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/community.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'community.db' from mirror.nl.leaseweb.net : Could not resolve host: mirror.nl.leaseweb.net
debug: url: http://mirror.i3d.net/pub/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/community.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'community.db' from mirror.i3d.net : Could not resolve host: mirror.i3d.net
debug: url: http://ftp.snt.utwente.nl/pub/os/linux/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/community.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'community.db' from ftp.snt.utwente.nl : Could not resolve host: ftp.snt.utwente.nl
debug: url: http://ftp.nluug.nl/os/Linux/distr/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/community.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'community.db' from ftp.nluug.nl : Could not resolve host: ftp.nluug.nl
debug: url: https://mirror.i3d.net/pub/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/community.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'community.db' from mirror.i3d.net : Could not resolve host: mirror.i3d.net
debug: url: http://arch.apt-get.eu/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/community.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'community.db' from arch.apt-get.eu : Could not resolve host: arch.apt-get.eu
debug: failed to sync db: download library error
error: failed to update community (download library error)
debug: url: http://mirror.nl.leaseweb.net/archlinux/multilib/os/x86_64/multilib.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/multilib.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'multilib.db' from mirror.nl.leaseweb.net : Could not resolve host: mirror.nl.leaseweb.net
debug: url: http://mirror.i3d.net/pub/archlinux/multilib/os/x86_64/multilib.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/multilib.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'multilib.db' from mirror.i3d.net : Could not resolve host: mirror.i3d.net
debug: url: http://ftp.snt.utwente.nl/pub/os/linux/archlinux/multilib/os/x86_64/multilib.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/multilib.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'multilib.db' from ftp.snt.utwente.nl : Could not resolve host: ftp.snt.utwente.nl
debug: url: http://ftp.nluug.nl/os/Linux/distr/archlinux/multilib/os/x86_64/multilib.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/multilib.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'multilib.db' from ftp.nluug.nl : Could not resolve host: ftp.nluug.nl
debug: url: https://mirror.i3d.net/pub/archlinux/multilib/os/x86_64/multilib.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/multilib.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'multilib.db' from mirror.i3d.net : Could not resolve host: mirror.i3d.net
debug: url: http://arch.apt-get.eu/multilib/os/x86_64/multilib.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/multilib.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'multilib.db' from arch.apt-get.eu : Could not resolve host: arch.apt-get.eu
debug: failed to sync db: download library error
error: failed to update multilib (download library error)
debug: url: http://repo.archlinux.fr/x86_64/archlinuxfr.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/archlinuxfr.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'archlinuxfr.db' from repo.archlinux.fr : Could not resolve host: repo.archlinux.fr
debug: failed to sync db: download library error
error: failed to update archlinuxfr (download library error)
debug: url: http://bohoomil.com/repo/x86_64/infinality-bundle.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/infinality-bundle.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'infinality-bundle.db' from bohoomil.com : Could not resolve host: bohoomil.com
debug: failed to sync db: download library error
error: failed to update infinality-bundle (download library error)
debug: url: http://bohoomil.com/repo/multilib/x86_64/infinality-bundle-multilib.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-f3bruary/sync/infinality-bundle-multilib.db.part (wb)
debug: curl returned error 6 from transfer
error: failed retrieving file 'infinality-bundle-multilib.db' from bohoomil.com : Could not resolve host: bohoomil.com
debug: failed to sync db: download library error
error: failed to update infinality-bundle-multilib (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'multilib'
debug: unregistering database 'archlinuxfr'
debug: unregistering database 'infinality-bundle'
debug: unregistering database 'infinality-bundle-multilib'

SUDO:

[f3bruary:~]$ sudo checkupdates 
debug: pacman v4.2.1 - libalpm v9.0.1
debug: parseconfig: options pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: arch: x86_64
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 75: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 84: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'multilib'
debug: config: new section 'archlinuxfr'
debug: config: finish section 'archlinuxfr'
debug: config: new section 'infinality-bundle'
debug: config: finish section 'infinality-bundle'
debug: config: new section 'infinality-bundle-multilib'
debug: config: finish section 'infinality-bundle-multilib'
debug: config: new section '(null)'
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /dev/null
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: parseconfig: repo pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 75: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: registering sync database 'core'
debug: database path for tree core set to /tmp/checkup-db-root/sync/core.db
debug: "/tmp/checkup-db-root/sync/core.db" is not readable: No such file or directory
debug: setting usage of 15 for core repoistory
debug: adding new server URL to database 'core': http://mirror.nl.leaseweb.net/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.i3d.net/pub/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://ftp.snt.utwente.nl/pub/os/linux/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://ftp.nluug.nl/os/Linux/distr/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.i3d.net/pub/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://arch.apt-get.eu/core/os/x86_64
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: registering sync database 'extra'
debug: database path for tree extra set to /tmp/checkup-db-root/sync/extra.db
debug: "/tmp/checkup-db-root/sync/extra.db" is not readable: No such file or directory
debug: setting usage of 15 for extra repoistory
debug: adding new server URL to database 'extra': http://mirror.nl.leaseweb.net/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.i3d.net/pub/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://ftp.snt.utwente.nl/pub/os/linux/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://ftp.nluug.nl/os/Linux/distr/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.i3d.net/pub/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://arch.apt-get.eu/extra/os/x86_64
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 84: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: registering sync database 'community'
debug: database path for tree community set to /tmp/checkup-db-root/sync/community.db
debug: "/tmp/checkup-db-root/sync/community.db" is not readable: No such file or directory
debug: setting usage of 15 for community repoistory
debug: adding new server URL to database 'community': http://mirror.nl.leaseweb.net/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.i3d.net/pub/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://ftp.snt.utwente.nl/pub/os/linux/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://ftp.nluug.nl/os/Linux/distr/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': https://mirror.i3d.net/pub/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://arch.apt-get.eu/community/os/x86_64
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'multilib'
debug: registering sync database 'multilib'
debug: database path for tree multilib set to /tmp/checkup-db-root/sync/multilib.db
debug: "/tmp/checkup-db-root/sync/multilib.db" is not readable: No such file or directory
debug: setting usage of 15 for multilib repoistory
debug: adding new server URL to database 'multilib': http://mirror.nl.leaseweb.net/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://mirror.i3d.net/pub/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://ftp.snt.utwente.nl/pub/os/linux/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://ftp.nluug.nl/os/Linux/distr/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': https://mirror.i3d.net/pub/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://arch.apt-get.eu/multilib/os/x86_64
debug: config: new section 'archlinuxfr'
debug: config: SigLevel: Never
debug: config: finish section 'archlinuxfr'
debug: registering sync database 'archlinuxfr'
debug: database path for tree archlinuxfr set to /tmp/checkup-db-root/sync/archlinuxfr.db
debug: "/tmp/checkup-db-root/sync/archlinuxfr.db" is not readable: No such file or directory
debug: setting usage of 15 for archlinuxfr repoistory
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/x86_64
debug: config: new section 'infinality-bundle'
debug: config: SigLevel: Never
debug: config: finish section 'infinality-bundle'
debug: registering sync database 'infinality-bundle'
debug: database path for tree infinality-bundle set to /tmp/checkup-db-root/sync/infinality-bundle.db
debug: "/tmp/checkup-db-root/sync/infinality-bundle.db" is not readable: No such file or directory
debug: setting usage of 15 for infinality-bundle repoistory
debug: adding new server URL to database 'infinality-bundle': http://bohoomil.com/repo/x86_64
debug: config: new section 'infinality-bundle-multilib'
debug: config: SigLevel: Never
debug: config: finish section 'infinality-bundle-multilib'
debug: registering sync database 'infinality-bundle-multilib'
debug: database path for tree infinality-bundle-multilib set to /tmp/checkup-db-root/sync/infinality-bundle-multilib.db
debug: "/tmp/checkup-db-root/sync/infinality-bundle-multilib.db" is not readable: No such file or directory
debug: setting usage of 15 for infinality-bundle-multilib repoistory
debug: adding new server URL to database 'infinality-bundle-multilib': http://bohoomil.com/repo/multilib/x86_64
debug: config: new section '(null)'
debug: config: finished parsing /etc/pacman.conf
debug: database dir '/tmp/checkup-db-root/sync/' does not exist, creating it
debug: url: http://mirror.nl.leaseweb.net/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-root/sync/core.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://mirror.nl.leaseweb.net/archlinux/core/os/x86_64/core.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /tmp/checkup-db-root/sync/core.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/tmp/checkup-db-root/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /tmp/checkup-db-root/sync/core.db.sig could not be opened
debug: missing optional signature
debug: url: http://mirror.nl.leaseweb.net/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-root/sync/extra.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://mirror.nl.leaseweb.net/archlinux/extra/os/x86_64/extra.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /tmp/checkup-db-root/sync/extra.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/tmp/checkup-db-root/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /tmp/checkup-db-root/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: url: http://mirror.nl.leaseweb.net/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-root/sync/community.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://mirror.nl.leaseweb.net/archlinux/community/os/x86_64/community.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /tmp/checkup-db-root/sync/community.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/tmp/checkup-db-root/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /tmp/checkup-db-root/sync/community.db.sig could not be opened
debug: missing optional signature
debug: url: http://mirror.nl.leaseweb.net/archlinux/multilib/os/x86_64/multilib.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-root/sync/multilib.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://mirror.nl.leaseweb.net/archlinux/multilib/os/x86_64/multilib.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /tmp/checkup-db-root/sync/multilib.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/tmp/checkup-db-root/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /tmp/checkup-db-root/sync/multilib.db.sig could not be opened
debug: missing optional signature
debug: url: http://repo.archlinux.fr/x86_64/archlinuxfr.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-root/sync/archlinuxfr.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://bohoomil.com/repo/x86_64/infinality-bundle.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-root/sync/infinality-bundle.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://bohoomil.com/repo/multilib/x86_64/infinality-bundle-multilib.db
debug: maxsize: 26214400
debug: opened tempfile for download: /tmp/checkup-db-root/sync/infinality-bundle-multilib.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 200
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'multilib'
debug: unregistering database 'archlinuxfr'
debug: unregistering database 'infinality-bundle'
debug: unregistering database 'infinality-bundle-multilib'
avahi
gdm
gnome-shell
libgdm
mutter
xorg-server
xorg-server-common
xorg-server-devel
xorg-server-xwayland

-f3b

Offline

#5 2015-07-03 17:59:04

f3bruary
Member
From: /root
Registered: 2015-06-06
Posts: 58

Re: [SOLVED] Fakeroot can't resolve a host. DNS issue ? (curl/wget)

Thanks to some people in #archlinux I have found out that the problem lies with fakeroot not being able to use curl because of some dns issue.

[f3bruary:~]$ fakeroot curl google.com                                         
curl: (6) Could not resolve host: google.com
[f3bruary:~]$ fakeroot curl 74.125.136.101
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
[f3bruary:~]$ cat /etc/resolv.conf                                             
# Generated by resolvconf
nameserver 8.8.8.8

I still have no idea why though. And why root (sudo) doesn't have the same problem. If anyone could point me in the right direction, I'd appreciate it.

Last edited by f3bruary (2015-07-03 18:13:08)


-f3b

Offline

#6 2015-07-06 17:51:55

f3bruary
Member
From: /root
Registered: 2015-06-06
Posts: 58

Re: [SOLVED] Fakeroot can't resolve a host. DNS issue ? (curl/wget)

If anyone could help me out, I'd appreciate it. I use the checkupdates script for a conkyrc.


-f3b

Offline

#7 2015-07-06 18:22:45

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: [SOLVED] Fakeroot can't resolve a host. DNS issue ? (curl/wget)

what are the permissions on /etc/resolv.conf? If it is a symlink, what does it point to and what are the permissions of that target-path?

Offline

#8 2015-07-06 19:20:03

f3bruary
Member
From: /root
Registered: 2015-06-06
Posts: 58

Re: [SOLVED] Fakeroot can't resolve a host. DNS issue ? (curl/wget)

Spider.007 wrote:

what are the permissions on /etc/resolv.conf? If it is a symlink, what does it point to and what are the permissions of that target-path?

644 root:root. It's not symlinked. To clarify, root and also regular users have no issues. Only fakeroot.

Last edited by f3bruary (2015-07-06 19:20:42)


-f3b

Offline

#9 2015-07-06 20:25:49

InterGen
Member
From: /dev/null
Registered: 2014-05-02
Posts: 3
Website

Re: [SOLVED] Fakeroot can't resolve a host. DNS issue ? (curl/wget)

f3bruary,

What's your output of:

 /bin/bash -x fakeroot curl google.com 

Look for differences compared to this output:

 http://nobits.ml/view/raw/bf168154 


InterGen

Last edited by InterGen (2015-07-06 20:48:58)


"I'm reaching for the random or what ever will bewilder me..."
                                                                              -MJK

Offline

#10 2015-07-06 21:33:09

f3bruary
Member
From: /root
Registered: 2015-06-06
Posts: 58

Re: [SOLVED] Fakeroot can't resolve a host. DNS issue ? (curl/wget)

InterGen wrote:

f3bruary,

What's your output of:

 /bin/bash -x fakeroot curl google.com 

Look for differences compared to this output:

 http://nobits.ml/view/raw/bf168154 


InterGen

I diff'ed both outputs and aside from different IDs/PIDs, and the final error code, they look pretty similar.

[f3bruary:~]$ /bin/bash -x fakeroot curl google.com > fakeroot_mine.txt                                                                                                  
+ FAKEROOT_PREFIX=/usr
+ FAKEROOT_BINDIR=/usr/bin
+ USEABSLIBPATH=0
+ LIB=libfakeroot.so
+ PATHS=/usr/lib/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot
+ FAKED=/usr/bin/faked
+ FAKED_MODE=unknown-is-root
+ export FAKED_MODE
+ libfound=no
++ getopt --version
+ GETOPTEST='getopt from util-linux 2.26.2'
+ case $GETOPTEST in
++ getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l version -l help -- +l:f:i:s:ub:vh curl google.com
+ FAKE_TEMP=' -- '\''curl'\'' '\''google.com'\'''
+ test 0 -ne 0
+ eval set -- ' -- '\''curl'\'' '\''google.com'\'''
++ set -- -- curl google.com
+ FAKEDOPTS=
+ PIPEIN=
+ WAITINTRAP=0
+ test X-- '!=' X--
+ shift
+ ABSLIB=
+ '[' -n /usr/lib/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot ']'
++ echo /usr/lib/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot
++ sed 's/:/ /g'
+ for dir in '`echo $PATHS | sed '\''s/:/ /g'\''`'
+ test -r /usr/lib/libfakeroot/libfakeroot.so
+ libfound=yes
+ ABSLIB=/usr/lib/libfakeroot/libfakeroot.so
+ for dir in '`echo $PATHS | sed '\''s/:/ /g'\''`'
+ test -r /usr/lib64/libfakeroot/libfakeroot.so
+ libfound=yes
+ ABSLIB=/usr/lib64/libfakeroot/libfakeroot.so
+ for dir in '`echo $PATHS | sed '\''s/:/ /g'\''`'
+ test -r /usr/lib32/libfakeroot/libfakeroot.so
+ test yes = no
+ test -n ''
+ unset FAKEROOTKEY
++ eval /usr/bin/faked
+++ /usr/bin/faked
+ KEY_PID=1839138556:25073
++ echo 1839138556:25073
++ cut -d: -f1
+ FAKEROOTKEY=1839138556
++ echo 1839138556:25073
++ cut -d: -f2
+ PID=25073
+ '[' 0 -eq 0 ']'
+ trap 'kill -s TERM 25073' EXIT INT
+ test -z 1839138556
+ test -z 25073
+ test 0 -ne 0
+ test -n ''
+ test -n ''
+ export FAKEROOT_FD_BASE
+ test -z 'curl google.com'
+ FAKEROOTKEY=1839138556
+ LD_LIBRARY_PATH=/usr/lib/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot
+ LD_PRELOAD=libfakeroot.so
+ curl google.com
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: google.com
+ RESULT=6
+ exit 6
+ kill -s TERM 25073

-f3b

Offline

#11 2015-07-06 22:29:51

InterGen
Member
From: /dev/null
Registered: 2014-05-02
Posts: 3
Website

Re: [SOLVED] Fakeroot can't resolve a host. DNS issue ? (curl/wget)

f3b,

It does indeed seem like it could be an odd DNS issue.  I suspect that the problem would've shown itself regardless of user if that was the case though.

Nonetheless, if you'd like to try and 'wait it out' you could wrap the command in an 'until' loop:

 fakeroot until curl google.com; do sleep 5; done 

Also, it sounds like curl might not be required, so you may see better results with wget:

from man wget:

 "Wget has been designed for robustness over slow or unstable network connections; if a download fails due to a network problem, it will keep 
retrying until the whole file has been retrieved. If the server supports regetting, it will instruct the server to continue the download from where it left off." 

Aside from that, the only resolutions I'm seeing for this (other than setting Google's nameservers in /etc/resolv.conf) are to make sure IPv6 is disabled.


InterGen

Last edited by InterGen (2015-07-06 22:49:50)


"I'm reaching for the random or what ever will bewilder me..."
                                                                              -MJK

Offline

#12 2015-07-07 11:05:48

f3bruary
Member
From: /root
Registered: 2015-06-06
Posts: 58

Re: [SOLVED] Fakeroot can't resolve a host. DNS issue ? (curl/wget)

wget has the same issue. Ping however does work.

[f3bruary:~]$ fakeroot ping google.com                                                                                                                                   
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
PING google.com (74.125.136.101) 56(84) bytes of data.
64 bytes from ea-in-f101.1e100.net (74.125.136.101): icmp_seq=1 ttl=49 time=16.3 ms
64 bytes from ea-in-f101.1e100.net (74.125.136.101): icmp_seq=2 ttl=49 time=10.9 ms
64 bytes from ea-in-f101.1e100.net (74.125.136.101): icmp_seq=3 ttl=49 time=11.5 ms
64 bytes from ea-in-f101.1e100.net (74.125.136.101): icmp_seq=4 ttl=49 time=15.7 ms
^C
--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 10.929/13.628/16.309/2.422 ms

-f3b

Offline

#13 2015-07-07 14:29:08

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: [SOLVED] Fakeroot can't resolve a host. DNS issue ? (curl/wget)

Do you maybe have more then 3 files in /usr/lib/libfakeroot/ ? Otherwise you could compare `strace -feopen` with and without fakeroot to see if it's a library issue

Offline

#14 2015-07-07 16:30:22

f3bruary
Member
From: /root
Registered: 2015-06-06
Posts: 58

Re: [SOLVED] Fakeroot can't resolve a host. DNS issue ? (curl/wget)

Spider.007 wrote:

Do you maybe have more then 3 files in /usr/lib/libfakeroot/ ? Otherwise you could compare `strace -feopen` with and without fakeroot to see if it's a library issue

Just this

-rwxr-xr-x 1 root root 53168 Nov  6  2014 libfakeroot-0.so
lrwxrwxrwx 1 root root    16 Nov  6  2014 libfakeroot.so -> libfakeroot-0.so

-f3b

Offline

#15 2015-07-14 15:30:38

f3bruary
Member
From: /root
Registered: 2015-06-06
Posts: 58

Re: [SOLVED] Fakeroot can't resolve a host. DNS issue ? (curl/wget)

Could someone point me in the right direction to possibly solve this ?


-f3b

Offline

#16 2015-07-26 17:23:10

f3bruary
Member
From: /root
Registered: 2015-06-06
Posts: 58

Re: [SOLVED] Fakeroot can't resolve a host. DNS issue ? (curl/wget)

I just updated pacman to v.4.2.1-2 and I still have the same issue.

UPDATE: I managed to fix with the help of 'sheep' on IRC. I needed to place 'dns' in /etc/nsswitch.conf on line 9:

hosts: files mymachines resolve dns myhostname

Last edited by f3bruary (2015-07-26 17:47:40)


-f3b

Offline

Board footer

Powered by FluxBB