similar to: rpm spec question

Displaying 20 results from an estimated 20000 matches similar to: "rpm spec question"

2008 Mar 03
2
rpm - spec - on remove
Hi Is there an option in the spec that i can say on remove do X - eg move a backup file back into place etc? eg %onremove mv foo bar thanks
2008 Dec 02
3
script to find last accessed time?
Can anyone help me with the syntax to find last accessed time on a bunch of dir's - something like show me the files that were last accessed 6 months or more ago? thanks
2009 Apr 25
3
Bug in sernet RPM's postun?
Hi, I was just wondering whether this possible bug with the Sernet Samba3 RPMs for CentOS 5 is known, since it has not yet been fixed. When uninstalling the Sernet RPMs for Samba3 (in this case Samba 3.2.x) the %postun scriptlet fails every time with: # rpm -e samba3-3.2.0-36 /var/tmp/rpm-tmp.56356: line 2: fg: no job control error: %postun(samba3-3.2.0-36.x86_64) scriptlet failed, exit status
2016 Oct 06
2
porting spec files
An rpm intended for a bleeding edge Fedora builds perfectly for me when I comment two macros apparently not in CentOS 7 - %transfiletriggerin and %transfiletriggerun Looks like they operate similar to %post and %postun but are different. Is a simple way to do what they do in CentOS 7 or do I have to change the packaging logic to build in CentOS 7 and have things work properly? -- -=- Sent
2011 Nov 05
1
[YUM] - Issue on package removal order on CentOS 5
Hello, I post here because I have an embarassing issue considering the yum version provided with CentOS 5. I am trying to package an application for CentOS. So I wrote my own specfile which is composed of declaration of various packages (main application and plugins for this applications). In that the configuration, the plugins RPM depends on the main application RPM because. Moreover, in
2007 Sep 21
2
RPM for mod_php
Hi Guys I am trying to find an rpm for CentOS 4.5 and mod_php but i cant seem to find one - Am i going my the wrong name? thanks for any pointers
2020 Jan 23
2
yum update / kernal update failed - remove or repair
On 1/22/20 3:57 PM, Gary Stainburn wrote: > I have managed to find out what happened in the yum update and it turns out it was a mess. It looks like the server ran out of memory in the middle and things then started to fail. Any advice on how to recover from this would be greatly appreciated > > The log below shows: > > [root at vps2 ~]# yum history info 22 > Loaded plugins:
2007 Dec 06
2
RPM Spec and subpackage architecture
Are there any RPM wizards out there that know how to specify a different architecture for a subpackage in a spec file? I have a package that has a binary component and a non-binary component that I would like split into 2 packages one, the binary which is architecture dependant and the other 'noarch'. I haven't found a spec file that does this yet :-( Ross S. W. Walker
2001 Mar 28
1
PATCH: buglet in vorbis-tools.spec
The attached typo results in error on uninstall of vorbis-tools: error: execution of %postun scriptlet from vorbis-tools-1.0beta4-1 failed, exit status 2 cheers/d -- nuclear cia fbi spy password code president bomb 8D97 F297 CA0D 8751 D8EB 12B6 6EA6 727F 9B8D EC2A <HR NOSHADE> <UL> <LI>text/plain attachment: vorbis-tools.spec.diff </UL> -------------- next part
2017 Jul 17
2
Messages during update 'yum update' at CentOS 6 VM
Hello, at the last update (Kernel updated from 2.6.32-696.3.2.el6.x86_64 to 2.6.32-696.6.3.el6.x86_64) I got these messages Updating : ipv6calc-1.0.0-20.el6.x86_64 6/25 /var/tmp/rpm-tmp.yi7R81: line 1: /usr/sbin/ldconfig: No such file or directory warning: %post(ipv6calc-1.0.0-20.el6.x86_64) scriptlet failed, exit status 127 Non-fatal POSTIN scriptlet failure in rpm package
2016 Oct 07
1
porting spec files
On 10/07/2016 01:44 AM, Ned Slider wrote: > On 06/10/16 22:50, Alice Wonder wrote: >> An rpm intended for a bleeding edge Fedora builds perfectly for me when >> I comment two macros apparently not in CentOS 7 - >> >> %transfiletriggerin >> >> and >> >> %transfiletriggerun >> >> Looks like they operate similar to %post and %postun but
2005 Aug 14
5
RPM SPEC rebuild errors
Hello All, I have been trying all afternoon to rebuild the Samba RPM for my Fedora 3 with the MySQL passdb support and from what I can see it only needs the inclusion of "--with-expsam=mysql" in the SPEC file in addition to the regular ones. The problem is that no matter what version of Samba I try to rebuild, it always gice an error at the same place:
2008 Nov 17
6
OT - Automated rpm builds
Hi Currently devs check code into perforce and we have to checkout > package > update repo > deploy I know this could be scripted but are there any tools out there that can take code from a repository and build rpm's in a continuous integration type manner? I have been hunting around for such a tool and so far not seeing anything obvious as i dont want to reinvent the wheel if
2010 Mar 03
1
Update to 3.5 failed
I changed my Sernet Samba repos from 3.4 to 3.5 and updated the Sernet Packages on my CentOS Server with yum. During the installation I got %postun errors. The command "rpm -qa | grep -i samba" lists the following packages as installed: samba3-3.5.0-41.el5 samba3-3.2.11-40.el5 samba3-client-3.5.0-41.el5 samba3-3.2.8-38 samba3-winbind-3.5.0-41.el5 When I want to remove the useless
2013 May 14
3
Local Privilege Escalation
Hi - Looking at https://news.ycombinator.com/item?id=5703758 I have just tried this on a fully patched 6.4 box and it seems vulnerable - Do other see the same? thanks
2010 Apr 22
2
rpm -U query
CentOS, RHEL, all versions. Suppose I am upgrading a package foo-1.0 to foo-2.0 (assume foo is not relocatable), and both packages have %preun sections in their .spec files. It appears that foo-1.0's %preun is run after foo-2.0 has been installed. So what happens if foo-1.0 needs to run a binary that was provided as part of foo-1.0 during its %preun stage, and a binary of the same name is
2008 Dec 12
3
Error on Samba 3.2.6 installation
When I installed Samba 3.2.6 from Sernet, I got the following error: /var/tmp/rpm-tmp.54116: line 2: fg: no job control error: %postun(samba3-3.0.32-36.i386) scriptlet failed, exit status 1 The error happens when installing the samba and winbind RPMs. I got the same error when installing the previous version 3.2.5 and perhaps 3.2.4. The "rpm-tmp.number" was different in those cases,
2007 Mar 29
5
differnt results between df and ls
Hi this is more than likely a general linux question but on a CentOS4 box whats going on here? # ls -al foo.txt -r--r--r-- 1 xxx xxx 1373149856 Mar 28 04:34 foo.txt # du -sh foo.txt 808M foo.txt any ideas ?
2005 Jun 30
1
rpm spec file for "fakejava"
Interestingly, i just posted to the list a similar SPEC file. look at the thread on CGI.pm. I've attached my spec file for "fakejava" as well. It was a lot of trial and error to make it work. None of the documentation I could find was for modern versions of RPM, and IIRC the documentation i did find for older versions was incorrect somehow. I think I had to specify a source
2006 Nov 13
2
CentOS 4.4 - Email Out
Hi I need to set some of our boxes to send mail through our smarthost. In the sendmail.mc file i have set the smarthost and rebuilt the sendmail.cf file. When i send a mail locally on the box though i get this error Diagnostic-Code: SMTP; 553 5.1.8 <root at localhost.localdomain>... Domain of sender address root at localhost.localdomain does not exist What else do i need to edit as