You are not logged in.
I hope don't become a pain here, but I really want to get an arch system working...
So after I installed the base system, the first thing I wanted to do is get the x server up and running. I ran the command
pacman -S xorg
and when it goes, I get the error
error: failed retrieving file 'libxmu-1.0.4-1-x86_64.pkg.tar.gz......
I have the Virginia Tech mirror first, then ibiblio, and then the archlinux.org repo as a fallback, and none of them can retrieve that file, and thus the xorg install fails.
Any ideas of what I need to do?
Thanks,
Last edited by claudius753 (2016-11-23 20:23:03)
Offline
Did you 'pacman -Syu' after you installed the base system ?
If not, you ought to. This will sync your package list and upgrade
any that need upgrading. After this, try pacman -S xorg again.
Deej
Offline
I did do the command
pacman -Syu
after I installed. I also did it again just to make sure, and I still get the same error.
BTW, I hope these posts look ok and are formatted correctly, I am posting under Arch with Links.
Offline
Try some more mirrors. VT has no libxmu package at the moment - probably a sync problem. Check here for mirror status.
Offline
I have tried multiple mirrors, including the archlinux.org one, and still get the same error every time. I have updated pacman several times as well, but it still cannot find the package. I think I have figured out the problem though:
pacman is trying to get libxmu-1.0.4-1-x86_64.pkg.tar.gz but the servers have libxmu-1.0.4-2-x86_64.pkg.tar.gz
Is that why it is failing every time? Is this just an issue on my end, or would it be widespread to anyone trying to install xorg?
Thanks,
Last edited by claudius753 (2016-11-23 20:23:16)
Offline
Try -Syy too, to force a database refresh.
Offline
Claudius753 is describing the exact same problem that I am seeing. I am also trying to install xorg on an X86_64 platform.
I also think that the xorg group is possibly trying to install an old version of the libxmu package that simply isn't on the repos anymore. I tired "pacman -Sy libxmu" and that command also tries to find libxmu-1.0.4-1-x86_64.pkg.tar.gz and fails saying it can't find it (no surprise).
I don't think this is a problem with our local package databases being out of date. I have synchronized my database multiple times (-Sy and -Syy). It's sync'd. It seems like the libxmu package has been updated (1.0.4-2) in the repos but the dependency lists still have the old one (1.0.4-1) and the old one simply isn't there anymore.
Offline
Well, at least it is not just on my end then. I also tried to install libxmu, last night it was one of the things I tried before I posted, and it still looks for the -1 version when the servers only have the -2 version.
I did not try updating with -Syy but it looks like that may not work either. I'm anxious to get x running on my laptop, so I hope there is a solution soon.
Last edited by claudius753 (2016-11-23 20:23:24)
Offline
If forcing the local package database to refresh (-Syy) doesn't work for you the www.mirrorservice.org mirror that I use has libxmu 1.0.4-2 for 64-bit
[rich@karhide ~]$ pacman -Ss libxmu
extra/libxmu 1.0.4-2
X11 miscellaneous micro-utility library
[rich@karhide ~]$ head /etc/pacman.d/my_mirrors
# Server list generated by rankmirrors on 2008-03-27
#
# Arch Linux repository mirrorlist
Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/x86_64
Server = ftp://mir2.archlinuxfr.org/archlinux/$repo/os/x86_64
Server = ftp://mir1.archlinuxfr.org/archlinux/$repo/os/x86_64
Server = http://mir.archlinux.fr/$repo/os/x86_64
Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/x86_64
Offline
No, the repos that I am using all have libxmu 1.0.4-2, but pacman is complaining that it needs an older version, libxmu 1.0.4-1, which none of the mirrors I have tried seem to have.
Offline
OK - I looked in my pacman DBpath (/var/lib/pacman/sync). Beneath that path there are two listings for libxmu, one in the community directory and another in the extra directory. Both of these directories have a lib32-libxmu-1.0.4-1 directory in them. There is NO other libxmu listing in the entire /var/lib/pacman/sync path.
If I understand how things work, the database is listing 1.0.4-1 as the "current" version. The repos has a file for version 1.0.4-2 and ONLY version 1.0.4-2 (which is the REAL current version). When I tell pacman to get libxmu (or any package/group that depends on libxmu), pacman checks the database and sees a listing for 1.0.4-1 (and no other version) and goes to the repos requesting 1.0.4-1. It doesn't find 1.0.4-1 (because 1.0.4-1 isn't there) and so fails.
I am not an expert, but here's my theory for what it's worth - I think that the package in the repos was updated to the new version, but the entry in the pacman database was NOT updated to the newest version. I think that someone needs to update the pacman database entry to reflect the libxmu package that is actually in the repos (version 1.0.4-2)
Offline
There is no lib32-libxmu package in the extra repo, so I don't know how it appears in your sync/extra dir. If pacman -Syy is not working for you, try manually deleting everything under /var/lib/pacman/sync and then run pacman -Syy again. Important note: do NOT touch /var/lib/pacman local.
Offline
lib32-libxmu-1.0.4-1.pkg.tar.gz is under the community/os/x86_64 directory, pacman wants libxmu-1.0.4-1-x86_64.pkg.tar.gz (sans the lib32 part).
I'll try deleting /var/lib/pacman/sync when I get home, stuck at work for the next 8 hours. When I initially installed Arch, I used the VT mirror, which was apparently badly out of sync (4+ days), so maybe that's why syncing the wrong DB info when I try. I'll also try removing all mirrors and only use the archlinux.org mirror to make sure it is up to date. I'll post back on how it goes or maybe Lancet will try it as well.
Thanks,
Last edited by claudius753 (2016-11-23 20:23:34)
Offline
I've just re-installed Arch ( x86_64 ) using the Irish mirror
Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/x86_64
and
it works fine. Never had a problem with the Irish nor French mirrors. As I believe it's your first time installing Arch, here's a quick run-down of what
I do on a new install:
After the base-system is installed;
1> Edit /etc/pacman.d/mirrorlist to your preferred mirrors.
2> run 'adduser' to add a normal user. ( Groups: wheel,disk,audio,video,optical,storage,lp )
3> pacman -Syu to sync everything to your mirror.
4> pacman -S xorg cpio
5> pacman -S kde kde-l10n-uk (if you want kde)
5> pacman -S ttf-bitstream-vera ttf-ms-fonts ttf-dejavu artwiz-fonts terminus-font ( the last one is good for a konsole font ).
6> pacman -S tk alsa-utils gdb
7> pacman -S nvidia ( if you have an nvidia card )
8> nvidia-xconfig --add-argb-glx-visuals --composite
9> Edit /etc/inittab; The only sections we're interested in are these. This is how they should look ( to boot into kde );
## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:
# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null
Note the new path to kdm !!!
At his point I usually 'pacman -S opera thunderbird' as well. Then, to get the 64-bit flash-plugin:
Edit /etc/pacman.conf
Uncomment the 'Testing' branch
pacman -Sy to update
pacman -S flashplugin to install
re-edit /etc/pacman.conf and comment out the Testing branch again.
Reboot.
Hope this helps in some way...
Deej
Offline
@deej: Wha?
Offline
Deej,
Yes, I am new to Arch and this is my first time installing it. The steps you provide do seem quite useful for once I get xorg installed. I was trying to use the closest server to my location, but if all else fails, I'll use the one you provided.
I appreciate the steps, it will probably save me time searching for which packages I need. One question though, what is the meaning of step 5? "pacman -S kde kde-l10n-uk". I get the kde part, but what is the "kde-l10n-uk" part, a language pack? I live in the US so I'm wondering if that pack is there for British English (the uk part) and if I would need to substitute something like "us" in place of the "uk".
Thanks,
Last edited by claudius753 (2016-11-23 20:23:46)
Offline
Guys,
First, I apologize for the mistake in my last post. The community repo had lib32-libxmu-1.0.4-1. The extra had libxmu-1.0.4-1. So, tomk was indeed correct above when he said that extra didn't have the lib32-libxmu package. However both of them had some form of a libxmu package and they were both version 1.0.4-1.
I took Deej's advice and switched from the vt mirror (which I had as first choice in my mirrorlist) to the Ireland one. I then performed a "pacman -Sy xorg". Core was up to date, however community and extra both had to sync. Then it proceeded to download libxmu-1.0.4-2 (yes, that's a 2) and everything worked fine. Now when I look in /var/lib/pacman/sync/extra, it has libxmu-1.0.4-2 (instead of -1). Looks like syncing with Ireland put the correct entry into that directory. It also looks like the vt mirror is screwed up. I'm disappointed since Virginia Tech is my alma mater - maybe things have gone down hill since I left. Anyway, I would strike vt from my mirror list for a while at least.
To deej, tomk, VPeric, and ghostHack: Thanks for the posts.
To claudius753: Good luck. If you ditch the vt mirror you will probably be OK.
To the nation of Ireland: Thanks for the good mirror.
Offline
@deej: Wha?
Long-winded, eh?
I just broke it down to bite-sized chunks to make it easier to digest.
claudius753:
"pacman -S kde kde-l10n-uk" is the uk language file
Glad to be of some small help...
Deej
Offline
Well, I removed the vt mirror from my mirrorlist and updated pacman. Pacman then installed xorg without any errors. Seems that the VT mirror is pretty badly out of sync.
Thanks everyone.
Last edited by claudius753 (2016-11-23 20:23:54)
Offline
I appreciate the steps, it will probably save me time searching for which packages I need. One question though, what is the meaning of step 5? "pacman -S kde kde-l10n-uk".
Next time you don't know what a certain package is or does, try "pacman -Si <package>", it'll give you information about the package
Offline