LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-09-2007, 07:21 AM   #1
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Rep: Reputation: 30
apt-proxy problem


Hi,
i installed apt-proxy, created a new partition and mounted it under /var/cache/apt-proxy with "defaults". I then did "apt-get update" and installed some things (on the server). I configured the client PC, tried to do "apt-get update" and stuck waiting for the headers. When i went back to the apt-proxy server, i found no directory structure -in fact nothing!- under /var/cache/apt-proxy. Ideas?

Thanks
 
Old 02-25-2007, 12:50 PM   #2
m_shroom
Member
 
Registered: Oct 2004
Location: Queen Charlotte B. C. Canada
Distribution: openSUSE 11.1
Posts: 42

Rep: Reputation: 15
I'm trying to set-up apt-proxy on opensuse 10.2 and had it working for a day or so but it no longer works, but enough of my problems.

It is necessary to pre-seed "/var/cache/apt-proxy/" with the basic directories below it such as "debian","ubuntu",security", etc
 
Old 02-25-2007, 01:15 PM   #3
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Original Poster
Rep: Reputation: 30
apt-cacher is a good/working alternative -i think- to apt-proxy. If a packet doesn't exist in the server, i think, that it is downloaded independently by the clients. This is not good, but i am not also sure if it happens. Can somebody confirm? If this happens, would it be possible to change it and make the server cache all packages instead?
 
Old 02-25-2007, 03:32 PM   #4
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 863

Rep: Reputation: 45
Let me ask the obvious:
On the server, have you made apt-proxy the repository?

Code:
deb http://192.168.2.12:9999/debian/ sid main contrib non-free
I recently installed apt-proxy. I did not need to "seed" the directory. It just worked.
 
Old 03-01-2007, 10:57 AM   #5
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by nocturna_gr
apt-cacher is a good/working alternative -i think- to apt-proxy. If a packet doesn't exist in the server, i think, that it is downloaded independently by the clients. This is not good, but i am not also sure if it happens. Can somebody confirm? If this happens, would it be possible to change it and make the server cache all packages instead?
Today, i found out it isn't downloaded independently by the client -fortunately...
 
  


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
How to set up proxy in Apt-Get's apt.conf? rykel Fedora 9 10-09-2013 03:24 AM
No proxy for apt-get gabsik Linux - Software 7 02-01-2007 09:08 PM
apt-get failure - maybe proxy problem NSKL Debian 3 08-15-2006 03:54 PM
apt-get through proxy - weird problem dunric Debian 1 10-25-2004 11:48 PM
apt-proxy and cron-apt - download once for the whole LAN Abject Debian 1 06-20-2004 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:03 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