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

Re: apt-move in unstable



>>>>> On Mon, 8 Jul 2002 18:11:35 +0400
>>>>> "Andrey" == Andrey Chernomyrdin <andrey@excom.spb.su> wrote:
Andrey> 
Andrey> 
Andrey> То есть вмесо того того, что-бы переместить файл из cache директории в local
Andrey> mirror - оно его просто теряет ;-(

Н-да.. я тут поигрался... какая-то проблема есть...
Замечу вдобавок, что предложенный Вами сценарий работать не обязан: не
хватает вызовов apt-{move,get} update.

21:34 pts/7 sacha@pale:~ 1> sudo apt-move fsck

Rebuilding index files...


All done, exiting.
21:37 pts/7 sacha@pale:~ 2> sudo apt-move update

Updating from local Packages files...

Removing obsolete packages...

Creating Packages.gz files...
Building: sid dists/sid/main/binary-i386 Packages.gz
Building: sid dists/sid/contrib/binary-i386 Packages.gz
Building: sid dists/sid/non-US/main/binary-i386 Packages.gz
Building: sid dists/sid/non-US/contrib/binary-i386 Packages.gz
Building: sid dists/sid/non-US/non-free/binary-i386 Packages.gz
Building: sid dists/sid/non-free/binary-i386 Packages.gz

All done, exiting.
21:37 pts/7 sacha@pale:~ 3> sudo apt-get update
Ign file: sid/main Release
Ign file: sid/contrib Release
Ign file: sid/non-free Release
Ign file: sid/non-US/main Release
Ign file: sid/non-US/contrib Release
Ign file: sid/non-US/non-free Release
Hit http://ftp.de.debian.org unstable/non-US/main Packages
Hit http://ftp.de.debian.org unstable/non-US/main Release
Hit http://ftp.de.debian.org unstable/non-US/contrib Packages
Hit http://ftp.de.debian.org unstable/non-US/contrib Release
Hit http://ftp.de.debian.org unstable/non-US/non-free Packages
Hit http://ftp.de.debian.org unstable/non-US/non-free Release
Hit http://ftp.fi.debian.org unstable/main Packages
Hit http://ftp.fi.debian.org unstable/main Release
Hit http://ftp.fi.debian.org unstable/contrib Packages
Hit http://ftp.fi.debian.org unstable/contrib Release
Hit http://ftp.fi.debian.org unstable/non-free Packages
Hit http://ftp.fi.debian.org unstable/non-free Release
Hit http://ftp.gwdg.de woody/non-free Packages
Hit http://ftp.gwdg.de woody/non-free Release
Hit http://marillat.free.fr unstable/main Packages
Hit http://marillat.free.fr unstable/main Release
Hit http://people.debian.org packages/ Packages
Ign http://people.debian.org packages/ Release
Hit http://people.debian.org unstable/main Packages
Ign http://people.debian.org unstable/main Release
Hit http://people.debian.org unstable/main Sources
Ign http://people.debian.org unstable/main Release
Reading Package Lists... Done
Building Dependency Tree... Done
21:38 pts/7 sacha@pale:~ 4> sudo apt-get -d install hello
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  hello
0 packages upgraded, 1 newly installed, 0 to remove and 6  not upgraded.
Need to get 19.7kB of archives. After unpacking 86.0kB will be used.
Get:1 http://ftp.fi.debian.org unstable/main hello 1.3-18 [19.7kB]
Fetched 19.7kB in 30s (639B/s)
Download complete and in download only mode
21:39 pts/7 sacha@pale:~ 5> sudo apt-move update

Updating from local Packages files...

Moving files...
Skipping files:
Moving files:
/var/cache/apt/archives/hello_1.3-18_i386.deb

Removing obsolete packages...

Creating Packages.gz files...
Building: sid dists/sid/main/binary-i386 Packages.gz
Building: sid dists/sid/contrib/binary-i386 Packages.gz
Building: sid dists/sid/non-US/main/binary-i386 Packages.gz
Building: sid dists/sid/non-US/contrib/binary-i386 Packages.gz
Building: sid dists/sid/non-US/non-free/binary-i386 Packages.gz
Building: sid dists/sid/non-free/binary-i386 Packages.gz

All done, exiting.
21:39 pts/7 sacha@pale:~ 6> sudo apt-get update
Ign file: sid/main Release
Ign file: sid/contrib Release
Ign file: sid/non-free Release
Ign file: sid/non-US/main Release
Ign file: sid/non-US/contrib Release
Ign file: sid/non-US/non-free Release
Hit http://ftp.fi.debian.org unstable/main Packages
Hit http://ftp.fi.debian.org unstable/main Release
Hit http://ftp.fi.debian.org unstable/contrib Packages
Hit http://ftp.fi.debian.org unstable/contrib Release
Hit http://ftp.fi.debian.org unstable/non-free Packages
Hit http://ftp.fi.debian.org unstable/non-free Release
Hit http://ftp.de.debian.org unstable/non-US/main Packages
Hit http://ftp.de.debian.org unstable/non-US/main Release
Hit http://ftp.de.debian.org unstable/non-US/contrib Packages
Hit http://ftp.de.debian.org unstable/non-US/contrib Release
Hit http://ftp.de.debian.org unstable/non-US/non-free Packages
Hit http://ftp.de.debian.org unstable/non-US/non-free Release
Hit http://marillat.free.fr unstable/main Packages
Hit http://marillat.free.fr unstable/main Release
Hit http://ftp.gwdg.de woody/non-free Packages
Hit http://ftp.gwdg.de woody/non-free Release
Hit http://people.debian.org packages/ Packages
Ign http://people.debian.org packages/ Release
Hit http://people.debian.org unstable/main Packages
Ign http://people.debian.org unstable/main Release
Hit http://people.debian.org unstable/main Sources
Ign http://people.debian.org unstable/main Release
Reading Package Lists... Done
Building Dependency Tree... Done
21:39 pts/7 sacha@pale:~ 7> sudo apt-get -d install hello
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  hello
0 packages upgraded, 1 newly installed, 0 to remove and 6  not upgraded.
Need to get 0B/19.7kB of archives. After unpacking 86.0kB will be used.
Download complete and in download only mode
21:40 pts/7 sacha@pale:~ 8> sudo apt-get install hello
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  hello
0 packages upgraded, 1 newly installed, 0 to remove and 6  not upgraded.
Need to get 0B/19.7kB of archives. After unpacking 86.0kB will be used.
Selecting previously deselected package hello.
(Reading database ... 64094 files and directories currently installed.)
Unpacking hello (from .../devel/hello_1.3-18.deb) ...
Setting up hello (1.3-18) ...

21:40 pts/7 sacha@pale:~ 9> find /home/ftp/debian -name 'hello_*'
/home/ftp/debian/dists/sid/main/binary-i386/devel/hello_1.3-18.deb
21:40 pts/7 sacha@pale:~ 10> 

Проблемы действительно возникают если удалить .deb из apt-move
респозитория ручками. Поэтому я первым делом и дернул apt-move fsck.

-- 
Alexander Kotelnikov
Saint-Petersburg, Russia


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



Reply to: