ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [Comm] apt-get update
  2003-04-29 12:21 [Comm] apt-get update Igo-aeroflot
@ 2003-04-29 11:34 ` Andrii Dobrovolskii
  2003-04-29 13:00 ` [Comm] " Sergey Vlasov
  1 sibling, 0 replies; 3+ messages in thread
From: Andrii Dobrovolskii @ 2003-04-29 11:34 UTC (permalink / raw)
  To: community

Igo-aeroflot wrote:

> Подскажите почему так происходит:
> есть ALT 2.2 поле установки как положено было сделано следующее
> apt-cdrom add для 4-х дисков
>
> потом в файле /etc/apt/sources.list закоментировал все строчки и вставил
>
> rpm [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 
> Mandrake main
> rpm-src [alt] 
> ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 Mandrake main
> rpm [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 
> Mandrake hotfix
> rpm-src [alt] 
> ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 Mandrake 
> hotfix
> rpm [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 
> Mandrake addon
> rpm-src [alt] 
> ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 Mandrake 
> addon
> rpm [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 
> Mandrake compat
> rpm-src [alt] 
> ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 Mandrake 
> compat
> rpm [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 
> Mandrake insecure
> rpm-src [alt] 
> ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 Mandrake 
> insecure
> rpm [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/updates 
> Master/2.2/i586 updates
> rpm-src [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/updates 
> Master/2.2/i586 updates
>
> сделал 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 делать?
>
>
Похоже - да. Другого способа обновить информацию о доступности пакетов 
на CD, я не знаю.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Comm] apt-get update
@ 2003-04-29 12:21 Igo-aeroflot
  2003-04-29 11:34 ` Andrii Dobrovolskii
  2003-04-29 13:00 ` [Comm] " Sergey Vlasov
  0 siblings, 2 replies; 3+ messages in thread
From: Igo-aeroflot @ 2003-04-29 12:21 UTC (permalink / raw)
  To: community

Подскажите почему так происходит:
есть ALT 2.2 поле установки как положено было сделано следующее
apt-cdrom add для 4-х дисков

потом в файле /etc/apt/sources.list закоментировал все строчки и вставил

rpm [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 Mandrake main
rpm-src [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 Mandrake main
rpm [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 Mandrake hotfix
rpm-src [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 Mandrake hotfix
rpm [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 Mandrake addon
rpm-src [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 Mandrake addon
rpm [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 Mandrake compat
rpm-src [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 Mandrake compat
rpm [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 Mandrake insecure
rpm-src [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.2 Mandrake insecure
rpm [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/updates Master/2.2/i586 updates
rpm-src [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/updates Master/2.2/i586 updates

сделал 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 делать?





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Comm] Re: apt-get update
  2003-04-29 12:21 [Comm] apt-get update Igo-aeroflot
  2003-04-29 11:34 ` Andrii Dobrovolskii
@ 2003-04-29 13:00 ` Sergey Vlasov
  1 sibling, 0 replies; 3+ messages in thread
From: Sergey Vlasov @ 2003-04-29 13:00 UTC (permalink / raw)
  To: community

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, а потом вернуть на место.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-04-29 13:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-29 12:21 [Comm] apt-get update Igo-aeroflot
2003-04-29 11:34 ` Andrii Dobrovolskii
2003-04-29 13:00 ` [Comm] " Sergey Vlasov

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