Kurztipp Linux - Aktualisierung eines Pakets verhindern

Es kann passieren, dass ein System nur mit einer bestimmten Version eines Pakets richtig funktioniert.

Unter Linux kann mit einfachen Mitteln die Aktualisierung eines Paketes verhindert werden, indem man es auf hold setzt.

apt-mark

Pakete unter Debian/Ubuntu auf hold setzen

sudo apt-mark hold paketname
sudo apt-mark unhold paketname

Angehaltene Paketupdates anzeigen

sudo apt-mark showhold

Pakete unter SuSE auf hold setzen

zypper addlock paketname
zypper removelock paketname

Angehaltene Paketupdates anzeigen

zypper locks

Pakete unter CentOS auf hold setzen

yum install yum-plugin-versionlock
yum versionlock paketname
yum versionlock clear

Angehaltene Paketupdates anzeigen

yum versionlock list

Trackbacks

Trackback specific URI for this entry

This link is not meant to be clicked. It contains the trackback URI for this entry. You can use this URI to send ping- & trackbacks from your own blog to this entry. To copy the link, right click and select "Copy Shortcut" in Internet Explorer or "Copy Link Location" in Mozilla.

No Trackbacks

Comments

Display comments as Linear | Threaded

tux. on :

"unhold" ist auch erstaunlich passend.

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.