0

in dist-upgrade i want to use it in init3 and i dont have X and my internet speed is low. how to export dist-upgrade download packages to file to get another pc?

1 Answer 1

1

You can use the command below:

sudo apt-get dist-upgrade -y --print-uris --install-suggests | grep -o '\'http:.*\' | tr "\'" " " > /to/destination/file

replace /to/destination/file with the absolute path of the file where you want to dump the packages' uris.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .