How can I create a local mirror of odoo repository?

If none of the more specific forums is the right place to ask

How can I create a local mirror of odoo repository?

Postby batijuank » 2017-09-20 17:00

Following this guide

And this info about odoo's repository posted on this link
Code: Select all
wget -O - | apt-key add -
echo "deb ./" >> /etc/apt/sources.list
apt-get update && apt-get install odoo

I created a script named and put this code on it (retrieved from the guide and modified)
Code: Select all
debmirror -a $arch \
          --ignore-release-gpg \
          --i18n \
          --postcleanup \
          --diff=none \
          -s $section \
          -h $server \
          -d $release \
          --verbose \
          --progress \
          -e $proto \
          -r $inPath \

When I execute my script it gives me the following output
Code: Select all
Mirroring to /mnt/Data/repos/odoo/ from
Arches: i386,amd64
Dists: .
Sections: .
Including source.
Pdiff mode: none
Will clean up after mirroring.
Attempting to get lock ...
Updating remote trace files (using rsync) ...
rsync: failed to connect to ( Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(128) [Receiver=3.1.0]
Warning: failed to use rsync to download extra files.
Getting meta files ...
[  0%] Getting: dists/./Release...   #** GET ==> 404 Not Found
failed 404 Not Found
 Download of dists/./Release failed: 404 Not Found
Failed to download some Release or Release.gpg files!
WARNING: releasing 1 pending lock...

I know that the problem is in here
Code: Select all ==> 404 Not Found

Because it should be

Please, how do I fix this? Any help will be appreciated

I don't mind receiving help either in English or Spanish
Posts: 1
Joined: 2017-09-20 16:08

Return to General Questions

Who is online

Users browsing this forum: No registered users and 10 guests