Hello everyone,
I have some trouble with my Crontab.
I want a bunch of jobs to be started daily, things like updating the pkgsync lists from a file-server, running a pkgsync and other stuff. Now...
Type: Posts; User: thedawg; Keyword(s):
Hello everyone,
I have some trouble with my Crontab.
I want a bunch of jobs to be started daily, things like updating the pkgsync lists from a file-server, running a pkgsync and other stuff. Now...
Hahaa, I got it working with aptitude.
I edited the pkgsync script, so that it would "Assume-Yes" and "Allow-untrusted"
/usr/sbin/pkgsync:
" APTITUDE_ARGS="--allow-untrusted -y -q -o...
Yeah gotta say, expect really looks tricky to me, especially because I'm still new to Linux, just know my way around in the shell, but I gotta someday I gotta solve the problem^^
...
Yeah you are right, the automatic install of untrusted packages is not the right way, but there is nothing in my pkgsync list, that I haven't wrote into it.
I just made 1:1 copy of the code,...
Wasn't on the PC, had to run some errands
gonna check now
Hi,
I'm trying to get a script witht tcl Expect, but all I get is, "spawn: command not found"
I've seen this happended a lot of people in the Internet, but there was nowhere a real solution
...
I'm trying to make the interaction with tcl expect, because it seems to be the easiest solution,... yeah but expect is giving me even more problems, since I've never worked with it -_-
This is so...
So this is my "test-script" (I'm still not very good with coding in linux, or coding at all)
:"
#! /bin/sh
export PATH=/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
while :;
no I don't want to interact, it's supposed to happen without me doing a thing
btw. I'll try it out :)
Hallo everyone,
I'm having some trouble with the pkgsync.
Pkgsync is started everyday through cron.daily and due to some new libraries, pkgsync is asking for a request if these packages can be...
Oh wow,
a lot of posts since yesterday :)
So I gonna try it step by step
but thank you all so far for the response :)
Hi there,
so I've a program to define the Date of Easter Sunday for the year of choice.
Originally I've written this program in Powershell, because in school we have to use PS.
Now I have to...
Thanks sudodus, didn't need the options of -o and "%E" and what else I've tried now it works :D
And thanks to rest of you for the quick help (Y)
I'm working as rootuser, I've changed the time and the cp command, now I'm getting another error but he's counting the time it takes to copy a file, mostly all i needed :)
"time -oE...
Hi there,
so I'm trying to measure throughput from my Server to my HDD via a simple cp and the time command
"cp /home/dir1/obj1 /media/benchmarktest/ | time -oE...
That's it,
thanks fdrake
Did not work :(
still getting
" line 16: pkg = nvidia: command not found "
Sorry my fault, of course I've closed it in the end ;)
didn't think the rest would be needed.
Here's the whole if statement where the failure appears
if [ "$(lspci | grep -i vga | grep -i -o...
Hi there, so I have an almost perfect running script, but at one point there is an If statement, in which I'm declaring a variable
[
if [ "$(lspci | grep -i vga | grep -i -o...
Now I remember it, I start the script with the "source" command, same here as well ?
Couldn't find anything on that matter...
Hi there,
is there a way that I can run a simulation of an Installation-Script to check it for bugs, similar to the simulation of pkgsync -s ?
:)
Hahaa! It seems to work, with the last one, thank you very much for your help, kind Sirs.
Thx I'll try that
what did you mean with the test command ? :)
I'm really new to this stuff ^^
Still getting
-su: [: too many arguments
on
on the wrong system
:(
Hi there,
I got a problem with a little If statement and Empty sting here.
The Idea is to check for the Graphic Card so I can select an Installation-package for the right Video Drivers...