1PKGENPACK(1)                    [FIXME: manual]                   PKGENPACK(1)
2
3
4

NAME

6       pkgenpack - PackageKit Pack Generator
7

SYNOPSIS

9       pkgenpack [--help] [--verbose] [--with-package-list] [--output]
10                 [--package] [--updates]
11

DESCRIPTION

13       This manual page documents briefly the pkgenpack command.
14
15       pkgenpack is the command line client for PackageKit for creating
16       service packs.
17

WHAT IS A SERVICE PACK?

19       A service pack is a tarball which contains a set of packages and their
20       dependencies. The user can reduce the dependencies to be packed using
21       the --with-package-list option. Along with the dependencies, a service
22       pack has a file named metadata.conf which contains the information
23       about the distribution and creation date of the pack.
24

CREATING A SERVICE PACK?

26       A service pack is created using the command pkgenpack.
27

OPTIONS

29       This program follows the usual GNU command line syntax, with long
30       options starting with two dashes (`-´). A summary of options is
31       included below.
32
33       --help
34           Show summary of options.
35
36       --verbose
37           Show extra debugging information.
38
39       --with-package-list
40           Set the filename of dependencies to be excluded.
41
42           Generally, the file list of packages is generated when doing a
43           PackageKit refresh on the target system. If not specified,
44           pkgenpack uses /var/lib/PackageKit/system.package-list by default.
45
46       --output
47           The directory to put the pack file, or the current directory if
48           omitted.
49
50       --package
51           The package to be put into the ServicePack.
52
53       --update
54           Put all updates available in the ServicePack.
55

NAMING A SERVICE PACK

57       The only valid extension for a service pack is ".servicepack".
58

EXAMPLES

60       1. Tim is facing problems with his Internet connection at home. He
61       needs a service pack with valgrind and it´s dependencies for his
62       system. He asks James to generate a pack for him. Both know James´s
63       system should contain similar packages as Tim´s system, as both of them
64       have installed Fedora 9 two days ago.
65
66       James simply runs:
67
68           [james@jamesbook:~]$ pkgenpack --output=/media/USB/TimPacks --package=valgrind
69
70       This generates a file
71       /media/USB/TimPacks/valgrind-fedora-9-i686.servicepack on the USB key
72       Tim gave to James. Tim can now go home, insert the USB key and double
73       clicks on the valgrind-fedora-9-i686.servicepack file to be prompted to
74       install these packages.
75
76       2. Bill wants to create a service pack named
77       kdegames-fedora-9-i686.servicepack for his new system which does not
78       have an internet connection. He generates a list of packages on his
79       system using pkcon list-create and copies that list to his USB key. He
80       then gives that USB to Rishi who has a good internet connectivity.
81       Rishi runs the following command on his system:
82
83           [rishi@devils-temple:~]$ pkgenpack --with-package-list=/media/USB/bill.package-list \
84                                              --output=/home/rishi/Desktop --program=kdegames
85
86       This generates a service pack, kdegames-fedora-9-i686.servicepack, on
87       Rishi´s Desktop, which can be distributed to Bill and users with
88       similar requirements.
89

INSTALLING A SERVICE PACK

91       Service Packs can be installed using pkcon. For example:
92
93           [hacker@tim-lounge:~]$ pkcon install /media/USB/TimPacks/valgrind-fedora-9-i686.servicepack
94

SEE ALSO

96       pkmon (1).  pkcon(1).
97

AUTHOR

99       This manual page was written by Shishir Goel crazyontheedge@gmail.com
100       and Richard Hughes richard@hughsie.com.
101
103       Copyright © 2008 Shishir Goel
104
105
106
107[FIXME: source]                  31 July,2008                     PKGENPACK(1)
Impressum