- Bug report: https://bugs.launchpad.net/ubuntu/+s...de/+bug/128681 - Workaround: edit the file. Here is the default /etc/apt/apt.conf.d/01autoremove: Code: 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: Code: APT { NeverAutoRemove { "^linux-image.*"; "^linux-restricted-modules.*"; "^linux-ubuntu-modules-.*"; }; };
APT { NeverAutoRemove { "^linux-image.*"; "^linux-restricted-modules.*"; "^linux-ubuntu-modules-.*"; }; Never-MarkAuto-Sections { "metapackages"; "restricted/metapackages"; "universe/metapackages"; "multiverse/metapackages"; }; };
APT { NeverAutoRemove { "^linux-image.*"; "^linux-restricted-modules.*"; "^linux-ubuntu-modules-.*"; }; };
Nice guide, thanks. May i suggest to just comment the lines rather than deleting them as it would be easier in this case to revert back the changes for those you want to do it ?
| Lucid Lynx Release Notes | Grub2 Wiki Page | Ubuntu Backports |
How do you comment lines in the APT directive files? Do you just begin them with #? I tried that and got: Code: E: Syntax error /etc/apt/apt.conf.d/01autoremove:11: Extra junk after value
E: Syntax error /etc/apt/apt.conf.d/01autoremove:11: Extra junk after value
Last edited by maybeway36; December 1st, 2007 at 07:20 PM.
Ubuntu Forums Code of Conduct