> This is not installing vim-gtk on second system which is just freshly installed.
Please show us the error as well besides your explanation.
> cd /media/usbdrive/vim-gtk
> sudo apt-get -y -o dir::cache::archives=/media/usbdrive/vim-gtk install
> vim-gtk
>
The following might work.
cd /media/usbdrive/vim-gtk
sudo apt-get -y install *deb
SB
What I understand from your explanation is that the second machine
without internet might have an older snapshot of the repository.
Thus,
when it tries to install vim-gtk, it's looking for an older version of
vim-gtk and corresponding dependencies? But you had a fresh
installation on the machine *with* internet?
> This is not installing vim-gtk on second system which is just freshly installed.Please show us the error as well besides your explanation.
The following might work.
> cd /media/usbdrive/vim-gtk
> sudo apt-get -y -o dir::cache::archives=/media/usbdrive/vim-gtk install
> vim-gtk
>
sudo apt-get -y install *deb
cd /media/usbdrive/vim-gtk
Errr.. I meant "sudo dpkg -i *deb" :)
SB
>without internet might have an older snapshot of the repository.I guess you are looking for these files:/var/cache/apt/pkgcache.bin/var/cache/apt/srcpkgcache.bin
Use dpkg-scanpackages (which is in package dpkg-dev). See http://www.debian.org/doc/manuals/apt-howto/ch-basico.en.html#s-dpkg-scanpackages Try adding line: deb file:/media/usbdrive vim-gtk/ to /etc/apt/sources.list . Then in /media/usbdrive as root type: dpkg-scanpackages vim-gtk /dev/null | gzip > vim-gtk/Packages.gz aptitude update