Gentoo Archives: gentoo-user-ru

From: Vladimir Solomatin <littleslash@×××××.ru>
To: gentoo-user-ru@l.g.o
Subject: Re: [gentoo-user-ru] Gentoo Handbook does not contain information about bootstrap?
Date: Fri, 09 Dec 2005 16:22:43
Message-Id: 4399AF2D.7010904@relex.ru
In Reply to: Re: [gentoo-user-ru] Gentoo Handbook does not contain information about bootstrap? by Antonio
1 Antonio wrote:
2
3 >>As rac noted, "There are some 80+ packages in a stage1ball that are not listed in /var/db/pkg. Why? When you do your "emerge system", you would want your new toolchain to be used to compile all software. If portage sees that a particular version from the stageball is still current, it will omit it. The solution that somebody apparently chose was to make portage forget that most of this software is installed at all, which has the unfortunate side effect of making portage be unable to clean it when your "emerge system" finishes."
4 >
5 > Пример в студию! Любой файл, который не принадлежит не одному пакету
6
7 # emerge app-portage/portage-utils
8
9 #!/bin/sh
10
11 for FILE in `find $1 -type f`
12 do
13 RESULT=`qfile -q ${FILE}`
14 if [ -z "$RESULT" ]; then
15 echo $FILE | grep -v "\.keep"
16 fi
17 done
18
19 покажет все файлы не принадлежащие не одному пакету.
20
21 --
22 Vladimir Solomatin (littleslash@×××××.ru)
23 Phone: + 7 (0732) 711711
24 Relex Inc, Voronezh.
25
26 --
27 gentoo-user-ru@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-ru] Gentoo Handbook does not contain information about bootstrap? Antonio <anton.ananich@×××××.com>