From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-POP-User: aagryzkov.hostopia.com From: "Alexandr R. Ogurtzoff" Organization: Hostopia To: community@altlinux.ru Subject: Re: [Comm] apt reinstall all installed Date: Wed, 12 Jan 2005 09:01:46 +0200 User-Agent: KMail/1.7.1 References: <200501120734.47962.aogurtsov@hostopia.com> <41E4C518.4080000@altlinux.ru> In-Reply-To: <41E4C518.4080000@altlinux.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200501120901.46834.aogurtsov@hostopia.com> X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2005 07:01:55 -0000 Archived-At: List-Archive: List-Post: > for p in `rpm -qa --queryformat "%{name}\n"`; do > apt-get --reinstall install $p > done Спасибо за опцию --queryformat, но это ж после инсталяции каждого пакета будет перекраиваться база rpm... Долго. Не совсем то чего хочется. Появилась мысль вытянуть все пакеты --download-only, а потом rpm -ivh --force *.rpm в районе кеша пакетов -- Best regards Alexandr R. Ogurtzoff { UNIX is user friendly, it's just picky about who its friends are }