Visit Our UNIX and Linux User Community

Operating Systems Linux Ubuntu Pressed/Net Install 12.04 LTS Post 302844069 by general_lee on Friday 16th of August 2013 09:34:01 AM
Old 08-16-2013
Pressed/Net Install 12.04 LTS

So I mounted a 12.04 LTS ISO, exported it via apache. Goy my netinstall files in place. Pointed Foreman to my install media the Preseed config files run. Life is good.

Server comes up, I run apt-get update and blam:

Code:
: Failed to fetch http://myhost:80/foreman_media/ubuntu-12.04.2-server-amd64/dists/precise-updates/main/source/Sources  404  Not Found

W: Failed to fetch http://myhost:80/foreman_media/ubuntu-12.04.2-server-amd64/dists/precise-updates/restricted/source/Sources  404  Not Found

W: Failed to fetch http://myhost:80/foreman_media/ubuntu-12.04.2-server-amd64/dists/precise-updates/universe/source/Sources  404  Not Found

W: Failed to fetch http://myhost:80/foreman_media/ubuntu-12.04.2-server-amd64/dists/precise-updates/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://myhost:80/foreman_media/ubuntu-12.04.2-server-amd64/dists/precise-updates/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://myhost:80/foreman_media/ubuntu-12.04.2-server-amd64/dists/precise-updates/restricted/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://myhost:80/foreman_media/ubuntu-12.04.2-server-amd64/dists/precise-updates/universe/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://myhost:80/foreman_media/ubuntu-12.04.2-server-amd64/dists/precise-updates/multiverse/binary-amd64/Packages  404  Not Found

Clearly these precise-* locations are not part of my install media, hence the error.

Do I need to make the the precise-* locations available in my install media?

Would it be possible to use local install media for the install and local/external repos for the updates?

Install from myhost.com
Use archive.ubuntu.com or myaptrepo.com for updates

How would this appear in my preseed file?

Any help would be great.

Ta
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Install of net

How do you install linux over the net? (1 Reply)
Discussion started by: macdonto
1 Replies

2. Programming

know what key is pressed

hi im making a program, and i would like to know how can i know what key was pressed. i'm using Sun5.7 and C. is there a keypress/keypressed function in C? how can i know recognize the keys (enter, tab, shift, etc.)? can i recognize two keys ? (shift+A, ctrl+C, etc) any idea.. thanks (4 Replies)
Discussion started by: DebianJ
4 Replies

3. Shell Programming and Scripting

detect F5 is pressed

Hello friends, I want to write a shell script in bash shell . Working for the script is to detect any key pressed and disply on screen as "you have pressed: " For example if user pressed F5 then a messaged has to be displayed as "you have pressed F5. Thank you. (4 Replies)
Discussion started by: pradeepreddy
4 Replies

4. Shell Programming and Scripting

how can i do some action when 'ctrl+d' is pressed

hi Gurus, please why is this happening: when i run this: #!/bin/bash declare -a name declare -a ph declare -a eid r=0; c=1; i=1; n=; echo " name phone email_id" while : do #if ; then #break; #else echo -n "field $i:"; read name ph eid; let "i++"; ... (5 Replies)
Discussion started by: tprayush
5 Replies

5. Solaris

M5000 boot net- install failed

Good evening all,I'm new to your site, so please bear any infringements or transgressions on my part.I'm new to the whole Solaris boot install over the net scenario, but here's where I'm stuck:I have an M5000 with 2 domains (running unimode). Domain 0 is configured and running Solaris 10. Domain 1... (9 Replies)
Discussion started by: RandomSun
9 Replies

6. Shell Programming and Scripting

how can i know the pressed key is arrowup?

Hi all, I need to know how to test a pressed key is arrowup or arrowdown and etc.. I found that the "echo" won't print anything if i enter the arrowup in the below code: read echo "you pressed $REPLY" Then i find a way to achieve my goal. 1 #! /bin/bash 2 3 ARROWUP='\;then... (4 Replies)
Discussion started by: homeboy
4 Replies

7. Shell Programming and Scripting

Perl: errors during "install Net::SSLeay"

Hi, Here is the errors: Any help will be greatly appreciated! (4 Replies)
Discussion started by: aixlover
4 Replies

8. Solaris

Net Boot with Flash install

I have a blade 6000 chassis with a T6340 blade. The blade took a dump and I am trying to rebuild it with a Flash Archive. I am using net boot from an E2900 and the flash is located on a an array that is attached to my v245 management server. I can net boot and I can select flash install. When I put... (1 Reply)
Discussion started by: ryan_ford
1 Replies

9. Shell Programming and Scripting

Get Rid ^C when pressed Ctrl-C

How do i get rid of the ^C when i pressed Ctrl-C? (7 Replies)
Discussion started by: vietrice
7 Replies

10. AIX

How to install bos.net.NFS.server 7.1.x.x ??

Hello Everyone, I am in quite a deliema, where do I get bos.net.nfs.server 7.1.0.0 from?? I am running AIX 7.1.3.3 & PowerHA 7.1.3 on this server. #lslpp -l |grep nfs bos.net.nfs.client 7.1.3.15 COMMITTED Network File System Client cluster.es.nfs.rte ... (0 Replies)
Discussion started by: gorkhali
0 Replies
MADISON-LITE(1)                                           Debian General Commands Manual                                           MADISON-LITE(1)

NAME
madison-lite -- display versions of Debian packages in an archive SYNOPSIS
madison-lite [--config-file file] [--mirror directory] [--nocache] [--update] [-S] [-r] [-a architecture[,...]] [-c component[,...]] [-s suite[,...]] package [...] DESCRIPTION
madison-lite inspects a local Debian package archive and displays the versions of the given packages found in each suite (for example, stable, testing, or unstable) in a brief but easily human-readable form. It aims to be a drop-in replacement for the madison utility (since renamed to dak ls), from the dak archive management suite that runs on the central Debian archive systems, but one which can run without access to the archive's SQL database. The following options are available: --config-file file Read configuration from file, and ignore the system configuration file (see CONFIGURATION below). --mirror directory Quick configuration: use directory as the top level of the Debian mirror. --nocache Normally, parts of the Packages and Sources files in the archive are cached in ~/.madison-lite/cache for speed. This option disables that behaviour. --update Force caches of Packages and Sources files to be updated. -S, --source-and-binary Interpret package as a source package name, and display versions of any associated binary packages as well as of the source package. -r, --regex Interpret package as a Perl regular expression anchored at the start of the package name rather than as an exact name. Make sure to quote any shell metacharacters such as '*' or '?' if necessary. -a, --architecture architecture[,...] Display only entries for packages built for these architectures. Separate multiple architectures with commas or spaces. -c, --component component[,...] Display only entries in the given components. Separate multiple components with commas or spaces. -s, --suite suite[,...] Display only entries in the given suites. Separate multiple suites with commas or spaces. CONFIGURATION
madison-lite reads configuration information from the file named by --config-file, or, if that is not supplied, from the first of ~/.madison-lite/config and /etc/madison-lite/config that exists. The following configuration directives are recognized: mirror directory Set the top-level directory of the local Debian mirror. Relative directories in the suite directive are interpreted relative to this directory. Defaults to the current directory. suite name directory [component [...]] Defines the suite name based at directory, containing the specified components (defaulting to all subdirectories of directory). Output is displayed following the order of suite directives in the configuration file. If no suite directives are present, then every subdi- rectory of the dists directory under mirror is treated as a suite, with all of their subdirectories as components. The Debian archive is structured such that the subdirectories of each suite directory identify components (such as main). Each of those in turn has subdirectories for each architecture (binary-i386, and so on), each of which contains any or all of Packages, Packages.gz, and Packages.bz2 files listing binary packages; it also has a subdirectory called source which contains any or all of Sources, Sources.gz, and Sources.bz2 files listing source packages. The configuration file may contain comment lines, which start with a '#' character. EXAMPLES
Show versions of the coreutils package: $ madison-lite coreutils Show versions of all binary packages on powerpc produced by the glibc source package: $ madison-lite -S -a powerpc glibc Show versions of all packages in the unstable suite whose names begin with 'man': $ madison-lite -s unstable -r 'man.*' An example configuration file for a simple local mirror: mirror /mirror/debian suite unstable dists/unstable main suite unstable-non-US non-US/dists/unstable non-US/main SEE ALSO
dpkg-scanpackages(8), dpkg-scansources(8), apt-ftparchive(1) AUTHORS
madison-lite was written by Colin Watson <cjwatson@debian.org>. The interface mirrors that of madison (since renamed to dak ls), written by James Troup. Debian August 1, 2007 Debian

Featured Tech Videos

All times are GMT -4. The time now is 03:05 PM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy