-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apt remove rpi-eeprom
seems wrong
#622
Comments
|
|
Mmm - The significance of your comments escapes me for some reason. Let me try asking another way: If I
If the answer is that |
raspi-config calls rpi-eeprom without checking whether it's installed, so it's a hard dependency. I agree that needs to be fixed. Not sure about iw and rfkill. Are they actually getting removed or is apt just saying they're no longer required? |
I don't think it makes any difference... it says "no longer required". AIUI, that marks the package as "to be removed" by 'sudo apt autoremove' - which will delete the package whenever it is run... if not immediately afterwards, then at some point in the future. |
It makes a difference in understanding why it's happening. And sorry, just noticed you included that information in the first post anyway. When you run apt will never autoremove packages which were installed manually. However if you manually remove In this case, it sounds like rfkill and iw were installed as dependencies of something. Where I'm going with this is that if you're seeing that apt is suggesting a package is no longer required, you can As far as raspi-config goes, we can add a "is rpi-eeprom installed?" check when entering the boot order config menu and notify the user if there's an issue. After that, this issue should go away. |
Apologies if my comment was a bit obtuse. I was trying to demonstrate that (As to why those particular package-dependencies exist, I have no idea. So you'd have to do your own research if you're really curious.)
@XECDesign according to |
This comment was marked as abuse.
This comment was marked as abuse.
$ apt info raspi-utils $ apt rdepends raspi-utils I think the fact that rpi-eeprom depends on the "meta-package that installs all of ytilities" is way overreaching. |
For the most part rpi-eeprom can have weak (non-apt) dependencies but polishing this to make it easy to remove rpi-eeprom is a pretty low priority. |
Removed unhelpful comments, as final warning before blocking user |
We've already acknowledged that things could be improved, but the fact that you are the first person to report this issue in however many years says something about its relative importance. |
I would like to add some "value" here. I also have at least 4 Pi3B+ units, where eeprom is not applicable. Other than being an eyesore, and having extra 125M when not really necessary, it does not affect overall functionality. If Windows downloads 5Gb to update Bluetooth drivers, it's majorly sufficient, but is that really necessary? |
@vintozver To expand on my previous comment we are looking at dependencies for rpi-eeprom and other utilities specifically to make it easier to make small, embedded images e.g. see pi-gen-micro https://github.com/raspberrypi/pi-gen-micro. Part of that is analyzing the dependencies between the utilities packages, switching some dependencies to be "recommends" or refactoring packages. However, since this is quite complex we are looking at the overall architecture first and avoiding doing point fixes to individual packages. |
Describe the bug
I have an RPi 3A+, and an RPi Zero 2W; both run the 64-bit 'Lite' bookworm version of the OS. They do not use or need
rpi-eeprom
AFAIK. Trying to save some space, I was going to removerpi-eeprom
. Confusingly, it lists many additional packages that would be deleted - packages that are necessary and/or useful. Here's the dialog:Why are all these packages listed for immediate or eventual (via
sudo apt autoremove
) removal?I use
iw
&rfkill
regularly. I'm not familiar with most of the rest of these packages, but given that two I use are in the list, I'd be reluctant to go ahead.pi-bluetooth
?? ( I use Bluetooth for playing music)raspi-utils
??raspinfo
?? (Why??? - a script required for submitting bug reports!)In addition, there's this - which seems to run contrary to the dependencies selected for deletion in
apt remove
:Steps to reproduce the behavior
On an RPi Zero, 1, 2 or 3 enter
sudo apt remove rpi-eeprom
Device (s)
Other
Bootloader configuration.
rpi-eeprom-config
output is empty on my 3A+ & Zero 2W systemsSystem
I don't think this is necessary for this issue.
Bootloader logs
I don't think this is necessary for this issue.
USB boot
I don't think this is necessary for this issue.
NVMe boot
I don't think this is necessary for this issue.
Network (TFTP boot)
I don't think this is necessary for this issue.
The text was updated successfully, but these errors were encountered: