Red Hat :: Distinguish Between Gdbm 64b To Gdbm 32b In Rpm Spec File?
Oct 13, 2010
In my rpm I need gdbm 32b.when installing on RHEL x86_64 the Reqires section passes with no error since gdbm 64b was found.I need to distinguish between gdbm 64b to gdbm 32b in my spec file.In my spec I use the following :Requires: gdbm = 1.8.0
suppose in tab separated file with n columns and if in a column i put a value which is space separated .how can i able to find out a specific column..ie
I want to change some thing inside the post install script of an existing rpm.there is any way to create a nearest spec file of this rpm, in order to change a bit the post install script inside this spec and then create again the rpm with the fixed spec file? no body wrote any program that can create spec file(99% identical from the orig spec file?)?
I found that "autospec" can construct a spec file. But autospec-0.8-1 is not compatible with python 2.7.1 Moreover autospec seems to be considered as deprecated. Is there a more recent version or some other equivalent utility?
is it possible to write ksh script in the spec file? the target is after I perform rpm -i my_rpm.rpm according to the spec file , ksh script will do some installation & configuration for example run other script and edit some files
I'm trying to create a set of rpm files to install the requirements for a program.I found a great utility named cpanspec that will create a spec file for perl modules and have started building rpm files. I was able to create an rpm file for Business::CreditCard as a regular user. Now I'm trying to build another module that requires B::CC, and rpmbuild -ba fails saying that I am missing B::CC. I don't want to install it just to create another rpm file.Is there a way to make rpmbuild "think" that B::CC is installed in the build environment without installing it on the system?
I have written a spec file for packaging my application in an rpm, but it reports a conflict when I am trying to update my service script in /etc/init.d/. This is a file that I do need to update/replace so how might I force the rpm to do that?
Code:
Summary: A program that increases WAN performance. Name: packetsqueezer Version: 0.3.05 Release: 1
is there a way to specify that I need a 32bit version of a certain library on the "Requires" line of a SPEC file?Since my software contain (a lot of) binaries from other sources (not always RPM compatible) I had to do "AutoReqProv: No" so I can do it manually.Is there a way to explicid say that I need the 32bit version of some library?
I have inherited our Linux packaging and as the number of versions increase, the number of conflicts is starting to get a bit unmanageable. I believe the easiest way would have been to keep the package names the same and just change the release in the spec file but unfortunately I am past that as a lot of these packages are rolled out to our estate. (I am told there were reasons for not keeping the package name the same and incrementing the version/release)
Is it possible to wildcard conflicts so I don't need to keep adding as new versions are created. For example, instead of using all the conflicts below, have something along the lines of AAtest45* <= 1.4 & BBtest45* <= 1.4 Meaning that all I would need to do was change this to 1.5 at the next release (the packages below version matched the release in the spec file)
i want to compile the vanilla kernel 2.6.37-rc3, but i want to obtain a .rpm file. I found this guide long time ago (i used it many times) but it use src.rpm package and the contained kernel.spec file have many lines for adding patches. Someone know where can i download a kernel.spec for vanilla kernel or a guide to obtain an rpm file
this is my output when I try to compile samba 4.0.0 alpha 7 in Ubuntu using the spec file provided in the samba packages:
bin/mergedobj/samba-util.o: In function `file_lines_parse': (.text+0x595c): undefined reference to `_talloc_steal' bin/mergedobj/samba-util.o: In function `data_blob_talloc_named':[code]....
Currently the way tabs on the taskbar look (the bar at the bottom) make it a bit hard to distinguish between them. sometimes they all look like one big clump of text. its quite messy. when you look at something like the windows xp taskbar [URL] its much easier to see between them. I guess its also because the buttons look 3D in that they stick out a bit. Plus the choice of colours used for when you are on a tab helps.
I am running a server at home, and on rare occasion my server will shut down. Is there a logfile I can check to determine whether the server was shutdown due to a script on the computer, a power loss, or someone hitting the power button? I am not by any means a linux guru, but I know enough to get around.
I working on a project, where a central unit (we call it System Controller ) should talk to several peripheral units on different input ports. The system controller have 4 RS485 ports, 1 RS232, 1 USB A, 1 USB B and a switch with 2 TCP/IP ports. The problem is that when the peripheral unit that is supposed to be connected to one of the two TCP/IP inputs isn't connected (which the system should be able to handle), the software thinks that data from the unit connected to the RS232 port is from the unit that should be connected to the TCP/IP.
The input peripherals are defined as: #define CR_DEVICE "/dev/ttyS1" // ttyS1 #define SL_PORT "/dev/ttyUSB0" #define BO_PORT ""
It is the last one which are supposed to receive from the TCP/IP port, and of course the first one which should receive data from the RS232 port.
I'm playing with apache (and to be quite honest have no idea what I'm doing at this stage!) and currently have a large number of files and folders on the sad little site. One thing that is really bothering me is that files and folders both appear the same. I'm not looking for anything fancy. Something like this is more than adequate. Right now there is simply a dot next to each item.
I'm running Ubuntu Server 9.10. I have two external USB HDDs. I use them each for different backup reasons. So certain data gets stored on one HDD, and different information gets stored on the other HDD.
I want to make a script that can look at the external HDD can determine which HDD it is, so that it can copy the proper information to it. Is there a way for Linux to determine this? Like if I see one HDD as /dev/sdc1, then unplug it and plug in the other HDD, should Linux see it as /dev/sdd1 or will it be /dev/sdc1?
I don't quite understand how it determines the /dev/sdxx values that it assigns to drives.
Just wondering, what happens when you have multiple server softwares listening to the same port? will it be able to distinguish which service to use by the protocol information, or is it setting it up for failure?
I'm trying to install radare and under the binary section for fedora it has a .spec file. It this a sort of script for the rpm command? I found a lot of info on how to make spec files but nothing on what they are or how to use them. So I have a radare.spec file, how can I use it to install the program?
I build simple spec file and build rpmI transfer the new rpm to other Linux machine in order to install the new rpmaccording to the spec file the new rpm -> test.sh-6.2-2.i386.rpm should create the /tmp/MY_RPM_TESTS directory , but this rpm not create the MY_RPM_TESTS and sub directoriesplease advice why , what I need to fix in the spec file? RPM installation:
[root@linux1 rpm -Uvh /root/rpmbuild/RPMS/i386/test.sh-6.2-2.i386.rpm Preparing... ########################################### [100%] This is preinstall script
when i try to load ubunto after a few moments i get a message on the screen saying "sync out of spec". I have looked for a fix for this problem and it is suggested that i run a X86config file. Where do i get this file and how do i run it if i cant see anything on the screen.
I am interested in package building rpms, just stumped on how packagers such as remi and atomic rocket get their spec files. Are these written from other packagers or do you need to write each spec file yourself to be considered as a "packager".
This is from Centos 5.5 so I apologize to anyone who may be offended.I installed my system and it came with kernel 2.6.18-194.el5. I installed the src.rpm of this kernel with rpm, patched, and built it. Then I did a yum -y install kernel.i686 which installed kernel-2.6.18-194.32.1.el5.centos.plus.src.rpm. Since this was a yum install, why doesn't this new kernel version show in the BUILD and SPEC directory?
Just joined the group to post this question as I can't find a good answer for it.I have an RPM that has the following in the spec:
%defattr(-,someuser,someuser) /opt/myapplication
When I go to install the RPM, the file permissions for everything in /opt/myapplication are set to root:root. This RPM installs properly in RPM based distros and maintains the correct permissions.
When I run alien -i --scripts --veryverbose myapplication.rpm as root, I can see it chmod'ing everything to 755. Has anyone else had this problem? I tried --fixperms as well and that did nothing.
I have had for a test installed Feodora but was so silly checking the box for encryption the HD. Now I tested all for removing Feodora (no data anymore on the disc) but even the test unlocking this from my ubuntu system failed with the following error:Error unlocking device: cryptsetup exited with exit code 251: Command failed: Failed to setup dm-crypt key mapping.Check kernel for support for the aes-xts-plain64 cipher spec and verify that /dev/sdb2 contains at least 508 sectorsI installed some encryption packages in the meantime - but non was helpful.Would some kind person - who understands this better than I - please provide the detailed steps needed to mount and unlock the encrypted Feodora installed hard disc. Maybe one of you know which packege I have to install.
I'm trying to debug a program that I crosscompiled on a arm9. The crosscompiler uses . spec files to create RPM packages for the target system. The program compiles and runs correctly except when i run the program with gdb and then type list I get this message: Code: 1 main.c: No such file or directory. in main.c I made sure I compiled the program with CFLAGS=-g by putting this in the .spec file. when the application crosscompiles (I believe) it shows it compiled succesfully with the -g flags: Code: checking whether gcc accepts -g... (cached) yes
I've been using pdfTk to encrypt PDFs for distribution to unsophisticated users (that is, users without PGP keys or the will to get one). RC4 encryption, although reasonably adequate for my use, is relatively insecure. I would be more comfortable with AES. Have any gnu tools emerged that implement AES within a PDF container?
What is the minimum computer spec for playing 1080p flash files via a web browser smoothly at least 25fps? We all know that flash is not very good on Linux. On my old computer, I can play 720p flash files in the browser at arount 25fps on Windows, but on Ubuntu on the same computer via dual OS installation, it struggles to play 420p flash files in the browser. So basically, I want to build a new computer and have Ubuntu as the only OS, but this computer needs to be able to play 1080p flash files via the browser (not by downloading and converting them), but straight from the browser smoothly. Is this possible and what would the minimum computer spec need to be to achieve this?