ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: [Comm] Re: apt-get update
Date: Tue, 29 Apr 2003 17:00:38 +0400
Message-ID: <20030429170038.23d18231.vsu@altlinux.ru> (raw)
In-Reply-To: <3EAE6E4D.3060709@aeroflot-don.ru>

On Tue, 29 Apr 2003 16:21:33 +0400
Igo-aeroflot <igo@aeroflot-don.ru> wrote:

> сделал apt-get update
> 
> потом захотел вернуть все обратно т.е. удалил строчки которые добавлял
> и расскоментировал строчки.
> 
> делаю apt-get update результат ниже 
> 
> Пропущено cdrom://Master 2.2 CD 1 Mandrake release
> Получено: 1 ftp://updates.altlinux.com Master/2.0/i586 release
> Ошибка ftp://updates.altlinux.com Master/2.0/i586 release
>  Unable to fetch file, server said 'Failed to open file.  '
> Ошибка cdrom://Master 2.2 CD 4 ALTLinux/addon srclist
> 
> что нужно заново apt-cdrom add делать?

Если делали apt-get update - надо.  По умолчанию apt-get update стирает
"лишние" индексные файлы (для которых нет записей в sources.list).  Хотя
можно это отключить с помощью опции --no-list-cleanup (либо
APT::Get::List-Cleanup в apt.conf; man apt-get), но тогда устаревшие
файлы из /var/lib/apt/lists придётся убирать вручную.

Кстати, комментировать строки с cdrom не было необходимости - apt вполне
справляется с ситуацией, когда один и тот же пакет доступен в нескольких
местах.  Ещё один обходной вариант - можно комментировать строки
sources.list перед выполнением apt-get install/dist-upgrade, но без
выполнения update, а потом вернуть на место.


      parent reply	other threads:[~2003-04-29 13:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-29 12:21 [Comm] " Igo-aeroflot
2003-04-29 11:34 ` Andrii Dobrovolskii
2003-04-29 13:00 ` Sergey Vlasov [this message]

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=20030429170038.23d18231.vsu@altlinux.ru \
    --to=vsu@altlinux.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