Home_greyopenFATE - openSUSE feature tracking > #309700
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

Advanced uninstall/Rollback support in package management, zypper

Feature state

Hackweek V
Unconfirmed
openSUSE-11.3
Done

Description

# Zypper install evolution

This will install say 13 packages, evolution and its dependencies including evolution-data-server etc....

#zypper remove evolution

This will remove only evolution. Leaving the dependencies installed. The 12 packages are left installed.

Instead provide an easy way to rollback/uninstall all those packages using say a transaction-id from the history. So that, say we have foo.rpm which needs bar.rpm

#zypper install foo

#zypper remove foo

will not leave bar installed in the system.

Discussion


icons/user_comment.png N. K. wrote: (3 years ago)

apt already support this!

Try
zypper in nagios
zypper rm nagios
and
apt-get install nagios3
apt-get autoremove nagios3
[zypper]
The following NEW packages are going to be installed:
  apache2-mod_php5 libmm14 nagios nagios-plugins nagios-www
perl-Crypt-DES perl-Net-SNMP php5 php5-ctype php5-dom php5-hash
  php5-iconv php5-json php5-pdo php5-sqlite php5-tokenizer
php5-xmlreader php5-xmlwriter
The following recommended packages were automatically selected:
  nagios-www php5-ctype php5-dom php5-hash php5-iconv php5-json
php5-sqlite php5-tokenizer php5-xmlreader php5-xmlwriter
...
The following packages are going to be REMOVED:
  nagios nagios-www
[apt]
The following extra packages will be installed:
  libnet-snmp-perl libradiusclient-ng2 nagios-images nagios-plugins
  nagios-plugins-basic nagios-plugins-standard nagios3-cgi nagios3-common
  nagios3-core qstat
Suggested packages:
  libcrypt-des-perl libio-socket-inet6-perl nagios-nrpe-plugin
The following NEW packages will be installed:
  libnet-snmp-perl libradiusclient-ng2 nagios-images nagios-plugins
  nagios-plugins-basic nagios-plugins-standard nagios3 nagios3-cgi
  nagios3-common nagios3-core qstat
...

The following packages will be REMOVED:
  libnet-snmp-perl* libradiusclient-ng2* nagios-images* nagios-plugins*
  nagios-plugins-basic* nagios-plugins-standard* nagios3* nagios3-cgi*
  nagios3-common* nagios3-core* qstat*

icons/user_comment.png N. K. wrote: (3 years ago)

zypper rm --clean-deps

The -u / --clean-deps option does this.

Last change: 3 years ago
Voting
Score: 12
  • Negative: 0
  • Neutral: 0
  • Positive: 12
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint