General :: Converting .rpm File Into .deb File Using Alien In Ubuntu?
Mar 27, 2010
I have converted a i336.rpm file into .deb file in ubuntu using alien successfully. but I am getting the following error while converting i586.rpm file of the same application into .deb file
Unpacking of 'app-1-1.i586.rpm' failed at /usr/share/perl5/Alien/Package/Rpm.pm line 155.
I have managed to create a HTML file inside python code,convert this to a PNG file through a Python script ?
EDIT: Details added: I have a python script which generates map-legends in the form of an html file. The legend generated have to be pasted on a map which is in a png format. A png format file can be pasted on another png format file easily. But because the legends generated are in a html format I cannot paste it on the map file !!
EDIT: Details added: I did Googling first but it resulted in various soft wares for above purpose which I don't want !!
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.
How would I go about converting a vob file to a DV-MOV or DV-AVI file? Would I have to convert each vob file individually or could I rip it straight from the DVD while watching it somehow?
I have to convert the following .bat file content in the .sh fileset "JAVA_OPTS=%JAVA_OPTS% -Djava.naming.factory.initial=org.jnp.interfaces.Na mingContextFactory" set "JAVA_OPTS=%JAVA_OPTS% -Djava.naming.provider.url=jnp://localhost:1099" set "SECURITY_OPTS= -Djava.security.auth.login.config=D:jboss-5.0.0.CR2-jdk6jboss-5.0.0.CR2serverdefaultconfjaas-standard.cfg"
I just purchased a new digital camcorder and after recording I realized that it records that the files were not in a format that I am use to. I need a program or code that I can use to convert these files into a format that I can watch and that I can manipulate to make a longer movie. Ubuntu 10.4
My problem is to convert an odt file to pdf using php. I wrote an article in odt and I'd want to download it in pdf from my site. I know "fpdf", but it doesn't convert from odt. Someone says to convert from odt to html then to pdf... but some others says NO! Well, do you know a way? (may be also different from odt to pdf, e.g. from latex to pdf).
I'm having some problem converting an mpg file to avi. I did it with mencoder. The result was an avi file as I wanted but the image was like stretched vertically. Like this: (The avi is on the left) What can I do to convert it without the stretching?
I'm trying to convert a 3gp (mobile phone video) file to PAL DVD format (which is I believe MPEG2 video and one of a few audio choices, in an MPEG PS container). But while the file plays fine in mplayer and vlc, my efforts to convert it, using either VLC or devede, always seem to result in either the converted video being speed up (noticeably, we're talking twice as fast or so not 5%), or in the audio going mickey-mouse. How can I get the file converted correctly? Bearing in mind it needs to be PAL not NTSC (so a lot of stuff I might find online isn't going to work as-is)
I have a single VRO file from my camcorder, it is made up of about 100 different clips, they show up as individual clips on my camcorder, but only as a single file when I take it off the camera. Is there any program that can extract or split this file back up into the different clips? It's a pain trying to edit this when I may only need one clip out of it (total number of frames is over 132,000!
Can I ask for some advice in converting a video (from my phone) which is a 3gp file into something more universal. I use audokonverter for audio files and this gives me a menu right-click option to convert a song from (say) wav to mp3. Is there an equivalent for videos? I am using opensuse 11.4 64 bit and have mplayer, xine and vlc installed plus the necessary codecs. Or is it simpler to use ffmpeg in a c/l environment
I have a sendmail alias configured to forward mails to pagers and it was working fine . The mail relays suddenly start converting a mail address of pager into a normal mail(outlook) format address. Say , instead of forwarding a mail to [URL] Provided no configuration inside the mail directory was changed.Which file is responsible in converting the mail-addresses? Is there any other problem with my mail-setup?
I'm running a blog on posterous. Some friends of me post messages there via mail, mostly with some PDF attachments. These PDFs are generated mostly on a MAC with Word. The standard extension of these files is foobar.doc.pdf. Unfortunately, Posterous ignores attachments with the extension .doc.pdf.
So, I'm looking for some workaround. For example, I could my web server with some script, which receives these mails, converts the filenames of the attachment in some way and posts the result to my posterous blog. Therefore I'm looking for some mail processing scripts, which enable me to do so.
I have log files that everyday are downloaded from my webserver in the format: Code: samplesite.com.xxxxxxxxxxx.gz xxxxxxxxxx is a 10 digit epoch time. I am trying to figure out a way in batch to:
1. find all of exisiting files containing the pattern (after the first run it will only be one a day) 2. Isolate the epoch string 3. convert the epoch string to human readable date/time 4. rename the original file as samplesite.com.mmddYYYY.gz
i have generated .exe file from C file (ie filename.c ) after compiling in linux machine with -O option. I wish to know about how to run that .exe file when linux system starts up ?
I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.
Can't log into my XFCE desktop like I normaly do. all the sudden I get notified that my xsession lasted less then 10 secondsLooking at the error I can see this:
Unable to access file /home/username/.iceauthority: No such file or directory
Using failsafe I can start a terminal. From terminal I tried to start X
Code: sudo startx Result: Running on desplay:0
So I tried to run this;
Code: sudo startxfce4 And I get up a graphical desktop.
So this is not a critical situation as I easily can use this method to log on, but as there has been something causing this I would like to be able to resolve this nonetheless. Btw it is not the old chmod trick in play here, cause my .iceauthority file is gone alltogheter.
I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:
error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory make[2]: *** [libmpn.la] Error 127 make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'
I have just been bothered by a fairly small issue for some time now. I am trying to search (using find -name) for some .jpg files recursively. This is a Redhat environment with bash.
I get this job done though I need to copy ALL of them and put them in a separate folder BUT I also need to keep the order intact after copying.
For e.g - If I get a JPG file under /home/usr/new/1/ then the destination also needs to be /test/old/new/1/.
At the moment, I am simply putting all files under /test/old/ and I can't somehow get the later /new/1/ folder path created under /test/old/
I understand this could well be done using while OR if else loop, though if someone can just guide me with a hint, I would be really grateful.
I will complete the rest of the steps and was asking here since I am still not comfortable with the shell/bash scripts yet and planning to be really good at it over the next couple of months.
I need to get the modified date on a file in linux to use in a script.I tried using 'ls -l' on the file, but this caused problems when the date turned from a single digit into a double. The reason for the problem was because I was parsing the result string on spaces.How can I get the date of the last time a file was modified so I can use it in a script? For example, if a file was modified on 1/11/2010, I need the 11.
I am using xubuntu and there are a few types of files on website that instead of downloading and saving and then opening with emacs, I would rather when the radio button choice comes up say open with emacs. I am using xubuntu with xfce, and there is no line for a command to be entered as some ubuntu editions have. In the choice of changing the opening program from mousepad to something else, it says search and allows to navigate to find a program, but I cant find emacs anywhere not in etc/ or elsewhere. So where is its executable to direct the program chooser to?
I have a Linux (Kubuntu) system with a large (~20Gb) file which I would like to mess with. Specifically, I want to copy the entire contents of another large file (~12Gb) to the middle of this file, and keep the bits of the file which are not overwritten.This is what I want to happen, with the text between the pipes representing file contents:Before: