Re: No space left when: update-initramfs: Generating /boot/initrd.img-5.10.0-5-amd64
Am Mittwoch, 7. April 2021, 19:40:58 CEST schrieb Andrei POPESCU:
Hi Andrei,
yes, you casn do this also with using apt. However, I forgot how to do this,
it was a litttle bit more complicated.
The syntax was something like "apt-get --purge remove `somestring` " or
similar. Apt was then using regexp, and the string had to be put in backticks
or ticks whatever.
Really, maybe google is telling more. I just forgot, how to do it.
Last time I used it many years ago and my history is not that long. :-)
Best regards
Hans
> On Mi, 07 apr 21, 11:11:55, Marco Ippolito wrote:
> > > Hi Marco,
> >
> > Hi Hans :)
> >
> > > aptitude purge ~n4.9.10-amd64-*
> >
> > Hadn't thought of matching a pattern, thanks.
>
> While I'm a big fan of aptitude's patterns it's also not installed by
> default. For basic uses 'apt' is fine as well and supports globs:
>
> apt list --installed linux-image-4*
>
> apt purge linux-image-4.9.10-?-amd64
>
>
> (just an example, adjust as needed)
>
> Hope this helps,
> Andrei
Reply to: