>>> So I try to apt-move, but I fail, and I do not understand why. >>> Can someone tell me what I am doing wrong and what I need to do to get on with it? >>> >>> This is what happens when I run apt-move: >>> >>> mycomp:~# apt-move getlocal move packages >>> >>> Updating from local Packages files... >>> Getting: testing main Packages.gz >>> /var/state/apt/lists/debian.midco.net_debian_dists_testing_main_binary-i386_Packages: No such file or directory
>>You have to edit /etc/apt-move.conf and put in APTSITES those of your >>sites from /etc/apt/sources.list which you want do use with apt-move. I do not have anything in /etc/apt-move.config named APTSITES It sounds like I have to be connected to the Internet to apt-move packages already downloadet to my computer. Is that the way it goes? (Weird) (Please excuse me if I am ignorant - first time, and I find it difficult to understand) My sources.list and apt-move.config look like this: [sources.list START] #deb http://http.us.debian.org/debian stable main contrib non-free #deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free #deb http://security.debian.org stable/updates main contrib non-free # Uncomment if you want the apt-get source function to work #deb-src http://http.us.debian.org/debian stable main contrib non-free #deb-src http://non-us.debian.org/debian-non-US stable non-US #deb http://ftp.fi.debian.org/debian testing main contrib non-free deb cdrom:[Debian GNU/Linux 2.2 r3 _Potato_ - Official i386 Binary-1 (20010427)]/ unstable contrib main non-US/contrib non-US/main deb cdrom:[Debian GNU/Linux 2.2 r3 _Potato_ - Official i386 Binary-2 (20010427)]/ unstable contrib main non-US/contrib non-US/main deb cdrom:[Debian GNU/Linux 2.2 r3 _Potato_ - Official i386 Binary-3 (20010427)]/ unstable contrib main non-US/contrib non-US/main [sources.list END] I ever only used the 3 CD-ROMs and twice I apt-get installed single packages with the testing source activated. What from sources.list should go where in apt-move.config - and especially: why (I would like to understand what happens). Reminder: I am on a 2.2r3. I apt-get installed a package (with dependencies) from testing off the net. Now I want to apt-move the cached packages from that install to a proper Debian installation directory structure. [apt-move.config START] # Configuration file for the apt-move script. # # You should modify the following configuration to suit your system. # See the apt-move(8) manpage for information about these settings. # # The defaults for this file are simply the settings I currently use. # Configuration for apt-move script -------------------------------------- # Your architecture designation as found on the Debian mirror sites # (as of potato, possible values are: alpha, arm, hurd-i386, i386, # m68k, powerpc, and sparc. Use only one!) ARCH=i386 # The full (absolute) path to your debian directory (top of your local mirror) LOCALDIR=/mirrors/debian # The names assigned to the stable, unstable, and frozen distributions # at the remote mirror. These may be left blank if you plan to update via # the net, or if you use the actual distribution name rather than it's # alias (i.e. ``potato'' instead of ``unstable''). They should be provided # if you will be performing local updates using the alias. # Note: At the time of this writing the names for stable and unstable are # ``slink'' and ``potato'', respectively... frozen does not currently # exist. DEBSTABLE=potato DEBUNSTABLE= DEBFROZEN= # The distribution you want to mirror (see the apt-move(8) manpage for # details) DIST=testing # The package types you want to mirror. # Possible values are: binary, source, and both. (use only one) PKGTYPE=binary # The space separated list of sections you want to include in your local # mirror (you can include any combination of: main contrib non-free # non-US/main non-US/contrib non-US/non-free) SECTIONS="main contrib non-free" # Your favorite regular (US) debian mirror site (must support rsync) # (required) # Note: In order to make use of the ``getlocal'' function, this MUST match # an entry from ``/etc/apt/sources.list''. USSITE=debian.midco.net # Your favorite NON-US debian mirror site (must support rsync) # only required if you specify any non-US sections in SECTIONS # Note: In order to make use of the ``getlocal'' function, this MUST match # an entry from ``/etc/apt/sources.list''. NONUSSITE=non-us.debian.org # The full (absolute) path to your local cache of package files. The default # will work for the apt-get packages, unless you've reconfigured apt. FILECACHE=/var/cache/apt/archives # The full (absolute) path to your local cache of Packages files. The # default will work for the apt-get Packages, unless you've reconfigured apt. LISTSTATE=/var/state/apt/lists # Do you want apt-move to delete obsolete files from your mirror? (yes/no) DELETE=no # Maximum percentage of files to delete during a normal run. MAXDELETE=20 # The name of your log file (all output from apt-move will be appended to # this file). Only used with background operation (-b switch) LOGFILE=/var/log/apt-move.log # The device to use to display copy of the output (such as an unused tty). # only used with background operation (-b switch) #MONITOR=/dev/tty10 MONITOR=/dev/null # End Configuration ------------------------------------------------------ [apt-move.config END] Cheers :o) Johnny :o)