Displaying 20 results from an estimated 79 matches for "rpm2cpio".
2013 Jan 31
7
How to extract one file from rpm using yum?
I want to get the original version of /etc/clamd.d/amavis.conf from the
amavisd-new rpm to get the defaults to submit a bug report. I could not
figure out how to do this, so I did a reinstall, but it did not replace
this file (whatprovides says it comes from this rpm).
Is there a way to extract just the one file, and better yet, place it
elsewhere than its regular destination?
thanks
2016 Aug 31
0
[PATCH 2/2] Use os-release to detect the distro
...not Frugalware with pacman-g2 *)
let settings = ref no_settings
diff --git a/src/rpm.ml b/src/rpm.ml
index a5dc67a..e409e37 100644
--- a/src/rpm.ml
+++ b/src/rpm.ml
@@ -31,21 +31,24 @@ let stringset_of_list pkgs =
let fedora_detect () =
Config.rpm <> "no" && Config.rpm2cpio <> "no" && rpm_is_available () &&
(Config.yumdownloader <> "no" || Config.dnf <> "no") &&
- try
- (stat "/etc/redhat-release").st_kind = S_REG ||
- (stat "/etc/fedora-release").st_kind = S_...
2016 Aug 31
8
[PATCH 0/2] supermin: use /etc/os-release
Hi,
let's make supermin use /etc/os-release as primary source instead of
the various release files in /etc; apparently distros (e.g. openSUSE)
are starting removing them.
Thanks,
Pino Toscano (2):
Add simple handling of /etc/os-release
Use os-release to detect the distro
src/Makefile.am | 3 +++
src/dpkg.ml | 3 ++-
src/os_release.ml | 78
2006 Aug 08
4
Deconstruct an rpm
Hi
Is it possible to take an rpm apart to see what it will do to a system
and see what files are inside the package?
thanks
2013 Mar 11
2
menu.c32: not a COM32R image
...SYSLINUX_RPM=`find /local/yum-repo/OS/${OSREL}-x86_64/base -name
'syslinux-*.x86_64.rpm' | egrep 'syslinux-[[:digit:]]'`
SYSLINUX_PATH=`rpm -qpl $SYSLINUX_RPM | grep -w menu.c32 | xargs
dirname`
SYSLINUX_TMPDIR=`mktemp -d /tmp/syslinux.XXXXXX`
cd $SYSLINUX_TMPDIR
rpm2cpio $SYSLINUX_RPM | cpio -idm .${SYSLINUX_PATH}/menu.c32
rpm2cpio $SYSLINUX_RPM | cpio -idm .${SYSLINUX_PATH}/isolinux.bin
cp -f .${SYSLINUX_PATH}/menu.c32 $DEST
cp -f .${SYSLINUX_PATH}/isolinux.bin $DEST
cd $PWD
rm -rf $SYSLINUX_TMPDIR
}
createiso() {
TYPE=$1
if [ $TYPE ==...
2005 Mar 01
2
more info about missing fonts in centos 4
redhat did apply the opendesktop patch to build the iso8859-1 fonts, but
then they forgot to rebuild the fonts-xorg package to pick them up. they
have done some magic with how that happens such that you have to build the
full xorg-x11 with a special %define set, and then go rpm2cpio stuff and
tar that and blah blah blah. i am trying to work through this and i have
whined at redhat again.
and normally i am against fiddling with rpms from redhat for centos, but i
am wondering if this might be ok to fix since it is a build problem. once
i figure out the build process i'...
2006 Jul 11
1
RPM: any better way to reinstall only certain files?
...e rpm man pages. Thought the --files or
some such might offer a way ought. IIUC, nope! Seems that I can't select
specific files. It looks like I could do a new install in a new root
(chrooted) and then copy the files out, but I was already aware of an
apparently easier way I had used years ago, rpm2cpio (easier because I
can use the verify output list, slightly edited and reduced, to select
the desired files.
Thought "Well, it probably can do what I want, I just missed it. Maybe
tutorials, HOWTOs, etc. will give the answer". So, using the TOC of each
of these, I probed in vain (in that...
2008 Sep 14
5
Slackware's 'explodepkg' equivalent for rpm?
Hi,
Is there any 'explodepkg' equivalent for the rpm command? What I want is
simply uncompress an RPM package to get the files directly, but I didn't
find anything in rpm's manpage.
Cheers,
Niki Kovacs
2010 Jun 16
2
RECOVER FILE DAEMON SMBD SAMBA
Hello!
Accidentally deletes the file daemon, / usr / lib / samba / classic / smbd.
Now I can not start Samba, Samba reinstalling again in the newer version I
would lose my settings? It will overwrite existing files or just bring back
the excluded?
I use a distribution derived from Suse, when I try to install the yast he
asks that some libraries are installed:
*libstdc + +
**libstdc + +-devel
2014 Sep 17
4
[PATCH 0/2] supermin: use librpm for rpm support
Hi,
this work makes supermin use the rpm library instead of invoking rpm
directly. This, together with a needed refactoring of the dependency
resolution, should help in make supermin faster on rpm-based systems.
Surely the patches will still need polishing, especially for behaviours
of newly added stuff, but at least it's a good starting point.
Noting that you need rpm-devel on most of rpm
2018 Oct 01
2
[supermin PATCH] rpm: support openSUSE Leap 15
...er.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ph_rpm.ml b/src/ph_rpm.ml
index b0a5eb2..3caa38e 100644
--- a/src/ph_rpm.ml
+++ b/src/ph_rpm.ml
@@ -40,7 +40,7 @@ let fedora_detect () =
let opensuse_detect () =
Config.rpm <> "no" && Config.rpm2cpio <> "no" && rpm_is_available () &&
Config.zypper <> "no" &&
- (List.mem (Os_release.get_id ()) [ "opensuse"; "sled"; "sles" ] ||
+ (List.mem (Os_release.get_id ()) [ "opensuse-leap"; "open...
2017 Nov 21
2
skypeforlinux lacks dependencies, won't update
...t
> >> use that text encoding or whatever submodule which depends on a newer
> >> libstdc++).
> >>
> >>
> > > Please explain "Unpacking the RPM". How is one to do that when there
> > are broken dependencies?
>
> Easy.
> rpm2cpio /path/to/whatever.rpm | cpio -idm
>
> Probably best to do that in a temporary directory and see what you get.
> See the cpio manpage for other options.
Exactly. One could also install using `rpm -Uvh --nodeps
skypeforlinux-64-0.rpm`, that worked too even if NOT solving the dep
for uninst...
2016 Sep 05
2
[supermin][PATCH] Fix rpm/zypper detection on openSUSE Tumbleweed
.../SuSE-release anymore.
Search for the new /etc/SUSE-brand in addition.
---
diff --git a/src/rpm.ml b/src/rpm.ml
index a5dc67a..400efbd 100644
--- a/src/rpm.ml
+++ b/src/rpm.ml
@@ -39,7 +39,10 @@ let fedora_detect () =
let opensuse_detect () =
Config.rpm <> "no" && Config.rpm2cpio <> "no" && rpm_is_available () &&
Config.zypper <> "no" &&
- try (stat "/etc/SuSE-release").st_kind = S_REG with Unix_error _ -> false
+ try
+ (stat "/etc/SuSE-release").st_kind = S_REG ||
+ (stat &q...
2011 Sep 27
1
problem in cr: nfs-utils-lib-1.1.5-3.el6.x86_64
...#39;, is not available
rpc.idmapd: Unable to create name to user id mappings.
The /usr/lib64/libnfsidmap/umich_ldap.so library included with the
1.1.5-3.el6 update is noticably smaller than the one included in the
standard 6.0 package, v. 1.1.5-1.el6.
The rpm checks out correctly via gpg and an rpm2cpio->cpio pipe.
Running ldd against the updated library shows the expected links.
But the library appears to not work. Anyone else seen this?
--
Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/
2011 Mar 21
0
Initial look at porting febootstrap to SuSE
...de", "glibc", "glibc-common"]
(2) Download a named package from the repository.
(eg. in yum this corresponds to 'yumdownloader')
(3) Unpack the package and/or list files in the package and/or extract
file(s) from the package.
(eg. in RPM this is 'rpm2cpio')
SuSE
----
Zypper is quite a powerful package manager (based on a SAT solver).
Unfortunately the basic "zypper" program doesn't appear to support any
of (1), (2) or (3), and also most operations require root (eg.
"zypper install --download-only [package...]" unnecess...
2010 Mar 11
1
[PATCH node-image] store iso in build directory after autobuild
...$AUTOBUILD_PACKAGE_ROOT/rpm/RPMS" \
-ta --clean *.tar.gz
fi
+
+#Copy iso image back here for autotest
+
+#get image rpm
+RPM=$(ls -t ${AUTOBUILD_PACKAGE_ROOT}/rpm/RPMS/x86_64/ovirt-node-image-[0-9]*x86_64.rpm | head -n1)
+
+TEMPDIR=$(mktemp -d -p .)
+cp $RPM $TEMPDIR
+cd $TEMPDIR
+rpm2cpio *rpm | pax -r
+cp $(find . -name "*iso") ${AUTOBUILD_SOURCE_ROOT}/${AUTOBUILD_MODULE}
+cd ${AUTOBUILD_SOURCE_ROOT}/${AUTOBUILD_MODULE}
+rm -rf $TEMPDIR
--
1.6.6.1
2008 Jul 29
1
rebuilding firefox-2.0.0.16 from fc8
.../linux/updates/8/SRPMS/firefox-2.0.0.16-1.fc8.src.rpm
with the hope of rebuilding it for el5/centos.
All of the dependencies were available (mostly from rpmforge) except one: something called system-bookmarks. I elected to comment out this from the spec, firefox.spec
I did the extracts with CPIO
rpm2cpio firefox-xxx.src.rpm | cpio -i firefox.spec
then i extracted everything else and copied it to my buildroot
~/redhat/SOURCES
then the moment of truth. I didn't see another way except to rebuild all so I did
>rpmbuild -ba --sign ~/SPECS/firefox.spec
while the above worked, it took long enough...
2016 Jun 10
1
compiling with lsocks support on centos 6?
...figure out where to download the libsocks
>> stuff? I found 1 post on the innernets that said that its integrated in
>> the kernel?
>> How can I get this compiled with socks(5) support?
>
> You may want to get the dante-devel rpm from the ghettoforge plus repo:
>
> ]# rpm2cpio dante-devel-1.4.1-176.9.x86_64.rpm | cpio -t
> ./usr/include/socks.h
> ./usr/lib64/libsocks.so
> 10 blocks
Sorry, did overlook that you are on CentOS 6 while the ghettoforge plus
repo only provides dante packages for CentO 7. So you would have to get
the source rpm
http://mirror.symnds...
2018 Oct 02
1
[supermin PATCH] rpm: generalize openSUSE support
...er.sh | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/ph_rpm.ml b/src/ph_rpm.ml
index 3caa38e..46b7f1f 100644
--- a/src/ph_rpm.ml
+++ b/src/ph_rpm.ml
@@ -40,7 +40,8 @@ let fedora_detect () =
let opensuse_detect () =
Config.rpm <> "no" && Config.rpm2cpio <> "no" && rpm_is_available () &&
Config.zypper <> "no" &&
- (List.mem (Os_release.get_id ()) [ "opensuse-leap"; "opensuse"; "sled"; "sles" ] ||
+ (List.mem (Os_release.get_id ()) [ "sled...
2016 Jun 10
2
compiling with lsocks support on centos 6?
im trying to compile lftp with socks support and im getting the following..
...
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS...