You are not logged in.

#1 2010-04-27 17:38:23

Jackalsnose
Member
Registered: 2010-04-27
Posts: 7

[SOLVED] Pacman Troubles

I've been running Arch for a couple of months now and I've decided to download xfce and switch to that from KDE.

[root@myhost bob]# pacman -S xfce4
xfce4 package not found, searching for group...
:: group xfce4 (including ignored packages):
    exo  gtk-xfce-engine  libxfce4menu  libxfce4util  libxfcegui4  mousepad  orage  squeeze  terminal  thunar  xfce-utils  
    xfce4-appfinder  xfce4-icon-theme  xfce4-mixer  xfce4-panel  xfce4-session  xfce4-settings  xfconf  xfdesktop  xfprint  
    xfwm4  xfwm4-themes  
:: Install whole content? [Y/n] y
resolving dependencies...
looking for inter-conflicts...

Targets (33): libxfce4util-4.6.1-1  exo-0.3.106-1  gtk-xfce-engine-2.6.0-1  libxfce4menu-4.6.1-1  xfconf-4.6.1-3  
              libxfcegui4-4.6.3-1  mousepad-0.2.16-2  libxres-1.0.4-1  libwnck-2.28.0-1  xfce4-panel-4.6.3-1  
              libnotify-0.4.5-1.1  orage-4.6.1-1  libgssglue-0.1-2  libtirpc-0.2.1-1  rpcbind-0.2.0-1  fam-2.7.0-14  
              thunar-1.0.1-5  squeeze-0.2.3-2  vte-0.22.5-1  terminal-0.4.4-1  xfce-utils-4.6.1-2  xfce4-appfinder-4.6.1-2  
              xfce4-icon-theme-4.4.3-1  xfce4-mixer-4.6.1-1  xfce4-session-4.6.1-1  xfce4-settings-4.6.4-1  xfdesktop-4.6.1-1  
              psutils-1.17-2  imagemagick-6.6.0.10-1  a2ps-4.14-1  xfprint-4.6.1-2  xfwm4-4.6.1-1  xfwm4-themes-4.6.0-1  

Total Download Size:    26.22 MB
Total Installed Size:   98.02 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from core...

It just sticks like this for quite some time.  Then it tells me 'No address record'

Last edited by Jackalsnose (2010-04-27 21:23:14)

Offline

#2 2010-04-27 17:44:41

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: [SOLVED] Pacman Troubles

Try with another Severs.

Offline

#3 2010-04-27 17:46:51

Jackalsnose
Member
Registered: 2010-04-27
Posts: 7

Re: [SOLVED] Pacman Troubles

My mirrorlist file has been sufficient until now for some reason.  This is what I have in there:

Server = http://mirror.rit.edu/archlinux/$repo/os/i686
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
Server = http://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
Server = ftp://mirrors.easynews.com/linux/archlinux/$repo/os/i686
Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/i686
Server = ftp://ftp.archlinux.org/$repo/os/i686
Server = http://mirrors.gigenet.com/archlinux/$repo/os/i686
Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/i686
Server = http://www.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/i686
Server = ftp://mirrors.hosef.org/archlinux/$repo/os/i686
Server = http://mirrors.hosef.org/archlinux/$repo/os/i686
Server = ftp://ibiblio.org/pub/linux/distributions/archlinux/$repo/os/i686
Server = http://distro.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/i686
Server = http://archlinux.linuxfreedom.com/$repo/os/i686
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/i686
Server = ftp://lug.mtu.edu/archlinux/ftpfull/$repo/os/i686
Server = http://lug.mtu.edu/archlinux/ftpfull/$repo/os/i686
Server = ftp://mirrors.xmission.com/archlinux/$repo/os/i686
Server = http://mirrors.xmission.com/archlinux/$repo/os/i686
Server = ftp://mirror.rit.edu/archlinux/$repo/os/i686
Server = http://schlunix.org/archlinux/$repo/os/i686
Server = http://archlinux.umflint.edu/$repo/os/i686
Server = http://mirror.umoss.org/archlinux/$repo/os/i686

Offline

#4 2010-04-27 17:47:11

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: [SOLVED] Pacman Troubles

Ahg! Yay someone else is having the same problem!! Except I'm using dwm....static IP with wpa overwireless on one machine and static ip wired on another machine. Both will browse the internet just fine, but using either pacman or clyde just kills the connection. I can get pacman to work for a little by changing the download method to wget, but then it hangs for about 15-20 sec between each operation (like between syncing each repo or downloading each file). I can't pin it to any particular update, either, and it's driving me nuts!! My server (also wired, static ip) doesn't have the problem, and it's on the same network.

