You are not logged in.

#1 2006-12-31 12:44:03

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

pacman help needed

I installed Arch 0.8 current and as sugested by the installed I installed just the basic system.
I copied all the package files from the CD to /pkg directory.
I edited the pacman.conf file with custom section to Server:file///pkg
Now after executing pacman -Sy command I can not install X which asks for a lot of dependent files as a chain.

Is there any simple way to install X.

I have been out of touch with Arch for quite some time.


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#2 2006-12-31 12:48:20

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: pacman help needed

The Install CD has no X package for my knowleage

Why you copy the packages to pkg?

The only thing you must do, ist to set up your internet connection and do

pacman -Sy

and

pacman -S $package

Have you tried to turn it off and on again?

Offline

#3 2006-12-31 12:55:01

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: pacman help needed

OK! Just I wanted to install from the CD. That'swhy I copied all the files from the CD.
I remember having all the xserver files in the Cd.
And even the installer has a n option to select them.

Anyhow as I am in urgent need of getting x working, let me have the command for setting up x.
Will pacman -Sy and
pacman -S X will do?


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#4 2006-12-31 12:56:17

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: pacman help needed

And the worst part of it, Arch doesn't have a CLI browser like lynx,links,elinks by default (Or am I lacking in installing that from the setup CD ?)


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#5 2006-12-31 13:01:40

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: pacman help needed

pacman -S xorg

Have you tried to turn it off and on again?

Offline

#6 2006-12-31 13:08:58

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: pacman help needed

Well... there are two ways to get X running.

First one, as fk mentioned, is to setup your internet connection that you can easily install packages via pacman from the repositories.

The second one is a little more complicated and somehow useless if you connect the computer to the internet anyway (in order to use pacman) but:
You can disable the internet repositories and set up a local repository consisting of the packages from the install cd.
This only makes sense if you've downloaded the current and not just the base install cd because otherwise there are no packages that are not already installed.

Then you have to edit the /etc/pacman.conf and comment all lines out that need an internet connection. Thats all except the last one. So this:

[current]
Server = ftp://foobar.foo/bar/

for example becomes

#[current]
#Server = ftp://foobar.foo/bar/

As well as the other entries.

Then you have to set the last repository to point to your cd or to pkg/ as you said:

[custom]
Server = file:///mnt/cd

After using this command:

pacman -Sy

You should be able to use the local repository and just install X via:

pacman -S xorg

But well... I really recommend to stuck to fk's way if theres no particular reason given not to do.


Hail to the thief!

Offline

#7 2006-12-31 13:09:22

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: pacman help needed

Just now I had the wiki page on xorg saved.
I will try to install xorg soon since I am now in Puppy.
Hope I wud get thro' successfully.

Thanks and wish u a happy new year 2007


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#8 2006-12-31 13:52:49

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: pacman help needed

harlekin wrote:

Well... there are two ways to get X running.
You can disable the internet repositories and set up a local repository consisting of the packages from the install cd.

Then you have to edit the /etc/pacman.conf and comment all lines out that need an internet connection. Thats all except the last one.
Then you have to set the last repository to point to your cd or to pkg/ as you said:

[custom]
Server = file:///mnt/cd

After using this command:

pacman -Sy

You should be able to use the local repository and just install X via:

pacman -S xorg

But well... I really recommend to stuck to fk's way if theres no particular reason given not to do.

I tried that !
And promptly got this error msg:

"error: Could not open sync database: custom
have you used --refresh yet ? "

I have already commented out all the lines that need a net connection.
And in /etc/pacman.d/ directory I don't find an entry for "custom" but it has files for community, current etc.


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

Board footer

Powered by FluxBB