Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -u world. Пропустить один пакет
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
edge
n00b
n00b


Joined: 23 Oct 2003
Posts: 57
Location: Ставрополь

PostPosted: Sat Nov 27, 2004 5:31 pm    Post subject: emerge -u world. Пропустить один пакет Reply with quote

Здравствуйте!

Как при апгрейде с помощью emerge -u world пропустить один пакет, чтобы он не собирался?

Например emerge -uDp world:

[ebuild U ] sys-devel/binutils-2.15.92.0.2-r1 [2.15.91.0.2]
[ebuild U ] sys-apps/gawk-3.1.3-r2 [3.1.3-r1]
[ebuild U ] sys-libs/glibc-2.3.3.20040420-r2 [2.3.1-r4]
[ebuild U ] sys-apps/sed-4.1.2 [4.0.9]
.
.

Надо, чтобы не собирался glibc-2.3.3.20040420-r2. Не хватает памяти на его сборку - у меня старый спарк с 32Мb. glibc более старой версии в системе присутствует.
Back to top
View user's profile Send private message
viy
Veteran
Veteran


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

PostPosted: Sat Nov 27, 2004 7:08 pm    Post subject: Reply with quote

Создай файлик /etc/portage/package.mask с такой строчкой:
Code:
>sys-libs/glibc-2.3.1-r4


Больше читай в man portage.
Back to top
View user's profile Send private message
hermes_jr
l33t
l33t


Joined: 26 Feb 2004
Posts: 701
Location: Moscow, Russia

PostPosted: Sat Nov 27, 2004 7:30 pm    Post subject: Reply with quote

Это в случае если есть пакет какой-то версии и ты не хочешь его апгрейдить. А если оно вообще не нужно? Например gnome-games.
Если пхаю "gnome-extra/gnome-games" в package.mask, то при попытке emerge -uD world естесна получаю
Quote:

!!! All ebuilds that could satisfy ">=gnome-extra/gnome-games-2.6" have been masked.
!!! One of the following masked packages is required to complete your request:
- gnome-extra/gnome-games-2.6.2 (masked by: package.mask)
- gnome-extra/gnome-games-2.8.1-r1 (masked by: package.mask)
- gnome-extra/gnome-games-2.8.1 (masked by: package.mask)

For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
!!! (dependency required by "gnome-base/gnome-2.8.0-r1" [ebuild])


!!! Problem with ebuild gnome-base/gnome-2.8.0-r1
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.

Как тут написано делал, чёто не помогло...
Back to top
View user's profile Send private message
viy
Veteran
Veteran


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

PostPosted: Sat Nov 27, 2004 7:50 pm    Post subject: Reply with quote

Может дело в том, что пакет в world-файле? Я вроде где-то видел опцию у emerge'а, которая позволяла не добавлять пакет в world-файл.
Back to top
View user's profile Send private message
hermes_jr
l33t
l33t


Joined: 26 Feb 2004
Posts: 701
Location: Moscow, Russia

PostPosted: Sat Nov 27, 2004 7:57 pm    Post subject: Reply with quote

Точняк! Стёр из world файла, больше не порывается установиться. Сенкс те, viy, большое!
viy wrote:
Я вроде где-то видел опцию у emerge'а, которая позволяла не добавлять пакет в world-файл.

Ага, --inject :) Вместо него теперь /etc/portage/package.provided.
Back to top
View user's profile Send private message
edge
n00b
n00b


Joined: 23 Oct 2003
Posts: 57
Location: Ставрополь

PostPosted: Sun Nov 28, 2004 12:29 pm    Post subject: Reply with quote

viy wrote:
Может дело в том, что пакет в world-файле? Я вроде где-то видел опцию у emerge'а, которая позволяла не добавлять пакет в world-файл.


glibc в world файле отсутствует.
Back to top
View user's profile Send private message
viy
Veteran
Veteran


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

PostPosted: Sun Nov 28, 2004 3:18 pm    Post subject: Reply with quote

edge wrote:
glibc в world файле отсутствует.


Да, конечно. Я имел ввиду проблему hermes_jr.
Ты просто сделай файлик в /etc/portage.

2 hermes_jr: Ты пробуй пихать не просто gnome-extra/gnome-games, а так: >gnome-extra/gnome-games-текущая_версия, т.е. маскируешь все, что выше текущей версии, а не вообще все.
Back to top
View user's profile Send private message
edge
n00b
n00b


Joined: 23 Oct 2003
Posts: 57
Location: Ставрополь

PostPosted: Sun Nov 28, 2004 5:40 pm    Post subject: Reply with quote

viy wrote:
edge wrote:
glibc в world файле отсутствует.


Да, конечно. Я имел ввиду проблему hermes_jr.
Ты просто сделай файлик в /etc/portage.



Делал. Получается то же самое, что и у гермеса.
Back to top
View user's profile Send private message
viy
Veteran
Veteran


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

PostPosted: Sun Nov 28, 2004 6:31 pm    Post subject: Reply with quote

Сделай cat /etc/portage/package.mask и запость результат.
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