Jak 'unmark' apt-mark auto? :)
: 02 lut 2014, 04:16
Mam taki mały problem... Znalazłem taki 'przydatny' opis:
Boje się teraz wyłączyć laptopa bo nie wiem co sie porobiło.
Czy ktoś może wie jak to odwrócić?
Więc zrobiłem jak pisało, ale widocznie coś poszło nie tak bo teraz jak wpisuje apt-get autoremove to chce mi usunąć 2.8GB pakietów. Wszystko co zainstalowałem ręcznie albo przeinstalowałem.When you want to compile something from source in Ubuntu/Debian, the easiest way to install the dependencies required to compile it is to run (sudo) "apt-get build-dep PACKAGE_NAME". But there is no built-in command to remove these dependencies (like apt-get remove-dep).
But thanks to tvst and Wesley Schwengle, you can undo "apt-get build-dep" by running the following command:In the above command, replace "PACKAGE_NAME" with the name of the package you've previously ran "apt-get build-dep" for. Running "sudo apt-get autoremove" should then remove all the packages that are build dependencies for PACKAGE_NAME and thus, were installed by the "apt-get build-dep" command.Kod: Zaznacz cały
sudo apt-mark auto $(apt-cache showsrc PACKAGE_NAME | sed -e '/Build-Depends/!d;s/Build-Depends: \|,\|([^)]*),*\|\[[^]]*\]//g') sudo apt-get autoremove

Boje się teraz wyłączyć laptopa bo nie wiem co sie porobiło.
Czy ktoś może wie jak to odwrócić?