You can look at the actual web addresses of the files that will be downloaded by adding the --print-uris option (That's with two "-"s at the front).
It doesn't need sudo, and it looks like it is going to install the software, but all it does is list the files that would have been downloaded, like this.
Code: Select all
pi@raspi3 ~ $ apt-get --print-uris install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2-bin apache2-data apache2-utils libapr1 libaprutil1
libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.1-0
Suggested packages:
apache2-doc apache2-suexec-pristine apache2-suexec-custom
Recommended packages:
ssl-cert
The following NEW packages will be installed:
apache2 apache2-bin apache2-data apache2-utils libapr1 libaprutil1
libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.1-0
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,725 kB of archives.
After this operation, 5,130 kB of additional disk space will be used.
Do you want to continue? [Y/n]
'http://mirrordirector.raspbian.org/raspbian/pool/main/a/apr/libapr1_1.5.1-3_armhf.deb' libapr1_1.5.1-3_armhf.deb 77106 MD5Sum:519327faf8af869971b574064f8b5db1
'http://mirrordirector.raspbian.org/raspbian/pool/main/a/apr-util/libaprutil1_1.5.4-1_armhf.deb' libaprutil1_1.5.4-1_armhf.deb 75874 MD5Sum:8487c9066806e0426905e32ec76b0307
'http://mirrordirector.raspbian.org/raspbian/pool/main/a/apr-util/libaprutil1-dbd-sqlite3_1.5.4-1_armhf.deb' libaprutil1-dbd-sqlite3_1.5.4-1_armhf.deb 17698 MD5Sum:9ca9886fe4e5ab51e87d190ec583d65a
'http://mirrordirector.raspbian.org/raspbian/pool/main/a/apr-util/libaprutil1-ldap_1.5.4-1_armhf.deb' libaprutil1-ldap_1.5.4-1_armhf.deb 16744 MD5Sum:96a9bd1d5dccc8452f37ed7c56d0f3cc
'http://mirrordirector.raspbian.org/raspbian/pool/main/l/lua5.1/liblua5.1-0_5.1.5-7.1_armhf.deb' liblua5.1-0_5.1.5-7.1_armhf.deb 83670 MD5Sum:964c6b39fbe7ab6b049e4d2a3be368b4
'http://mirrordirector.raspbian.org/raspbian/pool/main/a/apache2/apache2-bin_2.4.10-9_armhf.deb' apache2-bin_2.4.10-9_armhf.deb 893154 MD5Sum:0bdc04fc46ade6da32b7a10dbb18950c
'http://mirrordirector.raspbian.org/raspbian/pool/main/a/apache2/apache2-utils_2.4.10-9_armhf.deb' apache2-utils_2.4.10-9_armhf.deb 193694 MD5Sum:72f72a7f610719ea5a5185f41979f8bd
'http://mirrordirector.raspbian.org/raspbian/pool/main/a/apache2/apache2-data_2.4.10-9_all.deb' apache2-data_2.4.10-9_all.deb 162580 MD5Sum:a9bf64c9fd7a78009229b5b60300af15
'http://mirrordirector.raspbian.org/raspbian/pool/main/a/apache2/apache2_2.4.10-9_armhf.deb' apache2_2.4.10-9_armhf.deb 204604 MD5Sum:6ff0b7e750d52ced103ae7039943ba18
pi@raspi3 ~ $
(I'm running Jessie, not Wheezy, on that Pi, so your files may differ).
The lines contain:
The source file name to fetch from.
The file name to save it as.
The size of the download in bytes.
A checksum to make sure the file downloaded correctly.