Benutzer-Werkzeuge

Webseiten-Werkzeuge


linux:debian:apt

Dies ist eine alte Version des Dokuments!


Inhaltsverzeichnis

apt

Pakete nicht updaten

dpkg

Put a package on hold

echo "package hold" | dpkg --set-selections

Remove the hold

echo "package install" | dpkg --set-selections

Store the list of software to a file called /backup/package-selections (restore see aptitude):

dpkg --get-selections >/backup/package-selections

aptitude

Hold a package using

aptitude hold package_name

Remove the hold with

aptitude unhold package_name

Restore installed software (store see dpkg):

aptitude install $(cat /backup/package-selections | awk '{print $1}')
linux/debian/apt.1551277605.txt.gz · Zuletzt geändert: von 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki