Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Как получить URL для утсанавливаемых пакетов
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
sinn
n00b
n00b


Joined: 12 Mar 2004
Posts: 53

PostPosted: Sun Apr 03, 2005 8:51 am    Post subject: Как получить URL для утсанавливае Reply with quote

Как узнать URL для пакетов, которые хочу установить.
Т.е. делаю emerge world, получаю URLы всех пакетов.
_________________
..:: non compos mentis or windows rulez ::..
Back to top
View user's profile Send private message
viy
Veteran
Veteran


Joined: 03 Jul 2004
Posts: 1580
Location: Riga, Latvia

PostPosted: Sun Apr 03, 2005 9:46 am    Post subject: Reply with quote

emerge -pfv world
man emerge
Back to top
View user's profile Send private message
sinn
n00b
n00b


Joined: 12 Mar 2004
Posts: 53

PostPosted: Mon Apr 04, 2005 2:18 am    Post subject: Reply with quote

viy wrote:
emerge -pfv world
man emerge

Мне нужен список в таком виде, чтобы можно было подсунить его wget'у.
А здесь на один пакет дублируются урлы.
_________________
..:: non compos mentis or windows rulez ::..
Back to top
View user's profile Send private message
viy
Veteran
Veteran


Joined: 03 Jul 2004
Posts: 1580
Location: Riga, Latvia

PostPosted: Mon Apr 04, 2005 6:33 am    Post subject: Reply with quote

Пропиши только 1 зеркало в /etc/make.conf и/или запускай так: GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/" emerge -fpv world
Back to top
View user's profile Send private message
Nelud
Apprentice
Apprentice


Joined: 08 Oct 2004
Posts: 271

PostPosted: Mon Apr 04, 2005 6:46 am    Post subject: Reply with quote

Code:
emerge -pvf world 2>&1 | awk '{ print $1 }' | grep -v Calculating


P.S. 2 viy: твой метод не работает! надо проверять свою команду перед тем как советовать ;)
Back to top
View user's profile Send private message
SergDL
n00b
n00b


Joined: 04 Apr 2005
Posts: 12

PostPosted: Mon Apr 04, 2005 11:42 am    Post subject: Reply with quote

Попробуй так

emerge -pvf programm 2>&1 | cut -d " " -f 1 | sort -u | grep -v Calc > ~/programm.txt
Back to top
View user's profile Send private message
viy
Veteran
Veteran


Joined: 03 Jul 2004
Posts: 1580
Location: Riga, Latvia

PostPosted: Mon Apr 04, 2005 11:53 am    Post subject: Reply with quote

Хм, я не знал, что emerge будет подсовывать http://dev.gentoo.org/... в виде зеркала...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum