ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Dmitry Surrentchick <grproject@mtu-net.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Откат на старый пакет (apt)
Date: Tue, 28 Dec 2004 04:43:34 +0300
Message-ID: <20041228014334.GA9815@server.conceptio> (raw)
In-Reply-To: <200412271802.41727.serpiph@nikiet.ru>

On Mon, Dec 27, 2004 at 06:02:41PM +0300, Epiphanov Sergei wrote:
> Боюсь, что только через
> 
> rpm -Uhv --oldpackage x-1.0-alt1
> 
> с последующим добавлением в строку того, что потребуется для установки.
> Ещё один небезопасный путь - это удалить пакет через 
> 
> rpm -e --nodeps
> 
> с последующим подключением репозитория со старой версией пакета и
> 
> apt-get -f install
> 
> но это не для всех пакетов возможно...

  Да, спасибо, любая инфа всегда полезна. Но только из командной строки -
  никак. Я тут сам никогда не додумался бы, чтобы так искать, но на самом
  деле это называется "downgrade", и в АПТе он возможен очень даже просто
  (в теч. дня выяснил). Из его же АПТового HOWTO (как-то всё это не
  очевидно там), и в каком-то форуме.  Через /etc/apt/preferences/. Просто
  в этот файл (его ещё надо создать) надо вписать по стабильному старому
  пакету всего лишь:
  
    Package: <имя_пакета>
    Pin: version <старая_версия_пакета>
    Pin-Priority: 1001

  ...потом sudo apt-get update
  И напоследок sudo apt-get --reinstall install <имя_пакета>

  У меня получилось!

    
  

*/_С yважением, Dmitry_/*



  reply	other threads:[~2004-12-28  1:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-27 14:12 Dmitry Surrentchick
2004-12-27 15:02 ` Epiphanov Sergei
2004-12-28  1:43   ` Dmitry Surrentchick [this message]
2004-12-28  8:19     ` Epiphanov Sergei

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=20041228014334.GA9815@server.conceptio \
    --to=grproject@mtu-net.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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