![]() $ sudo apt-get -print-uris -yes -d -reinstall install yourpackage $(apt-cache depends yourpackage | grep "Hängt ab von:" | sed 's/ Hängt ab von://' | sed ':a N $!ba s/\n//g') | grep ^\' | cut -d\' -f2 >downloads.list This text is used twice in this command, if you want to adapt it to your language take care of this! $ sudo apt-get -print-uris -yes -d -reinstall install yourpackage $(apt-cache depends yourpackage | grep " Depends:" | sed 's/ Depends://' | sed ':a N $!ba s/\n//g') | grep ^\' | cut -d\' -f2 >downloads.list You have to change the term " yourpackage" to your wish twice in this command, take care of this! ![]() ![]() On an englisch system you get: $ apt-cache depends yourpackage I used apt-cache depends package to get all required packages in any case if the are already installed on system or not.īecause the command apt-cache works different, depending on language, you have to try this command on your system and adapt the command. ![]()
0 Comments
Leave a Reply. |