You are not logged in.

#1 2013-01-17 17:42:19

malak33
Member
From: amish country, PA
Registered: 2013-01-17
Posts: 12

[SOLVED]Installation problems

Hi there,

Well that was the best question i ever have seen to keep bots away. I am a aspiring sysadmin studying for my RHCSA exam. I thought that arch would be a good tool to use to further my studying and experince with linux. So i am trying to install Arch. I am following the beginners' guide https://wiki.archlinux.org/index.php/Beginners%27_Guide

I get down to the step where pacstrap is used, i run the command
pacstrap -i /mnt base base-devel

i get back a ton of errors, i tried solving it myself, i cannot seem to understand what is wrong. I have tried using
sorting mirrors- https://wiki.archlinux.org/index.php/Mi … ng_mirrors
and many other hits on google.

i have also edited /etc/pacman.conf to this
SigLevel = Never

FYI this is in a virtualbox machine, i'm at work, behind a proxy. My network adapter is set to bridged.
Yes i added the proxy following this - https://wiki.archlinux.org/index.php/Proxy_settings
right now I'm at a fresh install of Arch only following the documentation.

I have no problems installing anything using yum on any of my centos machines.
i can ping www.google.com

errors:
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
::synchronizing package databases...
error: could not open file /mnt/var/lib/pacman/sync/core.db:    Unrecongnized archive format
error: could not open file /mnt/var/lib/pacman/sync/extra.db:    Unrecongnized archive format
error: could not open file /mnt/var/lib/pacman/sync/community.db:    Unrecongnized archive format
error: could not open file /mnt/var/lib/pacman/sync/core.db:    Unrecongnized archive format
error: could not open file /mnt/var/lib/pacman/sync/extra.db:    Unrecongnized archive format
error: could not open file /mnt/var/lib/pacman/sync/community.db:    Unrecongnized archive format
error: could not open file /mnt/var/lib/pacman/sync/core.db    Unrecongnized archive format
error: could not open file /mnt/var/lib/pacman/sync/extra.db:    Unrecongnized archive format
error: could not open file /mnt/var/lib/pacman/sync/community.db:    Unrecongnized archive format
error: target not found: base
==> ERROR: Failed to install packages to new root

Last edited by malak33 (2013-01-18 20:09:24)

Offline

#2 2013-01-17 18:01:03

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,071

Re: [SOLVED]Installation problems

what installation media are you using? and are you sure you set up the proxy correctly with username and password (if any) for both http and https ?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2013-01-17 18:01:33

chris_l
Member
Registered: 2010-12-01
Posts: 387

Re: [SOLVED]Installation problems

malak33 wrote:

I have no problems installing anything using yum on any of my centos machines.
i can ping www.google.com

meaning that you can ping google on arch, or that you can ping under centos?
that errors occur because the database does not exist and is not creating it. I have only see that happen when it has no network connection.


"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.

Offline

#4 2013-01-17 18:23:38

malak33
Member
From: amish country, PA
Registered: 2013-01-17
Posts: 12

Re: [SOLVED]Installation problems

Inxsible wrote:

what installation media are you using? and are you sure you set up the proxy correctly with username and password (if any) for both http and https ?

I'm using archlinux-2013.01.04-dual.iso

yes i double checked my terminal history i entered everything correctly for http and https, we dont use usernames or passwords here

Offline

#5 2013-01-17 18:25:35

malak33
Member
From: amish country, PA
Registered: 2013-01-17
Posts: 12

Re: [SOLVED]Installation problems

chris_l wrote:
malak33 wrote:

I have no problems installing anything using yum on any of my centos machines.
i can ping www.google.com

meaning that you can ping google on arch, or that you can ping under centos?
that errors occur because the database does not exist and is not creating it. I have only see that happen when it has no network connection.

i mean i can ping google, yahoo, and cnn under arch. i can see how that could have been confusing, sorry.

Offline

#6 2013-01-17 18:28:16

Blasphemist
Member
Registered: 2013-01-17
Posts: 40

Re: [SOLVED]Installation problems

Did you ping google then? That checks that you have a net connection and name resolution. All that is needed for a normal install before pacstrap is ready partitions and a network connection. Selecting the closest mirror makes it as fast as possible. The only other thing I can think of the VM. I haven't installed in one.

Offline

#7 2013-01-17 18:49:01

malak33
Member
From: amish country, PA
Registered: 2013-01-17
Posts: 12

Re: [SOLVED]Installation problems

i mean i can ping google, yahoo, and cnn while under arch.

Offline

#8 2013-01-17 19:38:32

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 18,761
Website

Re: [SOLVED]Installation problems

malak33 wrote:

error: could not open file /mnt/var/lib/pacman/sync/core.db:    Unrecongnized archive format

I blame Allan...


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#9 2013-01-17 20:03:10

malak33
Member
From: amish country, PA
Registered: 2013-01-17
Posts: 12

Re: [SOLVED]Installation problems

i do not know this Allan person but he sounds like a scumbag...

so i got pacman to connect to the repos using these
uncommenting the XferCommand in pacman.conf https://bbs.archlinux.org/viewtopic.php?id=67885
inputting proxy variables in /etc/wgetrc https://bbs.archlinux.org/viewtopic.php?id=117155

however i am still getting the unrecognized archive format errors like before, any ideas?

Offline

#10 2013-01-17 20:06:13

chris_l
Member
Registered: 2010-12-01
Posts: 387

Re: [SOLVED]Installation problems

malak33 wrote:

i do not know this Allan person but he sounds like a scumbag...

lmao

Meet Allan: https://www.archlinux.org/developers/#allan.

And welcome to Arch linux, a distro based on the goverment system called "allanocracy"

Last edited by chris_l (2013-01-17 20:07:19)


"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.

Offline

#11 2013-01-17 20:07:13

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 18,761
Website

Re: [SOLVED]Installation problems

Paste your pacman.conf and mirrorlist to a bin site and link to them from here...


Allan is one of the pacman dev's and his spelling is notoriously suspect. smile


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#12 2013-01-17 21:47:59

malak33
Member
From: amish country, PA
Registered: 2013-01-17
Posts: 12

Re: [SOLVED]Installation problems

FYI i typed these by hand so I'm sure i missed something

Here is the url for pacman.conf
http://pastebin.com/wvjjVByT

here is the url for mirrorlist
http://pastebin.com/zagg31Vv

Offline

#13 2013-01-17 22:42:28

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 18,761
Website

Re: [SOLVED]Installation problems

Does that mean the errors you posted above are also hand-typed?

Well, they both look OK. Rather than typing by hand, use sprunge...

You could try clearing the cache with pacman -Scc and then rerunning pacstrap.


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#14 2013-01-18 00:19:01

malak33
Member
From: amish country, PA
Registered: 2013-01-17
Posts: 12

Re: [SOLVED]Installation problems

yes, the errors i posted were also hand typed.
looked up sprunge, it looks freaking awesome. along with the bible of applications that i want to install and play with. hehehe

i ran pacman -Scc
then reran pacstrap command......no dice more errors.

I have a head cold right now, my brain hurts this is enough for me today. I'll come back to this tomorrow.

errors errors everywhere

Offline

#15 2013-01-18 02:10:43

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,662

Re: [SOLVED]Installation problems

How did you create the installation media? Did you check the checksum of the downloaded iso?


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

#16 2013-01-18 03:59:19

malak33
Member
From: amish country, PA
Registered: 2013-01-17
Posts: 12

Re: [SOLVED]Installation problems

I got home and this whole thing doesn't make any sense to me at all, it was driving me insane.
So i started up my centos server at my house downloaded the *arch*.iso and started it up in a VM; KVM actually.

Anyway i got all the way to the same point typed in the
pacstrap -i /mnt base base-devel
and it worked like a charm!
WOOT!

So to me it sounds like it is my network at work? Could the firewall be blocking something? That is really all i can think of at this point. It is not the proxy.
Also i would like to play with Arch at work too.

Should i install arch on a usb stick? would that work? could i install usb stick in work laptop bring up a vm and play in arch?

I never tried to do this thats why i ask; thoughts, comments, opinions?
Thanks,

Offline

#17 2013-01-18 19:31:17

malak33
Member
From: amish country, PA
Registered: 2013-01-17
Posts: 12

Re: [SOLVED]Installation problems

So it was the ISA server that was blocking the repos. Maybe this can help someone in the future. You can go ahead and mark this as solved. Thanks

Offline

#18 2013-01-18 19:42:40

chris_l
Member
Registered: 2010-12-01
Posts: 387

Re: [SOLVED]Installation problems

You are the one who should mark it as solved - edit the title of the first post.

What's ISA?


"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.

Offline

#19 2013-01-18 20:10:31

malak33
Member
From: amish country, PA
Registered: 2013-01-17
Posts: 12

Re: [SOLVED]Installation problems

Thanks, i was looking for a solved button to check.
this is what the isa server is.
http://en.wikipedia.org/wiki/Microsoft_ … nt_Gateway

Offline

Board footer

Powered by FluxBB