LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-25-2012, 12:37 PM   #1
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Rep: Reputation: 32
apt-mirror not working


I wanted to create a local debian squeeze software repository and for some reason after running it only one time for a test run I stopped it, now when i try to run it again it comes back and tells me that the program is still running. there is nothing showing on the process manager, the processor is only being used at 1% and the process manager is telling me that the gnome desktop environment is doing it but I don't see the apt-mirror process in there. i also tried to uninstall and reinstall it again and still to no avail. how do i get it to work now since all hope is being lost at this moment
 
Old 02-25-2012, 07:34 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi baronobeefdip,

Let us know the exact error message that you get. When you get the error message run the following command and let us know the output:

Code:
ps -eaf | grep apt
 
Old 02-26-2012, 11:40 PM   #3
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
If it matters the debian system i am using was installed with the cd image instead of the dvd and the gnome gui had to be installed from the internet with the apt-get command. the apt-mirror command worked the first time but its showing me this error now so this is a real problem.

the reason why it wasn't installed with the dvd is because the server that it was installed on doesn't have an internal dvd drive nor does it have usb reading capabilities so i had to go with the cd tactic. was this good practice.
 
Old 02-27-2012, 02:19 PM   #4
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

No problem in installing it that way if your system has got connection to the internet. As you said that you want to setup a local mirror so that you do not need to go over the internet to get the packages. I would like to know the output of the command I mentioned before. It will be good if you could let me know how you are trying to setup local mirror?
 
Old 02-28-2012, 09:15 PM   #5
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
heres the error after i try an apt-get update
Code:
Get:1 http://dl.google.com stable Release.gpg [198 B]
Ign http://dl.google.com/linux/chrome/deb/ stable/main Translation-en        
Ign http://dl.google.com/linux/chrome/deb/ stable/main Translation-en_US
Get:2 http://dl.google.com stable Release [1,351 B]
Get:3 http://dl.google.com stable/main i386 Packages [1,252 B]                 
Ign http://192.168.1.102 squeeze Release.gpg                                 
Ign http://192.168.1.102/debian/ squeeze/contrib Translation-en
Ign http://192.168.1.102/debian/ squeeze/contrib Translation-en_US
Ign http://192.168.1.102/debian/ squeeze/main Translation-en
Ign http://192.168.1.102/debian/ squeeze/main Translation-en_US
Ign http://192.168.1.102 squeeze Release
Ign http://192.168.1.102 squeeze/main i386 Packages
Ign http://192.168.1.102 squeeze/contrib i386 Packages
Err http://192.168.1.102 squeeze/main i386 Packages
  403  Forbidden
Err http://192.168.1.102 squeeze/contrib i386 Packages                         
  403  Forbidden
Fetched 2,801 B in 6s (428 B/s)                                                
W: Failed to fetch http://192.168.1.102/debian/dists/squeeze/main/binary-i386/Packages.gz  403  Forbidden

W: Failed to fetch http://192.168.1.102/debian/dists/squeeze/contrib/binary-i386/Packages.gz  403  Forbidden

E: Some index files failed to download, they have been ignored, or old ones used instead.
how do i get the forbidden stuff to go away
 
Old 03-01-2012, 07:18 AM   #6
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Where you have added the local mirror?

Quote:
http://192.168.1.102/debian/ squeeze/contrib Translation-en
Which server is this 192.168.1.102?
 
Old 03-01-2012, 09:11 AM   #7
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
192.168.1.102 is the mirror that i created with apt-mirror, the mirror on the debian website works fine it's just than when i make the mirror locally i get this 403 forbidden error, i think it must be an apache problem but i haven't been able to fix it. the chmod command doesn't work i did it and it no longer gives me a 403 error it gives me a different error now but i can't pull it up right now but if someone knowns what i am talking about that would be greate
 
Old 03-06-2012, 12:39 PM   #8
ed1023
LQ Newbie
 
Registered: Mar 2002
Location: ND
Distribution: Debian
Posts: 5

Rep: Reputation: 0
I was getting the same error for my system, what fixed it for me was I had an error in my smlink.
 
  


Reply



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] Problems with Debootstrap and apt-mirror-based Debian mirror lil_drummaboy Debian 3 06-22-2010 06:12 PM
apt-mirror doesn't create appropriate mirror ??? abd_bela Debian 1 09-30-2009 04:23 PM
LXer: Create a Local Ubuntu Repository using Apt-Mirror and Apt-Cacher LXer Syndicated Linux News 0 08-04-2009 10:13 PM
LXer: How To Create A Local Debian/Ubuntu Mirror With apt-mirror LXer Syndicated Linux News 0 01-04-2007 05:33 PM
add apt-get mirror johntramp Debian 3 04-22-2004 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:49 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
Open Source Consulting | Domain Registration