Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Dmitry Pryanishnikov                 2:464/36       08 Sep 2004  11:58:17
 To : Vladimir Kurtukov
 Subject : Re: portupgrade problem
 -------------------------------------------------------------------------------- 
 
   This message is in MIME format.  The first part should be readable text,
   while the remaining parts are likely unreadable without MIME-aware tools.
 
 --0-547785163-1094633695=:64391
 Content-Type: TEXT/PLAIN; CHARSET=koi8-r; FORMAT=flowed
 Content-Transfer-Encoding: 8BIT
 Content-ID: <20040908115507.K64391@atlantis.atlantis.dp.ua>
 Привет!
 
 On Wed, 8 Sep 2004, Vladimir Kurtukov wrote:
 
 > Hello Anton.
 >
 > 07 Sep 04 21:53, you wrote to you:
 >
 > AVY>> #portupgrade portaudit
 > AVY>> [Failed `Inappropriate file type or format'] [Updating the
 > AVY>> portsdb <format:bdb1_btree> in /usr/ports ... - 11736 port
 > AVY>> entries
 > AVY>> found .........1000.........2000.........3000.........4000......
 > AVY>> ...5000..... ....6000.........7000.........8000..../usr/local/li
 > AVY>> b/ruby/site_ruby/1. 8/portsdb.rb:587: [BUG] Bus Error ruby 1.8.2
 > AVY>> (2004-07-29) [i386-freebsd5]
 >
 > AY> Ошибка оказывается в ruby
 > AY> http://www.freebsd.org/cgi/query-pr.cgi?pr=66222
 
   Точнее, таки в bdb1 (т.е. в ruby18-bdb1-0.2.2 или скорее всего в коде, 
 реализующем bdb1 в libc).
 
 > мне помог порт portindex. там есть утиль portindexdb, которая быстро и
 > без падений делает нужную базу
 
   Это все workarounds. Правильно полечить работу pkgtools проще всего,
 установив порт databases/ruby-bdb и переключившись на него вот так (проверено,
 работает):
 
 --------------------------------------------------------------------------
 
 Date:      Tue, 07 Sep 2004 19:46:17 -0400
 From:      Mike Edenfield <kutulu@kutulu.org>
 To:        ports@freebsd.org
 Subject:   Re: portsdb and ruby bug on 4-STABLE
 
 > 1.) Install the databases/ruby-bdb port.
 > 
 > 2.) Set an environment variable PORTS_DBDRIVER to bdb-btree (or bdb_hash)
 > 
 > This will change the portsdb's database backend from the libc-builtin bdb1 to 
 > a later berkeley db (you can set which one via the WITH_BDB_VER switch in the 
 > ruby-bdb port).
 > 
 > You can also change the driver for pkgdb by setting PKG_DBDRIVER.
 
 IMO, this is the best solution so far.  So I would like to 
 mention that the easiest way to do this would be to add the 
 following lines to your /usr/local/etc/pkgtools.conf:
 
 ENV['PORTS_DBDRIVER'] = 'bdb_btree'
 ENV['PKG_DBDRIVER'] = 'bdb_btree'
 
 This way, all of the package tools will always see the 
 replacement driver, regardless of the state of the 
 environment when you run them :)
 
 --Mike
 
 --------------------------------------------------------------------------
 Sincerely, Dmitry
 -- 
 Atlantis ISP, System Administrator
 e-mail:  dmitry@atlantis.dp.ua
 nic-hdl: LYNX-RIPE
 --0-547785163-1094633695=:64391--
 --- ifmail v.2.14.os-p7
  * Origin: Atlantis ISP (2:464/36@fidonet)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 portupgrade problem   Anton V. Yuzhaninov   07 Sep 2004 02:32:16 
 Re: portupgrade problem   warlock   07 Sep 2004 07:14:57 
 Re: portupgrade problem   Anton V. Yuzhaninov   07 Sep 2004 08:48:44 
 Re: portupgrade problem   warlock   07 Sep 2004 09:01:30 
 Re: portupgrade problem   Alexander S. Usov   07 Sep 2004 13:51:43 
 Re: portupgrade problem   Kirill Ponomarew   08 Sep 2004 20:16:44 
 Re: portupgrade problem   Andrey V. Malyshev   08 Sep 2004 23:03:15 
 Re: portupgrade problem   Kirill Ponomarew   09 Sep 2004 00:01:35 
 portupgrade problem   Alexander Lunyov   07 Sep 2004 18:46:34 
 Re: portupgrade problem   Dmitry Pryanishnikov   07 Sep 2004 23:45:48 
 Re: portupgrade problem   Anton V. Yuzhaninov   07 Sep 2004 22:53:31 
 Re: portupgrade problem   Demin Alexander   08 Sep 2004 11:01:50 
 portupgrade problem   Vladimir Kurtukov   08 Sep 2004 13:41:47 
 Re: portupgrade problem   Dmitry Pryanishnikov   08 Sep 2004 11:58:17 
Архивное /ru.unix.bsd/245218b8a8bdf.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional