From: "Konstantin S. Uvarin" <khedin@mail.ru> To: ALT Linux Community <community@lists.altlinux.org> Subject: [Comm] apt-get source Date: Thu, 4 Oct 2007 03:44:11 +0400 Message-ID: <200710040344.11424.khedin@mail.ru> (raw) Приветствую! Подскажите пожалуйста, как с помощью 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 Сквозь грабли дорогу проложим себе
next reply other threads:[~2007-10-03 23:44 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-10-03 23:44 Konstantin S. Uvarin [this message] 2007-10-04 4:02 ` Хихин Руслан 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=200710040344.11424.khedin@mail.ru \ --to=khedin@mail.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