Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
7.08 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
2.14 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +magazine: App\Entity\Magazine {#264
    +icon: Proxies\__CG__\App\Entity\Image {#245 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#274
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#236 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
    +entries: Doctrine\ORM\PersistentCollection {#179 …}
    +posts: Doctrine\ORM\PersistentCollection {#137 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
    +bans: Doctrine\ORM\PersistentCollection {#116 …}
    +reports: Doctrine\ORM\PersistentCollection {#102 …}
    +badges: Doctrine\ORM\PersistentCollection {#80 …}
    +logs: Doctrine\ORM\PersistentCollection {#70 …}
    +awards: Doctrine\ORM\PersistentCollection {#1360 …}
    +categories: Doctrine\ORM\PersistentCollection {#1792 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#268
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#270
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
  +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
  +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
  +url: null
  +body: """
    Hi everyone :)\n
    \n
    After installing the emacs package and trying to remove it afterwards:\n
    \n
    `sudo apt remove --purge --autoremove emacs`\n
    \n
    It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
    \n
    Isn’t that command supposed:\n
    \n
    - remove package\n
    - it’s configuration files\n
    - remove unused packages automatically installed ?\n
    \n
    What am I missing here?\n
    \n
    Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
    \n
    Some insight from experienced user would be great :)
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 5
  +favouriteCount: 17
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1701477875 {#2418
    date: 2023-12-02 01:44:35.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1688 …}
  +votes: Doctrine\ORM\PersistentCollection {#1966 …}
  +reports: Doctrine\ORM\PersistentCollection {#1965 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
  +badges: Doctrine\ORM\PersistentCollection {#2439 …}
  +children: []
  -id: 18224
  -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
  -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1701327288
  +visibility: "visible             "
  +apId: "https://lemmy.world/post/8922340"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701273788 {#1858
    date: 2023-11-29 17:03:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +magazine: App\Entity\Magazine {#264
    +icon: Proxies\__CG__\App\Entity\Image {#245 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#274
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#236 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
    +entries: Doctrine\ORM\PersistentCollection {#179 …}
    +posts: Doctrine\ORM\PersistentCollection {#137 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
    +bans: Doctrine\ORM\PersistentCollection {#116 …}
    +reports: Doctrine\ORM\PersistentCollection {#102 …}
    +badges: Doctrine\ORM\PersistentCollection {#80 …}
    +logs: Doctrine\ORM\PersistentCollection {#70 …}
    +awards: Doctrine\ORM\PersistentCollection {#1360 …}
    +categories: Doctrine\ORM\PersistentCollection {#1792 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#268
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#270
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
  +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
  +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
  +url: null
  +body: """
    Hi everyone :)\n
    \n
    After installing the emacs package and trying to remove it afterwards:\n
    \n
    `sudo apt remove --purge --autoremove emacs`\n
    \n
    It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
    \n
    Isn’t that command supposed:\n
    \n
    - remove package\n
    - it’s configuration files\n
    - remove unused packages automatically installed ?\n
    \n
    What am I missing here?\n
    \n
    Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
    \n
    Some insight from experienced user would be great :)
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 5
  +favouriteCount: 17
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1701477875 {#2418
    date: 2023-12-02 01:44:35.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1688 …}
  +votes: Doctrine\ORM\PersistentCollection {#1966 …}
  +reports: Doctrine\ORM\PersistentCollection {#1965 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
  +badges: Doctrine\ORM\PersistentCollection {#2439 …}
  +children: []
  -id: 18224
  -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
  -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1701327288
  +visibility: "visible             "
  +apId: "https://lemmy.world/post/8922340"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701273788 {#1858
    date: 2023-11-29 17:03:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +magazine: App\Entity\Magazine {#264
    +icon: Proxies\__CG__\App\Entity\Image {#245 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#274
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#236 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
    +entries: Doctrine\ORM\PersistentCollection {#179 …}
    +posts: Doctrine\ORM\PersistentCollection {#137 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
    +bans: Doctrine\ORM\PersistentCollection {#116 …}
    +reports: Doctrine\ORM\PersistentCollection {#102 …}
    +badges: Doctrine\ORM\PersistentCollection {#80 …}
    +logs: Doctrine\ORM\PersistentCollection {#70 …}
    +awards: Doctrine\ORM\PersistentCollection {#1360 …}
    +categories: Doctrine\ORM\PersistentCollection {#1792 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#268
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#270
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
  +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
  +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
  +url: null
  +body: """
    Hi everyone :)\n
    \n
    After installing the emacs package and trying to remove it afterwards:\n
    \n
    `sudo apt remove --purge --autoremove emacs`\n
    \n
    It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
    \n
    Isn’t that command supposed:\n
    \n
    - remove package\n
    - it’s configuration files\n
    - remove unused packages automatically installed ?\n
    \n
    What am I missing here?\n
    \n
    Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
    \n
    Some insight from experienced user would be great :)
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 5
  +favouriteCount: 17
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1701477875 {#2418
    date: 2023-12-02 01:44:35.0 +01:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1688 …}
  +votes: Doctrine\ORM\PersistentCollection {#1966 …}
  +reports: Doctrine\ORM\PersistentCollection {#1965 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
  +badges: Doctrine\ORM\PersistentCollection {#2439 …}
  +children: []
  -id: 18224
  -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
  -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1701327288
  +visibility: "visible             "
  +apId: "https://lemmy.world/post/8922340"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701273788 {#1858
    date: 2023-11-29 17:03:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
6 DENIED moderate
App\Entity\EntryComment {#4069
  +user: App\Entity\User {#4017 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
    +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
    +url: null
    +body: """
      Hi everyone :)\n
      \n
      After installing the emacs package and trying to remove it afterwards:\n
      \n
      `sudo apt remove --purge --autoremove emacs`\n
      \n
      It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
      \n
      Isn’t that command supposed:\n
      \n
      - remove package\n
      - it’s configuration files\n
      - remove unused packages automatically installed ?\n
      \n
      What am I missing here?\n
      \n
      Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
      \n
      Some insight from experienced user would be great :)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 17
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701477875 {#2418
      date: 2023-12-02 01:44:35.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 18224
    -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
    -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701327288
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/8922340"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701273788 {#1858
      date: 2023-11-29 17:03:08.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    It is a very typical way of doing things, you just have to read the output and make sure no important packages are in the list.\n
    \n
    Your command should be working. It won’t remove manually installed dependencies but should take care of automatic ones. You can check an individual package with apt show and look at the APT-Manual-Installed field.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1702585842 {#4078
    date: 2023-12-14 21:30:42.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@deepdive@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4067 …}
  +nested: Doctrine\ORM\PersistentCollection {#4065 …}
  +votes: Doctrine\ORM\PersistentCollection {#4063 …}
  +reports: Doctrine\ORM\PersistentCollection {#4061 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4029 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4033 …}
  -id: 177291
  -bodyTs: "'apt':53,60 'apt-manual-instal':59 'automat':44 'care':42 'check':48 'command':28 'depend':38 'field':63 'import':21 'individu':50 'instal':37,62 'list':26 'look':56 'make':18 'manual':36,61 'one':45 'output':16 'packag':22,51 'read':14 'remov':35 'show':54 'sure':19 'take':41 'thing':9 'typic':5 'way':6 'won':33 'work':31"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.sdf.org/comment/5955626"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701274625 {#4014
    date: 2023-11-29 17:17:05.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
7 DENIED edit
App\Entity\EntryComment {#4069
  +user: App\Entity\User {#4017 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
    +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
    +url: null
    +body: """
      Hi everyone :)\n
      \n
      After installing the emacs package and trying to remove it afterwards:\n
      \n
      `sudo apt remove --purge --autoremove emacs`\n
      \n
      It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
      \n
      Isn’t that command supposed:\n
      \n
      - remove package\n
      - it’s configuration files\n
      - remove unused packages automatically installed ?\n
      \n
      What am I missing here?\n
      \n
      Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
      \n
      Some insight from experienced user would be great :)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 17
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701477875 {#2418
      date: 2023-12-02 01:44:35.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 18224
    -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
    -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701327288
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/8922340"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701273788 {#1858
      date: 2023-11-29 17:03:08.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    It is a very typical way of doing things, you just have to read the output and make sure no important packages are in the list.\n
    \n
    Your command should be working. It won’t remove manually installed dependencies but should take care of automatic ones. You can check an individual package with apt show and look at the APT-Manual-Installed field.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1702585842 {#4078
    date: 2023-12-14 21:30:42.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@deepdive@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4067 …}
  +nested: Doctrine\ORM\PersistentCollection {#4065 …}
  +votes: Doctrine\ORM\PersistentCollection {#4063 …}
  +reports: Doctrine\ORM\PersistentCollection {#4061 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4029 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4033 …}
  -id: 177291
  -bodyTs: "'apt':53,60 'apt-manual-instal':59 'automat':44 'care':42 'check':48 'command':28 'depend':38 'field':63 'import':21 'individu':50 'instal':37,62 'list':26 'look':56 'make':18 'manual':36,61 'one':45 'output':16 'packag':22,51 'read':14 'remov':35 'show':54 'sure':19 'take':41 'thing':9 'typic':5 'way':6 'won':33 'work':31"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.sdf.org/comment/5955626"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701274625 {#4014
    date: 2023-11-29 17:17:05.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
8 DENIED moderate
App\Entity\EntryComment {#4069
  +user: App\Entity\User {#4017 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
    +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
    +url: null
    +body: """
      Hi everyone :)\n
      \n
      After installing the emacs package and trying to remove it afterwards:\n
      \n
      `sudo apt remove --purge --autoremove emacs`\n
      \n
      It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
      \n
      Isn’t that command supposed:\n
      \n
      - remove package\n
      - it’s configuration files\n
      - remove unused packages automatically installed ?\n
      \n
      What am I missing here?\n
      \n
      Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
      \n
      Some insight from experienced user would be great :)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 17
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701477875 {#2418
      date: 2023-12-02 01:44:35.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 18224
    -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
    -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701327288
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/8922340"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701273788 {#1858
      date: 2023-11-29 17:03:08.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    It is a very typical way of doing things, you just have to read the output and make sure no important packages are in the list.\n
    \n
    Your command should be working. It won’t remove manually installed dependencies but should take care of automatic ones. You can check an individual package with apt show and look at the APT-Manual-Installed field.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1702585842 {#4078
    date: 2023-12-14 21:30:42.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@deepdive@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4067 …}
  +nested: Doctrine\ORM\PersistentCollection {#4065 …}
  +votes: Doctrine\ORM\PersistentCollection {#4063 …}
  +reports: Doctrine\ORM\PersistentCollection {#4061 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4029 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4033 …}
  -id: 177291
  -bodyTs: "'apt':53,60 'apt-manual-instal':59 'automat':44 'care':42 'check':48 'command':28 'depend':38 'field':63 'import':21 'individu':50 'instal':37,62 'list':26 'look':56 'make':18 'manual':36,61 'one':45 'output':16 'packag':22,51 'read':14 'remov':35 'show':54 'sure':19 'take':41 'thing':9 'typic':5 'way':6 'won':33 'work':31"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.sdf.org/comment/5955626"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701274625 {#4014
    date: 2023-11-29 17:17:05.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
9 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
10 DENIED moderate
App\Entity\EntryComment {#4085
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
    +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
    +url: null
    +body: """
      Hi everyone :)\n
      \n
      After installing the emacs package and trying to remove it afterwards:\n
      \n
      `sudo apt remove --purge --autoremove emacs`\n
      \n
      It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
      \n
      Isn’t that command supposed:\n
      \n
      - remove package\n
      - it’s configuration files\n
      - remove unused packages automatically installed ?\n
      \n
      What am I missing here?\n
      \n
      Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
      \n
      Some insight from experienced user would be great :)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 17
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701477875 {#2418
      date: 2023-12-02 01:44:35.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 18224
    -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
    -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701327288
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/8922340"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701273788 {#1858
      date: 2023-11-29 17:03:08.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4069
    +user: App\Entity\User {#4017 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: """
      It is a very typical way of doing things, you just have to read the output and make sure no important packages are in the list.\n
      \n
      Your command should be working. It won’t remove manually installed dependencies but should take care of automatic ones. You can check an individual package with apt show and look at the APT-Manual-Installed field.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702585842 {#4078
      date: 2023-12-14 21:30:42.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@deepdive@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4067 …}
    +nested: Doctrine\ORM\PersistentCollection {#4065 …}
    +votes: Doctrine\ORM\PersistentCollection {#4063 …}
    +reports: Doctrine\ORM\PersistentCollection {#4061 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4029 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4033 …}
    -id: 177291
    -bodyTs: "'apt':53,60 'apt-manual-instal':59 'automat':44 'care':42 'check':48 'command':28 'depend':38 'field':63 'import':21 'individu':50 'instal':37,62 'list':26 'look':56 'make':18 'manual':36,61 'one':45 'output':16 'packag':22,51 'read':14 'remov':35 'show':54 'sure':19 'take':41 'thing':9 'typic':5 'way':6 'won':33 'work':31"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/5955626"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701274625 {#4014
      date: 2023-11-29 17:17:05.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4069}
  +body: """
    Hi thanks for your quick response !\n
    \n
    I already checked with `apt show emacs` and the output clearly shows `emacs-gtk` as depends on. And while installing the emacs package with: `sudo apt-get install emacs` it installed a ~400Mo package and all dependencies.\n
    \n
    So why doesn’t `sudo apt remove --purge --autoremove emacs` removes everything ? I thought this command would be the exact opposite of `sudo apt install package-name`
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701275502 {#4090
    date: 2023-11-29 17:31:42.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@deepdive@lemmy.world"
    "@Bitrot@lemmy.sdf.org"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4093 …}
  +nested: Doctrine\ORM\PersistentCollection {#4099 …}
  +votes: Doctrine\ORM\PersistentCollection {#4096 …}
  +reports: Doctrine\ORM\PersistentCollection {#4084 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4082 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
  -id: 177335
  -bodyTs: "'400mo':41 'alreadi':8 'apt':11,34,51,69 'apt-get':33 'autoremov':54 'check':9 'clear':17 'command':61 'depend':23,45 'doesn':48 'emac':13,20,29,37,55 'emacs-gtk':19 'everyth':57 'exact':65 'get':35 'gtk':21 'hi':1 'instal':27,36,39,70 'name':73 'opposit':66 'output':16 'packag':30,42,72 'package-nam':71 'purg':53 'quick':5 'remov':52,56 'respons':6 'show':12,18 'sudo':32,50,68 'thank':2 'thought':59 'would':62"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5674059"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701275502 {#4087
    date: 2023-11-29 17:31:42.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
11 DENIED edit
App\Entity\EntryComment {#4085
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
    +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
    +url: null
    +body: """
      Hi everyone :)\n
      \n
      After installing the emacs package and trying to remove it afterwards:\n
      \n
      `sudo apt remove --purge --autoremove emacs`\n
      \n
      It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
      \n
      Isn’t that command supposed:\n
      \n
      - remove package\n
      - it’s configuration files\n
      - remove unused packages automatically installed ?\n
      \n
      What am I missing here?\n
      \n
      Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
      \n
      Some insight from experienced user would be great :)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 17
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701477875 {#2418
      date: 2023-12-02 01:44:35.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 18224
    -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
    -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701327288
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/8922340"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701273788 {#1858
      date: 2023-11-29 17:03:08.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4069
    +user: App\Entity\User {#4017 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: """
      It is a very typical way of doing things, you just have to read the output and make sure no important packages are in the list.\n
      \n
      Your command should be working. It won’t remove manually installed dependencies but should take care of automatic ones. You can check an individual package with apt show and look at the APT-Manual-Installed field.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702585842 {#4078
      date: 2023-12-14 21:30:42.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@deepdive@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4067 …}
    +nested: Doctrine\ORM\PersistentCollection {#4065 …}
    +votes: Doctrine\ORM\PersistentCollection {#4063 …}
    +reports: Doctrine\ORM\PersistentCollection {#4061 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4029 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4033 …}
    -id: 177291
    -bodyTs: "'apt':53,60 'apt-manual-instal':59 'automat':44 'care':42 'check':48 'command':28 'depend':38 'field':63 'import':21 'individu':50 'instal':37,62 'list':26 'look':56 'make':18 'manual':36,61 'one':45 'output':16 'packag':22,51 'read':14 'remov':35 'show':54 'sure':19 'take':41 'thing':9 'typic':5 'way':6 'won':33 'work':31"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/5955626"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701274625 {#4014
      date: 2023-11-29 17:17:05.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4069}
  +body: """
    Hi thanks for your quick response !\n
    \n
    I already checked with `apt show emacs` and the output clearly shows `emacs-gtk` as depends on. And while installing the emacs package with: `sudo apt-get install emacs` it installed a ~400Mo package and all dependencies.\n
    \n
    So why doesn’t `sudo apt remove --purge --autoremove emacs` removes everything ? I thought this command would be the exact opposite of `sudo apt install package-name`
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701275502 {#4090
    date: 2023-11-29 17:31:42.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@deepdive@lemmy.world"
    "@Bitrot@lemmy.sdf.org"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4093 …}
  +nested: Doctrine\ORM\PersistentCollection {#4099 …}
  +votes: Doctrine\ORM\PersistentCollection {#4096 …}
  +reports: Doctrine\ORM\PersistentCollection {#4084 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4082 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
  -id: 177335
  -bodyTs: "'400mo':41 'alreadi':8 'apt':11,34,51,69 'apt-get':33 'autoremov':54 'check':9 'clear':17 'command':61 'depend':23,45 'doesn':48 'emac':13,20,29,37,55 'emacs-gtk':19 'everyth':57 'exact':65 'get':35 'gtk':21 'hi':1 'instal':27,36,39,70 'name':73 'opposit':66 'output':16 'packag':30,42,72 'package-nam':71 'purg':53 'quick':5 'remov':52,56 'respons':6 'show':12,18 'sudo':32,50,68 'thank':2 'thought':59 'would':62"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5674059"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701275502 {#4087
    date: 2023-11-29 17:31:42.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
12 DENIED moderate
App\Entity\EntryComment {#4085
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
    +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
    +url: null
    +body: """
      Hi everyone :)\n
      \n
      After installing the emacs package and trying to remove it afterwards:\n
      \n
      `sudo apt remove --purge --autoremove emacs`\n
      \n
      It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
      \n
      Isn’t that command supposed:\n
      \n
      - remove package\n
      - it’s configuration files\n
      - remove unused packages automatically installed ?\n
      \n
      What am I missing here?\n
      \n
      Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
      \n
      Some insight from experienced user would be great :)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 17
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701477875 {#2418
      date: 2023-12-02 01:44:35.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 18224
    -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
    -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701327288
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/8922340"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701273788 {#1858
      date: 2023-11-29 17:03:08.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4069
    +user: App\Entity\User {#4017 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: """
      It is a very typical way of doing things, you just have to read the output and make sure no important packages are in the list.\n
      \n
      Your command should be working. It won’t remove manually installed dependencies but should take care of automatic ones. You can check an individual package with apt show and look at the APT-Manual-Installed field.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1702585842 {#4078
      date: 2023-12-14 21:30:42.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@deepdive@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4067 …}
    +nested: Doctrine\ORM\PersistentCollection {#4065 …}
    +votes: Doctrine\ORM\PersistentCollection {#4063 …}
    +reports: Doctrine\ORM\PersistentCollection {#4061 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4029 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4033 …}
    -id: 177291
    -bodyTs: "'apt':53,60 'apt-manual-instal':59 'automat':44 'care':42 'check':48 'command':28 'depend':38 'field':63 'import':21 'individu':50 'instal':37,62 'list':26 'look':56 'make':18 'manual':36,61 'one':45 'output':16 'packag':22,51 'read':14 'remov':35 'show':54 'sure':19 'take':41 'thing':9 'typic':5 'way':6 'won':33 'work':31"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/5955626"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701274625 {#4014
      date: 2023-11-29 17:17:05.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4069}
  +body: """
    Hi thanks for your quick response !\n
    \n
    I already checked with `apt show emacs` and the output clearly shows `emacs-gtk` as depends on. And while installing the emacs package with: `sudo apt-get install emacs` it installed a ~400Mo package and all dependencies.\n
    \n
    So why doesn’t `sudo apt remove --purge --autoremove emacs` removes everything ? I thought this command would be the exact opposite of `sudo apt install package-name`
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701275502 {#4090
    date: 2023-11-29 17:31:42.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@deepdive@lemmy.world"
    "@Bitrot@lemmy.sdf.org"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4093 …}
  +nested: Doctrine\ORM\PersistentCollection {#4099 …}
  +votes: Doctrine\ORM\PersistentCollection {#4096 …}
  +reports: Doctrine\ORM\PersistentCollection {#4084 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4082 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
  -id: 177335
  -bodyTs: "'400mo':41 'alreadi':8 'apt':11,34,51,69 'apt-get':33 'autoremov':54 'check':9 'clear':17 'command':61 'depend':23,45 'doesn':48 'emac':13,20,29,37,55 'emacs-gtk':19 'everyth':57 'exact':65 'get':35 'gtk':21 'hi':1 'instal':27,36,39,70 'name':73 'opposit':66 'output':16 'packag':30,42,72 'package-nam':71 'purg':53 'quick':5 'remov':52,56 'respons':6 'show':12,18 'sudo':32,50,68 'thank':2 'thought':59 'would':62"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5674059"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701275502 {#4087
    date: 2023-11-29 17:31:42.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
13 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
14 DENIED moderate
App\Entity\EntryComment {#4145
  +user: App\Entity\User {#4017 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
    +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
    +url: null
    +body: """
      Hi everyone :)\n
      \n
      After installing the emacs package and trying to remove it afterwards:\n
      \n
      `sudo apt remove --purge --autoremove emacs`\n
      \n
      It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
      \n
      Isn’t that command supposed:\n
      \n
      - remove package\n
      - it’s configuration files\n
      - remove unused packages automatically installed ?\n
      \n
      What am I missing here?\n
      \n
      Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
      \n
      Some insight from experienced user would be great :)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 17
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701477875 {#2418
      date: 2023-12-02 01:44:35.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 18224
    -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
    -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701327288
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/8922340"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701273788 {#1858
      date: 2023-11-29 17:03:08.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4085
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4069
      +user: App\Entity\User {#4017 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: null
      +root: null
      +body: """
        It is a very typical way of doing things, you just have to read the output and make sure no important packages are in the list.\n
        \n
        Your command should be working. It won’t remove manually installed dependencies but should take care of automatic ones. You can check an individual package with apt show and look at the APT-Manual-Installed field.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1702585842 {#4078
        date: 2023-12-14 21:30:42.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@deepdive@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4067 …}
      +nested: Doctrine\ORM\PersistentCollection {#4065 …}
      +votes: Doctrine\ORM\PersistentCollection {#4063 …}
      +reports: Doctrine\ORM\PersistentCollection {#4061 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4029 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4033 …}
      -id: 177291
      -bodyTs: "'apt':53,60 'apt-manual-instal':59 'automat':44 'care':42 'check':48 'command':28 'depend':38 'field':63 'import':21 'individu':50 'instal':37,62 'list':26 'look':56 'make':18 'manual':36,61 'one':45 'output':16 'packag':22,51 'read':14 'remov':35 'show':54 'sure':19 'take':41 'thing':9 'typic':5 'way':6 'won':33 'work':31"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.sdf.org/comment/5955626"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701274625 {#4014
        date: 2023-11-29 17:17:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4069}
    +body: """
      Hi thanks for your quick response !\n
      \n
      I already checked with `apt show emacs` and the output clearly shows `emacs-gtk` as depends on. And while installing the emacs package with: `sudo apt-get install emacs` it installed a ~400Mo package and all dependencies.\n
      \n
      So why doesn’t `sudo apt remove --purge --autoremove emacs` removes everything ? I thought this command would be the exact opposite of `sudo apt install package-name`
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1701275502 {#4090
      date: 2023-11-29 17:31:42.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@deepdive@lemmy.world"
      "@Bitrot@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4093 …}
    +nested: Doctrine\ORM\PersistentCollection {#4099 …}
    +votes: Doctrine\ORM\PersistentCollection {#4096 …}
    +reports: Doctrine\ORM\PersistentCollection {#4084 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4082 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
    -id: 177335
    -bodyTs: "'400mo':41 'alreadi':8 'apt':11,34,51,69 'apt-get':33 'autoremov':54 'check':9 'clear':17 'command':61 'depend':23,45 'doesn':48 'emac':13,20,29,37,55 'emacs-gtk':19 'everyth':57 'exact':65 'get':35 'gtk':21 'hi':1 'instal':27,36,39,70 'name':73 'opposit':66 'output':16 'packag':30,42,72 'package-nam':71 'purg':53 'quick':5 'remov':52,56 'respons':6 'show':12,18 'sudo':32,50,68 'thank':2 'thought':59 'would':62"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5674059"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701275502 {#4087
      date: 2023-11-29 17:31:42.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4069}
  +body: """
    Ah, I can duplicate this behavior too. I think it is probably related to emacs being a metapackage. It does not include emacs itself but forces the install of emacs-gtk. In my mind removing the metapackage should allow you to autoremove dependencies, but people have broken their systems badly with this behavior so it may have been changed or it’s stuck behind some configuration option.\n
    \n
    Removing emacs-gtk itself will work as you expect. You can also install emacs-nox for a cli-only one that is smaller.\n
    \n
    Edit: there is a setting called APT::Never-MarkAuto-Sections that by default includes meta packages and I think is the cause of this.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1701277471 {#4148
    date: 2023-11-29 18:04:31.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@deepdive@lemmy.world"
    "@Bitrot@lemmy.sdf.org"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4143 …}
  +nested: Doctrine\ORM\PersistentCollection {#4141 …}
  +votes: Doctrine\ORM\PersistentCollection {#4138 …}
  +reports: Doctrine\ORM\PersistentCollection {#4155 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4157 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4159 …}
  -id: 177442
  -bodyTs: "'ah':1 'allow':40 'also':81 'apt':101 'autoremov':43 'bad':51 'behavior':6,54 'behind':65 'broken':48 'call':100 'caus':117 'chang':60 'cli':89 'cli-on':88 'configur':67 'default':108 'depend':44 'duplic':4 'edit':95 'emac':15,23,31,71,84 'emacs-gtk':30,70 'emacs-nox':83 'expect':78 'forc':26 'gtk':32,72 'includ':22,109 'instal':28,82 'markauto':104 'may':57 'meta':110 'metapackag':18,38 'mind':35 'never':103 'never-markauto-sect':102 'nox':85 'one':91 'option':68 'packag':111 'peopl':46 'probabl':12 'relat':13 'remov':36,69 'section':105 'set':99 'smaller':94 'stuck':64 'system':50 'think':9,114 'work':75"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.sdf.org/comment/5957180"
  +editedAt: DateTimeImmutable @1702178312 {#4151
    date: 2023-12-10 04:18:32.0 +01:00
  }
  +createdAt: DateTimeImmutable @1701277471 {#4153
    date: 2023-11-29 18:04:31.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
15 DENIED edit
App\Entity\EntryComment {#4145
  +user: App\Entity\User {#4017 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
    +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
    +url: null
    +body: """
      Hi everyone :)\n
      \n
      After installing the emacs package and trying to remove it afterwards:\n
      \n
      `sudo apt remove --purge --autoremove emacs`\n
      \n
      It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
      \n
      Isn’t that command supposed:\n
      \n
      - remove package\n
      - it’s configuration files\n
      - remove unused packages automatically installed ?\n
      \n
      What am I missing here?\n
      \n
      Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
      \n
      Some insight from experienced user would be great :)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 17
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701477875 {#2418
      date: 2023-12-02 01:44:35.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 18224
    -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
    -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701327288
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/8922340"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701273788 {#1858
      date: 2023-11-29 17:03:08.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4085
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4069
      +user: App\Entity\User {#4017 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: null
      +root: null
      +body: """
        It is a very typical way of doing things, you just have to read the output and make sure no important packages are in the list.\n
        \n
        Your command should be working. It won’t remove manually installed dependencies but should take care of automatic ones. You can check an individual package with apt show and look at the APT-Manual-Installed field.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1702585842 {#4078
        date: 2023-12-14 21:30:42.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@deepdive@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4067 …}
      +nested: Doctrine\ORM\PersistentCollection {#4065 …}
      +votes: Doctrine\ORM\PersistentCollection {#4063 …}
      +reports: Doctrine\ORM\PersistentCollection {#4061 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4029 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4033 …}
      -id: 177291
      -bodyTs: "'apt':53,60 'apt-manual-instal':59 'automat':44 'care':42 'check':48 'command':28 'depend':38 'field':63 'import':21 'individu':50 'instal':37,62 'list':26 'look':56 'make':18 'manual':36,61 'one':45 'output':16 'packag':22,51 'read':14 'remov':35 'show':54 'sure':19 'take':41 'thing':9 'typic':5 'way':6 'won':33 'work':31"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.sdf.org/comment/5955626"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701274625 {#4014
        date: 2023-11-29 17:17:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4069}
    +body: """
      Hi thanks for your quick response !\n
      \n
      I already checked with `apt show emacs` and the output clearly shows `emacs-gtk` as depends on. And while installing the emacs package with: `sudo apt-get install emacs` it installed a ~400Mo package and all dependencies.\n
      \n
      So why doesn’t `sudo apt remove --purge --autoremove emacs` removes everything ? I thought this command would be the exact opposite of `sudo apt install package-name`
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1701275502 {#4090
      date: 2023-11-29 17:31:42.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@deepdive@lemmy.world"
      "@Bitrot@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4093 …}
    +nested: Doctrine\ORM\PersistentCollection {#4099 …}
    +votes: Doctrine\ORM\PersistentCollection {#4096 …}
    +reports: Doctrine\ORM\PersistentCollection {#4084 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4082 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
    -id: 177335
    -bodyTs: "'400mo':41 'alreadi':8 'apt':11,34,51,69 'apt-get':33 'autoremov':54 'check':9 'clear':17 'command':61 'depend':23,45 'doesn':48 'emac':13,20,29,37,55 'emacs-gtk':19 'everyth':57 'exact':65 'get':35 'gtk':21 'hi':1 'instal':27,36,39,70 'name':73 'opposit':66 'output':16 'packag':30,42,72 'package-nam':71 'purg':53 'quick':5 'remov':52,56 'respons':6 'show':12,18 'sudo':32,50,68 'thank':2 'thought':59 'would':62"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5674059"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701275502 {#4087
      date: 2023-11-29 17:31:42.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4069}
  +body: """
    Ah, I can duplicate this behavior too. I think it is probably related to emacs being a metapackage. It does not include emacs itself but forces the install of emacs-gtk. In my mind removing the metapackage should allow you to autoremove dependencies, but people have broken their systems badly with this behavior so it may have been changed or it’s stuck behind some configuration option.\n
    \n
    Removing emacs-gtk itself will work as you expect. You can also install emacs-nox for a cli-only one that is smaller.\n
    \n
    Edit: there is a setting called APT::Never-MarkAuto-Sections that by default includes meta packages and I think is the cause of this.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1701277471 {#4148
    date: 2023-11-29 18:04:31.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@deepdive@lemmy.world"
    "@Bitrot@lemmy.sdf.org"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4143 …}
  +nested: Doctrine\ORM\PersistentCollection {#4141 …}
  +votes: Doctrine\ORM\PersistentCollection {#4138 …}
  +reports: Doctrine\ORM\PersistentCollection {#4155 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4157 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4159 …}
  -id: 177442
  -bodyTs: "'ah':1 'allow':40 'also':81 'apt':101 'autoremov':43 'bad':51 'behavior':6,54 'behind':65 'broken':48 'call':100 'caus':117 'chang':60 'cli':89 'cli-on':88 'configur':67 'default':108 'depend':44 'duplic':4 'edit':95 'emac':15,23,31,71,84 'emacs-gtk':30,70 'emacs-nox':83 'expect':78 'forc':26 'gtk':32,72 'includ':22,109 'instal':28,82 'markauto':104 'may':57 'meta':110 'metapackag':18,38 'mind':35 'never':103 'never-markauto-sect':102 'nox':85 'one':91 'option':68 'packag':111 'peopl':46 'probabl':12 'relat':13 'remov':36,69 'section':105 'set':99 'smaller':94 'stuck':64 'system':50 'think':9,114 'work':75"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.sdf.org/comment/5957180"
  +editedAt: DateTimeImmutable @1702178312 {#4151
    date: 2023-12-10 04:18:32.0 +01:00
  }
  +createdAt: DateTimeImmutable @1701277471 {#4153
    date: 2023-11-29 18:04:31.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
16 DENIED moderate
App\Entity\EntryComment {#4145
  +user: App\Entity\User {#4017 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
    +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
    +url: null
    +body: """
      Hi everyone :)\n
      \n
      After installing the emacs package and trying to remove it afterwards:\n
      \n
      `sudo apt remove --purge --autoremove emacs`\n
      \n
      It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
      \n
      Isn’t that command supposed:\n
      \n
      - remove package\n
      - it’s configuration files\n
      - remove unused packages automatically installed ?\n
      \n
      What am I missing here?\n
      \n
      Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
      \n
      Some insight from experienced user would be great :)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 17
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701477875 {#2418
      date: 2023-12-02 01:44:35.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 18224
    -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
    -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701327288
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/8922340"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701273788 {#1858
      date: 2023-11-29 17:03:08.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4085
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4069
      +user: App\Entity\User {#4017 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: null
      +root: null
      +body: """
        It is a very typical way of doing things, you just have to read the output and make sure no important packages are in the list.\n
        \n
        Your command should be working. It won’t remove manually installed dependencies but should take care of automatic ones. You can check an individual package with apt show and look at the APT-Manual-Installed field.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1702585842 {#4078
        date: 2023-12-14 21:30:42.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@deepdive@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4067 …}
      +nested: Doctrine\ORM\PersistentCollection {#4065 …}
      +votes: Doctrine\ORM\PersistentCollection {#4063 …}
      +reports: Doctrine\ORM\PersistentCollection {#4061 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4029 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4033 …}
      -id: 177291
      -bodyTs: "'apt':53,60 'apt-manual-instal':59 'automat':44 'care':42 'check':48 'command':28 'depend':38 'field':63 'import':21 'individu':50 'instal':37,62 'list':26 'look':56 'make':18 'manual':36,61 'one':45 'output':16 'packag':22,51 'read':14 'remov':35 'show':54 'sure':19 'take':41 'thing':9 'typic':5 'way':6 'won':33 'work':31"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.sdf.org/comment/5955626"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701274625 {#4014
        date: 2023-11-29 17:17:05.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4069}
    +body: """
      Hi thanks for your quick response !\n
      \n
      I already checked with `apt show emacs` and the output clearly shows `emacs-gtk` as depends on. And while installing the emacs package with: `sudo apt-get install emacs` it installed a ~400Mo package and all dependencies.\n
      \n
      So why doesn’t `sudo apt remove --purge --autoremove emacs` removes everything ? I thought this command would be the exact opposite of `sudo apt install package-name`
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1701275502 {#4090
      date: 2023-11-29 17:31:42.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@deepdive@lemmy.world"
      "@Bitrot@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4093 …}
    +nested: Doctrine\ORM\PersistentCollection {#4099 …}
    +votes: Doctrine\ORM\PersistentCollection {#4096 …}
    +reports: Doctrine\ORM\PersistentCollection {#4084 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4082 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
    -id: 177335
    -bodyTs: "'400mo':41 'alreadi':8 'apt':11,34,51,69 'apt-get':33 'autoremov':54 'check':9 'clear':17 'command':61 'depend':23,45 'doesn':48 'emac':13,20,29,37,55 'emacs-gtk':19 'everyth':57 'exact':65 'get':35 'gtk':21 'hi':1 'instal':27,36,39,70 'name':73 'opposit':66 'output':16 'packag':30,42,72 'package-nam':71 'purg':53 'quick':5 'remov':52,56 'respons':6 'show':12,18 'sudo':32,50,68 'thank':2 'thought':59 'would':62"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5674059"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701275502 {#4087
      date: 2023-11-29 17:31:42.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4069}
  +body: """
    Ah, I can duplicate this behavior too. I think it is probably related to emacs being a metapackage. It does not include emacs itself but forces the install of emacs-gtk. In my mind removing the metapackage should allow you to autoremove dependencies, but people have broken their systems badly with this behavior so it may have been changed or it’s stuck behind some configuration option.\n
    \n
    Removing emacs-gtk itself will work as you expect. You can also install emacs-nox for a cli-only one that is smaller.\n
    \n
    Edit: there is a setting called APT::Never-MarkAuto-Sections that by default includes meta packages and I think is the cause of this.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 4
  +score: 0
  +lastActive: DateTime @1701277471 {#4148
    date: 2023-11-29 18:04:31.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@deepdive@lemmy.world"
    "@Bitrot@lemmy.sdf.org"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4143 …}
  +nested: Doctrine\ORM\PersistentCollection {#4141 …}
  +votes: Doctrine\ORM\PersistentCollection {#4138 …}
  +reports: Doctrine\ORM\PersistentCollection {#4155 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4157 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4159 …}
  -id: 177442
  -bodyTs: "'ah':1 'allow':40 'also':81 'apt':101 'autoremov':43 'bad':51 'behavior':6,54 'behind':65 'broken':48 'call':100 'caus':117 'chang':60 'cli':89 'cli-on':88 'configur':67 'default':108 'depend':44 'duplic':4 'edit':95 'emac':15,23,31,71,84 'emacs-gtk':30,70 'emacs-nox':83 'expect':78 'forc':26 'gtk':32,72 'includ':22,109 'instal':28,82 'markauto':104 'may':57 'meta':110 'metapackag':18,38 'mind':35 'never':103 'never-markauto-sect':102 'nox':85 'one':91 'option':68 'packag':111 'peopl':46 'probabl':12 'relat':13 'remov':36,69 'section':105 'set':99 'smaller':94 'stuck':64 'system':50 'think':9,114 'work':75"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.sdf.org/comment/5957180"
  +editedAt: DateTimeImmutable @1702178312 {#4151
    date: 2023-12-10 04:18:32.0 +01:00
  }
  +createdAt: DateTimeImmutable @1701277471 {#4153
    date: 2023-11-29 18:04:31.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
17 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
18 DENIED moderate
App\Entity\EntryComment {#4176
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
    +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
    +url: null
    +body: """
      Hi everyone :)\n
      \n
      After installing the emacs package and trying to remove it afterwards:\n
      \n
      `sudo apt remove --purge --autoremove emacs`\n
      \n
      It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
      \n
      Isn’t that command supposed:\n
      \n
      - remove package\n
      - it’s configuration files\n
      - remove unused packages automatically installed ?\n
      \n
      What am I missing here?\n
      \n
      Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
      \n
      Some insight from experienced user would be great :)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 17
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701477875 {#2418
      date: 2023-12-02 01:44:35.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 18224
    -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
    -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701327288
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/8922340"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701273788 {#1858
      date: 2023-11-29 17:03:08.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4145
    +user: App\Entity\User {#4017 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4085
      +user: Proxies\__CG__\App\Entity\User {#1978 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4069
        +user: App\Entity\User {#4017 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: null
        +root: null
        +body: """
          It is a very typical way of doing things, you just have to read the output and make sure no important packages are in the list.\n
          \n
          Your command should be working. It won’t remove manually installed dependencies but should take care of automatic ones. You can check an individual package with apt show and look at the APT-Manual-Installed field.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1702585842 {#4078
          date: 2023-12-14 21:30:42.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@deepdive@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4067 …}
        +nested: Doctrine\ORM\PersistentCollection {#4065 …}
        +votes: Doctrine\ORM\PersistentCollection {#4063 …}
        +reports: Doctrine\ORM\PersistentCollection {#4061 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4029 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4033 …}
        -id: 177291
        -bodyTs: "'apt':53,60 'apt-manual-instal':59 'automat':44 'care':42 'check':48 'command':28 'depend':38 'field':63 'import':21 'individu':50 'instal':37,62 'list':26 'look':56 'make':18 'manual':36,61 'one':45 'output':16 'packag':22,51 'read':14 'remov':35 'show':54 'sure':19 'take':41 'thing':9 'typic':5 'way':6 'won':33 'work':31"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.sdf.org/comment/5955626"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701274625 {#4014
          date: 2023-11-29 17:17:05.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4069}
      +body: """
        Hi thanks for your quick response !\n
        \n
        I already checked with `apt show emacs` and the output clearly shows `emacs-gtk` as depends on. And while installing the emacs package with: `sudo apt-get install emacs` it installed a ~400Mo package and all dependencies.\n
        \n
        So why doesn’t `sudo apt remove --purge --autoremove emacs` removes everything ? I thought this command would be the exact opposite of `sudo apt install package-name`
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1701275502 {#4090
        date: 2023-11-29 17:31:42.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@deepdive@lemmy.world"
        "@Bitrot@lemmy.sdf.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4093 …}
      +nested: Doctrine\ORM\PersistentCollection {#4099 …}
      +votes: Doctrine\ORM\PersistentCollection {#4096 …}
      +reports: Doctrine\ORM\PersistentCollection {#4084 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4082 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
      -id: 177335
      -bodyTs: "'400mo':41 'alreadi':8 'apt':11,34,51,69 'apt-get':33 'autoremov':54 'check':9 'clear':17 'command':61 'depend':23,45 'doesn':48 'emac':13,20,29,37,55 'emacs-gtk':19 'everyth':57 'exact':65 'get':35 'gtk':21 'hi':1 'instal':27,36,39,70 'name':73 'opposit':66 'output':16 'packag':30,42,72 'package-nam':71 'purg':53 'quick':5 'remov':52,56 'respons':6 'show':12,18 'sudo':32,50,68 'thank':2 'thought':59 'would':62"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/5674059"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701275502 {#4087
        date: 2023-11-29 17:31:42.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4069}
    +body: """
      Ah, I can duplicate this behavior too. I think it is probably related to emacs being a metapackage. It does not include emacs itself but forces the install of emacs-gtk. In my mind removing the metapackage should allow you to autoremove dependencies, but people have broken their systems badly with this behavior so it may have been changed or it’s stuck behind some configuration option.\n
      \n
      Removing emacs-gtk itself will work as you expect. You can also install emacs-nox for a cli-only one that is smaller.\n
      \n
      Edit: there is a setting called APT::Never-MarkAuto-Sections that by default includes meta packages and I think is the cause of this.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701277471 {#4148
      date: 2023-11-29 18:04:31.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@deepdive@lemmy.world"
      "@Bitrot@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4143 …}
    +nested: Doctrine\ORM\PersistentCollection {#4141 …}
    +votes: Doctrine\ORM\PersistentCollection {#4138 …}
    +reports: Doctrine\ORM\PersistentCollection {#4155 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4157 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4159 …}
    -id: 177442
    -bodyTs: "'ah':1 'allow':40 'also':81 'apt':101 'autoremov':43 'bad':51 'behavior':6,54 'behind':65 'broken':48 'call':100 'caus':117 'chang':60 'cli':89 'cli-on':88 'configur':67 'default':108 'depend':44 'duplic':4 'edit':95 'emac':15,23,31,71,84 'emacs-gtk':30,70 'emacs-nox':83 'expect':78 'forc':26 'gtk':32,72 'includ':22,109 'instal':28,82 'markauto':104 'may':57 'meta':110 'metapackag':18,38 'mind':35 'never':103 'never-markauto-sect':102 'nox':85 'one':91 'option':68 'packag':111 'peopl':46 'probabl':12 'relat':13 'remov':36,69 'section':105 'set':99 'smaller':94 'stuck':64 'system':50 'think':9,114 'work':75"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/5957180"
    +editedAt: DateTimeImmutable @1702178312 {#4151
      date: 2023-12-10 04:18:32.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701277471 {#4153
      date: 2023-11-29 18:04:31.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4069}
  +body: """
    Thank you very much for your enlighten answer :D !\n
    \n
    > Removing emacs-gtk itself will work as you expect\n
    \n
    Yes that’s what I found out with `apt show emacs-gtk`, it shows all the dependencies but I found it quiet odd behavior (lack of knowledge).\n
    \n
    I wasn’t aware of metapackages, something new to put into my knowledge database.\n
    \n
    **Edit:** While writing my replay and searching through the web and my console, even though I wouldn’t have had understood it while reading it… It actually tells me in the description that emacs is a metapackage… Bad reading skills :/ sorry about that !\n
    \n
    > Description: GNU Emacs editor (metapackage) GNU Emacs is the extensible self-documenting text editor. This is a metapackage that will always depend on the latest recommended Emacs variant (currently emacs-gtk).\n
    \n
    ---\n
    \n
    If you don’t mind I have a last question. Imagine I want to remove `docker-ce`, which depends on `iptables` among others, if I `sudo apt remove --purge --autoremove docker-ce`, this isn’t going to remove iptables and break my system right? Because it’s used by other packages, system… I guess, no?\n
    \n
    I think a more general question would be how can I be sure I not going to fuck my system while removing packages? Maybe I’m to paranoïd and today it’s relatively safe to do so, compared to years ago??\n
    \n
    Thank you :)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701439313 {#4171
    date: 2023-12-01 15:01:53.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@deepdive@lemmy.world"
    "@Bitrot@lemmy.sdf.org"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4168 …}
  +nested: Doctrine\ORM\PersistentCollection {#4165 …}
  +votes: Doctrine\ORM\PersistentCollection {#4163 …}
  +reports: Doctrine\ORM\PersistentCollection {#4177 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4181 …}
  -id: 184777
  -bodyTs: "'actual':88 'ago':235 'alway':126 'among':160 'answer':8 'apt':28,165 'autoremov':168 'awar':51 'bad':99 'behavior':44 'break':180 'ce':155,171 'compar':232 'consol':74 'current':134 'd':9 'databas':61 'depend':37,127,157 'descript':93,105 'docker':154,170 'docker-c':153,169 'document':117 'edit':62 'editor':108,119 'emac':12,31,95,107,111,132,136 'emacs-gtk':11,30,135 'enlighten':7 'even':75 'expect':19 'extens':114 'found':25,40 'fuck':212 'general':199 'gnu':106,110 'go':175,210 'gtk':13,32,137 'guess':193 'imagin':148 'iptabl':159,178 'isn':173 'knowledg':47,60 'lack':45 'last':146 'latest':130 'm':220 'mayb':218 'metapackag':53,98,109,123 'mind':142 'much':4 'new':55 'odd':43 'other':161 'packag':190,217 'paranoïd':222 'purg':167 'put':57 'question':147,200 'quiet':42 'read':85,100 'recommend':131 'relat':227 'remov':10,152,166,177,216 'replay':66 'right':183 'safe':228 'search':68 'self':116 'self-docu':115 'show':29,34 'skill':101 'someth':54 'sorri':102 'sudo':164 'sure':207 'system':182,191,214 'tell':89 'text':118 'thank':1,236 'think':196 'though':76 'today':224 'understood':82 'use':187 'variant':133 'want':150 'wasn':49 'web':71 'work':16 'would':201 'wouldn':78 'write':64 'year':234 'yes':20"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5723250"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701439313 {#4174
    date: 2023-12-01 15:01:53.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
19 DENIED edit
App\Entity\EntryComment {#4176
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
    +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
    +url: null
    +body: """
      Hi everyone :)\n
      \n
      After installing the emacs package and trying to remove it afterwards:\n
      \n
      `sudo apt remove --purge --autoremove emacs`\n
      \n
      It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
      \n
      Isn’t that command supposed:\n
      \n
      - remove package\n
      - it’s configuration files\n
      - remove unused packages automatically installed ?\n
      \n
      What am I missing here?\n
      \n
      Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
      \n
      Some insight from experienced user would be great :)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 17
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701477875 {#2418
      date: 2023-12-02 01:44:35.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 18224
    -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
    -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701327288
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/8922340"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701273788 {#1858
      date: 2023-11-29 17:03:08.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4145
    +user: App\Entity\User {#4017 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4085
      +user: Proxies\__CG__\App\Entity\User {#1978 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4069
        +user: App\Entity\User {#4017 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: null
        +root: null
        +body: """
          It is a very typical way of doing things, you just have to read the output and make sure no important packages are in the list.\n
          \n
          Your command should be working. It won’t remove manually installed dependencies but should take care of automatic ones. You can check an individual package with apt show and look at the APT-Manual-Installed field.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1702585842 {#4078
          date: 2023-12-14 21:30:42.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@deepdive@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4067 …}
        +nested: Doctrine\ORM\PersistentCollection {#4065 …}
        +votes: Doctrine\ORM\PersistentCollection {#4063 …}
        +reports: Doctrine\ORM\PersistentCollection {#4061 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4029 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4033 …}
        -id: 177291
        -bodyTs: "'apt':53,60 'apt-manual-instal':59 'automat':44 'care':42 'check':48 'command':28 'depend':38 'field':63 'import':21 'individu':50 'instal':37,62 'list':26 'look':56 'make':18 'manual':36,61 'one':45 'output':16 'packag':22,51 'read':14 'remov':35 'show':54 'sure':19 'take':41 'thing':9 'typic':5 'way':6 'won':33 'work':31"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.sdf.org/comment/5955626"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701274625 {#4014
          date: 2023-11-29 17:17:05.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4069}
      +body: """
        Hi thanks for your quick response !\n
        \n
        I already checked with `apt show emacs` and the output clearly shows `emacs-gtk` as depends on. And while installing the emacs package with: `sudo apt-get install emacs` it installed a ~400Mo package and all dependencies.\n
        \n
        So why doesn’t `sudo apt remove --purge --autoremove emacs` removes everything ? I thought this command would be the exact opposite of `sudo apt install package-name`
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1701275502 {#4090
        date: 2023-11-29 17:31:42.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@deepdive@lemmy.world"
        "@Bitrot@lemmy.sdf.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4093 …}
      +nested: Doctrine\ORM\PersistentCollection {#4099 …}
      +votes: Doctrine\ORM\PersistentCollection {#4096 …}
      +reports: Doctrine\ORM\PersistentCollection {#4084 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4082 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
      -id: 177335
      -bodyTs: "'400mo':41 'alreadi':8 'apt':11,34,51,69 'apt-get':33 'autoremov':54 'check':9 'clear':17 'command':61 'depend':23,45 'doesn':48 'emac':13,20,29,37,55 'emacs-gtk':19 'everyth':57 'exact':65 'get':35 'gtk':21 'hi':1 'instal':27,36,39,70 'name':73 'opposit':66 'output':16 'packag':30,42,72 'package-nam':71 'purg':53 'quick':5 'remov':52,56 'respons':6 'show':12,18 'sudo':32,50,68 'thank':2 'thought':59 'would':62"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/5674059"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701275502 {#4087
        date: 2023-11-29 17:31:42.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4069}
    +body: """
      Ah, I can duplicate this behavior too. I think it is probably related to emacs being a metapackage. It does not include emacs itself but forces the install of emacs-gtk. In my mind removing the metapackage should allow you to autoremove dependencies, but people have broken their systems badly with this behavior so it may have been changed or it’s stuck behind some configuration option.\n
      \n
      Removing emacs-gtk itself will work as you expect. You can also install emacs-nox for a cli-only one that is smaller.\n
      \n
      Edit: there is a setting called APT::Never-MarkAuto-Sections that by default includes meta packages and I think is the cause of this.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701277471 {#4148
      date: 2023-11-29 18:04:31.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@deepdive@lemmy.world"
      "@Bitrot@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4143 …}
    +nested: Doctrine\ORM\PersistentCollection {#4141 …}
    +votes: Doctrine\ORM\PersistentCollection {#4138 …}
    +reports: Doctrine\ORM\PersistentCollection {#4155 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4157 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4159 …}
    -id: 177442
    -bodyTs: "'ah':1 'allow':40 'also':81 'apt':101 'autoremov':43 'bad':51 'behavior':6,54 'behind':65 'broken':48 'call':100 'caus':117 'chang':60 'cli':89 'cli-on':88 'configur':67 'default':108 'depend':44 'duplic':4 'edit':95 'emac':15,23,31,71,84 'emacs-gtk':30,70 'emacs-nox':83 'expect':78 'forc':26 'gtk':32,72 'includ':22,109 'instal':28,82 'markauto':104 'may':57 'meta':110 'metapackag':18,38 'mind':35 'never':103 'never-markauto-sect':102 'nox':85 'one':91 'option':68 'packag':111 'peopl':46 'probabl':12 'relat':13 'remov':36,69 'section':105 'set':99 'smaller':94 'stuck':64 'system':50 'think':9,114 'work':75"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/5957180"
    +editedAt: DateTimeImmutable @1702178312 {#4151
      date: 2023-12-10 04:18:32.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701277471 {#4153
      date: 2023-11-29 18:04:31.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4069}
  +body: """
    Thank you very much for your enlighten answer :D !\n
    \n
    > Removing emacs-gtk itself will work as you expect\n
    \n
    Yes that’s what I found out with `apt show emacs-gtk`, it shows all the dependencies but I found it quiet odd behavior (lack of knowledge).\n
    \n
    I wasn’t aware of metapackages, something new to put into my knowledge database.\n
    \n
    **Edit:** While writing my replay and searching through the web and my console, even though I wouldn’t have had understood it while reading it… It actually tells me in the description that emacs is a metapackage… Bad reading skills :/ sorry about that !\n
    \n
    > Description: GNU Emacs editor (metapackage) GNU Emacs is the extensible self-documenting text editor. This is a metapackage that will always depend on the latest recommended Emacs variant (currently emacs-gtk).\n
    \n
    ---\n
    \n
    If you don’t mind I have a last question. Imagine I want to remove `docker-ce`, which depends on `iptables` among others, if I `sudo apt remove --purge --autoremove docker-ce`, this isn’t going to remove iptables and break my system right? Because it’s used by other packages, system… I guess, no?\n
    \n
    I think a more general question would be how can I be sure I not going to fuck my system while removing packages? Maybe I’m to paranoïd and today it’s relatively safe to do so, compared to years ago??\n
    \n
    Thank you :)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701439313 {#4171
    date: 2023-12-01 15:01:53.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@deepdive@lemmy.world"
    "@Bitrot@lemmy.sdf.org"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4168 …}
  +nested: Doctrine\ORM\PersistentCollection {#4165 …}
  +votes: Doctrine\ORM\PersistentCollection {#4163 …}
  +reports: Doctrine\ORM\PersistentCollection {#4177 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4181 …}
  -id: 184777
  -bodyTs: "'actual':88 'ago':235 'alway':126 'among':160 'answer':8 'apt':28,165 'autoremov':168 'awar':51 'bad':99 'behavior':44 'break':180 'ce':155,171 'compar':232 'consol':74 'current':134 'd':9 'databas':61 'depend':37,127,157 'descript':93,105 'docker':154,170 'docker-c':153,169 'document':117 'edit':62 'editor':108,119 'emac':12,31,95,107,111,132,136 'emacs-gtk':11,30,135 'enlighten':7 'even':75 'expect':19 'extens':114 'found':25,40 'fuck':212 'general':199 'gnu':106,110 'go':175,210 'gtk':13,32,137 'guess':193 'imagin':148 'iptabl':159,178 'isn':173 'knowledg':47,60 'lack':45 'last':146 'latest':130 'm':220 'mayb':218 'metapackag':53,98,109,123 'mind':142 'much':4 'new':55 'odd':43 'other':161 'packag':190,217 'paranoïd':222 'purg':167 'put':57 'question':147,200 'quiet':42 'read':85,100 'recommend':131 'relat':227 'remov':10,152,166,177,216 'replay':66 'right':183 'safe':228 'search':68 'self':116 'self-docu':115 'show':29,34 'skill':101 'someth':54 'sorri':102 'sudo':164 'sure':207 'system':182,191,214 'tell':89 'text':118 'thank':1,236 'think':196 'though':76 'today':224 'understood':82 'use':187 'variant':133 'want':150 'wasn':49 'web':71 'work':16 'would':201 'wouldn':78 'write':64 'year':234 'yes':20"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5723250"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701439313 {#4174
    date: 2023-12-01 15:01:53.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
20 DENIED moderate
App\Entity\EntryComment {#4176
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
    +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
    +url: null
    +body: """
      Hi everyone :)\n
      \n
      After installing the emacs package and trying to remove it afterwards:\n
      \n
      `sudo apt remove --purge --autoremove emacs`\n
      \n
      It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
      \n
      Isn’t that command supposed:\n
      \n
      - remove package\n
      - it’s configuration files\n
      - remove unused packages automatically installed ?\n
      \n
      What am I missing here?\n
      \n
      Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
      \n
      Some insight from experienced user would be great :)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 17
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701477875 {#2418
      date: 2023-12-02 01:44:35.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 18224
    -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
    -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701327288
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/8922340"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701273788 {#1858
      date: 2023-11-29 17:03:08.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4145
    +user: App\Entity\User {#4017 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4085
      +user: Proxies\__CG__\App\Entity\User {#1978 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4069
        +user: App\Entity\User {#4017 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: null
        +root: null
        +body: """
          It is a very typical way of doing things, you just have to read the output and make sure no important packages are in the list.\n
          \n
          Your command should be working. It won’t remove manually installed dependencies but should take care of automatic ones. You can check an individual package with apt show and look at the APT-Manual-Installed field.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 4
        +score: 0
        +lastActive: DateTime @1702585842 {#4078
          date: 2023-12-14 21:30:42.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@deepdive@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4067 …}
        +nested: Doctrine\ORM\PersistentCollection {#4065 …}
        +votes: Doctrine\ORM\PersistentCollection {#4063 …}
        +reports: Doctrine\ORM\PersistentCollection {#4061 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4029 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4033 …}
        -id: 177291
        -bodyTs: "'apt':53,60 'apt-manual-instal':59 'automat':44 'care':42 'check':48 'command':28 'depend':38 'field':63 'import':21 'individu':50 'instal':37,62 'list':26 'look':56 'make':18 'manual':36,61 'one':45 'output':16 'packag':22,51 'read':14 'remov':35 'show':54 'sure':19 'take':41 'thing':9 'typic':5 'way':6 'won':33 'work':31"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.sdf.org/comment/5955626"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701274625 {#4014
          date: 2023-11-29 17:17:05.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4069}
      +body: """
        Hi thanks for your quick response !\n
        \n
        I already checked with `apt show emacs` and the output clearly shows `emacs-gtk` as depends on. And while installing the emacs package with: `sudo apt-get install emacs` it installed a ~400Mo package and all dependencies.\n
        \n
        So why doesn’t `sudo apt remove --purge --autoremove emacs` removes everything ? I thought this command would be the exact opposite of `sudo apt install package-name`
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1701275502 {#4090
        date: 2023-11-29 17:31:42.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@deepdive@lemmy.world"
        "@Bitrot@lemmy.sdf.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4093 …}
      +nested: Doctrine\ORM\PersistentCollection {#4099 …}
      +votes: Doctrine\ORM\PersistentCollection {#4096 …}
      +reports: Doctrine\ORM\PersistentCollection {#4084 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4082 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
      -id: 177335
      -bodyTs: "'400mo':41 'alreadi':8 'apt':11,34,51,69 'apt-get':33 'autoremov':54 'check':9 'clear':17 'command':61 'depend':23,45 'doesn':48 'emac':13,20,29,37,55 'emacs-gtk':19 'everyth':57 'exact':65 'get':35 'gtk':21 'hi':1 'instal':27,36,39,70 'name':73 'opposit':66 'output':16 'packag':30,42,72 'package-nam':71 'purg':53 'quick':5 'remov':52,56 'respons':6 'show':12,18 'sudo':32,50,68 'thank':2 'thought':59 'would':62"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/5674059"
      +editedAt: null
      +createdAt: DateTimeImmutable @1701275502 {#4087
        date: 2023-11-29 17:31:42.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4069}
    +body: """
      Ah, I can duplicate this behavior too. I think it is probably related to emacs being a metapackage. It does not include emacs itself but forces the install of emacs-gtk. In my mind removing the metapackage should allow you to autoremove dependencies, but people have broken their systems badly with this behavior so it may have been changed or it’s stuck behind some configuration option.\n
      \n
      Removing emacs-gtk itself will work as you expect. You can also install emacs-nox for a cli-only one that is smaller.\n
      \n
      Edit: there is a setting called APT::Never-MarkAuto-Sections that by default includes meta packages and I think is the cause of this.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1701277471 {#4148
      date: 2023-11-29 18:04:31.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@deepdive@lemmy.world"
      "@Bitrot@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4143 …}
    +nested: Doctrine\ORM\PersistentCollection {#4141 …}
    +votes: Doctrine\ORM\PersistentCollection {#4138 …}
    +reports: Doctrine\ORM\PersistentCollection {#4155 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4157 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4159 …}
    -id: 177442
    -bodyTs: "'ah':1 'allow':40 'also':81 'apt':101 'autoremov':43 'bad':51 'behavior':6,54 'behind':65 'broken':48 'call':100 'caus':117 'chang':60 'cli':89 'cli-on':88 'configur':67 'default':108 'depend':44 'duplic':4 'edit':95 'emac':15,23,31,71,84 'emacs-gtk':30,70 'emacs-nox':83 'expect':78 'forc':26 'gtk':32,72 'includ':22,109 'instal':28,82 'markauto':104 'may':57 'meta':110 'metapackag':18,38 'mind':35 'never':103 'never-markauto-sect':102 'nox':85 'one':91 'option':68 'packag':111 'peopl':46 'probabl':12 'relat':13 'remov':36,69 'section':105 'set':99 'smaller':94 'stuck':64 'system':50 'think':9,114 'work':75"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/5957180"
    +editedAt: DateTimeImmutable @1702178312 {#4151
      date: 2023-12-10 04:18:32.0 +01:00
    }
    +createdAt: DateTimeImmutable @1701277471 {#4153
      date: 2023-11-29 18:04:31.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4069}
  +body: """
    Thank you very much for your enlighten answer :D !\n
    \n
    > Removing emacs-gtk itself will work as you expect\n
    \n
    Yes that’s what I found out with `apt show emacs-gtk`, it shows all the dependencies but I found it quiet odd behavior (lack of knowledge).\n
    \n
    I wasn’t aware of metapackages, something new to put into my knowledge database.\n
    \n
    **Edit:** While writing my replay and searching through the web and my console, even though I wouldn’t have had understood it while reading it… It actually tells me in the description that emacs is a metapackage… Bad reading skills :/ sorry about that !\n
    \n
    > Description: GNU Emacs editor (metapackage) GNU Emacs is the extensible self-documenting text editor. This is a metapackage that will always depend on the latest recommended Emacs variant (currently emacs-gtk).\n
    \n
    ---\n
    \n
    If you don’t mind I have a last question. Imagine I want to remove `docker-ce`, which depends on `iptables` among others, if I `sudo apt remove --purge --autoremove docker-ce`, this isn’t going to remove iptables and break my system right? Because it’s used by other packages, system… I guess, no?\n
    \n
    I think a more general question would be how can I be sure I not going to fuck my system while removing packages? Maybe I’m to paranoïd and today it’s relatively safe to do so, compared to years ago??\n
    \n
    Thank you :)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1701439313 {#4171
    date: 2023-12-01 15:01:53.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@deepdive@lemmy.world"
    "@Bitrot@lemmy.sdf.org"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4168 …}
  +nested: Doctrine\ORM\PersistentCollection {#4165 …}
  +votes: Doctrine\ORM\PersistentCollection {#4163 …}
  +reports: Doctrine\ORM\PersistentCollection {#4177 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4181 …}
  -id: 184777
  -bodyTs: "'actual':88 'ago':235 'alway':126 'among':160 'answer':8 'apt':28,165 'autoremov':168 'awar':51 'bad':99 'behavior':44 'break':180 'ce':155,171 'compar':232 'consol':74 'current':134 'd':9 'databas':61 'depend':37,127,157 'descript':93,105 'docker':154,170 'docker-c':153,169 'document':117 'edit':62 'editor':108,119 'emac':12,31,95,107,111,132,136 'emacs-gtk':11,30,135 'enlighten':7 'even':75 'expect':19 'extens':114 'found':25,40 'fuck':212 'general':199 'gnu':106,110 'go':175,210 'gtk':13,32,137 'guess':193 'imagin':148 'iptabl':159,178 'isn':173 'knowledg':47,60 'lack':45 'last':146 'latest':130 'm':220 'mayb':218 'metapackag':53,98,109,123 'mind':142 'much':4 'new':55 'odd':43 'other':161 'packag':190,217 'paranoïd':222 'purg':167 'put':57 'question':147,200 'quiet':42 'read':85,100 'recommend':131 'relat':227 'remov':10,152,166,177,216 'replay':66 'right':183 'safe':228 'search':68 'self':116 'self-docu':115 'show':29,34 'skill':101 'someth':54 'sorri':102 'sudo':164 'sure':207 'system':182,191,214 'tell':89 'text':118 'thank':1,236 'think':196 'though':76 'today':224 'understood':82 'use':187 'variant':133 'want':150 'wasn':49 'web':71 'work':16 'would':201 'wouldn':78 'write':64 'year':234 'yes':20"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/5723250"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701439313 {#4174
    date: 2023-12-01 15:01:53.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
21 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
22 DENIED moderate
App\Entity\EntryComment {#4198
  +user: App\Entity\User {#4017 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
    +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
    +url: null
    +body: """
      Hi everyone :)\n
      \n
      After installing the emacs package and trying to remove it afterwards:\n
      \n
      `sudo apt remove --purge --autoremove emacs`\n
      \n
      It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
      \n
      Isn’t that command supposed:\n
      \n
      - remove package\n
      - it’s configuration files\n
      - remove unused packages automatically installed ?\n
      \n
      What am I missing here?\n
      \n
      Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
      \n
      Some insight from experienced user would be great :)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 17
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701477875 {#2418
      date: 2023-12-02 01:44:35.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 18224
    -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
    -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701327288
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/8922340"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701273788 {#1858
      date: 2023-11-29 17:03:08.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4176
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4145
      +user: App\Entity\User {#4017 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4085
        +user: Proxies\__CG__\App\Entity\User {#1978 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: App\Entity\EntryComment {#4069
          +user: App\Entity\User {#4017 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: null
          +parent: null
          +root: null
          +body: """
            It is a very typical way of doing things, you just have to read the output and make sure no important packages are in the list.\n
            \n
            Your command should be working. It won’t remove manually installed dependencies but should take care of automatic ones. You can check an individual package with apt show and look at the APT-Manual-Installed field.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1702585842 {#4078
            date: 2023-12-14 21:30:42.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@deepdive@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4067 …}
          +nested: Doctrine\ORM\PersistentCollection {#4065 …}
          +votes: Doctrine\ORM\PersistentCollection {#4063 …}
          +reports: Doctrine\ORM\PersistentCollection {#4061 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4029 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4033 …}
          -id: 177291
          -bodyTs: "'apt':53,60 'apt-manual-instal':59 'automat':44 'care':42 'check':48 'command':28 'depend':38 'field':63 'import':21 'individu':50 'instal':37,62 'list':26 'look':56 'make':18 'manual':36,61 'one':45 'output':16 'packag':22,51 'read':14 'remov':35 'show':54 'sure':19 'take':41 'thing':9 'typic':5 'way':6 'won':33 'work':31"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.sdf.org/comment/5955626"
          +editedAt: null
          +createdAt: DateTimeImmutable @1701274625 {#4014
            date: 2023-11-29 17:17:05.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4069}
        +body: """
          Hi thanks for your quick response !\n
          \n
          I already checked with `apt show emacs` and the output clearly shows `emacs-gtk` as depends on. And while installing the emacs package with: `sudo apt-get install emacs` it installed a ~400Mo package and all dependencies.\n
          \n
          So why doesn’t `sudo apt remove --purge --autoremove emacs` removes everything ? I thought this command would be the exact opposite of `sudo apt install package-name`
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1701275502 {#4090
          date: 2023-11-29 17:31:42.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@deepdive@lemmy.world"
          "@Bitrot@lemmy.sdf.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4093 …}
        +nested: Doctrine\ORM\PersistentCollection {#4099 …}
        +votes: Doctrine\ORM\PersistentCollection {#4096 …}
        +reports: Doctrine\ORM\PersistentCollection {#4084 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4082 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
        -id: 177335
        -bodyTs: "'400mo':41 'alreadi':8 'apt':11,34,51,69 'apt-get':33 'autoremov':54 'check':9 'clear':17 'command':61 'depend':23,45 'doesn':48 'emac':13,20,29,37,55 'emacs-gtk':19 'everyth':57 'exact':65 'get':35 'gtk':21 'hi':1 'instal':27,36,39,70 'name':73 'opposit':66 'output':16 'packag':30,42,72 'package-nam':71 'purg':53 'quick':5 'remov':52,56 'respons':6 'show':12,18 'sudo':32,50,68 'thank':2 'thought':59 'would':62"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/5674059"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701275502 {#4087
          date: 2023-11-29 17:31:42.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4069}
      +body: """
        Ah, I can duplicate this behavior too. I think it is probably related to emacs being a metapackage. It does not include emacs itself but forces the install of emacs-gtk. In my mind removing the metapackage should allow you to autoremove dependencies, but people have broken their systems badly with this behavior so it may have been changed or it’s stuck behind some configuration option.\n
        \n
        Removing emacs-gtk itself will work as you expect. You can also install emacs-nox for a cli-only one that is smaller.\n
        \n
        Edit: there is a setting called APT::Never-MarkAuto-Sections that by default includes meta packages and I think is the cause of this.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701277471 {#4148
        date: 2023-11-29 18:04:31.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@deepdive@lemmy.world"
        "@Bitrot@lemmy.sdf.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4143 …}
      +nested: Doctrine\ORM\PersistentCollection {#4141 …}
      +votes: Doctrine\ORM\PersistentCollection {#4138 …}
      +reports: Doctrine\ORM\PersistentCollection {#4155 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4157 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4159 …}
      -id: 177442
      -bodyTs: "'ah':1 'allow':40 'also':81 'apt':101 'autoremov':43 'bad':51 'behavior':6,54 'behind':65 'broken':48 'call':100 'caus':117 'chang':60 'cli':89 'cli-on':88 'configur':67 'default':108 'depend':44 'duplic':4 'edit':95 'emac':15,23,31,71,84 'emacs-gtk':30,70 'emacs-nox':83 'expect':78 'forc':26 'gtk':32,72 'includ':22,109 'instal':28,82 'markauto':104 'may':57 'meta':110 'metapackag':18,38 'mind':35 'never':103 'never-markauto-sect':102 'nox':85 'one':91 'option':68 'packag':111 'peopl':46 'probabl':12 'relat':13 'remov':36,69 'section':105 'set':99 'smaller':94 'stuck':64 'system':50 'think':9,114 'work':75"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.sdf.org/comment/5957180"
      +editedAt: DateTimeImmutable @1702178312 {#4151
        date: 2023-12-10 04:18:32.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701277471 {#4153
        date: 2023-11-29 18:04:31.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4069}
    +body: """
      Thank you very much for your enlighten answer :D !\n
      \n
      > Removing emacs-gtk itself will work as you expect\n
      \n
      Yes that’s what I found out with `apt show emacs-gtk`, it shows all the dependencies but I found it quiet odd behavior (lack of knowledge).\n
      \n
      I wasn’t aware of metapackages, something new to put into my knowledge database.\n
      \n
      **Edit:** While writing my replay and searching through the web and my console, even though I wouldn’t have had understood it while reading it… It actually tells me in the description that emacs is a metapackage… Bad reading skills :/ sorry about that !\n
      \n
      > Description: GNU Emacs editor (metapackage) GNU Emacs is the extensible self-documenting text editor. This is a metapackage that will always depend on the latest recommended Emacs variant (currently emacs-gtk).\n
      \n
      ---\n
      \n
      If you don’t mind I have a last question. Imagine I want to remove `docker-ce`, which depends on `iptables` among others, if I `sudo apt remove --purge --autoremove docker-ce`, this isn’t going to remove iptables and break my system right? Because it’s used by other packages, system… I guess, no?\n
      \n
      I think a more general question would be how can I be sure I not going to fuck my system while removing packages? Maybe I’m to paranoïd and today it’s relatively safe to do so, compared to years ago??\n
      \n
      Thank you :)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701439313 {#4171
      date: 2023-12-01 15:01:53.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@deepdive@lemmy.world"
      "@Bitrot@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4168 …}
    +nested: Doctrine\ORM\PersistentCollection {#4165 …}
    +votes: Doctrine\ORM\PersistentCollection {#4163 …}
    +reports: Doctrine\ORM\PersistentCollection {#4177 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4181 …}
    -id: 184777
    -bodyTs: "'actual':88 'ago':235 'alway':126 'among':160 'answer':8 'apt':28,165 'autoremov':168 'awar':51 'bad':99 'behavior':44 'break':180 'ce':155,171 'compar':232 'consol':74 'current':134 'd':9 'databas':61 'depend':37,127,157 'descript':93,105 'docker':154,170 'docker-c':153,169 'document':117 'edit':62 'editor':108,119 'emac':12,31,95,107,111,132,136 'emacs-gtk':11,30,135 'enlighten':7 'even':75 'expect':19 'extens':114 'found':25,40 'fuck':212 'general':199 'gnu':106,110 'go':175,210 'gtk':13,32,137 'guess':193 'imagin':148 'iptabl':159,178 'isn':173 'knowledg':47,60 'lack':45 'last':146 'latest':130 'm':220 'mayb':218 'metapackag':53,98,109,123 'mind':142 'much':4 'new':55 'odd':43 'other':161 'packag':190,217 'paranoïd':222 'purg':167 'put':57 'question':147,200 'quiet':42 'read':85,100 'recommend':131 'relat':227 'remov':10,152,166,177,216 'replay':66 'right':183 'safe':228 'search':68 'self':116 'self-docu':115 'show':29,34 'skill':101 'someth':54 'sorri':102 'sudo':164 'sure':207 'system':182,191,214 'tell':89 'text':118 'thank':1,236 'think':196 'though':76 'today':224 'understood':82 'use':187 'variant':133 'want':150 'wasn':49 'web':71 'work':16 'would':201 'wouldn':78 'write':64 'year':234 'yes':20"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5723250"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701439313 {#4174
      date: 2023-12-01 15:01:53.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4069}
  +body: """
    If something else depends on it then it shouldn’t be removed, it’s only removing things that are not used elsewhere.\n
    \n
    Usually just reading through the packages it’s listing and double check what it’s doing is enough. If something is removing a ton of gnome and you’re not trying to remove gnome, that would be an issue. If something is trying to remove the kernel (unless it’s an old kernel) or grub that’s also worth digging into. I’ve never run into problems with it, I don’t think it’s common these days.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701477875 {#4193
    date: 2023-12-02 01:44:35.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@deepdive@lemmy.world"
    "@Bitrot@lemmy.sdf.org"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4190 …}
  +nested: Doctrine\ORM\PersistentCollection {#4187 …}
  +votes: Doctrine\ORM\PersistentCollection {#4185 …}
  +reports: Doctrine\ORM\PersistentCollection {#4199 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4201 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4203 …}
  -id: 187145
  -bodyTs: "'also':80 'check':34 'common':98 'day':100 'depend':4 'dig':82 'doubl':33 'els':3 'elsewher':22 'enough':40 'gnome':48,56 'grub':77 'issu':61 'kernel':69,75 'list':31 'never':86 'old':74 'packag':28 'problem':89 're':51 'read':25 'remov':12,16,44,55,67 'run':87 'shouldn':9 'someth':2,42,63 'thing':17 'think':95 'ton':46 'tri':53,65 'unless':70 'use':21 'usual':23 've':85 'worth':81 'would':58"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.sdf.org/comment/6041762"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701477875 {#4196
    date: 2023-12-02 01:44:35.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
23 DENIED edit
App\Entity\EntryComment {#4198
  +user: App\Entity\User {#4017 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
    +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
    +url: null
    +body: """
      Hi everyone :)\n
      \n
      After installing the emacs package and trying to remove it afterwards:\n
      \n
      `sudo apt remove --purge --autoremove emacs`\n
      \n
      It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
      \n
      Isn’t that command supposed:\n
      \n
      - remove package\n
      - it’s configuration files\n
      - remove unused packages automatically installed ?\n
      \n
      What am I missing here?\n
      \n
      Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
      \n
      Some insight from experienced user would be great :)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 17
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701477875 {#2418
      date: 2023-12-02 01:44:35.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 18224
    -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
    -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701327288
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/8922340"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701273788 {#1858
      date: 2023-11-29 17:03:08.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4176
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4145
      +user: App\Entity\User {#4017 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4085
        +user: Proxies\__CG__\App\Entity\User {#1978 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: App\Entity\EntryComment {#4069
          +user: App\Entity\User {#4017 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: null
          +parent: null
          +root: null
          +body: """
            It is a very typical way of doing things, you just have to read the output and make sure no important packages are in the list.\n
            \n
            Your command should be working. It won’t remove manually installed dependencies but should take care of automatic ones. You can check an individual package with apt show and look at the APT-Manual-Installed field.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1702585842 {#4078
            date: 2023-12-14 21:30:42.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@deepdive@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4067 …}
          +nested: Doctrine\ORM\PersistentCollection {#4065 …}
          +votes: Doctrine\ORM\PersistentCollection {#4063 …}
          +reports: Doctrine\ORM\PersistentCollection {#4061 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4029 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4033 …}
          -id: 177291
          -bodyTs: "'apt':53,60 'apt-manual-instal':59 'automat':44 'care':42 'check':48 'command':28 'depend':38 'field':63 'import':21 'individu':50 'instal':37,62 'list':26 'look':56 'make':18 'manual':36,61 'one':45 'output':16 'packag':22,51 'read':14 'remov':35 'show':54 'sure':19 'take':41 'thing':9 'typic':5 'way':6 'won':33 'work':31"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.sdf.org/comment/5955626"
          +editedAt: null
          +createdAt: DateTimeImmutable @1701274625 {#4014
            date: 2023-11-29 17:17:05.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4069}
        +body: """
          Hi thanks for your quick response !\n
          \n
          I already checked with `apt show emacs` and the output clearly shows `emacs-gtk` as depends on. And while installing the emacs package with: `sudo apt-get install emacs` it installed a ~400Mo package and all dependencies.\n
          \n
          So why doesn’t `sudo apt remove --purge --autoremove emacs` removes everything ? I thought this command would be the exact opposite of `sudo apt install package-name`
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1701275502 {#4090
          date: 2023-11-29 17:31:42.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@deepdive@lemmy.world"
          "@Bitrot@lemmy.sdf.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4093 …}
        +nested: Doctrine\ORM\PersistentCollection {#4099 …}
        +votes: Doctrine\ORM\PersistentCollection {#4096 …}
        +reports: Doctrine\ORM\PersistentCollection {#4084 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4082 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
        -id: 177335
        -bodyTs: "'400mo':41 'alreadi':8 'apt':11,34,51,69 'apt-get':33 'autoremov':54 'check':9 'clear':17 'command':61 'depend':23,45 'doesn':48 'emac':13,20,29,37,55 'emacs-gtk':19 'everyth':57 'exact':65 'get':35 'gtk':21 'hi':1 'instal':27,36,39,70 'name':73 'opposit':66 'output':16 'packag':30,42,72 'package-nam':71 'purg':53 'quick':5 'remov':52,56 'respons':6 'show':12,18 'sudo':32,50,68 'thank':2 'thought':59 'would':62"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/5674059"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701275502 {#4087
          date: 2023-11-29 17:31:42.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4069}
      +body: """
        Ah, I can duplicate this behavior too. I think it is probably related to emacs being a metapackage. It does not include emacs itself but forces the install of emacs-gtk. In my mind removing the metapackage should allow you to autoremove dependencies, but people have broken their systems badly with this behavior so it may have been changed or it’s stuck behind some configuration option.\n
        \n
        Removing emacs-gtk itself will work as you expect. You can also install emacs-nox for a cli-only one that is smaller.\n
        \n
        Edit: there is a setting called APT::Never-MarkAuto-Sections that by default includes meta packages and I think is the cause of this.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701277471 {#4148
        date: 2023-11-29 18:04:31.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@deepdive@lemmy.world"
        "@Bitrot@lemmy.sdf.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4143 …}
      +nested: Doctrine\ORM\PersistentCollection {#4141 …}
      +votes: Doctrine\ORM\PersistentCollection {#4138 …}
      +reports: Doctrine\ORM\PersistentCollection {#4155 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4157 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4159 …}
      -id: 177442
      -bodyTs: "'ah':1 'allow':40 'also':81 'apt':101 'autoremov':43 'bad':51 'behavior':6,54 'behind':65 'broken':48 'call':100 'caus':117 'chang':60 'cli':89 'cli-on':88 'configur':67 'default':108 'depend':44 'duplic':4 'edit':95 'emac':15,23,31,71,84 'emacs-gtk':30,70 'emacs-nox':83 'expect':78 'forc':26 'gtk':32,72 'includ':22,109 'instal':28,82 'markauto':104 'may':57 'meta':110 'metapackag':18,38 'mind':35 'never':103 'never-markauto-sect':102 'nox':85 'one':91 'option':68 'packag':111 'peopl':46 'probabl':12 'relat':13 'remov':36,69 'section':105 'set':99 'smaller':94 'stuck':64 'system':50 'think':9,114 'work':75"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.sdf.org/comment/5957180"
      +editedAt: DateTimeImmutable @1702178312 {#4151
        date: 2023-12-10 04:18:32.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701277471 {#4153
        date: 2023-11-29 18:04:31.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4069}
    +body: """
      Thank you very much for your enlighten answer :D !\n
      \n
      > Removing emacs-gtk itself will work as you expect\n
      \n
      Yes that’s what I found out with `apt show emacs-gtk`, it shows all the dependencies but I found it quiet odd behavior (lack of knowledge).\n
      \n
      I wasn’t aware of metapackages, something new to put into my knowledge database.\n
      \n
      **Edit:** While writing my replay and searching through the web and my console, even though I wouldn’t have had understood it while reading it… It actually tells me in the description that emacs is a metapackage… Bad reading skills :/ sorry about that !\n
      \n
      > Description: GNU Emacs editor (metapackage) GNU Emacs is the extensible self-documenting text editor. This is a metapackage that will always depend on the latest recommended Emacs variant (currently emacs-gtk).\n
      \n
      ---\n
      \n
      If you don’t mind I have a last question. Imagine I want to remove `docker-ce`, which depends on `iptables` among others, if I `sudo apt remove --purge --autoremove docker-ce`, this isn’t going to remove iptables and break my system right? Because it’s used by other packages, system… I guess, no?\n
      \n
      I think a more general question would be how can I be sure I not going to fuck my system while removing packages? Maybe I’m to paranoïd and today it’s relatively safe to do so, compared to years ago??\n
      \n
      Thank you :)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701439313 {#4171
      date: 2023-12-01 15:01:53.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@deepdive@lemmy.world"
      "@Bitrot@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4168 …}
    +nested: Doctrine\ORM\PersistentCollection {#4165 …}
    +votes: Doctrine\ORM\PersistentCollection {#4163 …}
    +reports: Doctrine\ORM\PersistentCollection {#4177 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4181 …}
    -id: 184777
    -bodyTs: "'actual':88 'ago':235 'alway':126 'among':160 'answer':8 'apt':28,165 'autoremov':168 'awar':51 'bad':99 'behavior':44 'break':180 'ce':155,171 'compar':232 'consol':74 'current':134 'd':9 'databas':61 'depend':37,127,157 'descript':93,105 'docker':154,170 'docker-c':153,169 'document':117 'edit':62 'editor':108,119 'emac':12,31,95,107,111,132,136 'emacs-gtk':11,30,135 'enlighten':7 'even':75 'expect':19 'extens':114 'found':25,40 'fuck':212 'general':199 'gnu':106,110 'go':175,210 'gtk':13,32,137 'guess':193 'imagin':148 'iptabl':159,178 'isn':173 'knowledg':47,60 'lack':45 'last':146 'latest':130 'm':220 'mayb':218 'metapackag':53,98,109,123 'mind':142 'much':4 'new':55 'odd':43 'other':161 'packag':190,217 'paranoïd':222 'purg':167 'put':57 'question':147,200 'quiet':42 'read':85,100 'recommend':131 'relat':227 'remov':10,152,166,177,216 'replay':66 'right':183 'safe':228 'search':68 'self':116 'self-docu':115 'show':29,34 'skill':101 'someth':54 'sorri':102 'sudo':164 'sure':207 'system':182,191,214 'tell':89 'text':118 'thank':1,236 'think':196 'though':76 'today':224 'understood':82 'use':187 'variant':133 'want':150 'wasn':49 'web':71 'work':16 'would':201 'wouldn':78 'write':64 'year':234 'yes':20"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5723250"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701439313 {#4174
      date: 2023-12-01 15:01:53.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4069}
  +body: """
    If something else depends on it then it shouldn’t be removed, it’s only removing things that are not used elsewhere.\n
    \n
    Usually just reading through the packages it’s listing and double check what it’s doing is enough. If something is removing a ton of gnome and you’re not trying to remove gnome, that would be an issue. If something is trying to remove the kernel (unless it’s an old kernel) or grub that’s also worth digging into. I’ve never run into problems with it, I don’t think it’s common these days.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701477875 {#4193
    date: 2023-12-02 01:44:35.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@deepdive@lemmy.world"
    "@Bitrot@lemmy.sdf.org"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4190 …}
  +nested: Doctrine\ORM\PersistentCollection {#4187 …}
  +votes: Doctrine\ORM\PersistentCollection {#4185 …}
  +reports: Doctrine\ORM\PersistentCollection {#4199 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4201 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4203 …}
  -id: 187145
  -bodyTs: "'also':80 'check':34 'common':98 'day':100 'depend':4 'dig':82 'doubl':33 'els':3 'elsewher':22 'enough':40 'gnome':48,56 'grub':77 'issu':61 'kernel':69,75 'list':31 'never':86 'old':74 'packag':28 'problem':89 're':51 'read':25 'remov':12,16,44,55,67 'run':87 'shouldn':9 'someth':2,42,63 'thing':17 'think':95 'ton':46 'tri':53,65 'unless':70 'use':21 'usual':23 've':85 'worth':81 'would':58"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.sdf.org/comment/6041762"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701477875 {#4196
    date: 2023-12-02 01:44:35.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
24 DENIED moderate
App\Entity\EntryComment {#4198
  +user: App\Entity\User {#4017 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "Q-Removing-deep-cleanup-of-installed-package-doesn-t-work-as-expected"
    +title: "[Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)"
    +url: null
    +body: """
      Hi everyone :)\n
      \n
      After installing the emacs package and trying to remove it afterwards:\n
      \n
      `sudo apt remove --purge --autoremove emacs`\n
      \n
      It only removed that package and not the other dependencies installed with it (emacs-gtk, emacs-common…). I had to manually remove them one-by-one.\n
      \n
      Isn’t that command supposed:\n
      \n
      - remove package\n
      - it’s configuration files\n
      - remove unused packages automatically installed ?\n
      \n
      What am I missing here?\n
      \n
      Also after reading the [Stupid things you’ve done that broke your Linux installation ](https://a.lemmy.world/lemmy.world/post/8098330) post, I read a lot of people messing up their debian system after using the above command… So I assume that’s not the correct way of doing things in Linux?\n
      \n
      Some insight from experienced user would be great :)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 5
    +favouriteCount: 17
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1701477875 {#2418
      date: 2023-12-02 01:44:35.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 18224
    -titleTs: "'autoremov':14 'cleanup':3 'doesn':7 'expect':11 'instal':5 'packag':6 'purg':13 'q':1 'remov':12 'removing/deep':2 'work':9"
    -bodyTs: "'/lemmy.world/post/8098330)':86 'a.lemmy.world':85 'a.lemmy.world/lemmy.world/post/8098330)':84 'afterward':13 'also':70 'apt':15 'assum':106 'automat':63 'autoremov':18 'broke':80 'command':52,103 'common':38 'configur':58 'correct':111 'debian':97 'depend':29 'done':78 'emac':6,19,34,37 'emacs-common':36 'emacs-gtk':33 'everyon':2 'experienc':121 'file':59 'great':125 'gtk':35 'hi':1 'insight':119 'instal':4,30,64,83 'isn':49 'linux':82,117 'lot':91 'manual':42 'mess':94 'miss':68 'one':46,48 'one-by-on':45 'packag':7,24,55,62 'peopl':93 'post':87 'purg':17 'read':72,89 'remov':11,16,22,43,54,60 'stupid':74 'sudo':14 'suppos':53 'system':98 'thing':75,115 'tri':9 'unus':61 'use':100 'user':122 've':77 'way':112 'would':123"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1701327288
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/8922340"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701273788 {#1858
      date: 2023-11-29 17:03:08.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4176
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4145
      +user: App\Entity\User {#4017 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4085
        +user: Proxies\__CG__\App\Entity\User {#1978 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: App\Entity\EntryComment {#4069
          +user: App\Entity\User {#4017 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: null
          +parent: null
          +root: null
          +body: """
            It is a very typical way of doing things, you just have to read the output and make sure no important packages are in the list.\n
            \n
            Your command should be working. It won’t remove manually installed dependencies but should take care of automatic ones. You can check an individual package with apt show and look at the APT-Manual-Installed field.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 4
          +score: 0
          +lastActive: DateTime @1702585842 {#4078
            date: 2023-12-14 21:30:42.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@deepdive@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4067 …}
          +nested: Doctrine\ORM\PersistentCollection {#4065 …}
          +votes: Doctrine\ORM\PersistentCollection {#4063 …}
          +reports: Doctrine\ORM\PersistentCollection {#4061 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4029 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4033 …}
          -id: 177291
          -bodyTs: "'apt':53,60 'apt-manual-instal':59 'automat':44 'care':42 'check':48 'command':28 'depend':38 'field':63 'import':21 'individu':50 'instal':37,62 'list':26 'look':56 'make':18 'manual':36,61 'one':45 'output':16 'packag':22,51 'read':14 'remov':35 'show':54 'sure':19 'take':41 'thing':9 'typic':5 'way':6 'won':33 'work':31"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.sdf.org/comment/5955626"
          +editedAt: null
          +createdAt: DateTimeImmutable @1701274625 {#4014
            date: 2023-11-29 17:17:05.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4069}
        +body: """
          Hi thanks for your quick response !\n
          \n
          I already checked with `apt show emacs` and the output clearly shows `emacs-gtk` as depends on. And while installing the emacs package with: `sudo apt-get install emacs` it installed a ~400Mo package and all dependencies.\n
          \n
          So why doesn’t `sudo apt remove --purge --autoremove emacs` removes everything ? I thought this command would be the exact opposite of `sudo apt install package-name`
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1701275502 {#4090
          date: 2023-11-29 17:31:42.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@deepdive@lemmy.world"
          "@Bitrot@lemmy.sdf.org"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4093 …}
        +nested: Doctrine\ORM\PersistentCollection {#4099 …}
        +votes: Doctrine\ORM\PersistentCollection {#4096 …}
        +reports: Doctrine\ORM\PersistentCollection {#4084 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4082 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
        -id: 177335
        -bodyTs: "'400mo':41 'alreadi':8 'apt':11,34,51,69 'apt-get':33 'autoremov':54 'check':9 'clear':17 'command':61 'depend':23,45 'doesn':48 'emac':13,20,29,37,55 'emacs-gtk':19 'everyth':57 'exact':65 'get':35 'gtk':21 'hi':1 'instal':27,36,39,70 'name':73 'opposit':66 'output':16 'packag':30,42,72 'package-nam':71 'purg':53 'quick':5 'remov':52,56 'respons':6 'show':12,18 'sudo':32,50,68 'thank':2 'thought':59 'would':62"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/5674059"
        +editedAt: null
        +createdAt: DateTimeImmutable @1701275502 {#4087
          date: 2023-11-29 17:31:42.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4069}
      +body: """
        Ah, I can duplicate this behavior too. I think it is probably related to emacs being a metapackage. It does not include emacs itself but forces the install of emacs-gtk. In my mind removing the metapackage should allow you to autoremove dependencies, but people have broken their systems badly with this behavior so it may have been changed or it’s stuck behind some configuration option.\n
        \n
        Removing emacs-gtk itself will work as you expect. You can also install emacs-nox for a cli-only one that is smaller.\n
        \n
        Edit: there is a setting called APT::Never-MarkAuto-Sections that by default includes meta packages and I think is the cause of this.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 4
      +score: 0
      +lastActive: DateTime @1701277471 {#4148
        date: 2023-11-29 18:04:31.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@deepdive@lemmy.world"
        "@Bitrot@lemmy.sdf.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4143 …}
      +nested: Doctrine\ORM\PersistentCollection {#4141 …}
      +votes: Doctrine\ORM\PersistentCollection {#4138 …}
      +reports: Doctrine\ORM\PersistentCollection {#4155 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4157 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4159 …}
      -id: 177442
      -bodyTs: "'ah':1 'allow':40 'also':81 'apt':101 'autoremov':43 'bad':51 'behavior':6,54 'behind':65 'broken':48 'call':100 'caus':117 'chang':60 'cli':89 'cli-on':88 'configur':67 'default':108 'depend':44 'duplic':4 'edit':95 'emac':15,23,31,71,84 'emacs-gtk':30,70 'emacs-nox':83 'expect':78 'forc':26 'gtk':32,72 'includ':22,109 'instal':28,82 'markauto':104 'may':57 'meta':110 'metapackag':18,38 'mind':35 'never':103 'never-markauto-sect':102 'nox':85 'one':91 'option':68 'packag':111 'peopl':46 'probabl':12 'relat':13 'remov':36,69 'section':105 'set':99 'smaller':94 'stuck':64 'system':50 'think':9,114 'work':75"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.sdf.org/comment/5957180"
      +editedAt: DateTimeImmutable @1702178312 {#4151
        date: 2023-12-10 04:18:32.0 +01:00
      }
      +createdAt: DateTimeImmutable @1701277471 {#4153
        date: 2023-11-29 18:04:31.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4069}
    +body: """
      Thank you very much for your enlighten answer :D !\n
      \n
      > Removing emacs-gtk itself will work as you expect\n
      \n
      Yes that’s what I found out with `apt show emacs-gtk`, it shows all the dependencies but I found it quiet odd behavior (lack of knowledge).\n
      \n
      I wasn’t aware of metapackages, something new to put into my knowledge database.\n
      \n
      **Edit:** While writing my replay and searching through the web and my console, even though I wouldn’t have had understood it while reading it… It actually tells me in the description that emacs is a metapackage… Bad reading skills :/ sorry about that !\n
      \n
      > Description: GNU Emacs editor (metapackage) GNU Emacs is the extensible self-documenting text editor. This is a metapackage that will always depend on the latest recommended Emacs variant (currently emacs-gtk).\n
      \n
      ---\n
      \n
      If you don’t mind I have a last question. Imagine I want to remove `docker-ce`, which depends on `iptables` among others, if I `sudo apt remove --purge --autoremove docker-ce`, this isn’t going to remove iptables and break my system right? Because it’s used by other packages, system… I guess, no?\n
      \n
      I think a more general question would be how can I be sure I not going to fuck my system while removing packages? Maybe I’m to paranoïd and today it’s relatively safe to do so, compared to years ago??\n
      \n
      Thank you :)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1701439313 {#4171
      date: 2023-12-01 15:01:53.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@deepdive@lemmy.world"
      "@Bitrot@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4168 …}
    +nested: Doctrine\ORM\PersistentCollection {#4165 …}
    +votes: Doctrine\ORM\PersistentCollection {#4163 …}
    +reports: Doctrine\ORM\PersistentCollection {#4177 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4179 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4181 …}
    -id: 184777
    -bodyTs: "'actual':88 'ago':235 'alway':126 'among':160 'answer':8 'apt':28,165 'autoremov':168 'awar':51 'bad':99 'behavior':44 'break':180 'ce':155,171 'compar':232 'consol':74 'current':134 'd':9 'databas':61 'depend':37,127,157 'descript':93,105 'docker':154,170 'docker-c':153,169 'document':117 'edit':62 'editor':108,119 'emac':12,31,95,107,111,132,136 'emacs-gtk':11,30,135 'enlighten':7 'even':75 'expect':19 'extens':114 'found':25,40 'fuck':212 'general':199 'gnu':106,110 'go':175,210 'gtk':13,32,137 'guess':193 'imagin':148 'iptabl':159,178 'isn':173 'knowledg':47,60 'lack':45 'last':146 'latest':130 'm':220 'mayb':218 'metapackag':53,98,109,123 'mind':142 'much':4 'new':55 'odd':43 'other':161 'packag':190,217 'paranoïd':222 'purg':167 'put':57 'question':147,200 'quiet':42 'read':85,100 'recommend':131 'relat':227 'remov':10,152,166,177,216 'replay':66 'right':183 'safe':228 'search':68 'self':116 'self-docu':115 'show':29,34 'skill':101 'someth':54 'sorri':102 'sudo':164 'sure':207 'system':182,191,214 'tell':89 'text':118 'thank':1,236 'think':196 'though':76 'today':224 'understood':82 'use':187 'variant':133 'want':150 'wasn':49 'web':71 'work':16 'would':201 'wouldn':78 'write':64 'year':234 'yes':20"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5723250"
    +editedAt: null
    +createdAt: DateTimeImmutable @1701439313 {#4174
      date: 2023-12-01 15:01:53.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4069}
  +body: """
    If something else depends on it then it shouldn’t be removed, it’s only removing things that are not used elsewhere.\n
    \n
    Usually just reading through the packages it’s listing and double check what it’s doing is enough. If something is removing a ton of gnome and you’re not trying to remove gnome, that would be an issue. If something is trying to remove the kernel (unless it’s an old kernel) or grub that’s also worth digging into. I’ve never run into problems with it, I don’t think it’s common these days.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1701477875 {#4193
    date: 2023-12-02 01:44:35.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@deepdive@lemmy.world"
    "@Bitrot@lemmy.sdf.org"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4190 …}
  +nested: Doctrine\ORM\PersistentCollection {#4187 …}
  +votes: Doctrine\ORM\PersistentCollection {#4185 …}
  +reports: Doctrine\ORM\PersistentCollection {#4199 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4201 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4203 …}
  -id: 187145
  -bodyTs: "'also':80 'check':34 'common':98 'day':100 'depend':4 'dig':82 'doubl':33 'els':3 'elsewher':22 'enough':40 'gnome':48,56 'grub':77 'issu':61 'kernel':69,75 'list':31 'never':86 'old':74 'packag':28 'problem':89 're':51 'read':25 'remov':12,16,44,55,67 'run':87 'shouldn':9 'someth':2,42,63 'thing':17 'think':95 'ton':46 'tri':53,65 'unless':70 'use':21 'usual':23 've':85 'worth':81 'would':58"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.sdf.org/comment/6041762"
  +editedAt: null
  +createdAt: DateTimeImmutable @1701477875 {#4196
    date: 2023-12-02 01:44:35.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
25 DENIED edit
App\Entity\Magazine {#264
  +icon: Proxies\__CG__\App\Entity\Image {#245 …}
  +name: "linux@lemmy.ml"
  +title: "linux"
  +description: """
    From Wikipedia, the free encyclopedia\n
    \n
    Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
    \n
    Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
    \n
    ### Rules\n
    \n
    - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
    - No misinformation\n
    - No NSFW content\n
    - No hate speech, bigotry, etc\n
    \n
    ### Related Communities\n
    \n
    - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
    - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
    - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
    - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
    \n
    Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 1406
  +entryCommentCount: 28632
  +postCount: 6
  +postCommentCount: 214
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729583542 {#274
    date: 2024-10-22 09:52:22.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#236 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
  +entries: Doctrine\ORM\PersistentCollection {#179 …}
  +posts: Doctrine\ORM\PersistentCollection {#137 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
  +bans: Doctrine\ORM\PersistentCollection {#116 …}
  +reports: Doctrine\ORM\PersistentCollection {#102 …}
  +badges: Doctrine\ORM\PersistentCollection {#80 …}
  +logs: Doctrine\ORM\PersistentCollection {#70 …}
  +awards: Doctrine\ORM\PersistentCollection {#1360 …}
  +categories: Doctrine\ORM\PersistentCollection {#1792 …}
  -id: 73
  +apId: "linux@lemmy.ml"
  +apProfileId: "https://lemmy.ml/c/linux"
  +apPublicUrl: "https://lemmy.ml/c/linux"
  +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
  +apInboxUrl: "https://lemmy.ml/inbox"
  +apDomain: "lemmy.ml"
  +apPreferredUsername: "linux"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1729583596 {#268
    date: 2024-10-22 09:53:16.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1698929468 {#270
    date: 2023-11-02 13:51:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details