ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] apt-get source
@ 2007-10-03 23:44 Konstantin S. Uvarin
  2007-10-04  4:02 ` Хихин Руслан
  2007-10-04  5:04 ` Andrew Borodin
  0 siblings, 2 replies; 4+ messages in thread
From: Konstantin S. Uvarin @ 2007-10-03 23:44 UTC (permalink / raw)
  To: ALT Linux Community

Приветствую!

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

Но как-то же решается это? Можно, разумеется, руками src.rpm качать и 
устанавливать (я так и делаю), но зачем-то же есть эта команда -- source...

[khedin] [03:29:29] lodin /jukebox/distr/devel
bash$ apt-get source xxkb
Reading Package Lists... Done
Building Dependency Tree... Done
E: Archive directory /var/cache/apt/archives/partial is missing.
E: Unable to find a source package for xxkb-1.10-alt3.src.rpm

[khedin] [03:29:35] lodin /jukebox/distr/devel
bash$ sudo apt-get source xxkb
Reading Package Lists... Done
Building Dependency Tree... Done
Need to get 36.4kB of source archives.
Get:1 ftp://ftp.altlinux.org i586/classic xxkb 1.10-alt3 (srpm) [36.4kB]
Fetched 36.4kB in 2s (12.7kB/s)                
error: xxkb-1.10-alt3.src.rpm: current site policy disallows root to install 
source packages
Unpack command 'rpm -ivh xxkb-1.10-alt3.src.rpm' failed.
E: Child process failed

И еще вопрос: можно ли как-то задать apt-get-у фальшивый корень, по аналогии с 
rpm --root=/mnt/sdb1? Я не нашел в мане, но, может, плохо искал. 

-- 
Konstantin S. Uvarin
Сквозь грабли дорогу проложим себе

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

end of thread, other threads:[~2007-10-04  9:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-03 23:44 [Comm] apt-get source Konstantin S. Uvarin
2007-10-04  4:02 ` Хихин Руслан
2007-10-04  5:04 ` Andrew Borodin
2007-10-04  9:10   ` Konstantin S. Uvarin

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