Giter Site home page Giter Site logo

Disambiguate the Purge button. about mainline HOT 7 CLOSED

bkw777 avatar bkw777 commented on July 23, 2024
Disambiguate the Purge button.

from mainline.

Comments (7)

bkw777 avatar bkw777 commented on July 23, 2024 1

No answer to my questions.

from mainline.

bkw777 avatar bkw777 commented on July 23, 2024

That's what purge does.
"Remove installed kernels older than running kernel"

from mainline.

k3dar avatar k3dar commented on July 23, 2024

Although "purge" is normaly (in packages contents) used as:
purge is identical to remove except that packages are removed and purged (any configuration files are deleted too).
I now undersand, then question: can you please add/change question in "Purge" dialog also only selected kernel?
Or change behaviour, if nor kernel selected, Purge as now, if selected Purge only selected? Thanks ;-)

from mainline.

bkw777 avatar bkw777 commented on July 23, 2024

What other word do you suggest to label that button?
What config files are left behind when removing a kernel package currently?

from mainline.

k3dar avatar k3dar commented on July 23, 2024

Sorry for latter reply...

What other word do you suggest to label that button?

i sugest this:

  1. keep "Remove" button named as is, but change internal bahaviour from "apt remove" to "apt purge"
    if you don't have separated Button for Remove and Purge then is i think ok keep
    named purge function as "Remove"

  2. change "Purge" button to "Remove Old", and also change behaviour from remove to purge.

What config files are left behind when removing a kernel package currently?

example, now i "Remove" in "mainline" kernel 5.8.1, and because is removed not purged:

$ dpkg -l | grep 5.8.1-0
rc  linux-image-unsigned-5.8.1-050801-generic   5.8.1-050801.202008111432     amd64     Linux kernel image for version 5.8.1 on 64 bit x86 SMP
rc  linux-modules-5.8.1-050801-generic          5.8.1-050801.202008111432     amd64     Linux kernel extra modules for version 5.8.1 on 64 bit x86 SMP

$ dpkg -L linux-image-unsigned-5.8.1-050801-generic
Package 'linux-image-unsigned-5.8.1-050801-generic' does not contain any files (!)

$ dpkg -L linux-modules-5.8.1-050801-generic
/lib
/lib/modules
/lib/modules/5.8.1-050801-generic

$ ls -l /lib/modules/5.8.1-050801-generic
total 5580
-rw-r--r-- 1 root root 1418392 Aug 25 05:58 modules.alias
-rw-r--r-- 1 root root 1397618 Aug 25 05:58 modules.alias.bin
-rw-r--r-- 1 root root   25773 Aug 25 05:58 modules.builtin.alias.bin
-rw-r--r-- 1 root root   12521 Aug 25 05:58 modules.builtin.bin
-rw-r--r-- 1 root root  648633 Aug 25 05:58 modules.dep
-rw-r--r-- 1 root root  899094 Aug 25 05:58 modules.dep.bin
-rw-r--r-- 1 root root     314 Aug 25 05:58 modules.devname
-rw-r--r-- 1 root root     853 Aug 25 05:58 modules.softdep
-rw-r--r-- 1 root root  575801 Aug 25 05:58 modules.symbols
-rw-r--r-- 1 root root  705788 Aug 25 05:58 modules.symbols.bin


from mainline.

bkw777 avatar bkw777 commented on July 23, 2024

Thanks, this makes sense.

from mainline.

bkw777 avatar bkw777 commented on July 23, 2024

Done.
29dcea3
6412181

from mainline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.