Ad Widget

Collapse

zabbix_server_mysql_5.2.0-1+ubuntu18.04_amd64.deb cannot be accessed by user _apt

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vkanta
    Junior Member
    • Nov 2019
    • 6

    #1

    zabbix_server_mysql_5.2.0-1+ubuntu18.04_amd64.deb cannot be accessed by user _apt

    Hello all ,
    Thank you in advance for reading my message,

    I am trying to perform an offlne upgrade of the zabbix service from 5.0 to 5.2
    I have collected all available packages from the repository and run the following command.

    sudo apt install --only-upgrade ./zabbix-*

    the procedure executes fine but i get a warning at the end

    N: download is performed unsandboxed as root as file 'zabbix_server_mysql_5.2.0-1+ubuntu18.04_amd64.deb' cannot be accessed by user '_apt', - pkgAcquire::Run (13:Permission denied)

    As a result i get a corrupted instance that is unresponsive.

    Any idea how to solve that ?


  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    Originally posted by vkanta
    sudo apt install --only-upgrade ./zabbix-*

    the procedure executes fine but i get a warning at the end

    N: download is performed unsandboxed as root as file 'zabbix_server_mysql_5.2.0-1+ubuntu18.04_amd64.deb' cannot be accessed by user '_apt', - pkgAcquire::Run (13:Permission denied)
    It seems to be saying that one of the package files (.deb files) has different permissions from the others. Make sure that all the packages are readable.

    And if you're performing this from a private directory (like your home directory), try moving all the packages to a publicly accessible directory like /tmp or /var/tmp , to see if that makes a difference.

    Comment

    • vkanta
      Junior Member
      • Nov 2019
      • 6

      #3
      thanks , your suggestion worked fine

      Comment

      Working...