Any ideas?

Thanks,
Scott

edit: I've also tried changing servers in the mirrorlist, with no effect. And like I said, my home server uses the same mirror as one of the desktop machines, and it isn't experiencing the issue.

Last edited by firecat53 (2010-04-27 17:48:49)

Offline

#5 2010-04-27 17:56:30

Jackalsnose
Member
Registered: 2010-04-27
Posts: 7

Re: [SOLVED] Pacman Troubles

I just updated pacman and it was able to fetch one package.  It has currently been hanging for about 5 minutes with the rest and I'm just waiting to confirm the same problem for the other packages.

EDIT: 10 minutes in, I'm not going to let it continue this nonsense.  I terminated the command to continue my troubleshooting.

Last edited by Jackalsnose (2010-04-27 17:59:41)

Offline

#6 2010-04-27 18:04:17

rransom
Member
Registered: 2010-04-26
Posts: 92

Re: [SOLVED] Pacman Troubles

Have you checked the DNS servers listed in /etc/resolv.conf?  "No address record" sounds like a DNS problem.

I can resolve mirror.rit.edu fine from here, so a DNS problem would have to be at a cache near your end.

Offline

#7 2010-04-27 18:11:01

Jackalsnose
Member
Registered: 2010-04-27
Posts: 7

Re: [SOLVED] Pacman Troubles

I can access that mirror in firefox and I can ping 'mirror.rit.edu' just fine.

I do not know exactly what to expect in resolv.conf, but mine looks ok to me.

Offline

#8 2010-04-27 18:18:27

rransom
Member
Registered: 2010-04-26
Posts: 92

Re: [SOLVED] Pacman Troubles

$ strings -af -tx /usr/bin/pacman /usr/lib/*.so |grep -e 'No address record'
/usr/lib/libfetch.so:    b8e8 No address record

Time to read the source next...

Offline

#9 2010-04-27 18:27:40

rransom
Member
Registered: 2010-04-26
Posts: 92

Re: [SOLVED] Pacman Troubles

libfetch-2.30/common.c:83: { EAI_NONAME, FETCH_RESOLV, "No address record" },

EAI_NONAME is defined in /usr/include/netdb.h (part of glibc 2.11.1-3).

Offline

#10 2010-04-27 19:20:14

Jackalsnose
Member
Registered: 2010-04-27
Posts: 7

Re: [SOLVED] Pacman Troubles

Based on your code query I found my glibc was out of date.  I updated that with pacman and it worked fine.  Using http://bbs.archlinux.org/viewtopic.php?id=33488 I was able to temporarily fix the problem with the wget method mentioned at the end of the other thread.  I am still interested in a better fix however.

Offline

#11 2010-04-27 19:32:54

rransom
Member
Registered: 2010-04-26
Posts: 92

Re: [SOLVED] Pacman Troubles

Jackalsnose wrote:

Based on your code query I found my glibc was out of date.  I updated that with pacman and it worked fine.  Using http://bbs.archlinux.org/viewtopic.php?id=33488 I was able to temporarily fix the problem with the wget method mentioned at the end of the other thread.  I am still interested in a better fix however.

What do you mean by "it worked fine"?  If updating glibc fixed the problem, it was a bug, and now it's gone.

Offline

#12 2010-04-27 19:36:33

Jackalsnose
Member
Registered: 2010-04-27
Posts: 7

Re: [SOLVED] Pacman Troubles

rransom wrote:

What do you mean by "it worked fine"?  If updating glibc fixed the problem, it was a bug, and now it's gone.

I mean using pacman to update only glibc worked perfectly.  General system updates and xfce updates still did not work.

I had to switch to the wget method mentioned in the other thread to get the rest working.

Offline

#13 2010-04-27 19:53:50

avoulk
Member
From: Greece
Registered: 2007-08-28
Posts: 132
Website

Re: [SOLVED] Pacman Troubles

Have you already updated the cache using the -y switch?

Offline

#14 2010-04-27 20:13:24

rransom
Member
Registered: 2010-04-26
Posts: 92

Re: [SOLVED] Pacman Troubles

I think I see the problem.  "getent hosts {ftp,www}.gtlib.gatech.edu" turns up IPv6 addresses only, so if pacman:

- silently fails to download a package from mirror.rit.edu (possibly because it is no longer present there),

- hits a bad/slow/dead mirror after mirror.rit.edu and before *.gatech.edu,

- and then hits ftp.gtlib.gatech.edu,

pacman will appear to get wedged for a while, and then print the libfetch error message "No address record" for ftp.gtlib.gatech.edu.

Offline

#15 2010-04-27 20:16:51

rransom
Member
Registered: 2010-04-26
Posts: 92

Re: [SOLVED] Pacman Troubles

Try using the --debug flag next time you run pacman.  Most of its output will be junk, but --verbose doesn't look like it would be sufficient.

Offline

#16 2010-04-27 20:27:40

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: [SOLVED] Pacman Troubles

I saw this error with someone trying to use the arch-games repo. His nameserver was being trashy, he changed to using 8.8.8.8 (google's dns), and then it worked as expected. Check that it isn't your nameserver.

Offline

#17 2010-04-27 20:47:51

rransom
Member
Registered: 2010-04-26
Posts: 92

Re: [SOLVED] Pacman Troubles

"getent hosts ..." was the wrong command to use -- "getent ahosts ..." seems to print out every address that getaddrinfo can return.  With my DNS server, "getent ahosts" prints IPv4 addresses for each of your mirrors, and pacman is able to install from www.gtlib.gatech.edu.

Daenyth is right -- it's probably a bad DNS cache.  If you're using DHCP, run "echo 8.8.8.8 >/etc/resolv.conf.head", then "/etc/rc.d/network restart" as root.

EDIT: "echo 8.8.8.8 >/etc/resolv.conf.head" is wrong; use "echo nameserver 8.8.8.8 >/etc/resolv.conf.head".

Last edited by rransom (2010-04-27 20:58:07)

Offline

#18 2010-04-27 21:22:53

Jackalsnose
Member
Registered: 2010-04-27
Posts: 7

Re: [SOLVED] Pacman Troubles

I already finished installing XFCE and everything for that, but I can confirm that using the google DNS server worked for goggles music manager (packages from extra/community).

Thanks!

Offline

#19 2010-04-27 21:23:22

rransom
Member
Registered: 2010-04-26
Posts: 92

Re: [SOLVED] Pacman Troubles

Jackalsnose wrote:

I can access that mirror in firefox and I can ping 'mirror.rit.edu' just fine.

I do not know exactly what to expect in resolv.conf, but mine looks ok to me.

The full description of resolv.conf is in its man page, but the only common line is "nameserver n.n.n.n", which specifies the IP address of a DNS server.  Usually, libc will only use the first three nameserver lines.

To query a specific DNS server, install core/dnsutils and run "dig @n.n.n.n example.com".  If you find a bad DNS server, check whether your ISP's DHCP service is still advertising it as a DNS server; if your ISP is still trying to configure your computer to use a bogus DNS server, complain to them so they can fix it.

Offline

#20 2010-06-03 16:42:35

[vEX]
Member
From: Sweden
Registered: 2006-11-23
Posts: 450

Re: [SOLVED] Pacman Troubles

rransom wrote:

I think I see the problem.  "getent hosts {ftp,www}.gtlib.gatech.edu" turns up IPv6 addresses only, so if pacman:

- silently fails to download a package from mirror.rit.edu (possibly because it is no longer present there),

- hits a bad/slow/dead mirror after mirror.rit.edu and before *.gatech.edu,

- and then hits ftp.gtlib.gatech.edu,

pacman will appear to get wedged for a while, and then print the libfetch error message "No address record" for ftp.gtlib.gatech.edu.

That seems to be the case as I just had the same problem. I tried using wget for pacman but that also failed, but the curl command worked. So I disabled the first mirror and the XferCommand and it's now working fine.


PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM

Offline

#21 2010-09-06 03:47:23

yvonney
Member
Registered: 2008-06-11
Posts: 671

Re: [SOLVED] Pacman Troubles

worked great  pacman running again.
I used filezilla and went to
ftp://ftp.archlinux.org
did a quick connect using anonymous as use and with no password
when in the repo there I went to core/os
then down to the xz  beta 6 
i686 version for me

then naviagting to the folder the downloaded xz file was in I simply ran the above line making needed aLterations

tar -xvpf xz-4.999.9beta-6-i686.pkg.tar.gz  -C / --exclude .PKGINFO --exclude .INSTALL



THANKS !!

Offline

Board footer

Powered by FluxBB