Im trying to make a local repository for my lan. I followed these docs:
http://www.ubuntuforums.org/showthre...cal+repository
http://ubuntuguide.org/wiki/Ubuntu_E...Apt_Repository
https://help.ubuntu.com/community/Re...alRepositories
After i made the repository, i changed the apache.conf and tried to use the repository. For my surprise the whole thing didint worked.
In a client machine sources.list i have:
When i run apt-get update the Packages.gz file is found and everything looks ok.Code:deb http://ip binary/
But when i run dist-upgrade, for example, some files are not found. The error:Code:# apt-get update Ign http://ip binary/ Release.gpg Ign http://ip binary/ Release Ign http://ip binary/ Packages Atingido http://ip binary/ Packages Lendo Lista de Pacotes... Pronto (something like: reading packages list ... ready)
I think that apt is using a wrong file name . Example:Code:.... Err http://ip binary/ xfonts-100dpi 1:1.0.0-2ubuntu1 404 Not Found Err http://ip binary/ xfonts-75dpi 1:1.0.0-2ubuntu1 404 Not Found ... Falha ao baixar http://192.0.0.239/apt/binary/xserver-xorg-driver-all_1%3a7.1.1ubuntu6.2_i386.deb404 Not Found .. Falha ao baixar http://192.0.0.239/apt/binary/xserver-xorg-video-chips_1%3a1.1.1-0ubuntu1_i386.deb 404 Not Found
Using my browser i can see that a package filename is:
xfonts-100dpi_1%253a1.0.0-2ubuntu1_all.deb (wget can download it)
But apt tries to download: xfonts-100dpi_1%3a1.0.0-2ubuntu1_all.deb
After the "dpi_1%" apt is changing the number 253 for 3. Thats why he never find the packages.
Does somebody know whats wrong? Can it be my locale? Or some apache configuration files?



Adv Reply
Bookmarks