Skip to content

sudo apt update freezes #801

@mohammad-ahmadi1

Description

@mohammad-ahmadi1

Environment

% typeset -p1 VENDOR OSTYPE ZSH_PATCHLEVEL _autocomplete__funcfiletrace
typeset VENDOR=ubuntu
typeset OSTYPE=linux-gnu
typeset ZSH_PATCHLEVEL=ubuntu/5.9-6ubuntu2
typeset -a _autocomplete__funcfiletrace=(
  /home/mohammad/.oh-my-zsh/custom/plugins/zsh-autocomplete/zsh-autocomplete.plugin.zsh:4
  /home/mohammad/.oh-my-zsh/oh-my-zsh.sh:175
  /home/mohammad/.oh-my-zsh/oh-my-zsh.sh:204
  /home/mohammad/.zshrc:75
  zsh:0
)

% git -C ~autocomplete log --oneline -n1
77a4f9c (HEAD -> main, origin/main, origin/HEAD) Update copyright year
  • Operating system: Ubuntu 24.04
  • Terminal emulator: terminal

Steps to reproduce

  1. Install ohmyzsh
  2. Install these plugins
    plugins=(git zsh-syntax-highlighting zsh-autosuggestions zsh-autocomplete)
  3. Run sudo apt update, the command freezes for about 10 seconds
    Generally, all the sub-commands of apt are slow

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions