Results 1 to 10 of 16

Thread: unable to update the vm using apt-get update, throwing 403 permission denied error

Threaded View

  1. #1
    Join Date
    Jan 2017
    Beans
    11

    unable to update the vm using apt-get update, throwing 403 permission denied error

    Hi All,

    I have 4 Ubuntu 1604 boxes and when i want to install any package it tells , 403 forbidden error.
    we have tried to run below commands
    Code:
    #apt-get clean
    #cd /var/lib/apt
    mv lists lists_old
    mkdir -p lists/partial
    apt-get clean
    apt-get update
    But afte this also we could see the same issue.
    We have removed the file and copied the content from a working vm, but still the same.

    when we try to install any package we get the following error
    Code:
    cat /etc/apt/sources.list|grep "xenial-updates"
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package walinuxagent is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package 'walinuxagent' has no installation candidate
    root@SMULWEBPM2U001:~# apt-get search walinuxagent
    E: Invalid operation search
    root@SMULWEBPM2U001:~# apt-get search walinuxagent
    E: Invalid operation search
    root@SMULWEBPM2U001:~# apt search walinuxagent
    Sorting... Done
    Full Text Search... Done
    root@SMULWEBPM2U001:~# apt search WALinuxAgent
    Sorting... Done
    Full Text Search... Done
    root@SMULWEBPM2U001:~# apt-get install elinks
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package
    Any assistance on this highly appreciated

    Thanks Kailash B
    Last edited by deadflowr; October 13th, 2017 at 05:39 PM. Reason: added code tags to discern between code and comments

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •