11-15-2011
thanks !
It now says "dpkg needs a target"
Am I doing something wrong ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have files like this
img.txt
./Rearrange_zoca/fitted_data/WX226_05b_Ncere.jpg
./Rearrange_zoca/fitted_data/w322_03B_60_70.jpg
./Rearrange_zoca/fitted_data/wrx226_12A_50_60.jpg
./Rearrange_zoca/fitted_data/wx124_01A_50_60.jpg
./Rearrange_zoca/fitted_data/wx124_02A_50_60.jpg... (3 Replies)
Discussion started by: avatar_007
3 Replies
2. Shell Programming and Scripting
Hello forum members,
I have to create a out file in the current path./aaa/bbb/ccc/hhh.
i am writing script below.
###script Begins#####
#!/bin/ksh
echo "Weclome"
if
then
echo "Hello"
rm -rf $aaa/bbb/ccc/hhh #clean the exsisting o/p file
echo "no... (2 Replies)
Discussion started by: rajkumar_g
2 Replies
3. Shell Programming and Scripting
Hey guys,
I need to know how to locate all .htaccess files on the server and make a backup of them in the folder they reside before I run a script to modify all of them.
So basically taking dir1/.htaccess and copying it as dir1/.htaccess_bk
dir2/.htaccess copying as dir2/.htaccess_bk... (5 Replies)
Discussion started by: boxx
5 Replies
4. UNIX for Dummies Questions & Answers
I have a number of files in directories labeled like this:
/Data/tr_gray/tr_DTI/dti_FA.nii.gz
(the brackets here represent a range of number that the files are labeled with)
I need to rename each dti_FA.nii.gz file according to the name of the folder it resides in. For example, the file ... (3 Replies)
Discussion started by: tk0034
3 Replies
5. Shell Programming and Scripting
Hi,
I am new to shell scripting.Please help me on this.I am using solaris 10 OS and shell i am using is
# echo $0
-sh
My requirement is i have source file say makefile.I need to extract files with extensions (.c |.cxx |.h |.hxx |.sc) from the makefile.after doing so i need to check whether... (13 Replies)
Discussion started by: muraliinfy04
13 Replies
6. Shell Programming and Scripting
I have two files : Alpha and Beta.
The files are as follows (without arrow marks.)
Alpha:
A 1
D 90
G 11
B 24
C 15
Beta:
B 24
C 0 <--
G 11
D 20 <--
A 4 <--
E 777 <--
Expected output of the script :
Alpha: (2 Replies)
Discussion started by: linuxadmin
2 Replies
7. Shell Programming and Scripting
Greetings!
Here's one which has been bugging me for a bit ;)
As might be known, LibreOffice is available to some of us Linux folk as a large set of debs. Of course, being a curious sort, I'd like to dig in and recreate the original tree which is composed of these assorted archives.
So, I... (1 Reply)
Discussion started by: LinQ
1 Replies
8. Shell Programming and Scripting
Hi Guys,
I need to copy the files to respective directories based on name of the file. My script is something like below
con=$1
for file in `cat $con`
do
file_tmp=$(ls -t1 $path| grep -i $file | head -n 1)
echo $file_tmp
if
then
cp $path$file_tmp $DIR/ap
if
then... (16 Replies)
Discussion started by: Master_Mind
16 Replies
9. UNIX for Beginners Questions & Answers
Hi Team,
I got a requirement to send a mail to the individual users of a unix server about their respective groups. can some one help me to provide the script as I am unable to write that.
I tried with below lines but I come out with errors.
cat /etc/passwd | awk -F':' '{ print $1}' |... (6 Replies)
Discussion started by: harshabag
6 Replies
10. Shell Programming and Scripting
I want to make a config file which contain all the paths.
i want to read the config file line by line and pass as an argument on my below function.
Replace all the path with reading config path line by line and pass in respective functions.
how can i achieve that?
Kindly guide.
... (6 Replies)
Discussion started by: sadique.manzar
6 Replies
LEARN ABOUT XFREE86
dpkg-genbuilddeps
DPKG-GENBUILDDEPS(1) General Commands Manual DPKG-GENBUILDDEPS(1)
NAME
dpkg-genbuilddeps - generate a list of packages used to build this package
SYNOPSIS
dpkg-genbuilddeps [arg ...]
DESCRIPTION
This program is a wrapper around dpkg-depcheck(1). It should be run from the top of a Debian build tree. It calls dpkg-buildpackage with
any arguments given on the command line, and by tracing the execution of this, it determines which non-essential packages were used during
the package building. This can be useful in determining what the Build-Depends control fields should contain. It does not determine which
packages were used for the arch independent parts of the build and which for the arch dependent parts, not does it attempt to determine
which versions of packages are required. It should be able to run under fakeroot rather than being run as root, as fakeroot dpkg-genbuild-
deps, or dpkg-genbuilddeps -rfakeroot.
This program requires the build-essential package to be installed. If it is not, please use dpkg-depcheck directly, with a command such as
dpkg-depcheck --all dpkg-buildpackage -us -uc -b -rfakeroot ...
All this program itself does is essentially to run the command:
dpkg-depcheck -b dpkg-buildpackage -us -uc -b -rfakeroot [arg ...]
SEE ALSO
The Debian Policy Manual, sections on Build-Depends etc., dpkg-depcheck(1) and fakeroot(1).
AUTHOR
The original dpkg-genbuilddeps was written by Ben Collins <bcollins@debian.org>. The current version is a simple wrapper around dpkg-
depcheck written by Bill Allombert <ballombe@debian.org>. This manual page was written by Julian Gilbey <jdg@debian.org>.
DEBIAN
Debian Utilities DPKG-GENBUILDDEPS(1)