You are not logged in.

#1 2006-09-06 22:07:27

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Create pkg info file(solved)

Need to create a pkg info file to accompany a group of pkgs.

Is there a procedure for this function?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#2 2006-09-06 22:10:26

toxic
Member
Registered: 2006-06-05
Posts: 117

Re: Create pkg info file(solved)

Are you looking at a PKGBUILD file as ones used in /var/abs ?

I guess you could always fill the config file for one program, then add the other packages under dependencies.

Or why just not tar all packages into a single file, then add all their dependencies  PKBUILD, and finally enhance the build process to build all packages at once.

If you're looking at something completely different ..  Then I'm not quite sure I follow ..

Offline

#3 2006-09-06 22:42:03

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Create pkg info file(solved)

Desire to make a pkg info file for a pkg group which includes dependencies which will be recognized by pacman in upgrading from a local repository, not from ftp or abs or pkgbuild.

Pacman requests such a file to perform the upgrade for these packages.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#4 2006-09-06 23:04:13

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Create pkg info file(solved)

RUnning gensync on the repo will generate a file called <reponame>.db.tar.gz - is that what you're looking for?

gensync --help

for more details.

Offline

#5 2006-09-06 23:24:54

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Create pkg info file(solved)

tomk;

I have a pkg with all dependencies in pkg.tar.gz format in a directory called /two.

I ran pacman -Uf as follows;

=============================================================
[root@n6re two]# pacman -Uf digikam-0.8.2-1.pkg.tar.gz
loading package data... done.
error: unsatisfied dependencies:
  digikam: requires sqlite3
  digikam: requires libkexif
  digikam: requires libkipi
  digikam: requires libexif
  digikam: requires libgphoto2
  digikam: requires imlib
=========================================================

Running ......pacman -U /mnt/sda1/two   .........produces.................>>>>>>>>>>>>>
==========================================================
[root@n6re ~]# pacman -U /mnt/sda1/two
loading package data... load_pkg: missing package info file in /mnt/sda1/two

[root@n6re ~]#
===========================================================

The referenced dependencies are included in /two.

Perhaps I need to generate a custom setup?

I will check out gensync -help.

Thanks


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#6 2006-09-07 02:49:23

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Create pkg info file(solved)

pacman -U /mnt/sda1/two/*
might work. If not, you'll need to explicitely install  all the dependencies before installing digikam. That's the simplest way to do it. Using gensync will work too.

Offline

#7 2006-09-07 06:12:29

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Create pkg info file(solved)

Remember, pacman always checks for dependencies, but only pacman -S installs them automatically. If you do decide to use gensync, make sure to add your custom repo at the top of the list in /etc/pacman.conf.

Offline

#8 2006-09-07 14:56:57

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Create pkg info file(solved)

Right on, gents.

Found that the order of install is paramount and probably I should run pacman as root.

Was successful in getting packages installed and icons shown in KDE.

However, seamonkey and mozilla-firefox do not connect to internet.

Opera performs correctly and am using same for this post.

Openoffice was installed but no icon appears in KDE.

I find that dependencies listed in archlinux repository often differ from those listed when I run :  pacman -U (file.pkg.tar.gz)....for a given pkg.

This experiment involves installing packages from a secure digital flash card into a Live Larch DVD in copy-to-ram setup. 
I intend to compartmentalize the packages with dependencies and generate a click-and-drag command-line entry to enable loading of the desired package from the secure digital card source.

Thanks for the encouragement and some progress has resulted. 8)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#9 2006-09-10 20:59:33

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Create pkg info file(solved)

One last comment on the procedure I adopted to perform the install of pkgs from the secure digital card.

I gathered the required dependencies along with the main pkg in  folders named one,two three,etc.

Then to install the pkgs:

      pacman -U /mnt/sda1_rmv/one/*.pkg.tar.gz


This installs the pkgs within folder ONE....repeat for desired folder number.

Thanks again for the advice, gents big_smile


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB