Debian install maintainer environment variable problem


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Debian install maintainer environment variable problem
# 1  
Old 07-20-2010
Debian install maintainer environment variable problem

Hi,

I am using Ubuntu 8.04 (Hardy heron) and I am trying to package my application using 'dpkg'. I am following 'rules' based debian packaging. I am using install script to copy certain shared object libraries into my package installation path.

for eg: ../../../Qt-4.6.2/Release/bin/libSettings.so.1* usr/local/myapp/

Now, I am facing a problem, every time if I install the new version of the supported package (Qt here), I have to manually edit this *.install file for the path (since version is included in the path). I have tried setting an environment variable and tried to read it inside the script but in no vain.

Can anyone help me how to solve this issue? if environment variable is not the right approach, how I can proceed with this?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Debian

Debian install - kernel panic

Hello all, I would like to install Debian Jessie on my i386 When I boot from the installiso I see the menu and pick 'install'. The bios beeps once immediately and I get the following output: I 've tried 3 cd's already...(md5 sum=ok) this computer always ran... (13 Replies)
Discussion started by: drum159
13 Replies

2. UNIX for Dummies Questions & Answers

Setting environment variable problem in Ubuntu?

I am trying to install timbl- memory based learner tools in ubuntu. it after unpacking the tar file it brings the following msg No package 'ticcutils' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you... (1 Reply)
Discussion started by: gbdaw
1 Replies

3. UNIX for Dummies Questions & Answers

Install Cacti on Debian for dummies

Hi all, I want to install cacti (frontend to RRDTool) on my Debian 6 VPS. My dummy questions please... The requirements include RRDTool and net-snmp so is there a way to check these are properly installed? Re the command # apt-get install cacti After logging in to my VPS in putty... (1 Reply)
Discussion started by: Juc1
1 Replies

4. Shell Programming and Scripting

problem with setting environment variable

shell script: #!/bin/csh set VAR=12345 echo $VAR will peacefully give the output 12345 at shell. I need to use C++ to do the same in some part of the code: string str = "12345"; retValue="set var1= "+str; system(retValue1.c_str()); system("echo $var1"); This doesn't create a system... (1 Reply)
Discussion started by: harshvardhan360
1 Replies

5. HP-UX

Install Patch on ServiceGuard environment

I have two hpux11iv1 on ServiceGuard. I need to backup my hpux 11iv1 by EMC backup software. but before i install client agent, i need to install two software patch: 1. J4256AA HP-UX IPSec 2. IPv6NCF11i HP-UX 11iv1 IPv6 I wantna know if i installed two software patch have any impact? or... (5 Replies)
Discussion started by: cooljack123
5 Replies

6. Shell Programming and Scripting

Expand an environment variable in sed, when the variable contains a slash

I'm trying to make a sed substitution where the substitution pattern is an environment variable to be expanded, but the variable contains a "slash". sed -e 's/<HOME_DIRECTORY>/'$HOME'/'This gives me the following error: sed: -e expression #1, char 21: unknown option to `s'Obviously this is... (2 Replies)
Discussion started by: Ilja
2 Replies

7. Linux

install pptpd on debian 5

When I try to configure vpn(client,server), i not find pptpd.conf in debian lenny 5.0. After in command-line: if translate: Don't find package pptpd How can added pptpd? (0 Replies)
Discussion started by: sotich82
0 Replies

8. Shell Programming and Scripting

problem in getting the path of environment variable set in bashrc in my shell script

hi all i have joined new to the group. i have set an variable in my bashrc file. .bashrc PROGHOME=/home/braf/braf/prog export PROGHOME but while using it in my shell script its path is not taken and i had to explicitly give the export command to set the path. in my script... (8 Replies)
Discussion started by: krithika
8 Replies

9. Debian

How to install Debian on a SUNBLADE 100?

I have tried to install the Debian distribution for SPARC processor, but is a pian in the neck trying to boot from cdrom or floppy. Please can somebody to help me to know the easiest way to boot and install Debian on a SUNBLADE 100 system? or wich is the best way to installed on this system, I... (2 Replies)
Discussion started by: GEIER
2 Replies

10. UNIX for Advanced & Expert Users

HISTSIZE environment variable problem

Hi All, I am connecting to a sun solaris 5.9 unix (korn shell) server using the x terminal. There is some problem with the HISTORY File where the HISTSIZE env variable is not working. Although the HISTSIZE is set to 20 already but the HISTORY file keep increasing and exceeded the size. There... (5 Replies)
Discussion started by: Kenneth2006
5 Replies
Login or Register to Ask a Question
SYNCPACKAGE(1)						      General Commands Manual						    SYNCPACKAGE(1)

