LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-09-2009, 02:36 AM   #1
odin06
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
Apt-cacher help!


Hi to All!

Im a super noob in ubuntu and im just starting to discover its strengths, one of them is APT-CACHE/APT-CACHER. Imagine a local repository that saves a lot of your bandwidth. Now back to my concern, ive done a "Server-Client" of APT-CACHER already, but im getting this message when i enter the sudo apt-get update to my ubuntu client,

"Failed to fetch http://192.168.2.44/ubuntu/dists/jau...source/Sources 403 Sorry, not allowed to fetch that type of file: Packages"

Am i missing something? coz im pretty sure i followed the Ubuntu Tech Docs correctly.

Need your help on this guys.. Thank you very much!
 
Old 10-10-2009, 12:13 AM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
A 403 is a forbidden message. So I would start with the permissions on this folder structure. Just for quick reference. http://en.wikipedia.org/wiki/HTTP_403

Can you post what doc you followed so we can reference that. Also just for grins, try changing the privileges to 777 on the ubuntu directory and see if that lets you download them. If it does then Try removing write from the all group and see if you can still download them.
 
Old 10-10-2009, 05:32 AM   #3
odin06
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Nice!

https://help.ubuntu.com/community/Apt-Cacher-Server

Ive used this reference. and applied the second option in client installations. can you teach me where to put the 777 rights? i really appreciate the help.

Thanks.
 
Old 10-10-2009, 07:48 AM   #4
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by odin06 View Post
Nice!

https://help.ubuntu.com/community/Apt-Cacher-Server

Ive used this reference. and applied the second option in client installations. can you teach me where to put the 777 rights? i really appreciate the help.

Thanks.
if you go to your web root. Where the ubuntu folder first exists, you will then want to type in the following command,

Code:
sudo chmod -R 777 ubuntu
what that will do is make all files read / write. Then test to see if that works. Then if it does you will want to remove the write access for the everyone group. this can be done my doing the following.

Code:
sudo chmod -R o-w ubuntu
Can you also post what release of Ubuntu you are using to host the updates?

One last thing. Can you post your apt-cacher.conf file.

Last edited by jstephens84; 10-10-2009 at 07:53 AM.
 
  


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
LXer: Create a Local Ubuntu Repository using Apt-Mirror and Apt-Cacher LXer Syndicated Linux News 0 08-04-2009 10:13 PM
Apt-cacher offline mode problem Paralel Linux - Software 0 03-15-2009 05:56 PM
Apt-cacher question bigbrovar Linux - Server 1 10-23-2008 04:42 AM
LXer: Save bandwidth with apt-cacher (Debian/Ubuntu) LXer Syndicated Linux News 0 05-19-2008 12:20 PM
apt-cacher and checkinstall - client cannot find self-made package linuxBeginner02 Linux - Newbie 1 03-27-2008 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:12 PM.

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