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


ADVERTISEMENT

Ubuntu :: Alien - Converting RPM To DEB?

Jun 17, 2011

Code:

kannibal@Kannibal:~$ cd ~/Desktop
kannibal@Kannibal:~/Desktop$ sudo alien --script -k sqldeveloper-3.0.04.34-1.noarch.rpm
[sudo] password for kannibal:

[code].....

filename is correct and it is placed on the desktop in rpm format but when i try to convert using terminal i get the above errors.

View 2 Replies View Related

Ubuntu :: Converting Rpm With Alien: Deb File Disappears?

Feb 5, 2011

On Ubuntu 10.10 with Alien 8.81 I do a

Code:
sudo alien -dvc ICAClient-11.0-1.i386.rpm
(out below)

[code]....

View 6 Replies View Related

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 View Related

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.

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

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

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 :: Pbnj 2.0 Error In Option Spec

Jul 28, 2010

I've installed pbnj 2.0 with the command "sudo apt-get install pbnj" on ubuntu 10.04 I can successfully scan hosts with the command scanpbnj

[Code]...

View 1 Replies View Related

Ubuntu :: Monitor Sync Out Of Spec On Loading?

Feb 21, 2011

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.

View 1 Replies View Related

Red Hat / Fedora :: RPM SPEC Files ?

Jul 21, 2010

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?

View 1 Replies View Related

Ubuntu :: 32 Bit Rpm On 64 Bit With Alien?

Aug 5, 2010

I got a new computer at work this week. I'm determined to get switched to 64 bit this time around, but what held me up last time was getting my email client to work.

We use Novell Groupwise 7, which is available as a 32bit rpm. alien installed it fine in 32 bit Ubuntu, but when I try the same in 64-bit I get this error:

Code:
dpkg-gencontrol: error: current host architecture 'amd64' does not appear in package's architecture list (i386)

How do I get this installed?

View 6 Replies View Related

Software :: How To Get Spec File From Existing Rpm?

Jan 10, 2009

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?)?

View 4 Replies View Related

Ubuntu :: Alien With 64-bit Architecture

May 31, 2011

I am using 64-bit architecture and getting the following error when using 'alien' command:

Code:
alien -k cnijfilter-common-3.00-1.i386.rpm
cnijfilter-common-3.00-1.i386.rpm is for architecture i386 ; the package cannot be built on

[code]....

View 3 Replies View Related

Ubuntu Installation :: Kernel For Support For The Aes-xts-plain64 Cipher Spec?

Jun 13, 2011

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.

View 2 Replies View Related

Fedora :: Building A Rpm From A Tarball Not Containing The Spec File?

Jun 29, 2011

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?

View 3 Replies View Related

General :: RPM + Rpm Installation (not Create Directory According To SPEC)?

Apr 17, 2011

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

[code]....

View 1 Replies View Related

Software :: Package Building Spec Files?

Jan 12, 2011

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".

View 1 Replies View Related

General :: RPM + Writing Script In The Spec File?

Feb 23, 2011

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

View 5 Replies View Related

Ubuntu :: Computer Spec To Play 1080p Flash Files Via Browser

Nov 11, 2010

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?

View 8 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

Software :: Rpmbuild A Spec File When A BuildRequires Is Not Installed

Dec 8, 2008

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?

View 1 Replies View Related

Programming :: Rpm Spec File To Overwrite Service Script?

May 5, 2010

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

[code]...

View 3 Replies View Related

Red Hat :: Yum Install Kernel Doesn't Show In BUILD Or SPEC?

Mar 12, 2011

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?

View 1 Replies View Related

Ubuntu :: Alien Fails On Conversion Of Rpm Files?

Apr 16, 2010

Having downloaded alien for the first time, and attempted to use it to convert an rpm file to a deb file (specifically asymptote located at [URL]), instead I found that it failed to do so. I've searched on google for a long while, and found that while this appears to be a problem encountered by multiple people, but there are no workarounds posted anywhere. Here is the error message that I am getting:

Unpacking of 'asymptote-1.92-1.fc12.i686.rpm' failed at /usr/share/perl5/Alien/Package/Rpm.pm line 153.

I've tried running the following variants of commands and all fail with the same error:

sudo alien --to-deb --scripts --keep-version asymptote-1.92-1.fc12.i686.rpm
sudo alien -d asymptote-1.92-1.fc12.i686.rpm
sudo alien -k asymptote-1.92-1.fc12.i686.rpm

The errors reported by others are on a variety of packages, so it seems to me that it is an bug with alien itself and not with the package, but that is only a guess.

And related to this, Alien is version 8.69, perl 5.8.8 and ubuntu is 8.04.

View 3 Replies View Related

Ubuntu Installation :: 10.10 - Cannot Install Alien Arena

Dec 19, 2010

I want to install Alien Arena in my ubuntu 10.10, when insert this into my terminal to install it.
Code:
sudo apt-get build-dep alien-arena
this come out

Code:
adib@maizuddin35:~$ sudo apt-get build-dep alien-arena
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Could not open file /var/lib/apt/lists/ppa.launchpad.net_meerkat_stable_ubuntu_dists_maverick_main_source_Sources - open (2: No such file or directory)

View 9 Replies View Related

Ubuntu :: No Sound In Alien Arena - 9.10 > 10.04 Upgrade

May 9, 2010

Alien Arena is seriously awesome in the latest incarnation. Unfortunately sound was disabled after the upgrade. Running from terminal provides the following information:

------- sound initialization -------
dlopen() on libopenal.so.1 failed
Sound failed: Unable to start OpenAL.
Game will continue without sound.

That error message is actually quite good - the first line is the technical problem, the second is what it means, and the last is the result of the problem. Errors involving a "lib" usually mean the lib is not installed (or broken). OpenAL is a sophisticated free software audio API. Using this system is A Good Thing. A quick check in synaptic shows that the libraries are not installed.

View 3 Replies View Related

Fedora :: Installing Alien In The 15?

Jul 25, 2011

I wanted to convert some deb package to rpm for fedora 15 that I couldn't find an rpm for, I was using alien for that task on ubuntu but when moved to fedora I couldn't find it in the repositories or an easy installable package, I don't know anything about building from source as it's the only way in front of me how to install that program 'alien' on fedora

View 3 Replies View Related







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