Hi,
I have encountered this problem too. And it is barely documented this one comes pretty close to how I could describe the problem.
The problem is either :
a) apt (client) cannot handle packages on a vhost.
b) apt (client) has a problem with the symlinks
I haven't tested it much further yet to find out wich one is exactly causing the problem but this is how I solved it :
(a)
Code:
nano /etc/apache2/sites-available/default
Change :
Code:
RedirectMatch ^/$ /apache2-default/
to :
Code:
# RedirectMatch ^/$ /apache2-default/
(b)
As a mirror takes quiet a bit of space and is something you don't want to lose then its a good idea to have it on a seperate partition or even disk.
So :
Code:
mkdir /var/www/repositories
chown apt-mirror /var/www/repositories
mount /dev/[your mirror disk] /var/www/repositories
for future use :
Code:
nano /etc/apt/mirror.list
Change :
Code:
# set base_path /var/spool/....
on line :7
to :
Code:
set base_path /var/www/repositories/
when finished restart your webserver
Now change your clients sources list to search the new path.
As said : this way does probably more then is needed to fix the problem feel free to test it partitial and reply the method that does it alone
I also know that I'm a bit late with respons but I had this problem now and this forum came close to my search string so it will be usefull for others too.
Recent comments
2 days 19 hours ago
3 days 4 hours ago
3 days 7 hours ago
3 days 8 hours ago
3 days 9 hours ago
3 days 11 hours ago
3 days 12 hours ago
3 days 14 hours ago
4 days 6 hours ago
4 days 6 hours ago