Reading rpm database from windows.


 
Thread Tools Search this Thread
Top Forums Programming Reading rpm database from windows.
# 1  
Old 01-24-2012
Reading rpm database from windows.

Hello,

I want to read a rpm database through my program in c ,I searched for it and found there is one library openly available that is rpmlib thorugh which we can access rpm databse but I want to use it from windows is it possible to read one rpm database from windows,I want to read the properties of rpm from windows.

If yes then kindly tell me about it.It is required for my project.

Thanks
# 2  
Old 01-24-2012
Have you tried compiling rpmlib in windows?
# 3  
Old 01-27-2012
Thanks but the problem is that,I have no complete list of files ,I have downloaded form some website but the source code is missing some file and I think that file contains all the important functions.
If there is any library for this present kindly tell me.
Thank you
# 4  
Old 01-27-2012
The full RPM reference code is available at rpm.org.
# 5  
Old 01-27-2012
Quote:
Originally Posted by pradiptart
Thanks but the problem is that,I have no complete list of files ,I have downloaded form some website but the source code is missing some file and I think that file contains all the important functions.
If you explain the exact error in more detail, including what exactly you downloaded, we can help more.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SendEmail - Script reading database file with sleep command

Hello, I would like to send email message to my mail list. I have been running linux based server and I submitted this process manually up to now. I would like to send each individual with a shell script. In ssh panel, I tested below command and it works smoothly. sendEmail -t... (1 Reply)
Discussion started by: baris35
1 Replies

2. Red Hat

How to update rpm database regarding removed file of a package?

For Suppose, I have installed a package having files file1, file2 and file3. After installation, I removed the file "file3". But "rpm -qf file3" is giving the package name, even file3 was not there. And also "rpm -ql package" is also displaying all 3 files. How can i update rpm database about... (6 Replies)
Discussion started by: snreddy_gopu
6 Replies

3. AIX

Cannot get shared lock on database for rpm on AIX 6.1

Hello, I was trying to install python on aix and it was taking too long and I closed the terminal. Now when i issue the command rpm -qa instead of getting all the rpms installed I'm getting the following error. root:stud -> $ rpm -qa cannot get shared lock on database rpmQuery: rpmdbOpen()... (2 Replies)
Discussion started by: gaugeta
2 Replies

4. Shell Programming and Scripting

how to assign ip after reading it from a database

Hi, I'm new to Red Hat. i have a database "work1" which has a table "dd_interface". This table has a column "ip", i have displayed this ip on the command terminal, i want this ip to be assigned eth0.... Can anyone help me with this???? Regards, Owais ---------- Post updated at 02:54 PM... (1 Reply)
Discussion started by: Owais.Ahmad
1 Replies

5. Shell Programming and Scripting

How to make RPM not write to RPM database if RPM fails to deploy?

How to make RPM not write to RPM database if RPM fails to deploy? IE I create an rpm spec file that contains the following if then exit 1 fi My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies

6. Shell Programming and Scripting

Reading data from DataBase and Writing to a file

Hi All, Please help me in writing data to a file in one row. In database there is a column which contains large data which does not fit in the file in one row. The column contains list of paths. I want to write these paths to a file in one row. Please find the code below writes : ... (2 Replies)
Discussion started by: rajeshorpu
2 Replies

7. UNIX for Advanced & Expert Users

Windows 2003 use Samba user database

Hi, I have been looking for information on how to make a Windows 2003 server use the user database of an existing Samba installation. What I want is to use the Win3K as a (second) file server allowing users (using Win2K & Win XP computers) to access its shares using their existing user... (0 Replies)
Discussion started by: jcd
0 Replies

8. Shell Programming and Scripting

how to insert data into database by reading it from a text file??

Hi....can you guys help me out in this script?? Below is a text file and it contains these: GEF001 000093625 MKL002510 000001 000000 000000 000000 000000 000000 000001 GEF001 000093625 MKL003604 000001 000000 000000 000000 000000 000000 000001 GEF001 000093625 MKL005675 000001... (4 Replies)
Discussion started by: pallavishetty
4 Replies

9. Shell Programming and Scripting

Installing database through RPM

Hi everyone I have just joined a software developing team. I am new to unix. Basically we are developing a product, the problem is when the end user will install this package we would like to install the datbase associated with our product using RPM. Can it be done? how secure it is? and... (0 Replies)
Discussion started by: atul.saxena
0 Replies

10. UNIX for Dummies Questions & Answers

reading a windows xp partition ??

Hi, for some reason I cannot read / write my windows xp partitions. I have Suse Linux 7.0. Can someone tell me how I can ???? thnx, Dennis (2 Replies)
Discussion started by: dvvelzen
2 Replies
Login or Register to Ask a Question