You are not logged in.
Long story short, I've installed Arch 3 times, but I can't get it to work properly. I followed the beginner's guide with everything that I thought was correct, but I couldn't get it to work. Here is every command I did, with a bit of an explanation:
nano /etc/locale.gen
#Un-comment this en_US.UTF-8 UTF-8
#And this de_DE.UTF-8 UTF-8
locale-gen
export LANG=de_DE.UTF-8
ping google.com
#works, good, if not, I run
dhcpcd
#try again, works, good, if not, well it's always worked after that...
#I've decided to wait until I have a GUI to fully setup networking, as long as it works for this boot it's as good as if I fully set it up
#Because I'm dual booting this, I go ahead and pre partition it using Gparted to make sure I'm not screwing myself over
#Now I'm just making the directories again with Arch to make sure there's no conflicts or anything
mkfs.ext4 /dev/sda5
mkfs.ext /dev/sda7
#Now for swap
mkswap /dev/sda6
swapon /dev/sda6
#Using Legacy BIOS, not UEFI, so I will skip those steps
lsblk -f
#checking to make sure everything is correct
mount /dev/sda5 /mnt
mkdir /mnt/home
mount /dev/sda7 /mnt/home
#not messing with mirrors at the moment, I just want to get it working right.
pacstrap -i /mnt base base-devel
genfstab -U -p /mnt >> /mnt/etc/fstab
nano /mnt/etc/fstab
#It always looks good and looks just like I had planned it to look, so I move on.
arch-chroot /mnt /bin/bash
nano /etc/locale.gen
#uncheck this
en_US.UTF-8 UTF-8
locale-gen
echo LANG=en_US.UTF-8 > /etc/locale.conf
export LANG=en_US.UTF-8
#Leaving clocks, time zones, hostnames, etc all default, just running as root until I can get it working as desired, also leaving network still unconfigured, but working (even tried setting up network using
systemctl enable dhcpcd@interface_name.service one time, but that didn't help)
#I then install grub by doing
pacman -S grub
grub-install --target=i386-pc --recheck /dev/sda
pacman -S os-prober
grub-mkconfig -o /boot/grub/grub.cfg
#At this point I am considered done, so I exit, restart, and use a GRUB liveUSB to get back to my Arch install, as for whatever reason grub has been failing to be detected lately, I'll resolve that later though. I want to get my OS working first.
Once I get back into Arch, I open /etc/pacman.conf and add the appropriate entries as listed above several times (aka [Unity-for-Arch] and [Unity-for-Arch-Extras]). I then run
pacman-key --init
pacman-key --populate archlinux
pacman -Syu/SyyWhen I run pacman -Syu, I get this error:
error: failed to retrieving file 'Unity-for-Arch.db' from dl.dropbox.com : The requested URL returned error 404 Not Found
error: failed to update Unity-for-Arch (download library error)
Unity-for-Arch-Extra
: : Starting full system upgrade...
there is nothing to doNot sure what needs to be done next, but if I can't get a simple install of a package that is confirmed working (by a friend), then I guess I'm going to go looking for another distro. No amount of googling helps me, and I am not sure at all what the issue could be. If more information is needed, I can get it. I am hoping that the issue is that I did not install it correctly, can someone confirm that? Thanks.
Offline
Please post the contents of your /etc/pacman.conf.
What's your arch?
Offline
Thank you for your quick reply.
What do you mean what is my arch?(or is that a signature?) Everything in /etc/pacman.conf is default except for
[Unity-for-Arch]
SigLevel = Optional TrustAll
Server = [url]http://dl.dropbox.com/u/486665/Repos/$repo/$arch[/url]
[Unity-for-Arch-Extra]
SigLevel = Optional TrustAll
Server = [url]http://dl.dropbox.com/u/486665/Repos/$repo/$arch[/url]Last edited by Bugattikid2012 (2014-09-27 00:24:40)
Offline
Arch is i686 or x86_64. Doesn't matter. Remove the url tags from pacman.conf, it should be "Server = http;//address".
Ubuntu makes it quite hard for other distros to use Unity (they patch their packages a lot), so installing it in Arch might not be that easy. https://bbs.archlinux.org/viewtopic.php?id=125423&p=106 mentions recent problems with libgee. The only way to have a non-problematic Unity desktop is to use Ubuntu, I guess.
Last edited by lucke (2014-09-27 00:31:13)
Offline
Lose the url tags in your pacman.conf
Offline
My bad, I copy pasted what was on the wiki, on the real install I don't have the "url" tags (I think). Going to double check anyways.
Offline
Yeah, that's not the issue. I don't have that in my pacman.conf. Sorry about that misunderstanding, I copy pasted that, and apparently it copied a tag also.
Remember that the [Unity-for-Arch-Exras] works, however the [Unity-for-Extras] does not work successfully.
Thanks for the quick help.
Offline
See if "wget http://dl.dropbox.com/u/486665/Repos/Unity-for-Arch/i686/Unity-for-Arch.db" or "wget http://dl.dropbox.com/u/486665/Repos/Unity-for-Arch/x86_64/Unity-for-Arch.db" (depending on your arch) works (it does here). If it does, make sure the line in pacman.conf is indeed right. If it is, see if changing XferCommand to wget in pacman.conf helps. If it doesn't, see what "pacman --debug -Sy" shows.
Offline
To note, I am running an x86-64 system. I will try this shortly.
Offline
Uh, the wget command was not found? Weird... Is there anything I'm forgetting?
wget http://dl.dropbox.com/u/486665/Repos/Unity-for-Arch/x86_64/Unity-for-Arch.db
-bash: wget: command not foundNote I'm running off root, should I chmod in?
Last edited by Bugattikid2012 (2014-09-27 01:12:41)
Offline
If it isn't installed, then "pacman -S wget".
Offline
Weird, I thought it would have searched for it, kinda like Ubuntu does.
Offline
pacman -S wget doesn't work because it failed to prepare transaction (could not find database)
I'll google for the install method of wget.
Offline
Arch doesn't hold your hand like Ubuntu...
Offline
Forget wget, pacman uses curl anyway.
Post your *actual* pacman.conf, not what you're now c&p'ing from the wiki.
Offline
As I've said, it's a straight up default installation, everything should be set to default values except for those two entries that I made. If it's still neccesary, I will try to post that as soon as I get a chance again, which will likely be sometime tomorrow evening. I did some googling and at one time found a command similar to "wget *package domain address*", and it worked properly. I can't be certain which command it was, I'll try arrow uping until I find it, I think it could have been curl, or something related to it. I'll try to find the link that I got it from also.
Offline
As I've said, it's a straight up default installation, everything should be set to default values except for those two entries that I made.
Except those entries you posted were copied from the wiki, not from your conf file. I'd bet money you made a typo in the actual file.
Offline
No, I've checked it countless times. That's the first thing any logical thinking person would think of. I may be new to Arch, but that doesn't mean I'm new to life, and certainly not new to Linux. I will check once more though.
Last edited by Bugattikid2012 (2014-09-27 02:13:26)
Offline
Please don't check it, paste it here. If people who are trying to help you ask you to paste configs, it is both polite and respectful to follow those requests.
Offline
How exactly do I paste it without a DE? I know there are ways to browse the internet without a DE, but none of those are included with Arch by default are they? And if I can't install anything... Back to square one.
Offline
Simplest way is with something like http://sprunge.us/
Offline
So this is basically a dropbox/google drive type program except for text only? Is there anything I need to know about this? Like usage?
Edit: What I mean is, how would I get the text onto a working PC?
Last edited by Bugattikid2012 (2014-09-27 02:24:07)
Offline
It's a pastebin. Use that command, it will give you back a URL. Just give us that URL.
Offline
Ah, sorry. I should've figured that out. I've been running on very low sleep for the past week and I've been very busy. Sorry. I'll test this out tomorrow, I need rest tonight. Thanks all for your help so far.
Offline
Ping? It's been a couple of days, did you solve it already?
Offline