ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@immo.ru>
To: ALT Linux Community <community@altlinux.ru>
Subject: Re: [Comm] apt reinstall all installed
Date: Wed, 12 Jan 2005 10:17:03 +0300
Message-ID: <20050112071703.GF2302@immo.ru> (raw)
In-Reply-To: <200501120901.46834.aogurtsov@hostopia.com>

[-- Attachment #1: Type: text/plain, Size: 644 bytes --]

* Alexandr R. Ogurtzoff <aogurtsov@> [050112 10:02]:

> > for p in `rpm -qa --queryformat "%{name}\n"`; do
> >   apt-get  --reinstall install $p
> > done
>  Спасибо за опцию  --queryformat, но это ж после инсталяции каждого пакета 
> будет перекраиваться база rpm... Долго. Не совсем то чего хочется.
> Появилась мысль вытянуть все пакеты --download-only,  а потом
>  rpm -ivh --force *.rpm 
> в районе кеша пакетов
rpm -qa --qf='%{NAME}\n' | xargs -r apt-get reinstall

Так будет короче и быстрее.

-- 
Regards, Sir Raorn.
-------------------
incoming умер, воскрешение запланировано на следующую неделю.
		-- ldv in devel@

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-01-12  7:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-12  5:34 Alexandr R. Ogurtzoff
2005-01-12  6:35 ` Ivan Fedorov
2005-01-12  7:01   ` Alexandr R. Ogurtzoff
2005-01-12  7:17     ` Alexey I. Froloff [this message]
2005-01-12  7:24       ` [Comm] [SUMMARY] " Alexandr R. Ogurtzoff
2005-01-12  8:52 ` [Comm] [SUMMARY]apt " Alexandr R. Ogurtzoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050112071703.GF2302@immo.ru \
    --to=raorn@immo.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git