Mirror not showing new added source

Asked by der_eismann

Hello,

I am using apt-mirror for clients without Internet at work. At first I was mirroring the official Ubuntu repos which works perfectly. But today I tried to add a Launchpad PPA as a source and it gets correctly downloaded on the mirror server. But my clients won't find the new packages and I can't see them when I visit http://*mirror*/ubuntu/ in my browser.
Is there anything else I have to do?

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt-mirror Edit question
Assignee:
No assignee Edit question
Solved by:
der_eismann
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Did you make your server rescan it's packages to update it's config?

Revision history for this message
der_eismann (der-eismann) said :
#2

No, didn't see that in the How-Tos I read.
How do I rescan?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

add lines like:

deb http://ppa.launchpad.net/byobu/ppa/ubuntu precise main
deb-src http://ppa.launchpad.net/byobu/ppa/ubuntu precise main

to:
/etc/apt/mirror.list

and d then run:
sudo apt-mirror

Is that what you have done?

Revision history for this message
der_eismann (der-eismann) said :
#4

Yes, that's what I did and it downloaded about 200 MB of files.

I can see the newly added PPA and all of its files under
/var/spool/apt-mirror/mirror
there I have "ports.ubuntu.com" and "ppa.launchpad.net" folders. But under
/var/www/html/ubuntu
I can only find the files from the first mirror. Is there some kind of symbolic link missing?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Are the files under /var/www/html/ubuntu deb files?

Revision history for this message
der_eismann (der-eismann) said :
#6

Yes, there are deb files under /var/www/html/ubuntu/pool.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Do you see the debs in the pool folder from the PPA?

Revision history for this message
der_eismann (der-eismann) said :
#8

No, they are missing. It looks like there is a symbolic link missing as you can see in the following picture:
http://abload.de/img/screenshot13hjg6.png

Can I set this myself? Could you give me the command for that?
And why is it missing? Could it be a bug?

Revision history for this message
der_eismann (der-eismann) said :
#9

Okay, I set the link manually... I thought apt-mirror would do this automatically for me.

Thanks!