Results 1 to 5 of 5

Thread: Trouble updating system

  1. #1
    Join Date
    Mar 2021
    Beans
    1

    Trouble updating system

    Hi, I'm new to Ubuntu and recently tried to update the system through this command:

    Code:
    sudo apt update && sudo apt upgrade -y
    But it didn't work. It returned this error message:

    update_error.jpg

    I also tried updating the system through the Software Updater but it constantly tells me to check my internet connection every time I try to download and install the updates. I'm currently on this Ubuntu version:

    system_info.png

    What can I do?

  2. #2
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    8,414
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: Trouble updating system

    Quote Originally Posted by don-alvareto View Post
    What can I do?
    Disable the unused cd-rom and unsigned opera repositories and try again.

  3. #3
    Join Date
    Aug 2011
    Location
    51.8° N 5.8° E
    Beans
    6,009
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Trouble updating system

    1: That command will download and install all upgrades without further quations. Some people do so, I prefer to see what it will do before proceeding. Not really a problem though.

    2: Ubuntu 16.04 is quite old and only has one month of support left. If you're new to Ubuntu, why start with such an old release?

    3: The cdrom repository can be useful on offline systems to install some additional software you may need to get online. It can be disabled in your software sources.

    4: The no public key error can be fixed by downloading and installing the missing keys. See https://askubuntu.com/questions/1306...rror-no-pubkey

    5: The output you get in a terminal is just text. You can paste it as text on the forum, in code tags, like you did with the command. That makes it easier for us to incorporate parts of it in a reply.

  4. #4
    Join Date
    May 2010
    Beans
    1,589

    Re: Trouble updating system

    Xenial is end of life REALLY soon. You may want to wipe it off and do a clean install of Focal (Ubuntu 20.04). Alternatively, you could update to Bionic (Ubuntu 18.04) as LTS to LTS upgrades are supported.
    Why such an ancient release?

  5. #5
    Join Date
    May 2010
    Beans
    1,589

    Re: Trouble updating system

    To fix your key issue, run
    Code:
    wget -qO - https://deb.opera.com/archive.key | sudo apt-key add -
    Source:
    https://deb.opera.com/manual.html

Tags for this Thread

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
  •