You are not logged in.

#1 2004-03-01 22:51:31

jimdaworm
Member
Registered: 2004-02-29
Posts: 17

Local install of packages, no dependency resolving.

Hey guys just like to say HI!  I am pretty new to Linux (been using it for about 4 months now) Started on Red Hat and Mandrake (for about 3 weeks) since then I have been using Slackware...

I read about Arch linux on linuxquestions.org (Another great forum)

I have installed Version 0.5 base the base package.  It looks wicked I love the idea you choose exactly what you want to install!! Now I have decided to Gnome... but am having a great time going round in circles as everything requires other as a dependency!!

I have tried to setup pacman so that is resolves depencencies for me I have coppied all the package files from the cd to a directory /usr/src/packages
I then tried pacman --sync (which I thought was for updating the database for packages for pacman)

Anway it doesn´t work ... anyone have any idea of what stupid mistake I have made??

Here is my pacman.conf incase it helps.

#etc/pacman.conf
# See the pacman manpage for option directives
# GENERAL OPTIONS
#
[options]
NoUpgrade = etc/passwd etc/group etc/shadow
NoUpgrade = etc/fstab etc/rc.conf etc/rc.local
NoUpgrade = etc/lilo.conf etc/raidtab
#IgnorePkg = lilo gcc

# REPOSITORIES

[current]
Server = local:///usr/src/packages
#Server = ftp://ftp.archlinux.org/current
#Server = ftp://ftp.ibiblio.org/pub/linux/distrib … ux/current
#Server = ftp://ftp.webtrek.com/pub/mirrors/archlinux/current
#Server = ftp://ftp.mpi-sb.mpg.de/pub/linux/mirro … ux/current
#Server = ftp://ftp.oit.unc.edu/pub/Linux/distrib … ux/current
#Server = ftp://ftp.tu-chemnitz.de/pub/linux/suns … ux/current
#Server = ftp://ftp.parrswood.net/Mirrors/ftp.arc … rg/current
#Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/current
#Server = ftp://saule.mintis.lt/pub/linux/current
#Server = ftp://ftp.rez-gif.supelec.fr/pub/Linux/ … ux/current

# If you use the 'stable' tree, you should disable the 'current'
# tree to avoid conflicts
#
#[stable]
#Server = ftp://ftp.archlinux.org/stable
#Server = ftp://ftp.ibiblio.org/pub/linux/distrib … nux/stable
#Server = ftp://ftp.webtrek.com/pub/mirrors/archlinux/stable
#Server = ftp://ftp.mpi-sb.mpg.de/pub/linux/mirro … nux/stable
#Server = ftp://ftp.oit.unc.edu/pub/Linux/distrib … nux/stable
#Server = ftp://ftp.tu-chemnitz.de/pub/linux/suns … nux/stable
#Server = ftp://ftp.parrswood.net/Mirrors/ftp.arc … org/stable
#Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/stable
#Server = ftp://saule.mintis.lt/pub/linux/stable
#Server = ftp://ftp.rez-gif.supelec.fr/pub/Linux/ … nux/stable

# Uncomment this block to access the 'unofficial' package set
#
#[unofficial]
#Server = ftp://ftp.ibiblio.org/pub/linux/distrib … unofficial
#Server = ftp://ftp.webtrek.com/pub/mirrors/archlinux/unofficial
#Server = ftp://ftp.archlinux.org/unofficial
#Server = ftp://ftp.mpi-sb.mpg.de/pub/linux/mirro … unofficial
#Server = ftp://ftp.oit.unc.edu/pub/Linux/distrib … unofficial
#Server = ftp://ftp.tu-chemnitz.de/pub/linux/suns … unofficial
#Server = ftp://ftp.parrswood.net/Mirrors/ftp.arc … unofficial
#Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/unofficial
#Server = ftp://saule.mintis.lt/pub/linux/unofficial
#Server = ftp://ftp.rez-gif.supelec.fr/pub/Linux/ … unofficial

