solus-project / sol

Next-generation software manager in development for Solus
70 stars 8 forks source link

Improvement suggestion #1

Closed kyrios123 closed 7 years ago

kyrios123 commented 7 years ago

Hehe sol is not yet there and I already open an issue Actually it is a suggestion: having the possibility to uninstall an operation at once.

For example, in the below case, I have installed calibre, it came with lots of dependencies. All were installed, not updated or so. Now I would like to uninstall it... Basically to undo operation #67.

I guess it could be possible to browse the history db to check if some of these dependencies are used in packages installed after this one and propose to uninstall the remaining ones.

A warning or so could be added to inform the user about eventual risks or so if he installed applications without using sol.

I think it is the biggest weakness of eopkg (and sol?) compared to others moderns packages management systems

Operation #67: install
Date: 2017-04-07 11:30

    * python-cssutils 1-2-1-x86_64 is installed.
    * poppler-utils 0.49.0-9-1-x86_64 is installed.
    * qt5-xmlpatterns 5.6.2-1-1-x86_64 is installed.
    * qt5-declarative 5.6.2-3-1-x86_64 is installed.
    * qt5-webchannel 5.6.2-1-1-x86_64 is installed.
    * qt5-sensors 5.6.2-1-1-x86_64 is installed.
    * openal-soft 1.17.2-4-1-x86_64 is installed.
    * qt5-multimedia 5.6.2-2-1-x86_64 is installed.
    * qt5-location 5.6.2-1-1-x86_64 is installed.
    * qt5-webkit 5.6.2-4-1-x86_64 is installed.
    * pygments 2.1.3-1-1-x86_64 is installed.
    * qt5-tools 5.6.2-1-1-x86_64 is installed.
    * qt5-svg 5.6.2-1-1-x86_64 is installed.
    * qt5-serialport 5.6.2-1-1-x86_64 is installed.
    * python-six 1.10.0-5-1-x86_64 is installed.
    * python-sip 4.19-4-1-x86_64 is installed.
    * libical 2.0.0-3-1-x86_64 is installed.
    * bluez 5.43-9-1-x86_64 is installed.
    * qt5-connectivity 5.6.2-1-1-x86_64 is installed.
    * qt5-websockets 5.6.2-1-1-x86_64 is installed.
    * python-qt5 5.7.1-10-1-x86_64 is installed.
    * python-pillow 4.0.0-11-1-x86_64 is installed.
    * python-mechanize 0.2.5-2-1-x86_64 is installed.
    * chmlib 0.4-3-1-x86_64 is installed.
    * podofo 0.9.5-4-1-x86_64 is installed.
    * python-dateutil 2.4.2-2-1-x86_64 is installed.
    * python-apsw 3.8.5.1-4-1-x86_64 is installed.
    * dnspython 1.14.0-1-1-x86_64 is installed.
    * python-lxml 3.4-3-1-x86_64 is installed.
    * optipng 0.7.6-2-1-x86_64 is installed.
    * python-psutil 4.1.0-3-1-x86_64 is installed.
    * calibre 2.82.0-32-1-x86_64 is installed.
ikeydoherty commented 7 years ago

sudo eopkg history -t 66

kyrios123 commented 7 years ago

oh great ! this is a undocumented feature, isn't it ? thanks !!! :)