You are not logged in.

#1 2007-09-17 06:10:25

genix
Member
Registered: 2007-09-17
Posts: 5

pacman is broken on install

After having just installed arch and looking forward to the fantastic job you developers have done with this distro, i was very excited  right up to running pacman.
Every time pacman is run it gives file not found on all the servers,, sometimes,very rarely, it gets maybe one or two files out of the ten it is trying to download. The version is 3.0.5. It does say that the current locale is invalid and will use the default C.
I did see on the main page that pacman3 will need to change all the current to core however on this brand new install
there is no core in pacman.d at all.
I am really very keen to get arch up and running as i think it will be a far better distro for all my C development work than gentoo.
If a developer could get back to me on this it would be truelly appreciated..

Offline

#2 2007-09-17 06:56:29

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: pacman is broken on install

Arch just went through a repository shuffle. See the frontpage for that. In summary: you will need for your mirror to sync fully, then update your pacman and then all the other stuff you have. This is not a bug. You just joined at a bad time. smile It will just take some time to sort itself out. You'll just have to wait

About the locale: http://wiki.archlinux.org/index.php/Locale


Todays mistakes are tomorrows catastrophes.

Offline

#3 2007-09-17 06:59:03

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,410
Website

Re: pacman is broken on install

to get rid of the locale error message, uncomment the locales you want in the file /etc/locale.gen and then run locale-gen .  After running pacman -Syu you should get an upgrade to pacman.  Once this is downloaded got to the folder /etc/pacman.d/ and remove the .pacnew from the end of the file names.  You will probably want to rank the mirrors so one close to you is at the top.  Hopefully that fixes things...

Offline

#4 2007-09-17 07:01:11

genix
Member
Registered: 2007-09-17
Posts: 5

Re: pacman is broken on install

OK no problem, i can wait.
I just tried to pacman -S xorg and it downloaded quite a few of the packages needed but couldnt get others, i then ran it again
and it wanted to download the whole lot of them again is this normal?

Offline

#5 2007-09-17 07:26:51

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: pacman is broken on install

Wait. For. It. To. Sync. tongue


Todays mistakes are tomorrows catastrophes.

Offline

#6 2007-09-17 07:43:31

genix
Member
Registered: 2007-09-17
Posts: 5

Re: pacman is broken on install

haha that was way before i even did a sync.
a pacman -S xorg started to download all the packages and barfed on a few, it then finished and did NOT install x
and no wonder as it only grabbed half of them all the rest it said no such file.
Then AFTER i synced it and did the same it said xorg not sound in sync database
I then did a search for xorg and only got a mouse driver, i tried to pacman -S kdebase and it wouldnt get it because of dependent files, so i did pacman -Sd kdebase and it downloaded it but as you would guess its not going to work without xorg.
Nothing just downloads i cant even get links the text based browser or even an ftp client.

Offline

#7 2007-09-17 07:51:00

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: pacman is broken on install

So your pacman.conf should look something like this:

#
# See the pacman manpage for option directives

#
# GENERAL OPTIONS
#
[options]
LogFile     = /var/log/pacman.log
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#
#[testing]
#Include = /etc/pacman.d/testing

[core]
# Add your preferred servers here, they will be used first
Server = ftp://ftp.sixnix.net/pub/archlinux/core/os/i686
Include = /etc/pacman.d/current

[extra]
# Add your preferred servers here, they will be used first
Server = ftp://ftp.sixnix.net/pub/archlinux/extra/os/i686
Include = /etc/pacman.d/extra

[community]
# Add your preferred servers here, they will be used first
Server = ftp://ftp.sixnix.net/pub/archlinux/community/os/i686
Include = /etc/pacman.d/community

[unstable]
# Add your preferred servers here, they will be used first
Server = ftp://ftp.sixnix.net/pub/archlinux/unstable/os/i686
Include = /etc/pacman.d/unstable

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs

then repos will work.

First do pacman -Syu to get new packagelist and upgrade packages then do:

pacman -Ss xorg and install the packages individually that you need.

pacman -S xorg doesnt work anymore i think, since some dev apparently thought that it would be too easy to install that way and now you need to install xorg packages manually.

search the forum for a post and instructions regarding that smile

Offline

#8 2007-09-17 07:54:48

genix
Member
Registered: 2007-09-17
Posts: 5

Re: pacman is broken on install

Thats exactly what it looks like ( except there is NO current its now CORE ) and thats exactly what i have done, like i said its broken
Oh and your dev didnt just decide that, it's beause it has become .. modular

Last edited by genix (2007-09-17 07:57:19)

Offline

#9 2007-09-17 08:00:44

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,007

Re: pacman is broken on install

It looks like sixnix.net is now synced, try again .

Pacman -Syu should tell you that there's a new pacman version 3.06-1 .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#10 2007-09-17 08:12:52

genix
Member
Registered: 2007-09-17
Posts: 5

Re: pacman is broken on install

heh yea, thanks lonewolf it has finally synced, just took a couple of syncs first install was technically broke as it was pre 3.0.6
then syncing updatd pacman, then another sync to actually update the db, thanks to allan and mucknert as well.

Offline

#11 2007-09-17 13:20:20

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: pacman is broken on install

genix wrote:

heh yea, thanks lonewolf it has finally synced, just took a couple of syncs first install was technically broke as it was pre 3.0.6
then syncing updatd pacman, then another sync to actually update the db, thanks to allan and mucknert as well.

When we say "wait for it to sync" we don't mean "run pacman -Sy", we mean "your mirror is out of date, please be patient and allow it to grab all the new packages, this might take a while."

Pacman 3.0.6 doesn't have anything to do with it, it's just about being patient and letting your mirror grab the packages that were shuffled around in the repo move.

pacman -S xorg doesnt work anymore i think, since some dev apparently thought that it would be too easy to install that way and now you need to install xorg packages manually.

No need to be snarky - we obviously didn't remove the dummy xorg package because "it was too easy to install".  We'll be introducing an xorg group that will allow pacman -S xorg to work again.

Offline

#12 2007-09-17 18:43:39

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,007

Re: pacman is broken on install

Cerebral wrote:

When we say "wait for it to sync" we don't mean "run pacman -Sy", we mean "your mirror is out of date, please be patient and allow it to grab all the new packages, this might take a while."

Pacman 3.0.6 doesn't have anything to do with it, it's just about being patient and letting your mirror grab the packages that were shuffled around in the repo move.

The reason i mentioned pacman 3.0.6 was that when i posted it , it was the most recent package uploaded.
Imo the mirror was likely to be fully synced when it had that package.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#13 2007-09-17 18:51:35

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: pacman is broken on install

Lone_Wolf wrote:

The reason i mentioned pacman 3.0.6 was that when i posted it , it was the most recent package uploaded.
Imo the mirror was likely to be fully synced when it had that package.

Eh, fair enough - that's decent reasoning.

Offline

Board footer

Powered by FluxBB