Re: lug-bg: debian: cdrom vs internet
- Subject: Re: lug-bg: debian: cdrom vs internet
- From: raptor <raptor@xxxxxxxxxx>
- Date: Tue, 14 Oct 2003 06:02:43 +0300
thanx za infoto...
knoppixa/morphix-a e idealniq wariant da zapochna poleka leka da ucha i debian...
> On Wednesday 08 October 2003 16:36, raptor wrote:
> > hi,
> >
> > setnah si cd-romite sys apt-cdrom, kak da go nakaram ako daden paket go ima
> > w cd-to izobshto da ne tyrsi w internet za po nowi wersii..
>
> ami apt vinagi ste predpo4ete po-nova versiq nezavisimo ot kyde e, dokato ne
> mu promenish misleneto ot /etc/apt/sources.list, /etc/apt/apt.conf ili /etc/
> apt/preferences (man apt_preferences) ili ot command line options...
> Dokolkoto razbiram ti iskash ako go ima na CD-to i na http/ftp mirrors to
> nezavisimo ot versiqta da predpo4ete da to4i ot cd, a ako go nqma na cd-to
> togava da to4i ot mirrors. Ima mnogo na4ini, no naj-lesniq e da imash
> sources.list samo s add-nati CDROM's izto4nici, drug samo s http/ftp
> izto4nici i takyf s vsi4ki CDROM i ftp/http izto4nici i prosto da gi smenqsh
> kak si iskash i apt-get update sled tova. Ako vis4ko e v edin
> sources.list ste trqbva da izberesh nqkakvo diferencirane ili razdelenie
> kogto izvikvash apt-get. Osven tova mozhesh da ne izpylnqvash apt-cdrom add,
> a prosto mount-vash CD-to v /mnt/cdrom da re4em. Sled tova dobavqsh v
> sources.list dobavqsh archiva kato localen (s unikalen path, kojto ste
> izpolzvash za da diferencirash/razgrani4ish izto4nicite s -t):
> file:/mnt/cdrom/debian/ stable main
> i posle:
> apt-get install -t mnt/cdrom package ...
>
> mozhe da stane i po-slozhno s apt-cdrom add i net archives v sources.list,
> kato gledash s apt-cache policy package prioriteta za vseki URI i go
> promenqsh s pinning ot /etc/apt/preferences taka 4e da to4i ot CD-to dori i s
> po-malka version da e package i samo ako nqma takyf package na CD-to da to4i
> ot inet... mozhe da se polu4i taka, 4e apt da ti kazhe, 4e tazi selekciq
> koqto si izbral naprimer old version ot CD na daden paket i new version na
> drug paket kojto go nqma na CD-to i ste go to4ish ot inet mirrors e broken...
> i syotvetno ste izplue to4no kakvo mu lipsva i da mu razreshish da izto4i
> to4nite versions.
>
> Mozhe i apt-cache policy package, da vidish versiite, prioritetite i URI-tata
> i da mu kazhesh da proveri dali to4no dadena version na paket e installable,
> a ti ste izberesh tazi versiq koqto idva ot izto4nika CD.
>
> # apt-get install package=version
> Naprimer: Ako ima i depends za to4no tazi version na paketa i tqh razreshavash
> na apt premoderi ;-)
........
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|