FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 07-05-2011, 08:44 AM
 
Default build self-contained repository for offline use

----- Mail Original -----
> De: "Hamish Moffatt" <hamish@debian.org>
> Objet: build self-contained repository for offline use
>
> I need to build a repository to allow some specified packages to be
> installed on computers without internet access. It needs to contain the
> specified packages plus any dependencies (new packages and new versions)
> from squeeze plus other repositories such as squeeze backports and some
> local ones.

Wouldn't that suite your needs:
http://wiki.debian.org/DebianCustomCD

Regards, T.


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 842294701.2137461309855464875.JavaMail.root@zimbra 17-e3.priv.proxad.net">http://lists.debian.org/842294701.2137461309855464875.JavaMail.root@zimbra 17-e3.priv.proxad.net
 
Old 07-05-2011, 09:09 AM
Roland Mas
 
Default build self-contained repository for offline use

Hamish Moffatt, 2011-07-05 03:59:59 -0400 :

> I need to build a repository to allow some specified packages to be
> installed on computers without internet access. It needs to contain the
> specified packages plus any dependencies (new packages and new versions)
> from squeeze plus other repositories such as squeeze backports and some
> local ones.

[...]

I haven't investigated apt-clone in depth yet, but its package
description sounds like it could help.

Roland.
--
Roland Mas

Bee There Orr Bee A Rectangular Thyng!
-- in Soul Music (Terry Pratchett)


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87iprhp00c.fsf@mirexpress.internal.placard.fr.eu.o rg">http://lists.debian.org/87iprhp00c.fsf@mirexpress.internal.placard.fr.eu.o rg
 
Old 07-05-2011, 09:23 AM
Mehdi Dogguy
 
Default build self-contained repository for offline use

On 05/07/2011 09:59, Hamish Moffatt wrote:
> I need to build a repository to allow some specified packages to be
> installed on computers without internet access. It needs to contain the
> specified packages plus any dependencies (new packages and new versions)
> from squeeze plus other repositories such as squeeze backports and some
> local ones.
>
> I want to include everything beyond a basic squeeze install. (Ideally I
> can feed in a list of stuff to be excluded.)
>
> Does anyone know a tool/process for doing this?
>

http://aptoncd.sourceforge.net/ might be what you are looking for.

HTH,

--
Mehdi Dogguy مهدي الدڤي
mehdi@{dogguy.org,debian.org}


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4E12D80A.3060704@debian.org">http://lists.debian.org/4E12D80A.3060704@debian.org
 
Old 07-05-2011, 08:52 PM
Paul Wise
 
Default build self-contained repository for offline use

One of apt-zip/aptoncd/apt-offline might meet your needs.

--
bye,
pabs

http://wiki.debian.org/PaulWise


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAKTje6G11SMho1Mo2fZuK63FAXtz-QqWY8yxPte67rN-nhOVAg@mail.gmail.com">http://lists.debian.org/CAKTje6G11SMho1Mo2fZuK63FAXtz-QqWY8yxPte67rN-nhOVAg@mail.gmail.com
 
Old 07-06-2011, 08:11 AM
Hamish Moffatt
 
Default build self-contained repository for offline use

On Tue, Jul 05, 2011 at 10:52:02PM +0200, Paul Wise wrote:
> One of apt-zip/aptoncd/apt-offline might meet your needs.

Thanks all for the replies. I checked out apt-zip, apt-offline, aptoncd,
CDD and apt-clone. None of them really suited my needs, as I want to
generate this repository automatically, and want to do a whole class of
target systems which will have a baseline set of packages installed.

Anyway I've found it's pretty easy to roll my own using python-apt and
configuring apt to use alternate locations for the cache, dpkg status
file etc. I feed in the dpkg status file from my baseline install, a
sources.list and a list of packages I want to be installable, and I can
easily download the files. Then use apt-ftparchive to generate the
metadata and I'm done.


thanks,
Hamish


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110706081123.GA19261@risingsoftware.com">http://lists.debian.org/20110706081123.GA19261@risingsoftware.com
 
Old 07-06-2011, 08:15 AM
Benjamin Drung
 
Default build self-contained repository for offline use

Am Mittwoch, den 06.07.2011, 04:11 -0400 schrieb Hamish Moffatt:
> On Tue, Jul 05, 2011 at 10:52:02PM +0200, Paul Wise wrote:
> > One of apt-zip/aptoncd/apt-offline might meet your needs.
>
> Thanks all for the replies. I checked out apt-zip, apt-offline, aptoncd,
> CDD and apt-clone. None of them really suited my needs, as I want to
> generate this repository automatically, and want to do a whole class of
> target systems which will have a baseline set of packages installed.
>
> Anyway I've found it's pretty easy to roll my own using python-apt and
> configuring apt to use alternate locations for the cache, dpkg status
> file etc. I feed in the dpkg status file from my baseline install, a
> sources.list and a list of packages I want to be installable, and I can
> easily download the files. Then use apt-ftparchive to generate the
> metadata and I'm done.

