View previous topic :: View next topic |
Author |
Message |
Selecter Tux's lil' helper


Joined: 12 Jan 2004 Posts: 128 Location: Estonia
|
Posted: Thu Mar 18, 2004 9:08 am Post subject: Как убрать kde 3.2.1 из стабильной x86? |
|
|
При каждом emerge -Up world мне предлагают обновить kde 3.1.5 на kde 3.2.1. Как ему сказать, чтобы больше не предлагал? Или как убрать его из x86 обратно в ~x86? Та же история с qt. |
|
Back to top |
|
 |
4nykey Apprentice

Joined: 11 Feb 2004 Posts: 180
|
Posted: Thu Mar 18, 2004 9:30 am Post subject: |
|
|
Можно добавить
Quote: | >=kde-base/kde-3.2.0
>=x11-libs/qt-3.3.0 |
в /etc/portage/package.mask |
|
Back to top |
|
 |
hermes_jr l33t


Joined: 26 Feb 2004 Posts: 701 Location: Moscow, Russia
|
Posted: Thu Mar 18, 2004 10:04 am Post subject: |
|
|
Тут есть три варианта.
1. Использовать ключик -i для версии 3.2.1, то есть емердж будет думать что этот пакет уже установлен.
man emerge wrote: |
inject (-i)
Injecting a package inserts a 'stub' for that package so that Portage thinks that it is installed. It is handy if you need, say, a binary version of XFree86 for esoteric hardware, or you just like to roll your own packages. You must specify a category and particular version of a package for injecting. For example, emerge inject sys-kernel/gentoo-sources-2.4.19.
|
2. исользовать ключ -a и ручками указать что надо ставить, а что нет
man emerge wrote: |
--ask (-a)
Before performing the merge, display what ebuilds and tbz2s will be installed, in the same format as when using --pretend; then ask whether to continue with the merge or abort. Using --ask is more efficient than using --pretend and then executing the same command without --pretend, as dependencies will only need to be calculated once.
|
3. перекомпилить нужную версию кде с ключом --oneshot, и она не будет обновляться при следующих вызовах emerge world.
man emerge wrote: |
--oneshot
Emerge as normal, but do not add the packages to the world profile for later updating.
|
имхо, третий вариант удобнее  |
|
Back to top |
|
 |
Selecter Tux's lil' helper


Joined: 12 Jan 2004 Posts: 128 Location: Estonia
|
Posted: Thu Mar 18, 2004 10:26 am Post subject: |
|
|
4nykey wrote: | Можно добавить
Quote: | >=kde-base/kde-3.2.0
>=x11-libs/qt-3.3.0 |
в /etc/portage/package.mask |
Я нашёл здесь /usr/portage/profiles/package.mask
Ещё пришлось добавить kdebase и kdelibs |
|
Back to top |
|
 |
4nykey Apprentice

Joined: 11 Feb 2004 Posts: 180
|
Posted: Thu Mar 18, 2004 10:40 am Post subject: |
|
|
Selecter wrote: | Я нашёл здесь /usr/portage/profiles/package.mask |
Ну если не смущает, что он будет переписан при 'emerge sync', то тоже покатит.
Хотя для таких вещей лучше использовать PORTAGE_OVERLAY и /etc/portage, afaik |
|
Back to top |
|
 |
|