please choosego to mobile | Continue to access the PC version
View: 3964|Reply: 1

Making a mirror from Ubuntu Server repository doubt

[Copy link]

1

threads

2

posts

11

credits

Novice

Rank: 1

credits
11
Published in 2017-12-30 00:29:32 | Show all floors |Read mode
Hello, recently I bought an Orange Pi 2G IoT. I installed the Ubuntu Server and managed to connect to it through the serial port and I could even update the system (only apt-get update) and install some packages, but here's the little problem:
I would like to install packages offline (in my house I do not have an internet connection) and I tried to download the repository(http://mirrors.ustc.edu.cn/ubuntu-ports/) but it only lets me download about 9 megabytes and don't even start with the "pool" files where (I think) reside the packages.

I am using a PC with Debian Jessie amd64 (check that I have enough space) and I have tried to mirror the repository from the console using the wget command, with the following syntax:
wget --mirror --convert-links --show-progress --recursive --wait=5 http://mirrors.ustc.edu.cn/ubuntu-ports/

Could someone with a better idea help me?

1

threads

2

posts

11

credits

Novice

Rank: 1

credits
11
 Author| Published in 2017-12-31 01:07:50 | Show all floors
Searching in the web I found that adding this parameters to the wget command it resolve my problem "-e robots=off"

Now, the commando would be:
wget --mirror --convert-links --show-progress --recursive --wait=1 -e robots=off http://mirrors.ustc.edu.cn/ubuntu-ports/

Greetings
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list