Skip to content

apt install downloads package but refuses to install w/o sudo #31

@ghost

Description

@corbinlc i tried to install by mistake w/o using sudo
jindam@localhost:~$ apt install dbus-x11 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: dbus-x11 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 108 kB of archives. After this operation, 151 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main armhf dbus-x11 a rmhf 1.12.20-2 [108 kB] Fetched 108 kB in 1s (195 kB/s) debconf: delaying package configuration, since apt-utils is not installed dpkg: error: requested operation requires superuser privilege E: Sub-process /usr/bin/dpkg returned an error code (2)

  • is this intended behaviour?
  • it must warn if not using sudo for apt command

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions