LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-26-2005, 04:17 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: Chicago
Distribution: CentOS
Posts: 1,257

Rep: Reputation: 53
Problem installing rpm with alien


I am getting an error when trying to install and rpm I converted to a deb with alien:

debian:~# rpm -ivh rpm-build-4.2.3-24_nonptl.i386.rpm
rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
error: cannot open Packages index using db3 - No such file or directory (2)
error: cannot open Packages database in /var/lib/rpm

debian:~# dpkg -i rpm-build_4.2.3-25_i386.deb
(Reading database ... 88842 files and directories currently installed.)
Unpacking rpm-build (from rpm-build_4.2.3-25_i386.deb) ...
dpkg: error processing rpm-build_4.2.3-25_i386.deb (--install):
trying to overwrite `/usr/share/man/man8/rpmbuild.8.gz', which is also in package rpm
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
rpm-build_4.2.3-25_i386.deb

debian:~# rm -rf /usr/share/man/man8/rpmbuild.8.gz
debian:~# ls /usr/share/man/man8/rpmbuild.8.gz
ls: /usr/share/man/man8/rpmbuild.8.gz: No such file or directory

debian:~# dpkg -i rpm-build_4.2.3-25_i386.deb
(Reading database ... 88842 files and directories currently installed.)
Unpacking rpm-build (from rpm-build_4.2.3-25_i386.deb) ...
dpkg: error processing rpm-build_4.2.3-25_i386.deb (--install):
trying to overwrite `/usr/share/man/man8/rpmbuild.8.gz', which is also in package rpm
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
rpm-build_4.2.3-25_i386.deb

Does anyone know was is causing this no to install?

Thanks in advance, your help is greatly apprciated!
 
Old 11-26-2005, 04:30 PM   #2
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
Re: Problem installing rpm with alien

There are plenty of hints in the error messages:
Quote:
Originally posted by abefroman
debian:~# rpm -ivh rpm-build-4.2.3-24_nonptl.i386.rpm
rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
error: cannot open Packages index using db3 - No such file or directory (2)
error: cannot open Packages database in /var/lib/rpm
That's a big hint.

Quote:
debian:~# dpkg -i rpm-build_4.2.3-25_i386.deb
(Reading database ... 88842 files and directories currently installed.)
Unpacking rpm-build (from rpm-build_4.2.3-25_i386.deb) ...
dpkg: error processing rpm-build_4.2.3-25_i386.deb (--install):
trying to overwrite `/usr/share/man/man8/rpmbuild.8.gz', which is also in package rpm
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
rpm-build_4.2.3-25_i386.deb
This is a huge hint that rpmbuild is already installed, and part of the pacakge called rpm.

Quote:
debian:~# rm -rf /usr/share/man/man8/rpmbuild.8.gz
Bad idea. There is a switch for dpkg called --force-overwrite. However, I think the clues above are telling you you don't need to install rpmbuild.

Quote:
Does anyone know was is causing this no to install?

Thanks in advance, your help is greatly apprciated!
Try this:

debian:~$ man rpmbuild

or this:
debian:~$ rpmbuild

I think you'll find that it's already installed.
 
Old 11-26-2005, 04:30 PM   #3
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
PS: It's very unhelpful to you to start 4 threads on the same subject. Please post your requests in one thread.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using alien to convert rpm to deb. greythorne Ubuntu 2 04-13-2005 04:14 AM
alien problem jeti Linux - Software 0 12-30-2004 01:35 PM
Installing mysql 4.1 and alien issues Kippy Lang Debian 7 10-31-2004 11:38 AM
Using alien or using RPM?? R00ts Debian 4 07-26-2004 05:48 PM
Installing RPM Problem.... yalanop Linux - Newbie 4 01-27-2003 07:44 AM


All times are GMT -5. The time now is 04:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration