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

Problems with apt-get offline



I know this is a topic that has been up several times, but I haven't
found an answer for my question.

I have followed the offline document that comes with apt-get, but I
still get into problems.

I do a on the computer connected to the net:

export APT_CONFIG="/opt/disc/apt.conf"
apt-get update
apt-get upgrade

and perhaps

apt-get install vim vim-gtk

or some other pacakge I want.

Then I put the whole disc directory on a ZIP disc and take it home to my
offline computer (no network card in it)

I copy the disc directory to the /opt and then 

export APT_CONFIG="/opt/disc/apt.conf"
apt-get check
apt-get --no-d -o dir::etc::status=/var/lib/dpkg/status upgrade

now I get the message:

Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.

so there must be something I do wrong since the computer don't find my
downloaded deb files.

I would really like to get apt-get to work as I run Debian Testing on my
offline computer (I need the newer libs than available in potato) and it
is so painful to use dpkg especially because of pacakges that has to be
removed before one can install new etc...

Thanks in advance for any hints!

my /opt/disc looks like this on the online computer:

.
|-- apt.conf
|-- archives
|   |-- lock
|   |-- partial
|   `-- statuslock
|-- lists
|   |-- ftp.no.debian.org_debian_dists_testing_contrib_binary-i386_Packages
|   |-- ftp.no.debian.org_debian_dists_testing_contrib_binary-i386_Release
|   |-- ftp.no.debian.org_debian_dists_testing_contrib_source_Release
|   |-- ftp.no.debian.org_debian_dists_testing_contrib_source_Sources
|   |-- ftp.no.debian.org_debian_dists_testing_main_binary-i386_Packages
|   |-- ftp.no.debian.org_debian_dists_testing_main_binary-i386_Release
|   |-- ftp.no.debian.org_debian_dists_testing_main_source_Release
|   |-- ftp.no.debian.org_debian_dists_testing_main_source_Sources
|   |-- ftp.no.debian.org_debian_dists_testing_non-free_binary-i386_Packages
|   |-- ftp.no.debian.org_debian_dists_testing_non-free_binary-i386_Release
|   |-- ftp.no.debian.org_debian_dists_testing_non-free_source_Release
|   |-- ftp.no.debian.org_debian_dists_testing_non-free_source_Sources
|   |-- ftp.uk.debian.org_debian_dists_unstable_contrib_binary-i386_Packages
|   |-- ftp.uk.debian.org_debian_dists_unstable_contrib_binary-i386_Release
|   |-- ftp.uk.debian.org_debian_dists_unstable_main_binary-i386_Packages
|   |-- ftp.uk.debian.org_debian_dists_unstable_main_binary-i386_Release
|   |-- ftp.uk.debian.org_debian_dists_unstable_non-free_binary-i386_Packages
|   |-- ftp.uk.debian.org_debian_dists_unstable_non-free_binary-i386_Release
|   |-- lock
|   |-- non-us.debian.org_debian-non-US_dists_testing_non-US_contrib_binary-i386_Packages
|   |-- non-us.debian.org_debian-non-US_dists_testing_non-US_contrib_binary-i386_Release
|   |-- non-us.debian.org_debian-non-US_dists_testing_non-US_contrib_source_Release
|   |-- non-us.debian.org_debian-non-US_dists_testing_non-US_contrib_source_Sources
|   |-- non-us.debian.org_debian-non-US_dists_testing_non-US_main_binary-i386_Packages
|   |-- non-us.debian.org_debian-non-US_dists_testing_non-US_main_binary-i386_Release
|   |-- non-us.debian.org_debian-non-US_dists_testing_non-US_main_source_Release
|   |-- non-us.debian.org_debian-non-US_dists_testing_non-US_main_source_Sources
|   |-- non-us.debian.org_debian-non-US_dists_testing_non-US_non-free_binary-i386_Packages
|   |-- non-us.debian.org_debian-non-US_dists_testing_non-US_non-free_binary-i386_Release
|   |-- non-us.debian.org_debian-non-US_dists_testing_non-US_non-free_source_Release
|   |-- non-us.debian.org_debian-non-US_dists_testing_non-US_non-free_source_Sources
|   |-- non-us.debian.org_debian-non-US_dists_unstable_non-US_contrib_binary-i386_Packages
|   |-- non-us.debian.org_debian-non-US_dists_unstable_non-US_contrib_binary-i386_Release
|   |-- non-us.debian.org_debian-non-US_dists_unstable_non-US_main_binary-i386_Packages
|   |-- non-us.debian.org_debian-non-US_dists_unstable_non-US_main_binary-i386_Release
|   |-- non-us.debian.org_debian-non-US_dists_unstable_non-US_non-free_binary-i386_Packages
|   |-- non-us.debian.org_debian-non-US_dists_unstable_non-US_non-free_binary-i386_Release
|   |-- partial
|   |-- security.debian.org_dists_stable_updates_contrib_binary-i386_Packages
|   |-- security.debian.org_dists_stable_updates_contrib_binary-i386_Release
|   |-- security.debian.org_dists_stable_updates_main_binary-i386_Packages
|   |-- security.debian.org_dists_stable_updates_main_binary-i386_Release
|   |-- security.debian.org_dists_stable_updates_non-free_binary-i386_Packages
|   `-- security.debian.org_dists_stable_updates_non-free_binary-i386_Release
|-- partial
|-- preferences
|-- sources.list
|-- status
`-- statuslock

5 directories, 50 files

Preben
-- 
 ()   Join the worldwide campaign to protect fundamental human rights.
'||}
{||'                                           http://www.amnesty.org/



Reply to: