Article title: linux cannot be connected to the Internet, and windows can use apt when connected. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Usually, windows can be connected to the internet but ubuntu cannot be connected to the Internet on the same machine. However, this is common in campus networks with Chinese characteristics. although there are local solutions, the advantages of apt cannot be reflected in the need for a networked linux and a huge hard disk space (and fast network speed.
The following describes a relatively roundabout method:
First, download the package information from the source. for the download list, see the attachment. here we use the cn99 source and gutsy as an example (I haven't read the source manual yet, so I just downloaded the gutsy-related items outside the pool folder. for other cases, please compare them yourself ).
Note that you need to use the download software that can reconstruct the directory structure to download, just like the-x option of wget.
Code:
Wget-B-I cn99_gutsy.lst-w 2-x |
Be honest, please use a single thread + latency for downloading, and use your own ip address
After the download, it looks like this
Code:
Autumncat @ autumncat-host :~ /Apt-source/ubuntu.cn99.com $ Find . ./Ubuntu ./Ubuntu/dists ./Ubuntu/dists/gutsy ./Ubuntu/dists/gutsy/Contents-amd64.gz ./Ubuntu/dists/gutsy/Contents-i386.gz ./Ubuntu/dists/gutsy/Release ./Ubuntu/dists/gutsy/Release. gpg ./Ubuntu/dists/gutsy/main ./Ubuntu/dists/gutsy/main/binary-amd64 ./Ubuntu/dists/gutsy/main/binary-amd64/Packages.bz2 ./Ubuntu/dists/gutsy/main/binary-amd64/Packages.gz ./Ubuntu/dists/gutsy/main/binary-amd64/Release ./Ubuntu/dists/gutsy/main/binary-i386 ./Ubuntu/dists/gutsy/main/binary-i386/Packages.bz2 ./Ubuntu/dists/gutsy/main/binary-i386/Packages.gz ./Ubuntu/dists/gutsy/main/binary-i386/Release ./Ubuntu/dists/gutsy/main/debian-installer ./Ubuntu/dists/gutsy/main/debian-installer/binary-amd64 ./Ubuntu/dists/gutsy/main/debian-installer/binary-amd64/Packages.bz2 ....
|
[1] [2] Next page