If you have enough bandwidth and disk space, you could use apt-mirror to
store a complete mirror locally (takes around 30 GB for one
architecture).

--
Benjamin Drung
Debian & Ubuntu Developer
 
Old 07-06-2011, 09:54 PM
Paul Wise
 
Default build self-contained repository for offline use

On Wed, Jul 6, 2011 at 10:11 AM, Hamish Moffatt wrote:

> Thanks all for the replies. I checked out apt-zip, apt-offline, aptoncd,
> CDD and apt-clone. None of them really suited my needs, as I want to
> generate this repository automatically, and want to do a whole class of
> target systems which will have a baseline set of packages installed.
>
> Anyway I've found it's pretty easy to roll my own using python-apt and
> configuring apt to use alternate locations for the cache, dpkg status
> file etc. I feed in the dpkg status file from my baseline install, a
> sources.list and a list of packages I want to be installable, and I can
> easily download the files. Then use apt-ftparchive to generate the
> metadata and I'm done.

It would be great if you could publish your script, maybe it could be
included in some package, like as an example in python-apt?

--
bye,
pabs

http://wiki.debian.org/PaulWise


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAKTje6Gdvzk33C=VJPHF9-WvGDzApDxk8C5c+HSDiiPTRyLj7Q@mail.gmail.com">http://lists.debian.org/CAKTje6Gdvzk33C=VJPHF9-WvGDzApDxk8C5c+HSDiiPTRyLj7Q@mail.gmail.com
 
Old 07-27-2011, 08:47 PM
Goswin von Brederlow
 
Default build self-contained repository for offline use

Paul Wise <pabs@debian.org> writes:

> On Wed, Jul 6, 2011 at 10:11 AM, Hamish Moffatt wrote:
>
>> Thanks all for the replies. I checked out apt-zip, apt-offline, aptoncd,
>> CDD and apt-clone. None of them really suited my needs, as I want to
>> generate this repository automatically, and want to do a whole class of
>> target systems which will have a baseline set of packages installed.
>>
>> Anyway I've found it's pretty easy to roll my own using python-apt and
>> configuring apt to use alternate locations for the cache, dpkg status
>> file etc. I feed in the dpkg status file from my baseline install, a
>> sources.list and a list of packages I want to be installable, and I can
>> easily download the files. Then use apt-ftparchive to generate the
>> metadata and I'm done.
>
> It would be great if you could publish your script, maybe it could be
> included in some package, like as an example in python-apt?

Not his script but my own. I needed to debootstrap a chroot for
destructive testing a lot and networking at Debconf was flaky (they
fixed it now so I created a partial mirror on my laptop of just the
packages needed in a few minutes with reprepro. Full config below.

The filter.sh script has a list of source packages and any binary build
from those sources will be mirrored. You can easily enough filter by
binary package name by altering the flags put into PAT ('-o -w -P %S ').
And you can generate the list from a concatenation of all systems
/var/lib/dpkg/status files quite easily too. This is left as an execise
to the reader.

MfG
Goswin

----------[ conf/distributions ]----------
Origin: Debian
Label: Debian
Suite: unstable
Codename: sid
Version: 666
Architectures: amd64
Components: main
UDebComponents:
Description: Upstream Debian Sid amd64
Update: - debian
SignWith: yes
----------[ conf/updates ]----------
Name: debian
Method: http://ftp.ba.debian.org/debian
ListHook: ./filter.sh
VerifyRelease: AED4B06F473041FA
----------[ conf/filter.sh ]----------
#!/bin/sh

SRCS="acl adduser apt aptitude attr base-files base-passwd bash
boost1.42 boost1.46 bsdmainutils bzip2 coreutils cpio cron cwidget dash
db debconf debian-archive-keyring debianutils diffutils dmidecode dpkg
e2fsprogs eglibc findutils gcc-4.4 gcc-4.5 gcc-4.6 gdbm gnupg grep groff
gzip hostname ifupdown insserv iproute iptables iputils isc-dhcp libept
libidn liblocale-gettext-perl libnfnetlink libpipeline libselinux
libsepol libsigc++-2.0 libtext-charwidth-perl libtext-iconv-perl
libtext-wrapi18n-perl libusb logrotate lsb man-db manpages mawk
module-init-tools nano ncurses net-tools netbase netcat newt openssl
openssl098 pam perl popt procps readline6 rsyslog sed sensible-utils
shadow slang2 sqlite3 sysvinit tar tasksel texinfo traceroute tzdata
udev util-linux vim wget xapian-core xz-utils zlib"

PAT="$(for SRC in $SRCS; do printf -- '-o -w -S %s ' $SRC; done | cut
-b4-)"

grep-dctrl $PAT "$1" >"$2"

exit 0


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87pqkvh2nc.fsf@frosties.localnet">http://lists.debian.org/87pqkvh2nc.fsf@frosties.localnet
 

Thread Tools




All times are GMT. The time now is 11:19 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org