General :: Converting Rpm To Deb And Maintaining "Requires" Dependencies?

Aug 18, 2010

I am using alien to convert an rpm package to a debian package. I need the deb package to check for installed package dependencies and notify the user if the dependent software is not found. In the rpm .spec file there is a section that you can use to specify dependencies such as:

%Requires: java

This dependency is flagged when I install with rpm, but my deb file created by alien doesn't indicate there is a failure.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Alien Converting RPM With %defattr In Spec And Maintaining Permissions?

Nov 10, 2010

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.

View 1 Replies View Related

General :: Lynx RPM Requires Dependencies On CentOS Kernel 2.6.18?

Jul 5, 2011

When i try to run the rpm for lynx (lynx-2.8.5-23.i386.rpm) It comes up with :

warning: lynx-2.8.5-23.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2

error: Failed dependencies: libcrypto.so.5 is needed by lynx-2.8.5-23.i386 libssl.so.5 is needed by lynx-2.8.5-23.i386

View 2 Replies View Related

Fedora :: Circular Package Dependencies - Error "gcc-4.4.2-7.fc12.i686 Requires Libgomp = 4.4.2-7.fc12"

Apr 18, 2010

I have a tricky problem which I could soIve with a c program. I wrote one and found I didnt have gcc so I tried to install it. I was told I needed to install packages. I acknowledged and an error was generated gcc-4.4.2-7.fc12.i686 requires libgomp = 4.4.2-7.fc12 I try to install libgomp and go round again.

View 2 Replies View Related

General :: Copy Certain File Types Recursively While Maintaining File Structure On Destination?

Jun 14, 2011

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.

View 1 Replies View Related

Ubuntu :: Rsync Not Maintaining File Ownership?

May 16, 2011

I have an Ubuntu machine running NFS4 server and a plugapps (arch linux) machine connecting as the client. The plugbox is running an rsync job to backup the home directory from Ubuntu to a local USB HDD.

All of the files in the destination have owner nobody and group nobody.

Ubuntu /etc/exports:

Code:
/home 192.168.2.1/24(rw,sync,no_subtree_check,no_root_squash)
plugbox /etc/fstab

[Code].....

how I can mantain the file owners. I have the UID's and passwords sync'd between the two machines for both root and the user who's home dir is being backed up.

View 9 Replies View Related

Networking :: Manually Maintaining /etc/hosts When Using DHCP??

Feb 17, 2010

I have set up a home network using a modem/router, which my devices connect to via ethernet and wireless. I have got it working but i'm still not happy (stick with me...)!

I have settings configured so as to utilise DHCP, so IP addresses for the different machines are automatically assigned by the modem/router (as i understand it). I then obtained these auto-assigned IPs by running ifconfig on each device. I tested connections between the devices by pinging each other using these IPs (ie ping 192.168.2.2).

BUT I want to be able to use hostnames (ie ping dandelion) instead, and the only way I can make this work is to add hosts and corresponding IPs into the /etc/hosts file.

I have made it work in this way, but doesn't this method defeat the idea of DHCP, as I will now presumably have to manually maintain the /etc/hosts files on each device.

View 4 Replies View Related

CentOS 5 :: Maintaining Multiple Servers To Same Releases?

Aug 10, 2010

We (like many people) have a QA environment and a production environment consisting of several servers. We want to be able to make sure before we do any yum updates on the production machines that we've tested everything in QA. Unfortunately, yum gets the latest software when you run it, so you could run it two hours apart and up with different releases of some software. We need a solution.

I *think* what I have to do is create my own yum repository. There are a variety of articles on how to do that. But before I go through all that, I wanted to make sure I was on the right track. So the process would probably end up being:

1. Create a fresh repository
2. Upgrade QA from that repository, test, etc.
3. Upgrade production from that repository

Can someone verify this is the correct approach, or is there something easier? It also seems like step 1 is going to take a significant amount of time, plus it will continue to take a significant amount of time every cycle.

View 3 Replies View Related

Ubuntu Multimedia :: Splitting Videos And Maintaining Quality?

Feb 24, 2010

I am trying to use ffmpeg to split a number of videos of different types (WMV, MPG, AVI). I do not want to change anything else, just split them into smaller chunks. The video is split, but the quality of the output file is terrible. I would describe it as "blocky" (I think the correct term is "pixelated"). When I make the player (KMPlayer) much smaller the problem naturally goes away.

The command I am using:

ffmpeg -i original_vid.wmv -ss 00:00:00 -t 00:05:00 first_vid.wmv

The output:

FFmpeg version SVN-r19352-4:0.5+svn20090706-2ubuntu2, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5+svn20090706-2ubuntu2 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis

[Code]....

"Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)

Seems to mean something, but I couldn't find anything saying that this is the problem or what O should do to correct it.

View 2 Replies View Related

Ubuntu Servers :: Maintaining Hidden Windows Folders With Samba

Sep 1, 2011

I've set up a ubuntu server at home with the intention of sharing files with windows clients, so I've installed samba. I have no security issues so I've allowed public access to the shares and I can access them fine from all windows machines. I also need to preserve the dos attributes for files and folders using 'map hidden', 'map system', 'map archive' which works great for files but not for folders. I've got a number of folders from my windows box which I would like to keep hidden (for tidiness more than anything) but when I transfer them to the samba share, they become visible again and I can seem to control their visibility at all from windows or from ubuntu. Do I take it from this that samba can only manage to maintain dos flags on files and not on directories?

This is the relevant part of the samba.conf file
Code:

[global]
log file = /var/log/samba/log.%m
passwd chat = *Entersnews*spassword:* %n
*Retypesnews*spassword:* %n
*passwordsupdatedssuccessfully* .
map hidden = yes .....

[media]
comment = Shared files
path = /usr/media

View 2 Replies View Related

General :: User Requires SSH Access To Connect To FTP ?

Oct 4, 2009

I have a CentOS dedicated server running ProFTP. I have created user accounts which are meant for FTP access only but the users cannot connect to the FTP unless their shell access is /bin/bash

Here is an example line that is outputted when I use this command:

This user can access the FTP fine, but he can also access SSH which I don't want to allow him to do. If I set his shell access to /bin/false then he can't connect to the FTP.

What can I use in instead of /bin/bash to allow FTP but don't allow SSH?

View 3 Replies View Related

General :: Install A Software That Requires A Specific Versions Of Several Packages?

Apr 12, 2011

I am trying to install a piece of software that requires a specific versions of several packages. I am using Scientific Linux 5.5 and yum for managing the apps.The problem is that I need, for example ruby >= 1.8.7, but the package for ruby that is the official repositories for SL 5.5 is 1.8.5 and therefore yum says it's up to date.

There are other repositories for SL 6.0 that have ruby-1.8.7. Initially I ignored the fact that they are not for 5.5 and tried to install it manually with rpm. But there was an increasing number of data dependencies for the packages so I gave up. What can I do to avoid this? I suppose installing packages for newer OS version should be ok and they will be compatible with other older libs. But do you really install packages in this manner?

View 1 Replies View Related

General :: Converting Doc To Pdf

Sep 19, 2011

I try to convert a doc file to a pdf file with the linux bash. I tried different ways like jodconverter, ghostscript, postscript and so on, but all didn't work as espected. Additionally I can say that I have only the bash.

View 1 Replies View Related

General :: Converting The Kb To Mb?

Mar 16, 2011

i want to convert kb to mb and i'm wanted to use bash. if i use

"cat /proc/meminfo | grep MemTotal"

will only display in kb and i want to display it in mb.. and i want it to display like this

MemTotal : 250 mb

View 5 Replies View Related

General :: Debian Libfaac0 Requires Version Of Libc6 That Is Much Higher Than Distro

Jan 14, 2009

I think I need to upgrade my libfaac libraries due to some problems I am having with ffmpeg (the libraries are in the package 'libfaac0'). However, it won't install it because my version of libc6 is really out of date, supposedly (but it is actually the most up-to-date version).Do I need to manually upgrade libc6 or is something else messed up? I don't want to do anything that would put me at risk of screwing up a lot of dependencies.

View 1 Replies View Related

General :: Converting Videos To Mp3?

Jul 12, 2011

I've mostly mp4/flv media files,i need to convert them to mp3 to put in my mp3 player but at the same time i like to adjust the mp3 bitrate to save space and maintain quality sometimes. How do i actually do that in Linux. Is there any GUI program that performs the job for me quickly ?

View 14 Replies View Related

General :: Converting A Script Into A Service?

Jan 14, 2011

How to convert a user written script into a service in linux?

View 1 Replies View Related

General :: Hex Values Converting Inconsistently?

Dec 19, 2010

I couldn't really decide where this should be posted, but this is the most general of the forums. Anyway, I've been playing a wargame on intruded.net in which some of the challenges require me to pass hexvalues into the programs as character values. All is well with this, and usually I would use the shell to pass it in, but most of these programs use the gets() method to get my input.

Here comes the problem... The other day I was using my desktop which runs slackware 64 13.1 to do these challenges. My method was to use "echo -e 'xefxbexadxde'" to print them to the shell's standard output and then highlight and copy the resulting values to paste to the program. This works just fine on slackware, but when I repeated the same processes on Ubuntu 64 10.04 (which runs on my laptop) the 'xde' always turns up to be 'x00'. Then I tried some other levels with similar responses, not all the hex values convert to the correct ASCII characters.

View 2 Replies View Related

General :: Stuck On Converting Extensions Tar.gz To .tgz

Jan 18, 2010

I understand that .tar.gz and .tgz are equivalent to each other.

I did some checking as alway online. I am however stuck how to you make files with a tar.gz extenstion become .tgz. In the case of it being a compressed file is there a right and wrong way of doing this.

it seems that I always encounter things slightly off the beaten path, against my less then optimal knowledge of the man pages.

View 3 Replies View Related

General :: Converting The Ntfs To Ext3?

May 13, 2011

converting the ntfs to ext3.

View 9 Replies View Related

General :: Converting And Hardware Compatibility?

Aug 10, 2010

I am an activist. I am becoming concerned with security on line because I have posted videos exposing SERIOUS corruption within the government at all levels. With all the recent claims of executive authority in the name of cyber security and govt eavesdropping I am interested in finding a more secure op sys. Windows is to vulnerable. I have an HP7845 Sound Blaster 64 Sound card. Radeon 9800 video card. I have a large volume of videos and media/research reports I cant afford to lose. How easy is the conversion? And also concerned with software. Will programs work the same or at all?Is my equipment even compatible with other opsystems. Is there a risk of glitches that would curtail my efforts after attempting the change. I KNOW NOTHING about other systems hell I can barely run XP. However I would hate to lose files or go through a months long debugging venture.

View 2 Replies View Related

General :: Converting From Windows To Ubuntu?

May 24, 2010

i have downloaded and installed linux ubuntu onto my hp laptop. now my account in linux does not show my files etc on my harddrive which have obviously been created by windows.how do i transfer/see them in linux?interested in learning but no the best at computer language

View 4 Replies View Related

General :: Converting Script To C Code?

Mar 25, 2011

i wanna covert script to C code or any other method to embed this script in C code, script link [URL]

View 1 Replies View Related

General :: Converting FLV File To MP3 (Only Sound)

Mar 12, 2010

How to convert a .flv file to .mp3 file? (Extracting only the sound)

View 7 Replies View Related

General :: Converting A PDF To Black & White With Ghostscript?

Oct 17, 2010

Similarly to this question:Convert a PDF to greyscale on the command line in FLOSS?I have a PDF-document and want to convert it to pure black and white. So I want to discard halftones. To convert to grayscale with ghostscript I can use this command:

gs
-sOutputFile=output.PDF
-sDEVICE=pdfwrite

[code]....

View 2 Replies View Related

General :: Tool - Converting .VHD Imag To RAW Format?

Oct 23, 2010

I need to convert a VHD file (Hyper-V VM) to the Linux raw format. Is there a tool which can do this which is graphical?

View 2 Replies View Related

General :: Converting Word Document To TIFF?

Apr 26, 2011

I have a CentOS 5.6 box and was wondering if there are any tools for Linux that can convert a Microsoft Word document to a TIFF file?

View 2 Replies View Related

General :: Converting OS X Fonts To Regular Format?

Aug 12, 2010

I need to convert OS X apps to OTF or TTF. Something usable in both Linux and Windows.

Is there any way to do this via the command line, or any app for this?

View 3 Replies View Related

General :: Primary Point Of Converting Dll To Lib In First Place

Apr 15, 2010

I've been looking for a way to run windows-only vst plugins nativley on linux as well as to find a linux driver for my 1394 audio interface with little luck; I would like to do so without relying on wine, and have come across an idea to work out after stumbling on a utility that converts dll to lib (called dll2lib). The idea would be to convert the dll's for a proprietary fw audio dev and dependent MS libraries and manually change what's needed to make it compatible with linux env. is this possible; will I be able to achieve source code from this? if not, what is the primary point of converting a dll to lib in the first place.

View 2 Replies View Related

General :: Batch Converting Video From Avc1 To Xvid?

Aug 8, 2010

I need a way to batch convert 720p video files from avc1 to xvid in Ubuntu 10.04. I'm not terribly concerned about file size, but I do wish to retain the picture quality as much as possible. I believe the audio is encoded as aac, which is fine for my purposes.

What would be the best and easiest way to do this? I've tried using Handbrake. During my first attempt, I had it using ffmpeg to convert to MPEG-4, but that just gave me a super-low quality video at twice the file size. Trying h.264 now, so we'll see how that works out. But just in case it doesn't pan out so well, what other ways do you recommend?

I was thinking I'd write a bash script to reencode the files one by one, but the problem is that I have very little knowledge about codecs and containers and whatnot - so I wouldn't know what parameters I would pass ffmpeg/mencoder.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved