You are not logged in.

#1 2002-08-13 19:38:50

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Handy tip o' the day

You can use the --info switch to see information about a package.

[judd@earth judd]# pacman -Q --info xfree86
Name          : xfree86
Version       : 4.2.0-1
Packager      : Arch Linux (http://www.archlinux.org)
Size          : 118401024
Build Date    : Tue Jul 23 20:34:57 2002 UTC
Install Date  : Fri Jul 26 22:32:23 2002 UTC
Install Script: no
Depends On    : glibc 
Required By   : lesstif gimp ghostscript gtk imagemagick xautolock 
Conflicts With: None
Description   : Freely redistributable implementation of the X Window System

[judd@earth judd]#

If you try it and see a lot of blank fields, it's probably because you installed the package before I added this feature.  If you reinstall the package you should see it.

Offline

#2 2002-08-14 13:50:43

dunbar
Member
From: Central New Hampshire USA
Registered: 2002-08-14
Posts: 106
Website

Re: Handy tip o' the day

Yes, I'd like to see a tip every day, and I'm especially interested it tips that allow use without internet connectivity, as my box has none. lol

Offline

#3 2002-08-14 13:58:06

ody
Member
From: Manchester, UK
Registered: 2002-08-12
Posts: 212
Website

Re: Handy tip o' the day

May be kewl to have the option to tell pacman to point to a cd instead of its default ftp, and add some functionality to maintain package cd's.. neone get what Im saying? ;p

Offline

#4 2002-08-14 15:33:00

Arielext
Member
From: Amersfoort, the Netherlands
Registered: 2002-08-12
Posts: 362
Website

Re: Handy tip o' the day

pacman 1 had that option smile

don't think it's to hard though, mount the cdrom as part of the local ftp / http deamon and point to that.

but having a special local folder bladiebla option would be cool


apt-get install arch

Offline

#5 2002-08-14 17:53:09

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: Handy tip o' the day

Yea, it can be done, but you need a bit of symlink trickery to fool pacman.  You also need the current.db.tar.gz from an Arch ftp server.  This is the actual sync database that pacman uses to calculate dependencies.

This snippet is taken from the Arch setup script, which uses this same technique to perform a cd-based installation:

# set up some symlinks to fool pacman
mkdir -p $DESTDIR/var/cache/pacman && ln -sf /arch/pkg $DESTDIR/var/cache/pacman/pkg
mkdir -p $DESTDIR/var/lib/pacman && ln -sf /etc/pacman/current $DESTDIR/var/lib/pacman/current

The first line symlinks the package directory to pacman's cache directory.  This will prevent pacman from trying to download any packages, since it will find all of them in the cache directory, /var/cache/pacman/pkg.

The second line links the 'current' sync db from /etc/pacman/current to its proper location at /var/lib/pacman/current.  This lets you use 'pacman -S' to install packages with dependencies.

Now this is too much work to be handy to use, so I'll look at adding something to allow access to a local repository.  I'll also have to release a script that lets users build their own sync databases.  Let's say pacman 2.1 or 2.2...  smile

Offline

#6 2002-08-29 14:59:35

dunbar
Member
From: Central New Hampshire USA
Registered: 2002-08-14
Posts: 106
Website

Re: Handy tip o' the day

I posted elsewhere:  Can't install via CDRW, can't get internet on the Linux box. Thus, said pacman trickery will be the option I'd need to use.
;-) Patiently yours. Tired of Spamm

Offline

#7 2002-08-29 15:58:13

Arielext
Member
From: Amersfoort, the Netherlands
Registered: 2002-08-12
Posts: 362
Website

Re: Handy tip o' the day

get pacman 2.1

pacman 2.1 has the option (no trickery needed!)


apt-get install arch

Offline

Board footer

Powered by FluxBB