# Uncomment this block to access the 'unstable' package set
#
#[unstable]
#Server = ftp://ftp.ibiblio.org/pub/linux/distrib … x/unstable
#Server = ftp://ftp.webtrek.com/pub/mirrors/archlinux/unstable
#Server = ftp://ftp.archlinux.org/unstable
#Server = ftp://ftp.mpi-sb.mpg.de/pub/linux/mirro … x/unstable
#Server = ftp://ftp.oit.unc.edu/pub/Linux/distrib … x/unstable
#Server = ftp://ftp.tu-chemnitz.de/pub/linux/suns … x/unstable
#Server = ftp://ftp.parrswood.net/Mirrors/ftp.arc … g/unstable
#Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/unstable
#Server = ftp://saule.mintis.lt/pub/linux/unstable
#Server = ftp://ftp.rez-gif.supelec.fr/pub/Linux/ … x/unstable

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

Thanks
Adam


¿Pero, Por que?

Offline

#2 2004-03-01 23:13:13

jlowell
Member
Registered: 2003-08-10
Posts: 270

Re: Local install of packages, no dependency resolving.

Hello, Adam!

Wellcome to Arch!

I think we have some good news for you: It won't be necessary to copy any package files; pacman configured and updated properly will get you where you want to go as is, dependency checking included. You're used to Slack and its limitations. There's greater freedom and flexibility with Arch and pacman.

Actually, you may want to start all over again. Our new release 0.6 was made available just today and, at this point, my sense of things would be that you'd probably be better off to reinstall using 0.6. It'll take you just as long or longer with 0.5 to update the packages to current versions anyway.

I'm going to encourage you to read the installation documentation which you can find at the site. It gives detailed information concerning the proper proceedure for synchronizing and updating pacman. Additionally, it goes to some length describing our package build system and how it works. So take a look at this and any related material before starting in.

Good luck! Write again if you need help.

jlowell

Offline

#3 2004-03-02 00:20:18

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Local install of packages, no dependency resolving.

if you are trying to maintain a local package database (which is only necessary if you have limited bandwith or the computer using arch is not connected to the internet) then you should read the pacman manpage. in there it will explain how to setup a local repository complete with dependency solving.


AKA uknowme

I am not your friend

Offline

#4 2004-03-02 17:42:36

jimdaworm
Member
Registered: 2004-02-29
Posts: 17

Re: Local install of packages, no dependency resolving.

Hey guys thanks for the welcome I am  trying to maintain a local package database as I have a very slow connection at home and fibre at work.

I read the archlinux install manual which had a section that told me edit my pacman.conf as below and then do pacman --sync I have done all of that but still doesn´t work sad

# REPOSITORIES
[current]
Server = local:///usr/src/packages

I will try reading the  pacman manpage thanks again guys!  Oh yeah jlowell I installed 0.6 today  wink

Adam


¿Pero, Por que?

Offline

#5 2004-03-02 18:10:44

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Local install of packages, no dependency resolving.

if you have run abs you should have a /var/abs/local directory. copy all of the build directories there for the packages you have in /usr/src/packages.  please note the versions of the builds and packages MUST match. then you synce the two directories and that will create a tarballed database of your repository. once this is done you set up your pacman.conf in such a way as to NOT sync with the official repositories (unless you really want to but  if you have limited bandwidth you likely do not)

then you can run pacman -Syu and that will sync and upgrade your packages. as well you can so a standard pacman -S packagename and it will install that package with dependency solving (providing you have the necessary dependent packages in your repository). despite your running a local repository you SHOULD connect at least for updating your abs directory. this would not use much bandwidth and even with a slow connection should finish fairly quickly.

please note this is a very short version of what you need to do for more specifics (such as for syncing your directories to create a package database) please see the pacman manpage (that is as long as the pacman manpage is the pacman manpage again smile  )


AKA uknowme

I am not your friend

Offline

#6 2004-03-02 19:02:38

jimdaworm
Member
Registered: 2004-02-29
Posts: 17

Re: Local install of packages, no dependency resolving.

Hey sarah31 thanks for all the tips!  Thats wicked but I am going to go and read this manual anyway.

Just two things... what is abs? and just to check man pacman should open up the pacman man pages right??

Anway I think I should be sweet for now... I will do some reading and get back to you guys with how I get on!

Adam


¿Pero, Por que?

Offline

#7 2004-03-02 19:09:08

jimdaworm
Member
Registered: 2004-02-29
Posts: 17

Re: Local install of packages, no dependency resolving.

Ok I just answered my own questions!  wink
http://www.archlinux.org/docs/en/faq/ge … 0000000000

Adam


¿Pero, Por que?

Offline

Board footer

Powered by FluxBB