[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upgrading from another debian machine



On Wed, 08 Dec 2004 21:35:24 +0000, joebosak@uku.co.uk
<joebosak@uku.co.uk> wrote:
> I have woody on one machine and would like to upgrade to sarge.
> 
> I have another machine [laptop, PCMCIA modem] that I upgraded from woody to
> sarge.  I did not delete the .deb files.
> 
> Can I us the deb files on the laptop to upgrade the distribution on the
> other machine?  I reckon the software list is probably longer on the laptop
> [ie. there probably won't be anything installed on the woody machine that
> isn't on the laptop].
> 
> I'm assuming I could use ftp and move all the files then do it one at a
> time.  But could I amend sources.list and use "apt-get dist-upgrade"?
> 

Yeah, sure. Before copying the packages from the laptop to the
desktop, you can use the command "apt-get auto-clean", this will keep
only the newer packages in your cache. Now if you want to use the same
apt sources list of the laptop, modify the /etc/apt/sources file of
the desktop (or copy over the file of the laptop), copy the contents
of /var/lib/apt/lists/ and you are done, you can use apt-get, or any
other frontend for apt. If the desktop don't have a net connection, no
problem, look in apt-doc packages for the "offline apt-get howto" (or
a name like this =)...


Andrea



Reply to: