LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-26-2012, 09:16 AM   #1
Danal
LQ Newbie
 
Registered: Oct 2012
Posts: 9

Rep: Reputation: Disabled
help with network mirror?


Hey all, i'm pretty new to linux, and I have a question: after everything is set up, where do you go to select a network mirror? I was unable to select it during installation, and can't seem to figure out how to select one to use. Any help would be much appreciated, thanks!
 
Old 10-26-2012, 09:38 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
what's a network mirror? Do you mean a mirror repository for apt / yum? generally you really don't need to, Yum for one will use plugins to use the one that responds fastest.
 
Old 10-26-2012, 09:40 AM   #3
Danal
LQ Newbie
 
Registered: Oct 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
what's a network mirror? Do you mean a mirror repository for apt / yum? generally you really don't need to, Yum for one will use plugins to use the one that responds fastest.
Yes sir, and oh alrighty. I haven't tried Yum, but apt wasn't working when I tried it. Might help to mention i'm running the latest version of Debian.

Last edited by Danal; 10-26-2012 at 09:42 AM.
 
Old 10-26-2012, 09:44 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well for apt, it will probably be something else, like a network issue. you shouldn't need to do anything to define where to get the repo data from.
 
Old 10-26-2012, 09:50 AM   #5
Danal
LQ Newbie
 
Registered: Oct 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
well for apt, it will probably be something else, like a network issue. you shouldn't need to do anything to define where to get the repo data from.
idk if it is a network issue though, since my internet is working fine on it, it's just apt that isn't working for me

Last edited by Danal; 10-26-2012 at 10:06 AM.
 
Old 10-26-2012, 10:09 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well if you post all the output from a console when you run "apt-get" or other command line based tool, we'll be able to help you out.
 
Old 10-26-2012, 10:49 AM   #7
Danal
LQ Newbie
 
Registered: Oct 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
well if you post all the output from a console when you run "apt-get" or other command line based tool, we'll be able to help you out.
Right right, sorry bout that. Here's what happens when I try to install package bsdgames:

Code:
dan@danal:~$ su
Password: 
root@danal:/home/dan# apt-get install bsdgames
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package bsdgames
root@danal:/home/dan#
And here's what happens when I try to install build-essential:

Code:
dan@danal:~$ su
Password: 
root@danal:/home/dan# apt-get install build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  binutils dpkg-dev g++ g++-4.4 gcc gcc-4.4 libc-dev-bin libc6-dev
  libdpkg-perl libgomp1 libstdc++6-4.4-dev linux-libc-dev make
Suggested packages:
  binutils-doc debian-keyring g++-multilib g++-4.4-multilib gcc-4.4-doc
  libstdc++6-4.4-dbg gcc-multilib manpages-dev autoconf automake1.9 libtool
  flex bison gdb gcc-doc gcc-4.4-multilib libmudflap0-4.4-dev gcc-4.4-locales
  libgcc1-dbg libgomp1-dbg libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7
  glibc-doc libstdc++6-4.4-doc make-doc
Recommended packages:
  fakeroot libalgorithm-merge-perl
The following NEW packages will be installed:
  binutils build-essential dpkg-dev g++ g++-4.4 gcc gcc-4.4 libc-dev-bin
  libc6-dev libdpkg-perl libgomp1 libstdc++6-4.4-dev linux-libc-dev make
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/19.3 MB of archives.
After this operation, 60.2 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Media change: please insert the disc labeled
 'Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 CD Binary-1 20120929-16:46'
in the drive '/media/cdrom/' and press enter
 
Old 10-26-2012, 01:12 PM   #8
Danal
LQ Newbie
 
Registered: Oct 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
well, I added this line to /etc/apt/sources.list

Code:
deb http://ftp.us.debian.org/debian squeeze/updates main
And it still can't find any packages help please?
 
Old 10-26-2012, 01:12 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well for the former I presume that's not a legitimate package name. I can see there should be a bsdgames-nonfree available on google but very briefly I don't see that exact name.

for the other, you've clearly got a way there to insert the disk and install.
 
Old 10-26-2012, 01:17 PM   #10
Danal
LQ Newbie
 
Registered: Oct 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
well for the former I presume that's not a legitimate package name. I can see there should be a bsdgames-nonfree available on google but very briefly I don't see that exact name.

for the other, you've clearly got a way there to insert the disk and install.
I'd rather not go burning and sifting through a ton of CDs just to find one program. here's the result of "cat /etc/apt/sources.list":


Code:
dan@danal:~$ su
Password: 
root@danal:/home/dan# cat /etc/apt/sources.list
# 

# deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 CD Binary-1 20120929-16:46]/ squeeze main

deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 CD Binary-1 20120929-16:46]/ squeeze main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
root@danal:/home/dan#
I know i'm supposed to add something here, I just don't know what exactly.

EDIT: Plus, it would be much easier to install packages through apt than having to switch between several CDs alot.

Last edited by Danal; 10-26-2012 at 01:22 PM.
 
Old 10-26-2012, 02:56 PM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
comment out the 2nd cdrom line
 
Old 10-26-2012, 04:54 PM   #12
Danal
LQ Newbie
 
Registered: Oct 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
comment out the 2nd cdrom line
I did, now it can't even find build-essential:


Code:
root@danal:/home/dan# apt-get install build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package build-essential
root@danal:/home/dan#
 
Old 10-26-2012, 05:16 PM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Sorry, i'm not awesome at apt!

http://wiki.debian.org/SourcesList

add this: deb http://<mirror site> squeeze main
 
Old 10-26-2012, 06:39 PM   #14
Danal
LQ Newbie
 
Registered: Oct 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
Sorry, i'm not awesome at apt!

http://wiki.debian.org/SourcesList

add this: deb http://<mirror site> squeeze main
Oh it's quite alright, I really appreciate your help! and I tried "apt-get install build-essential" with 3 different web addys in /etc/apt/sources.list and none of them worked, so i've just about given up. Thanks a ton for trying though!

EDIT: Whoops! I forgot to add the second url, trying that now.

EDIT2: Still nothing. Oh well.

Last edited by Danal; 10-26-2012 at 06:52 PM.
 
Old 10-26-2012, 06:59 PM   #15
Danal
LQ Newbie
 
Registered: Oct 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Alright, i'm really determined to get this working lol. here's my /etc/apt/sources.list, please tell me if I did something wrong:


Code:
# 

# deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 CD Binary-1 2012$

# deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official amd64 CD Binary-1 2012$

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
deb http://ftp.us.debian.org/debian squeeze/updates main contrib non-free
deb-src http://ftp.us.debian.org/debian squeeze/updates main contrib non-free
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to mirror X desktop on a network machine? 10110111 Linux - Software 3 08-24-2010 07:45 AM
[SOLVED] Problems with Debootstrap and apt-mirror-based Debian mirror lil_drummaboy Debian 3 06-22-2010 07:12 PM
lenny network mirror saintkay Debian 2 06-23-2009 02:18 PM
LXer: How To Create A Local Debian/Ubuntu Mirror With apt-mirror LXer Syndicated Linux News 0 01-04-2007 06:33 PM
remote login and drive mirror across network Present Linux - Newbie 2 11-28-2004 08:52 AM


All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration