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 User

 
 
LinkBack Thread Tools
 
Old 05-27-2008, 05:42 PM
 
Default /var/lib/apt/lists/partial -> ../*Packages

I have copied /var/lib/apt/lists/partial/* to another machine, but try
as I might, I cannot get apt to apply those files to ../*Packages. Apt
bombs out if it cannot connect to the network. Yes I will connect it
to the network, but not today.

How can I trick apt into thinking that it has just retrieved those
files itself, and now should apply them?

You see using APT::Get::List-Cleanup false I now have plenty of
/var/lib/apt/lists/partial/* diff files that I can copy to an offline
machine, to avoid copying the larger ../*Packages files.

But on that offline machine there's no way to do an apt-get check or
"apt-get --no-download update" to have those diff files applied to
their corresponding ../*Packages files. apt bombs out if it can
connect to the network.

Do I have to make a script to apply those diff ed(1) scripts by hand?!

Here is the files I copied to the offline machine:
find /var/lib/apt/lists/ -type f ! -name *_Packages ! -name lock !
-name *.ed -ctime -1


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 07:58 PM.

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