maybeway36
November 16th, 2007, 09:21 PM
- Bug report: https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/128681
- Workaround: edit the file.
Here is the default /etc/apt/apt.conf.d/01autoremove:
APT
{
NeverAutoRemove
{
"^linux-image.*";
"^linux-restricted-modules.*";
"^linux-ubuntu-modules-.*";
};
Never-MarkAuto-Sections
{
"metapackages";
"restricted/metapackages";
"universe/metapackages";
"multiverse/metapackages";
};
};
You need to change it to:
APT
{
NeverAutoRemove
{
"^linux-image.*";
"^linux-restricted-modules.*";
"^linux-ubuntu-modules-.*";
};
};
- Workaround: edit the file.
Here is the default /etc/apt/apt.conf.d/01autoremove:
APT
{
NeverAutoRemove
{
"^linux-image.*";
"^linux-restricted-modules.*";
"^linux-ubuntu-modules-.*";
};
Never-MarkAuto-Sections
{
"metapackages";
"restricted/metapackages";
"universe/metapackages";
"multiverse/metapackages";
};
};
You need to change it to:
APT
{
NeverAutoRemove
{
"^linux-image.*";
"^linux-restricted-modules.*";
"^linux-ubuntu-modules-.*";
};
};