Results 1 to 4 of 4

Thread: can't intall and update anything

  1. #1
    Join Date
    Jul 2017
    Beans
    2

    Question can't intall and update anything

    Every time i try to install or update, the below error occurred.

    viratkarthi@ViratKarthi-HP-Notebook:~$ sudo apt-get upgrade
    N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
    E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

    kindly suggest me how to install, Thanks

  2. #2
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!

    Re: can't intall and update anything

    You can ignore the first line in those errors as it is a known bug; you can continue to ignore the error or remove the file as it is a relic from previous systems and does nothing anymore. Try
    Code:
    sudo rm /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist
    The other errors are usually the result of having another application using apt open when trying to update or install a package.
    Have you got update-manager open or is the auto-upgrade process in action?
    Either shut the update-manager or just wait a few minutes and the manual installation or upgrade may work.
    DISTRO: Xubuntu 16.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads

  3. #3
    Join Date
    Jul 2017
    Beans
    2

    Re: can't intall and update anything

    yes, it works now..

    Thanks for your kind reply

  4. #4
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!

    Re: can't intall and update anything

    Great news!

    Please mark as Solved in Thread Tools at TP of thread.
    DISTRO: Xubuntu 16.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads

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
  •