Sponsored Content
Full Discussion: sed magic
Top Forums Shell Programming and Scripting sed magic Post 302479684 by kurtdriver on Sunday 12th of December 2010 12:53:24 PM
Old 12-12-2010
You could open the file in an editor and remove the hash mark. I'm not familiar with apt, but if it's similar to yum, it'll have an option to enable a specific repository. With yum, I'd just use enablerepo=backtrackrepo.etc.
I'd suggest you read man apt.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Boot Magic 7

For a multi-boot setup (win2K, XP & SuSE) over 3 drives, where should Boot Magic be installed to? And does it matter which o/s installs it? (3 Replies)
Discussion started by: onestepto
3 Replies

2. UNIX for Advanced & Expert Users

what is magic file ?

i am working under this sysytem SunOS sparc SUNW,UltraAX-i2 Some system on this server creates a file named like this. Elem_ee.xml.gz Elem_ee.xml.gz.magic In order to look into Elem_ee.xml.gz.magic, i first renamed Elem_ee.xml.gz.magic to Elem_ee.xml.gz and tried to unzip it. but returns... (3 Replies)
Discussion started by: oppai
3 Replies

3. UNIX for Dummies Questions & Answers

Partion Magic problems.

Hiya people, A great big "HI" to everybody. I'm new to the Forum and now to my problem(s). I am about to partition my only 80GB HD and using the Partition Magic 8 software it looks fairly simple although here is my problem :- 1. Do I change the new partition to primary or logical? 2. Do I... (4 Replies)
Discussion started by: Syndrome_00
4 Replies

4. UNIX for Dummies Questions & Answers

magic.h

Where can I find #defines for filetypes like the ELF etc and the magic.h file? CAn anyone advice. Thanks in advance. (0 Replies)
Discussion started by: vijlak
0 Replies

5. UNIX for Advanced & Expert Users

magic.h

Where can I find #defines for filetypes like the ELF etc and the magic.h file? CAn anyone advice. Thanks in advance. (1 Reply)
Discussion started by: vijlak
1 Replies

6. Shell Programming and Scripting

sed magic!

Hi, I have this line in my script, and works perfect! tran= "$(sed = "$fname" | sed "/./N; s/\n/: /" | sed -n "${beg},${end}p")" $fname its a file, and gets multilines between beg and end.: Something like this: 1: line a 2: line b 3: line c But now, I want insert in the end of each... (9 Replies)
Discussion started by: vibra
9 Replies

7. UNIX for Dummies Questions & Answers

magic 8ball

when i use this code for the script of the magic 8ball, i get an error message and it always displays the sam answer. What am i doing wrong or what am i missing thanks #!/bin/sh #< Magic eight ball! # KW 26/11/04 # Requires "rand" echo "Enter \"q\" followed by return to quit" function... (6 Replies)
Discussion started by: JamieMurry
6 Replies

8. What is on Your Mind?

I got a magic wand

My new magic wand just came. It looks great. Looking at it, it looks like it is carved by hand from a solid piece of wood. It could easily serve as a prop in a Harry Potter film. But it is actually a high tech appliance. A built-in accelerometer can detect how you are moving the wand. ... (2 Replies)
Discussion started by: Perderabo
2 Replies

9. Shell Programming and Scripting

sed magic

Hello all, I have an inherited an old ugly script I'm trying to clean up a bit. What I am currently working on is a line like the following: Complication=" and ta.secID = 011222 and upper(ta.proc_ctrl_no) != 'IMPACT'";; I just want to combine a search for lines that begin with... (5 Replies)
Discussion started by: blip42
5 Replies
APTDCON(1)							    User manual 							APTDCON(1)

NAME
aptdcon - command line client for aptdaemon SYNOPSIS
aptdcon [OPTIONS] DESCRIPTION
aptdcon allows to perform package management tasks, e.g. installing or removing software, using aptdaemon. There isn't any need to be root to run this programme. OPTIONS
-v, --version Show the version number of the aptdcon. -h, --help Show information about the usage of the command. -d, --debug Show additional information on the command line. -i, --install PACKAGES Install the list of PACKAGES. If you want to install more than one package you have to put the package names into quotation marks. --reinstall PACKAGES Reinstall the list of PACKAGES. If you want to reinstall more than one package you have to put the package names into quotation marks. -r, --remove PACKAGES Remove the list of PACKAGES. If you want to remove more than one package you have to put the package names into quotation marks. -p, --purge PACKAGES Purge the list of PACKAGES. If you want to purge more than one package you have to put the package names into quotation marks. -u, --upgrade PACKAGES Upgrade the list of PACKAGES. If you want to upgrade more than one package you have to put the package names into quotation marks. --upgrade-system Upgrade the whole system. --fix-install Try to complete a previously cancelled installation by calling "dpkg --configure -a". --fix-depends Try to resolve unsatisified dependencies. Attention: Currently you don't get a confirmation of the changes, which makes this method quite dangerous since it could remove a lot of packages. --add-vendor-key PUBLIC_KEY_FILE Install the PUBLIC_KEY_FILE to authenticate and trust packages singed by the vendor. --add-vendor-key-from-keyserver PUBLIC_KEY_ID Download and install the PUBLIC_KEY_ID to authenticate and trust packages singed by the vendor. Requires the --keyserver to be set. --key-server KEYSERVER Download vendor keys from the given KEYSERVER. --remove-vendor-key FINGERPRINT Remove the vendor key of the given FINGERPRINT to no longer trust packages from this vendor. --add-repository 'DEB_LINE' Allow to install software from the repository specified by the given DEB_LINE. You have to put quotation marks around the DEB_LINE since it normally contains spaces: 'deb http://ftp.de.debian.org/debian unstable main' --sources-file SOURCES_FILE Specify an alternative sources file to which the new repository should be written. SOURCES_FILE should be only the basename: back- ports.list --list-trusted-vendors Show all trusted software vendors and theirs keys. --hide-terminal Do not attach to the interactive terminal of the underlying dpkg call. --allow-unauthenticated Allow to install packages which are not from a trusted vendor. EXAMPLES
The following command will install the package xterm and remove the package eterm in the same run: $ aptdcon --install "xterm" --remove "eterm" To handle more than one package the names have to be put into quotation marks. The following command will install xterm and eterm: $ aptdcon --install "xterm eterm" The following command will add the backport repository to the sources.list in a separate file /etc/apt/sources.list.d/backports.list : $ aptdcon --sources-file backports.list --add-repostiry "deb http://archive.backports.org/debian stable main" DIAGNOSTICS
By default aptdaemon logs to the syslog facility AptDaemon. Furthermore you can use the -d option to get additional information on the com- mand line. HOMEPAGE
https://launchpad.net/aptdaemon BUGS
You can report bugs at the Launchpad site of aptdaemon: https://bugs.launchpad.net/aptdaemon/+filebug AUTHOR
Sebastian Heinlein <devel at glatzor dot de> SEE ALSO
aptd(1), org.debian.apt(7), org.debian.apt.transaction(7) aptdaemon December 2009 APTDCON(1)
All times are GMT -4. The time now is 08:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy