Copying Dapper by network
José Paulo Matafome Oleiro
matafomeoleiro at gmail.com
Sat Aug 12 11:02:26 UTC 2006
Sáb, 2006-08-12 às 19:22 +0930, Karl Goetz escreveu:
> Brian Astill wrote:
> > On Friday 11 August 2006 23:24, Benjamin Zeller wrote:
> >> On Friday 11 August 2006 15:45, Melissa Draper wrote:
> >>> Brian Astill wrote:
> >>>> Please comfort me in my hour of need. :-)
> >>>>
> >>>> I have two systems, networked together.
> >>>> One has Dapper, the other Hoary.
> >>>> I can link them using Gftp (and SSH2)
> >>>>
> >>>> Could I just copy all my Dapper files over the Hoary files
> >>>> and thereby re-create my Dapper (system 1) to System 2?
>
> in theory yes, but in reality no, its not worth the effort.
>
>
> If you have every deb you need you could dist-upgrade from hdd, but i
> doubt your cache will be complete enough (even with teh cd)
>
> >
> > I do have a Dapper install disk. Maybe I could erase Hoary,
> > install Dapper and ... how could I upgrade that older version of
> > Dapper on System 2 to the up-to-date one on System 1, using my
> > network?
> >
> install dapper -> copy over the debs from system1's apt cache, ->
> apt-get update && apt-get dist-upgrade (has to be internet connected),
> and it should find all teh debs you already have and need to download 0kbs.
>
> if you want to clone your package selections off system 1 to system 2
> that can be done as well.
> kk
>
> --
> Karl Goetz
> The buck stops there -> $
> Australian Ubuntu users team - http://wiki.ubuntu.com/AustralianTeam
>
You can try to create a CD/DVD with the contents of your apt-cache and
add this as a repository, deactivate all other repositories in the
system where do you want to install dapper from new (but with the chance
to recreate the packages that are installed in the other system). Do the
following commands:
$ mkdir -p ~/cache/binary
$ cp -fv /var/cache/apt/archives/*.deb ~/cache/binary/
$ cd ~/cache
$ dpkg-scanpackages binary/ /dev/null | gzip -9c > Packages.gz
Now create a ISO file with your CD/DVD burning program with the contents
of the directory cache, and add them to the repositories of the 2º
computer using:
$ sudo apt-cdrom add
and install the packages, that's it. Some packages doesn't will be the
same only if your apt-cache has all the packages that you had installed
from the first time you had used apt-get in your first Dapper System
--
Sincerely
José Oleiro aka Matafome (#computers at irc.ptnet.org Blog do Matafome )
Running Ubuntu 6.06 Dapper with XGL on Fujitsu-Siemens Model Amilo M
1420
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060812/2483ba79/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Esta é uma parte de mensagem assinada digitalmente
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060812/2483ba79/attachment.sig>
More information about the ubuntu-users
mailing list