ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Хихин Руслан" <hihin@rambler.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] apt-get source
Date: Thu, 4 Oct 2007 08:02:52 +0400
Message-ID: <200710040802.52652@ruslandh> (raw)
In-Reply-To: <200710040344.11424.khedin@mail.ru>

[-- Attachment #1: Type: text/plain, Size: 2152 bytes --]

Здравствуйте Konstantin S. Uvarin
  В сообщении от Четверг 04 октября 2007 Konstantin S. Uvarin 
написал(a):
 > Приветствую!
 >
 >
 >
 > Подскажите пожалуйста, как с помощью 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 и rpm. А потом  им делал apt-get source  <сорец>.
На самом деле более трафикоёмкая операция - 
sudo apt-get build-dep <сорец>

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


-- 
  А ещё говорят так  (fortune):
 
The day after tomorrow is the third day of the rest of your life. 
________________________________________________________________________
С уважением Хихин Руслан

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-10-04  4:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-03 23:44 Konstantin S. Uvarin
2007-10-04  4:02 ` Хихин Руслан [this message]
2007-10-04  5:04 ` Andrew Borodin
2007-10-04  9:10   ` Konstantin S. Uvarin

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=200710040802.52652@ruslandh \
    --to=hihin@rambler.ru \
    --cc=community@lists.altlinux.org \
    /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