NAME
syncpackage - copy source packages from Debian to Ubuntu SYNOPSIS
syncpackage [options] <.dsc URL/path or package name> DESCRIPTION
syncpackage causes a source package to be copied from Debian to Ubuntu. syncpackage allows you to upload files with the same checksums of the Debian ones, as the common script used by Ubuntu archive administra- tors does, this way you can preserve source files integrity between the two distributions. syncpackage will detect source tarballs with mismatching checksums, and can perform fake syncs. WARNING
The use of syncpackage --no-lp, which generates a changes file to be directly uploaded to the Ubuntu primary archive or a PPA, is discour- aged by the Ubuntu Archive Administrators, as it introduces an unnecessary window for error. This only exists for backward compatibility, for unusual corner cases (such as fakesyncs), and for uploads to archives other than the Ubuntu primary archive. Omitting this option will cause Launchpad to perform the sync request directly, which is the preferred method for uploads to the Ubuntu primary archive. OPTIONS
-h, --help Show help message and exit -d DIST, --distribution=DIST Debian distribution to sync from. Default is testing during LTS cycles, and unstable otherwise. -r RELEASE, --release=RELEASE Specify target Ubuntu release. Default: current development release. -V DEBVERSION, --debian-version=DEBVERSION Specify the version to sync from. -c COMPONENT, --component=COMPONENT Specify the component to sync from. -b BUG, --bug=BUG Mark a Launchpad bug as being fixed by this upload. -s USERNAME, --sponsor=USERNAME Sponsor the sync for USERNAME (a Launchpad username). -v, --verbose Display more progress information. -F, --fakesync Perform a fakesync, to work around a tarball mismatch between Debian and Ubuntu. This option ignores blacklisting, and performs a local sync. It implies --no-lp, and will leave a signed .changes file for you to upload. -f, --force Force sync over the top of Ubuntu changes. --no-conf Do not read any configuration files, or configuration from environment variables. -l INSTANCE, --lpinstance=INSTANCE Launchpad instance to connect to (default: production). --simulate Show what would be done, but don't actually do it. LOCAL SYNC PREPARATION OPTIONS
Options that only apply when using --no-lp: --no-lp Construct sync locally, rather than letting Launchpad copy the package directly. It will leave a signed .changes file for you to upload. See the WARNING above. -n UPLOADER_NAME, --uploader-name=UPLOADER_NAME Use UPLOADER_NAME as the name of the maintainer for this upload instead of evaluating DEBFULLNAME and UBUMAIL. This option may only be used in --no-lp mode. -e UPLOADER_EMAIL, --uploader-email=UPLOADER_EMAIL Use UPLOADER_EMAIL as the email address of the maintainer for this upload instead of evaluating DEBEMAIL and UBUMAIL. This option may only be used in --no-lp mode. -k KEYID, --key=KEYID Specify the key ID to be used for signing. --dont-sign Do not sign the upload. -d DEBIAN_MIRROR, --debian-mirror=DEBIAN_MIRROR Use the specified mirror. Should be in the form http://ftp.debian.org/debian. If the package isn't found on this mirror, syncpack- age will fall back to the default mirror. -s UBUNTU_MIRROR, --debsec-mirror=UBUNTU_MIRROR Use the specified Debian security mirror. Should be in the form http://archive.ubuntu.com/ubuntu. If the package isn't found on this mirror, syncpackage will fall back to the default mirror. ENVIRONMENT
DEBFULLNAME, DEBEMAIL, UBUMAIL Used to determine the uploader (if not supplied as options). See ubuntu-dev-tools(5) for details. All of the CONFIGURATION VARIABLES below are also supported as environment variables. Variables in the environment take precedence to those in configuration files. CONFIGURATION VARIABLES
The following variables can be set in the environment or in ubuntu-dev-tools(5) configuration files. In each case, the script-specific variable takes precedence over the package-wide variable. SYNCPACKAGE_DEBIAN_MIRROR, UBUNTUTOOLS_DEBIAN_MIRROR The default value for --debian-mirror. SYNCPACKAGE_UBUNTU_MIRROR, UBUNTUTOOLS_DEBSEC_MIRROR The default value for --ubuntu-mirror. SYNCPACKAGE_KEYID, UBUNTUTOOLS_KEYID The default value for --key. SEE ALSO
requestsync(1), ubuntu-dev-tools(5) AUTHOR
syncpackage was written by Martin Pitt <martin.pitt@canonical.com> and Benjamin Drung <bdrung@ubuntu.com>. This manual page were written by Luca Falavigna <dktrkranz@ubuntu.com> Both are released under GNU General Public License, version 3. ubuntu-dev-tools June 2010 SYNCPACKAGE(1)