On 27.4.2017 14:12, Marco Calistri wrote:
Il 27/04/2017 02:54, Bernhard M. Wiedemann ha scritto:
On 2017-04-26 16:31, Marco Calistri wrote:
Hello,
I was thinking on how it could be useful to have implemented also into Tumbleweed functions similar as: "apt-get autoclean" "apt-get autoremove", in order to clean the repository cache and get rid of unused installed packages.
If such features are already present in some way, please accept my apologies and please point me on how I can use it on openSUSE TW. you could try calling on your installed openSUSE:
apt-get autoclean
marco@linux-turion64:~> sudo apt-get autoclean [sudo] password di root: aptitude 'autoclean' unavailabe in zypper marco@linux-turion64:~> sudo zypper se aptitude Caricamento dati del repository in corso... Lettura dei pacchetti installati in corso...
S | Nome | Sommario | Tipo --+-----------------+-----------------------------------+---------- i | zypper-aptitude | Compatibilità aptitude con zypper | pacchetto marco@linux-turion64:~>
and get told that it is unavailable in zypper. The full list of commands without mapping is markauto|unmarkauto|forbid-version|autoclean|autoremove|check|why|why-not
marco@linux-turion64:~> sudo apt-get auto autoclean autoremove marco@linux-turion64:~> sudo apt-get autoclean aptitude 'autoclean' unavailabe in zypper marco@linux-turion64:~> sudo apt-get autoremove aptitude 'autoremove' unavailabe in zypper
Something broken?
Why broken? # rpm -ql zypper-aptitude /etc/zypp/apt-packagemap.d /etc/zypp/apt-packagemap.d/10-packagemap.pm /etc/zypp/apt-packagemap.d/50-libperl.pm /etc/zypp/apt-packagemap.d/50-libruby.pm /etc/zypp/apt-packagemap.d/50-python.pm /etc/zypp/apt-packagemap.d/90-devel.pm /usr/bin/apt-get /usr/bin/aptitude # file /usr/bin/aptitude /usr/bin/aptitude: Perl script text executable # grep -e autoclean /usr/bin/aptitude elsif($action=~m/markauto|unmarkauto|forbid-version|autoclean|autoremove|check|why|why-not/) { print "aptitude '$action' unavailabe in zypper\n"; exit 0 } -- Vit Pelcak vpelcak@suse.cz Team Lead in QA/Maintenance SUSE LINUX, s.r.o. CORSO IIa Krizikova 148/34 186 00 Prague 8 Czech Republic