Public bug reported:

After fresh install, running sudo apt-get autoremove results in 30+ packages 
(over 700mb) being suggested for removal. I innocently did this and ended up 
with my Plasma desktop being removed.. 
Luckily I had a snapshot of a VM to go back to...

However, This could be a jarring experience for less experienced users
installing Daily build of Studio 21.04

A simple fix is to run this command post-install for the Daily Build:

sudo apt-mark manual $(sudo apt-get -s autoremove 2>/dev/null | awk
'/^Remv / { print $2 }')

What this command does is marks all packages marked autoinstall to
'manual install'.

This way while you all are adding-on things at the last minute it
doesn't cause a problem if a new user innocently runs autoremove.

Then when ready for release remove the above command from post-install.

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: apt 2.1.18
ProcVersionSignature: Ubuntu 5.8.0-36.40+21.04.1-lowlatency 5.8.18
Uname: Linux 5.8.0-36-lowlatency x86_64
NonfreeKernelModules: prl_fs_freeze prl_fs prl_eth zfs zunicode zavl icp 
zcommon znvpair prl_vid prl_tg
ApportVersion: 2.20.11-0ubuntu57
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Tue Feb 16 19:54:47 2021
InstallationDate: Installed on 2021-02-04 (11 days ago)
InstallationMedia: Ubuntu-Studio 21.04 "Hirsute Hippo" - Alpha amd64 (20210203)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug hirsute

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1915793

Title:
  Suggested fix for apt installed packages catalog problem

Status in apt package in Ubuntu:
  New

Bug description:
  After fresh install, running sudo apt-get autoremove results in 30+ packages 
(over 700mb) being suggested for removal. I innocently did this and ended up 
with my Plasma desktop being removed.. 
  Luckily I had a snapshot of a VM to go back to...

  However, This could be a jarring experience for less experienced users
  installing Daily build of Studio 21.04

  A simple fix is to run this command post-install for the Daily Build:

  sudo apt-mark manual $(sudo apt-get -s autoremove 2>/dev/null | awk
  '/^Remv / { print $2 }')

  What this command does is marks all packages marked autoinstall to
  'manual install'.

  This way while you all are adding-on things at the last minute it
  doesn't cause a problem if a new user innocently runs autoremove.

  Then when ready for release remove the above command from post-
  install.

  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  Package: apt 2.1.18
  ProcVersionSignature: Ubuntu 5.8.0-36.40+21.04.1-lowlatency 5.8.18
  Uname: Linux 5.8.0-36-lowlatency x86_64
  NonfreeKernelModules: prl_fs_freeze prl_fs prl_eth zfs zunicode zavl icp 
zcommon znvpair prl_vid prl_tg
  ApportVersion: 2.20.11-0ubuntu57
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  Date: Tue Feb 16 19:54:47 2021
  InstallationDate: Installed on 2021-02-04 (11 days ago)
  InstallationMedia: Ubuntu-Studio 21.04 "Hirsute Hippo" - Alpha amd64 
(20210203)
  SourcePackage: apt
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1915793/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to