General :: Creating Rpm Package From Filesystem Objects?
Mar 19, 2010
I am able to create a solaris package and hpux package from directory structure in a specific format rather than spec file but the same i can not do on linux . is there any way to do that . basically i can create the solaris package using command pkgtrans -s "source loc" "package location" all .we do not need any specfile here rather we create the package from the filesystem objects in a proper directory structures. again pkgadd -d option will install the datastream from a package but i did not find the same on linux.
View 1 Replies
ADVERTISEMENT
Mar 26, 2010
I have to create jffs2 filesystem for ARM.I have already created directories and nodes of devices as well as inittab script for ext2 filesystem. Now I don't know how to proceed from here. How to convert ext2 to jffs2. One more thing, is it necessary to create partition on hard drive on which one filesystem is already present to create one more new filesystem.
View 1 Replies
View Related
Apr 14, 2009
I'm having trouble getting subversion working on Centos 4.7. When I try to create a repository using:
Code:
svnadmin create /path/to/repo
I get:
Code:
svn: Berkeley DB error while creating environment for filesystem repo/db: Invalid argument
svn: bdb: Berkeley DB library configured to support only DB_PRIVATE environments
I've searched the Net, with little luck. Threads seem to suggest that Centos has this flag compiled into the Berkeley DB RPM by default; whereas SVN doesn't want it. Someone, somewhere, must have got this to work and I'm sure it's something really simple I'm doing wrong.
[code]....
View 1 Replies
View Related
Oct 25, 2010
He bought a Kguard DVR and a 2TB WD harddrive (SATA). First I tied formatting it from the DVR itself, but it failed. I then connected it to my computer using an USB2SATA connector, and tried formatting it with gparted. That failed with the message: "No partition table found on device /dev/sdd" When trying to create a msdos or gtp partition table it performs the action without errors, but it doesn't save the changes.
Same thing when using parted. When trying to create a msdos or gtp table (or label) it doesn't complain, but when i try to create a partition or simply use the print command it gives me the error "unrecognized disk label". I allso tried fdisk, but it told me to use parted instead due to the large size of the disk.
View 13 Replies
View Related
Oct 21, 2010
What is the recommended filesystem to use when creating a home server/nas?
I'd be sharing files using SAMBA, DLNA Server or some sort of streaming. I'll have two win7 laptops, 2 ubuntu desktops and ps3 accessing the files. Most of the time the server will just 75% read from 25% writing.
Would ext4 be an ideal?
View 4 Replies
View Related
May 19, 2011
I'm trying to format an external hard disk under Ubuntu 10.04. All starts well, but eventually I get the message:
Error formatting volume
Error creating file system: helper exited with exit code 1:
Error calling fsync(2) on /dev/sdb1: Input/output error
View 1 Replies
View Related
Mar 6, 2010
I want to enable Advanced NTFS-3G support (permissions and users) automatically from the fstab entry.
View 1 Replies
View Related
May 25, 2011
I need to make a script that controls or checks certain assets of a JBoss server. Like if the server is running or down, or how much memory he uses, etc.Now, via the website of Nagios, i've found a script which i can use.Where can i find the things i need to check on this?On the JBoss server i get an overview of everything, but i really don't have a clue where to start looking.
View 2 Replies
View Related
Jun 30, 2010
I want to know that is there any way to peep inside the shared object and see its code ?
View 4 Replies
View Related
Oct 13, 2010
Running against a situation here, for which I have solutions in mind, but for some reason or another they don't really strike me as "good" solutions.
I am making a customized for myself (eg with postgreSQL support) php package. Configure and make run fine; but upon make install the make tries to access httpd.conf in the $DESTDIR/etc/httpd
My first thought is: prior to 'make install' copy the file from /etc/httpd to the target dir;
View 4 Replies
View Related
Jul 21, 2010
Trying to count the number of oracle instances on HPUX 11.23 - using ksh. I have multiple instances running and I would like to have a count for how many processes for eachinstance.Example, run the 'ps -efu oracle' command and for each instance increment a counter. So I am looking forINT1=# INT2=# INT3=# ... INTn=#I keep thinking a 'do-while' or some type of 'while' loop but I am missing something, somewhere
View 2 Replies
View Related
Jul 8, 2011
Why can't chroot command be used for dynamically linking objects?
View 1 Replies
View Related
Jan 4, 2011
While installing an RPM x, it gave the error message as shown in subject. I used "df -m" and found the /filesystem has 406MB available space.
View 5 Replies
View Related
Jan 3, 2010
I have spent hours installing different packages and have everything pretty much how I want them. Is there a way to get a list of all the packages and/or save it in a way that should I need to reinstall, I do not miss anything
View 1 Replies
View Related
Mar 3, 2010
Is there a guide on creating a package from PHP scripts or something? Example: if I've developed a system and I want to make it to a deb file to deploy to my friends and such. I've tried looking for one but I have not been lucky so far.
View 4 Replies
View Related
Mar 21, 2011
I've been scooting around Google to try and figure out how to create ackage files.pparently their created by a utility (which is already installed on my PC) called 'autopackage'. I've been to their website (www.autopackage.org) but I can't find anything on how to actually create the .package files
View 5 Replies
View Related
Mar 11, 2011
I am trying to mount a file image, like this
mount -o loop /tmp/apps.img /media/apps
But I get the following:
mount: you must specify the filesystem type
I try ext3:
mount -o loop /tmp/apps.img /media/apps -t ext3
dmesg says:
error: can't find ext3 filesystem on dev loop6.
I've also tried ext2, vfat etc. How can I detect the filesystem type of apps.img?
View 2 Replies
View Related
Apr 6, 2010
For a project I have had to migrate from FreeBSD to Linux and I have decided to choose Debian because I have had good experiences with it.However, since my main development machines are completely offline I have run into a little bit of trouble.Is there a way to specify a .deb package and get a tool to recursively list (and fetch) all dependency packages that are not included in the base install and put them in a folder?
I do not like to be tied to the internet (Never a good idea) and so this would save me a heap of trouble (and journeys to an online PC)Once I have these folders containing packages, then I can simple cd into one of them, dpkg -i the relevent .deb and not have to rely on the DVDs or worry about connecting to an online repositoryLife will be good!Suffice to say FreeBSD can do this well so I strongly believe that Debian will be able to aswell but since it is not normally done, I havn't found much on google about it
View 8 Replies
View Related
Mar 24, 2010
I've had a look at some similar threads but as I'm very new to linux they're already a bit technical for me. Sorry, this calls for someone with patience. I gather from other threads that disconnecting an external drive without unmounting is a no-no, and this seems to be the likely cause. Now the disk is read only and I'm unable to change any settings through the usual control panel on ubuntu. I'm just not familiar with the terminal instructions. I tried to cut and past a few command lines from other threads but I got some warnings that proceding could damage data. Like this one: WARNING! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.
View 5 Replies
View Related
May 1, 2010
I have installed phpldapadmin 1.2.0.5 Using commands in shell I have added two users and some groups into a base (ldif-file) and I see them in phpldapadmin. But when I try to add users or groups by using graphical interface (phpldapadmin) I can't do this correctly because I can't to select a type of new entry and I see a tip "classes of objects from XML does not support LDAP-server". So I can't to create a new entry by using graphical interface. Here is my slapd.conf
[code]...
View 3 Replies
View Related
Jul 13, 2010
I am running Fedora 13 in VMWare. I tried doing a software update and I get this error message when tring to install the updated kernel:
Test Transaction Errors: installing package kernel-PAE-2.6.33.6-147.fc13.i686 needs 6MB on the /boot filesystem
how to increase the memory space required for installation.
View 3 Replies
View Related
Jan 21, 2010
I did the "yum update" today, the process was doing well but, the follow error appears:
Transaction Check Error:
installing package kernel-PAEdebug-2.6.31.12-174.2.3.fc12.i686 needs 9MB on the /boot filesystem
Look:
Code:
Transaction Summary
==================================
Install 10 Package(s)
Upgrade 33 Package(s)
Remove 1 Package(s)
[code]....
View 6 Replies
View Related
May 18, 2011
I am very new to linux, and I have a question regarding the filesystem check (fsck). The power recently went out and when I tried to restart linux the following error appears:
*/dev/sda1 contains file system w/errors, check forced it then goes on to say..
*An error occured during the file system check. Dropping you to a shell; the system will reboot when you leave the shell. Give root password for maintenance (or type Control-D to continue) I wasn't sure what to do, but checked some other online forums and they suggested running fsck manually - so I typed in the root password - and used the command, "fsck -A -V ; echo == $? ==" it then gave the following message
*WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage
*Would you like to continue (y/n)
Again, I wasn't sure what to do so i just checked no. I then manually turned off the computer and was prompted at the beginning to press Alt-3. I was brought to another screen and it informed me one of the drives was degraded and suggested rebuilding the array. I tried doing this, but it still brings me back to the original error of, "/dev/sda1 contains file system w/errors, check forced," and the process continues.
Also, when I tried to rebuild the array, I didn't backup any of the data on our home directory before doing this (which was probably a big mistake). After being prompted to type the root password, I was able to give the ls command and look at all the directories...the home directory where our data was stored was empty and I am afraid I may have lost some information. Is there a possibility that data was lost when I was trying to rebuild using the old drives?
View 2 Replies
View Related
Feb 9, 2011
I have it so that an Env object contains all the variables in the current scope, and the parent scope. You can also save them to variables like objects, and my idea is to use the "." operator to get values from them.
First, how do I assign to them? I currently have it that only a variable name can be assigned to, but you should be able to assign to an "obj.value" expression, too. How do I keep track of what variable to set and still be able to say it in an expression and have it evaluate to the variable?
Second, these object don't really have a "type", they're just containers that contain any values you want under any name you want. How can I, for example, define a primitive "boolean" object and have things like if statements recognize it?
View 14 Replies
View Related
Jan 24, 2010
I'm COMPLETELY new to linux. I"m running Ubuntu 9.10 and TRYING to install Devede. I have tried the Terminal, Synaptic Manger, and the Add/Remove and still keep getting this same error. I'm running a regular 32 bit Pentium 3 process to test if I like Linux or not. this is what it says: E: /var/cache/apt/archives/libavcodec-extra-52_4%3a0.5+svn20090706-2ubuntu3_i386.deb: corrupted filesystem tarfile - corrupted package archive this is not a DUAL boot computer either.
View 8 Replies
View Related
Oct 28, 2010
I have a question about shared objects and when mapping and linking is established in the following code...Well more of a verification.
getsetx.c - shared object source code Code: unsigned long x = 0;
unsigned long getx(void)
{
return x;
}
[Code].....
Now its my understanding when I execute ./testit, getsetx.so will get mapped into its address space at start up and testit will link any functions as they are needed..
View 3 Replies
View Related
Apr 6, 2011
I have two classes, for argument's sake A and B. A implements the core functionality, B is an encapsulated data structure. If you imagine this situation
[code]...
From within B's member functions, I would like to access the public function() in class A. This is not an inheritance issue, they are two discrete classes with radically different functionality. Class A makes an object of B.
View 5 Replies
View Related
Aug 31, 2010
I am trying to make a hash of objects in perl (long story.) I have a package containing the main hash and all the subroutines necessary to work with it. My "new" subroutine used to add an object to the hash goes like this:
Code:
$tmpdir="/tmp";
$subdir="/AutoScript";
[code]...
View 14 Replies
View Related
Jun 24, 2010
I cannot get this to work
Code:
#!/usr/bin/python
# -*- coding: iso-8859-1 -*-
import re
# @description "This is a describing text about the file currently documentet";
#DocC documentation prototype
[Code]...
View 4 Replies
View Related
Apr 5, 2011
Is there anyway to show package size that comes up in the search so you don't have to apt-get install package individually and wait for the installation initiation and then reject to install after it gives u the [y/N] confirmation thing?
View 2 Replies
View Related