Slackware :: Creating A Tar-1.13 In My Path

Oct 1, 2010

I was installing linux and i got the caution below:

WARNING: pkgtools are unstable with tar > 1.13. You should provide a "tar-1.13" in your $PATH. Cannot install /media/SlackDVD/slackware*/a/*.txz: file not found

View 2 Replies


ADVERTISEMENT

General :: Specifying A Destination Path While Creating A Zip?

Feb 5, 2010

Let us assume I have a zip file called patch.zip, when I run unzip -l patch.zip I get the following output.

bin/a
bin/b
lib/c

To this zip file I want to add a new file, "Readme.txt" located at /path/to/Readme.txt in such a way that, when I re-run unzip -l patch.zip again I get something like this

bin/a
bin/b
lib/c
doc/Readme.txt

View 2 Replies View Related

Red Hat / Fedora :: Can't Use It For Creating A Path Variable / File Name?

Mar 15, 2010

Originally Posted by Gekitsuu you should be able to do NEWSTRING=$STRING1$STRING2 it works but i can't use it for creating a path variable / file name.

e.g.
$STRING1 = path
$STRING2 = filename
cat $STRING1$STRING2 will not work.
so how to get this working?

View 4 Replies View Related

General :: Difference Between PATH=$PATH:$1 & PATH=$1:$PATH?

Jan 16, 2011

I found the following function in /etc/profile file.

[Code]...

1. I dont undestand what "if ! echo $PATH | /bin/grep -qE "(^|:)$1($|:)"" this if statement actually comapres??

2. Also what is the difference between PATH=$PATH:$1 & PATH=$1:$PATH

View 14 Replies View Related

Slackware :: Set Java Home Path

Apr 24, 2011

I installed an editor that works fine for root, but for user produces this error.

Code:

How does one set this thing?

View 8 Replies View Related

Slackware :: PATH -13.0: No Such File Or Directory

Apr 21, 2010

I am working on getting my software packages installed on my fresh Slackware64-13.0 installation. Some (but definitely not all) of my executables are unable to be run.

I understand what PATH is for. It is for locating files, folders, executables in those directories when running from a Terminal window.

So, for example, I have just installed Cisco VPN Client for Linux, and it is the strangest thing. I should have access to this. I must not be understanding something here. Does anyone have any idea why this is not working for me? I have put in an example of what I am talking about.

I have no idea why this is not working.

View 9 Replies View Related

Slackware :: Push The Backspace To Continue To Complete The Path?

Apr 9, 2011

has anyone the same problem with bash in -current? Everytime I use the commandline completition with TAB , it adds me a space, so I always need to push the backspace to continue to complete the path.So the whole thng get's a bit unuseable.I'm using bash-4.1.010-486-1 and bash-completition-1.3-noarch

View 4 Replies View Related

Slackware :: Creating A Php Package For 13.1?

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

Slackware :: Submit An Enhancement Request - Envar PATH When Run By Udev

Apr 7, 2010

The value of envar PATH for processes run by the udev system is "/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:.". If peer review (that's you!) agrees it is a poor choice how can I submit an enhancement request? The man pages do not say anything about bug reporting. Here are reasons why it is a bizarre choice:There is no /gnu/bin directory on as-installed Slackware. /usr/local/bin is empty (or very nearly empty?) on as-installed Slackware. Processes running under udev run as root; having "." in PATH is not good practice when running as root. Processes running under udev are likely to be doing "system" work so executables from the sbin directories are likely to be used. For example, udevadm itself is /sbin/udevadm. Presumably this PATH is set by udevd itself; it is not the PATH in effect when udevd is started by rc.M. AFAIK udevd's PATH is not configurable. The workaround is for processes initiated by udev to set a sane PATH for themselves, perhaps "/usr/sbin:/sbin:/usr/bin:/bin". EDIT: seen on Slackware 13.0 32 bit. EDIT2: rc.udev is run from rc.S, not rc.M as stated above

View 7 Replies View Related

Slackware :: Software For Creating DVD Movies?

Jan 3, 2010

Wondering what software everyone uses to make DVD movies? Specifically looking for an easy solution to convert mpeg's and avi's. The is the only action my windows partition gets and I would like to finally get rid of it.

View 8 Replies View Related

Slackware :: Use Existing Swap Instead Of Creating A New One

Dec 22, 2009

Slackware 13.0, about to install it. I do have an existing Ubuntu installation with a roomy 5 GB of swap.

In the installer of Slackware, what should I do to use this swap?

View 5 Replies View Related

Slackware :: Creating A Bootable DVD To Automatically Restore?

Feb 4, 2010

I'll be away from home for the following weeks (and perhaps months). I want to use the Internet with confidence, so I have setup an old computer with SSH and I'll be tunneling to that (from a netbook).I haven't remote-managed a computer for such a long time and I want to be sure that even if I do a mistake remotely, I can bring the computer back to a good known state.The home computer will reside inside my aunt's house and she knows very few about computers.

I've been thinking about burning a bootable DVD containing a tarball of a freshly configured Slackware. If I mess up, I can phone my aunt and tell her to simply put the DVD inside the drive and press ctrl-alt-del. The DVD boots, un-tars (the fresh Slackware), ejects the CD-tray, waits for her to press Enter, closes the tray, and finaly reboots to my good old known fresh Slackware.

View 8 Replies View Related

Slackware :: Creating Partitions On New Lenovo Notebook?

May 27, 2010

I'm trying to create some Linux partitions to install Slackware on my Lenovo W510 notebook and I'm getting some partition "errors" when using fdisk or cfdisk during the Slackware install. I have a feeling this is due to the hidden system restore partition and was wondering how others have dealt with this.

View 4 Replies View Related

Slackware :: Creating A Salix Root Account?

Oct 25, 2010

I am an experienced Linux user, but have never used Salix before. I have a root account set up on my other Linux distros, but can not figure it out using Salix. The reason I want a root account in Salix because I believe in freedom of choice, and my choice always was and always will be to have a root account set up so I can login as root. I am aware of the risk involed in creating a root account.

View 14 Replies View Related

Slackware :: Udev Not Creating Usb/hiddev* Nodes?

Dec 3, 2010

Are there any prerequisites which much be met in order for udev to create /dev/usb/hiddev* nodes?

I have two Slack 13.0 systems, each connected to a APC UPS via USB, one of which creates a hiddev0 node and the other doesn't. apcupsd can't find the UPS unless this node is present.

The "working" system has been stable in its current configuration for so long that I honestly can't remember if I had to tweak anything in this regard. I've verified that it doesn't use any local udev rules to create this node, and to the best of my knowledge there are no external scripts or processes which would create it either.

The non-working system has a similar configuration - no local rules and/or scripts which touch usb devices or nodes.

View 6 Replies View Related

Slackware :: SATA Burners Creating Corrupt Discs?

May 3, 2011

I have two computers with SATA drives and burners installed, and when I try to burn a DVD or CD on either one it comes out corrupt. I have NO such problems on my older IDE drives. Is there a setting I'm missing? I'm getting sick and tired of making coasters.

View 3 Replies View Related

Slackware :: Creating A Suspend/hibernate Script To Handle USB HDDs?

May 25, 2011

Currently running Slackware 13.37 64-bit on a notebook and finally have suspend/hibernate after realizing that USB devices, especially USB HDDs, need to be disconnected before suspend/hibernate can work. Problem is I have 2 USB HDDs that are connected to my notebook whenever the notebook is stationary for the extra storage so I'd like to create a script that would get invoked that would stop the suspend/hibernate process if certain partitions are mounted. I know what I would like to accomplish, but I have basic scripting knowledge

1. script would basically store a user specified string containing devices that are non-USB, ie: $NONUSB="/dev/sda /dev/sdb"

2. possibly use /etc/mtab to get a list of what is currently mounted and then remove lines containing whatever is specified in $NONUSB and store those values in $USB

3. run a for loop that executes 'umount' on each token in $USB

3a. stop suspend/hibernate process if 'umount' fails at any point

3b. if 'umount' passes then suspend/hibernate

View 1 Replies View Related

General :: Move A File To Some Path And Create That Path When It Doesn't Exist?

Oct 8, 2010

I use this command:

Code:

find ./ -atime +360

to figure out the files that haven't been accessed since 360 days. The command above will return results like this:

Code:

/uploads/2010/02/some-file-name.ext
/uploads/2009/08/another-file-name.ext
... etc

I'm taking here about tins of directories, thousands of files. I'm looking to find a command that makes me able to move the results above to another path, and to create that path once it doesn't exist like below:

Code:

mv /uploads/2010/02/some-file-name.ext /old-files/uploads/2010/02/some-file-name.ext

But I want the executed command to create this path

Code:

/old-files/uploads/2010/02/

If it doesn't exist.

View 6 Replies View Related

Programming :: Java Applet Not Loading Image With Relative Path But With Absolute Path / Resolve It?

Jul 17, 2009

Java applet not loading image with relative path(e.g. images/1.jpg) but loads image with absolute path(i.e. from /root/user/images/1.jpg) . This is a problem when i want to host the applet on web server

View 2 Replies View Related

General :: Forcing An Absolute Path Where A Relative Path Is Expected

Feb 21, 2011

I have a program that takes a relative path as input appends it to a some path string to get the actual path.

Now all I can input is the relative path. So if I want to go one level above my input will be ../mypath.

If I know the depth of the path used internally, I can use .. as many times to go to the root directory and then give the absolute path. But suppose I do not know the depth of the directory, can I construct a relative path string such that it considers it as a relative path. One way could be to have enough .. in the path string so that I can force an absolute path for some maximum depth of path.

Is there some path string syntax that I am not aware of but can achieve this?

View 2 Replies View Related

General :: Deleted Path Variable - How To Return To The Original Path Value

Apr 26, 2011

Experimenting with shell variables, accidentally deleted the path variable how could I return to the original path value. What kinds of problems will I have if I don't have a path variable.

View 3 Replies View Related

Red Hat / Fedora :: Appending A Path To PATH Variable Permanently?

Oct 21, 2010

how to add a path to PATH variable permanently so that it remains persisent even after closing shell and rebooting the system when i added a path, to variable it remained there as long as i didn't closed the shell. but when i reopened it ,changed were undone.

View 2 Replies View Related

General :: Change Windows Path To Unix Path?

Sep 14, 2009

I have a path c:windowsackup I need this string to be changed into /windows/back/up I used the command -bash-3.00$ echo windackup | sed 's/\//g' but the output is windbackup

View 7 Replies View Related

General :: Change Absolute Path To Relative Path?

May 31, 2011

Current script:-

prefix=user@my-server:
find . -depth -type d -name .git -printf '%h�' | while read -d "" path ; do (
cd "$path" || exit $?

[code]....

How shall i go about changing the absolute path to relative path, so that /home/git/mirror/android/adb/ndk.git gets converted to /mirror/android/adb/ndk.git //echo <command> "$prefix$PWD.git" ?? - anything for relative path?

View 7 Replies View Related

Slackware :: Default PATH - Python: Can't Open File 'SABnzbd.py': [Errno 2] No Such File Or Directory

Nov 24, 2010

I have just installed SABnzb application in my home folder. The executable file is SABnzb.py When I run the command in the Konsole # python SABnzb.py I have this Quote: python: can't open file 'SABnzbd.py': [Errno 2] No such file or directory

View 5 Replies View Related

SUSE / Novell :: Add Path To $PATH Variable?

Apr 19, 2009

I am trying to figure out how i can add the path /usr/sbin/ into the $PATH variable. I want this to be used from the normal account. I am bored settinh this manualy each time my computer starts.

View 2 Replies View Related

Slackware :: ERROR: Unable To Find File "slib/guile.init" In Load Path

Dec 3, 2010

trying to install gnucash 2.2.9 from SlackBuilds. I have the current versions of slib and guile installed (slib from slackbuilds and guile from slackware). when installing slib I get the following:

Executing install script for slib-3b2-i486-2_SBo.tgz.
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "slib/guile.init" in load path
Package slib-3b2-i486-2_SBo.tgz installed.

Slib is installed. Try to run gnucash and I get the following: gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

ERROR: In procedure primitive-load-path: ERROR: Unable to find file "slib/guile.init" in load path guile.init is in usr/lib/slib as it should be. I'm lost - where should I look next?

View 13 Replies View Related

Fedora :: Add Path In .bashrc By Commenting Out Old Path And Adding New One - Command Source ~/bashrc

Jun 14, 2011

When I add some path in .bashrc by commenting out old path and adding new one like this:

#EXPORT HOME_PLAY=/home/gem/old_play
EXPORT HOME_PLAY=/home/gem/play
EXPORT PATH=$PATH:HOME_PLAY

After saving above changes, I enter the command: source ~/.bashrc Now if I do echo $PATH, the path shows both the old PLAY_HOME and new PLAY_HOME. This is really bad and messes up a lot of things in my project. This problem only goes away if I logout or reboot, a rather very long process. What is happening is that the old path is added to new path element and the old path includes the old path element you want to remove.

View 10 Replies View Related

Programming :: Can I Get Absolute Path Without Giving A "path" But Inode Number By C

Aug 13, 2010

Does anyone know how to get the path with a inode number by C programming?
Or can I get the absolute path without giving a "path" but a inode number by C?

like this: get_path(unsigned inode);
not such this function: getcwd(".", xxx);
taowuwen@gmail.com

View 7 Replies View Related

Fedora :: 12 And VMTools - The Path "" Is Not Valid Path To The Gcc Binary

Mar 23, 2010

running Windows 7 64bit with VMware Workstation 7.01-build 227600. I have some knowledge of Linux, I have installed f12 and have updated the system as of 03/22/2010. All updates completed successfully.

1) How do I install VMTools on the f12 (after mounting the CD/DVD tool package)

2) How do I update the gcc files it says are dependencies?

Here's what I get on installation:Before you can compile modules, you need to have the following installed...

make
gcc
kernel headers of the running kernel

and then I am prompted for this input from the install script:

Searching for GCC...
The path "" is not valid path to the gcc binary.
Would you like to change it? [yes]

and this is where I get stuck. How do I get around this or satisfy the requirements for the install?

View 5 Replies View Related







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