ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [Comm] Re: [Comm] Не работает apt-cache
  @ 2002-10-05  9:08 ` Vitaly Lipatov
  2002-10-05 10:59   ` demien
  2002-10-05  9:11 ` Sergey Vlasov
  1 sibling, 1 reply; 5+ messages in thread
From: Vitaly Lipatov @ 2002-10-05  9:08 UTC (permalink / raw)
  To: community

On 5 Октябрь 2002 12:10, Demien wrote:
> # Master
> rpm [alt]
> ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/updates
> Master/2.0/i586 Master rpm-src [alt]
> ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/updates
> Master/2.0/i586 Master Все остальное закомментировано.
Ну вот в этом и проблема - у вас указаны только updates.
Укажите что-то типа
ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.0 
ALTLinux Master

-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux! LaTeX! LyX!


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

* Re: [Comm] Re: [Comm] Не работает apt-cache
    2002-10-05  9:08 ` [Comm] Re: [Comm] Не работает apt-cache Vitaly Lipatov
@ 2002-10-05  9:11 ` Sergey Vlasov
  2002-10-05 11:10   ` demien
  1 sibling, 1 reply; 5+ messages in thread
From: Sergey Vlasov @ 2002-10-05  9:11 UTC (permalink / raw)
  To: community

On Sat, 5 Oct 2002 13:10:30 +0500
"Demien" <demien@samtel.ru> wrote:

> demien@samtel.ru wrote:
> >> Столкнулся с непонятной ситуацией.
> >> Толком не работате apt-get, apt-cache вообще не работает.
> >> Линуховая машина выходит в мир через проксевую машину (Windows+Wingate).
> >> Под рутом прописываю
> >> export http_proxy="http://192.168.0.254:80"
> >> export ftp_proxy="http://192.168.0.254:80"
> >> При команде apt-get install пакет - apt-get делает вид что куда-то лезет,
> >> хотя на проксе видно, что ничего не происходит.
> 
> >Что при этом в консоли??
> Вот приведу пример, мне сейчас нужны исходники ядра, для сборки
> драйверов для DVB SS1.
> 
> [root@InetServer apt]# apt-get install kernel24-source
> Processing File Dependencies... Done
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> 
> Since you only requested a single operation it is extremely likely that
> the package is simply not installable and a bug report against
> that package should be filed.
> The following information may help to resolve the situation:
> 
> Sorry, but the following packages have unmet dependencies:
>   kernel24-source: Depends: ncurses-devel but it is not installable
>                    Depends: dev86 but it is not installable
>                    Depends: byacc but it is not installable
>                    Depends: flex but it is not installable
> E: Sorry, broken packages
> [root@InetServer apt]#
> 
> 
> >Вышлите пожалуйста содержимое /etc/apt/sources.list, те строки,
> >которые не закоментированы.
> 
> # Master
> rpm [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/updates Master/2.0/i586 Master
> rpm-src [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/updates Master/2.0/i586 Master
> Все остальное закомментировано.

Ну тогда все понятно - apt видит только пакеты обновлений, а для
установки исходников ядра (точнее, для их последующей компиляции)
требуются пакеты из самого дистрибутива.

Добавьте в список как минимум CD1...3 (можно и остальные - там src.rpm)
командой apt-cdrom add - тогда все найдется.

> >> И так почти все команды.
> >> Единственная команда которая действительно работает - apt-get update,
> >> лезет в репозитарий, что-то ищет, скачивает, ставит.
> 
> >Вышлите пожалуйста лог ее работы.
> Честно говоря, где apt-get хранит свои логи я так и не нашел ((. Может
> Вы подскажите?

Имелась в виду выдача на терминал.

> >> apt-cache вообще не работает, например после apt-cache search dvb, консоль
> >> задумывается секунд на 5, а потом просто выдает новую строку приглашающую к
> >> вводу команды.И тишина.
> 
> >Значит не нашел искомое.
> Так ведь на проксе видно, что apt-cache вовне вообще не выходит, такое
> ощущение, что он ищет только локально.

Именно так - ищет в индексных файлах, которые скачиваются по apt-get
update (либо копируются с CD при выполнении apt-cdrom add). Поэтому
apt-get update нужно периодически повторять для получения свежих
индексных файлов.


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

* Re: [Comm] Re: [Comm] Не работает apt-cache
  2002-10-05  9:08 ` [Comm] Re: [Comm] Не работает apt-cache Vitaly Lipatov
@ 2002-10-05 10:59   ` demien
  2002-10-05 11:55     ` Vitaly Lipatov
  0 siblings, 1 reply; 5+ messages in thread
From: demien @ 2002-10-05 10:59 UTC (permalink / raw)
  To: community

On Sat, Oct 05, 2002 at 01:08:24PM +0400, Vitaly Lipatov wrote:
> On 5 Октябрь 2002 12:10, Demien wrote:
> > # Master
> > rpm [alt]
> > ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/updates
> > Master/2.0/i586 Master rpm-src [alt]
> > ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/updates
> > Master/2.0/i586 Master Все остальное закомментировано.
> Ну вот в этом и проблема - у вас указаны только updates.
> Укажите что-то типа
> ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.0 
> ALTLinux Master

Есть некоторые непонятки, добавляю  в source.list строчку: 
rpm ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.0/Mandrake/RPMS

при запуске apt-get update ругается:
E: Malformed line 35 in source list /etc/apt/source.list (dist)
Пробовал разные варианты
rpm  [alt]...
rpm-src [alt]...
безрезультатно.

Может есть какие-то еще параметры?

Заранее спасибо, Дмитрий.


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

* Re: [Comm] Re: [Comm] Не работает apt-cache
  2002-10-05  9:11 ` Sergey Vlasov
@ 2002-10-05 11:10   ` demien
  0 siblings, 0 replies; 5+ messages in thread
From: demien @ 2002-10-05 11:10 UTC (permalink / raw)
  To: community

On Sat, Oct 05, 2002 at 01:11:04PM +0400, Sergey Vlasov wrote:
> On Sat, 5 Oct 2002 13:10:30 +0500
> "Demien" <demien@samtel.ru> wrote:
> 
> > demien@samtel.ru wrote:
> > >> Столкнулся с непонятной ситуацией.
> > >> Толком не работате apt-get, apt-cache вообще не работает.
> > >> Линуховая машина выходит в мир через проксевую машину (Windows+Wingate).
> > >> Под рутом прописываю
> > >> export http_proxy="http://192.168.0.254:80"
> > >> export ftp_proxy="http://192.168.0.254:80"
> > >> При команде apt-get install пакет - apt-get делает вид что куда-то лезет,
> > >> хотя на проксе видно, что ничего не происходит.
> > 
> > >Что при этом в консоли??
> > Вот приведу пример, мне сейчас нужны исходники ядра, для сборки
> > драйверов для DVB SS1.
> > 
> > [root@InetServer apt]# apt-get install kernel24-source
> > Processing File Dependencies... Done
> > Reading Package Lists... Done
> > Building Dependency Tree... Done
> > Some packages could not be installed. This may mean that you have
> > requested an impossible situation or if you are using the unstable
> > distribution that some required packages have not yet been created
> > or been moved out of Incoming.
> > 
> > Since you only requested a single operation it is extremely likely that
> > the package is simply not installable and a bug report against
> > that package should be filed.
> > The following information may help to resolve the situation:
> > 
> > Sorry, but the following packages have unmet dependencies:
> >   kernel24-source: Depends: ncurses-devel but it is not installable
> >                    Depends: dev86 but it is not installable
> >                    Depends: byacc but it is not installable
> >                    Depends: flex but it is not installable
> > E: Sorry, broken packages
> > [root@InetServer apt]#
> > 
> > 
> > >Вышлите пожалуйста содержимое /etc/apt/sources.list, те строки,
> > >которые не закоментированы.
> > 
> > # Master
> > rpm [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/updates Master/2.0/i586 Master
> > rpm-src [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/updates Master/2.0/i586 Master
> > Все остальное закомментировано.
> 
> Ну тогда все понятно - apt видит только пакеты обновлений, а для
> установки исходников ядра (точнее, для их последующей компиляции)
> требуются пакеты из самого дистрибутива.
> 
> Добавьте в список как минимум CD1...3 (можно и остальные - там src.rpm)
> командой apt-cdrom add - тогда все найдется.
> 
> > >> И так почти все команды.
> > >> Единственная команда которая действительно работает - apt-get update,
> > >> лезет в репозитарий, что-то ищет, скачивает, ставит.
> > 
> > >Вышлите пожалуйста лог ее работы.
> > Честно говоря, где apt-get хранит свои логи я так и не нашел ((. Может
> > Вы подскажите?
> 
> Имелась в виду выдача на терминал.
> 
> > >> apt-cache вообще не работает, например после apt-cache search dvb, консоль
> > >> задумывается секунд на 5, а потом просто выдает новую строку приглашающую к
> > >> вводу команды.И тишина.
> > 
> > >Значит не нашел искомое.
> > Так ведь на проксе видно, что apt-cache вовне вообще не выходит, такое
> > ощущение, что он ищет только локально.
> 
> Именно так - ищет в индексных файлах, которые скачиваются по apt-get
> update (либо копируются с CD при выполнении apt-cdrom add). Поэтому
> apt-get update нужно периодически повторять для получения свежих
> индексных файлов.
Спасибо, помогло.
Добавил CD, после чего apt-get проинсталил все необходимое с первого диска,
а зетем полез в репозитарий качать исходники :)).
Огромное спасибо.

Всего наилучшего, Дмитрий.


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

* Re: [Comm] Re: [Comm] Не работает apt-cache
  2002-10-05 10:59   ` demien
@ 2002-10-05 11:55     ` Vitaly Lipatov
  0 siblings, 0 replies; 5+ messages in thread
From: Vitaly Lipatov @ 2002-10-05 11:55 UTC (permalink / raw)
  To: community

On 5 Октябрь 2002 14:59, demien@samtel.ru wrote:
> On Sat, Oct 05, 2002 at 01:08:24PM +0400, Vitaly Lipatov wrote:

> > Укажите что-то типа
> > ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.0
> > ALTLinux Master
>
> Есть некоторые непонятки, добавляю  в source.list строчку:
> rpm
> ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.0/Ma
>ndrake/RPMS
Я же вам написал нужную строчку, а вы пишете своё и недоумеваете.
Ещё раз:
rpm [alt] 
ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Master/2.0
[пробел] ALTLinux [пробел] Master


-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux! LaTeX! LyX!


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

end of thread, other threads:[~2002-10-05 11:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-05  9:08 ` [Comm] Re: [Comm] Не работает apt-cache Vitaly Lipatov
2002-10-05 10:59   ` demien
2002-10-05 11:55     ` Vitaly Lipatov
2002-10-05  9:11 ` Sergey Vlasov
2002-10-05 11:10   ` demien

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