RPM API dependency query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
      I am using rpm-devel package 4.4.2-43.28 on a SLES server to develop rpm API based application. I have implemented code using RPM API to upgarde packages on a separate partition by implimenting the --relocate and --dbpath option. I am encountering an error when I run my application trying to upgrade a package. It complains of /bin/sh needed. I do not see the error if I run the actual rpm command with the same options. I am not sure if I am missing setting some other flags. /bin/sh exists. I have even tried running my application by going into sh, but I still get the same error. One way I could think of is to use the --nodeps flag. But I am not convinced that is the right way as the actual rpm command works. Can anyone provide me some pointers of what I might be doing wrong?

Thanks.

Vijay

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux