При установке из rpm yast говорит следующее:
ERROR(InstTarget:E_RpmDB_subprocess_failed) ─ │
│ │rpmdb: PANIC: Invalid argument │ │
│ │rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30978) from dbcursor->c_put: DB_RUNRECOVERY: Fatal error, run database rec─ │
│ │rpmdb: PANIC: fatal region error detected; run recovery
---------------скипнуто, ибо много ----------------------------
С чем может быть связано? Машинка для тестов, но вспомнить чем завалил - не могу...
побился rpm? (ошибки при установке пакетов)
Модератор: Модераторы разделов
-
k0da
- Бывший модератор
- Сообщения: 6043
- Статус: SuSE QA Engineer
- ОС: Factory
Re: побился rpm?
rpm --rebuilddb
Fury in my eyes, sword on my side
Afro on my head, I'm a black Samurai
Number One, I bring my whole nation alive
Escape death, to become immortalized
Afro on my head, I'm a black Samurai
Number One, I bring my whole nation alive
Escape death, to become immortalized
-
zzz3000
- Сообщения: 61
Re: побился rpm?
кстати о rpm
в Слакваре я делал так
./configure
make
checkinstall make install
при замене checkinstall на checkinsеall -R какие-то ошибки
как собрать rpm с Checkinstall
в Слакваре я делал так
./configure
make
checkinstall make install
при замене checkinstall на checkinsеall -R какие-то ошибки
как собрать rpm с Checkinstall
Оригинальности предпочитайте стандарт.
-
k0da
- Бывший модератор
- Сообщения: 6043
- Статус: SuSE QA Engineer
- ОС: Factory
Re: побился rpm?
собирать rpm через checkinstall не есть хороший способ.лучше собирать путем написания spec файла (будет работать правильней и везде)
П.С. разве в слакваре нет менеджера пакетов?.
П.С. разве в слакваре нет менеджера пакетов?.
Fury in my eyes, sword on my side
Afro on my head, I'm a black Samurai
Number One, I bring my whole nation alive
Escape death, to become immortalized
Afro on my head, I'm a black Samurai
Number One, I bring my whole nation alive
Escape death, to become immortalized
-
clx
- Сообщения: 3121
- Статус: Think Different !
- ОС: Mac OS X
-
zzz3000
- Сообщения: 61
Re: побился rpm?
Раньше использовал Slackware теперь SuSE
да раньше собирал tgz
теперь почему-то
хочется собирать rpm
как собрать с checkinstall
я пытался (см выше) но не получилось
да раньше собирал tgz
теперь почему-то
как собрать с checkinstall
я пытался (см выше) но не получилось
Оригинальности предпочитайте стандарт.
-
k0da
- Бывший модератор
- Сообщения: 6043
- Статус: SuSE QA Engineer
- ОС: Factory
Re: побился rpm?
Для clx:
поэтому и спросил смысл собирать rpm (не проще ли воспользоватся стандартными для Slackware средствами)
Для zzz3000:
по поводу правильной сборки rpm на сайте (rpm.org) есть туча документации.Да и книжка Maximum RPM в данном случае тоже будет не лишней
вот немного о сборке через checkinstall
For those who don't know it exists (maybe good for a sticky ?):
To install RPM files with Yast, simply type the following at the command line : yast -i blabla.rpm
Afterwards you can easily remove these packages from within Yast.
If you downloaded source code from a program (tar.gz files) you can quickly make an RPM file from it to install it later on your or another pc (if dependencies are OK).
To do this, first of all install the package checkinstall from the SuSE 9.x dvd (I don't know if it exists on other suse versions)..
Then unpack you source package and cd to the directory where you unpacked the tar.gz file.
Run the following two commands:
./configure
make
But now instead of running make install you run checkinstall.
Answer the questions, edit some values if they are not appropriate and let the program run.
When finished, you'll find your uninstalled RPM in /usr/src/packages/RPMS/i686
Now you can install it where you want with yast - i your_package.rpm or with rpm -i your_package.rpm. This allows you to easily uninstall it afterwards because it's impossible or almost impossible to completely uninstall packages installed from source.
поэтому и спросил смысл собирать rpm (не проще ли воспользоватся стандартными для Slackware средствами)
Для zzz3000:
по поводу правильной сборки rpm на сайте (rpm.org) есть туча документации.Да и книжка Maximum RPM в данном случае тоже будет не лишней
вот немного о сборке через checkinstall
For those who don't know it exists (maybe good for a sticky ?):
To install RPM files with Yast, simply type the following at the command line : yast -i blabla.rpm
Afterwards you can easily remove these packages from within Yast.
If you downloaded source code from a program (tar.gz files) you can quickly make an RPM file from it to install it later on your or another pc (if dependencies are OK).
To do this, first of all install the package checkinstall from the SuSE 9.x dvd (I don't know if it exists on other suse versions)..
Then unpack you source package and cd to the directory where you unpacked the tar.gz file.
Run the following two commands:
./configure
make
But now instead of running make install you run checkinstall.
Answer the questions, edit some values if they are not appropriate and let the program run.
When finished, you'll find your uninstalled RPM in /usr/src/packages/RPMS/i686
Now you can install it where you want with yast - i your_package.rpm or with rpm -i your_package.rpm. This allows you to easily uninstall it afterwards because it's impossible or almost impossible to completely uninstall packages installed from source.
Fury in my eyes, sword on my side
Afro on my head, I'm a black Samurai
Number One, I bring my whole nation alive
Escape death, to become immortalized
Afro on my head, I'm a black Samurai
Number One, I bring my whole nation alive
Escape death, to become immortalized