Sudo apt update no funciona

installation
system

#1

[email protected]:~$ sudo apt update
Obj:1 ttp://co.archive.ubuntu.com/ubuntu xenial InRelease
Obj:2 ttp://co.archive.ubuntu.com/ubuntu xenial-updates InRelease
Obj:3 ttp://security.ubuntu.com/ubuntu bionic-security InRelease
Obj:4 ttp://archive.canonical.com/ubuntu bionic InRelease
Ign:5 ttp://packages.linuxmint.com tara InRelease
Ign:6 ttp://archive.ubuntu.com/ubuntu tara InRelease
Obj:7 ttp://packages.linuxmint.com tara Release
Obj:8 ttps://dl.winehq.org/wine-builds/ubuntu bionic InRelease
Ign:9 ttp://download.opensuse.org/repositories/home:/strycore/xUbuntu_18.04 ./ InRelease
Obj:10 ttps://dl.winehq.org/wine-builds/ubuntu artful InRelease
Obj:11 ttp://archive.ubuntu.com/ubuntu bionic InRelease
Obj:13 ttp://download.opensuse.org/repositories/home:/strycore/xUbuntu_18.04 ./ Release
Obj:14 ttp://archive.ubuntu.com/ubuntu bionic-updates InRelease
Obj:15 ttp://archive.ubuntu.com/ubuntu bionic-backports InRelease
Err:16 ttp://archive.ubuntu.com/ubuntu tara Release
404 Not Found [IP: 91.189.88.149 80]
Leyendo lista de paquetes… Hecho
E: El repositorio «http://archive.ubuntu.com/ubuntu tara Release» no tiene un fichero de Publicación.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.
pss: le quite las h a los enlaces ya que soy nuevo y solo permite dos enlaces, mi disco duro tiene el sector de arranque dañado por lo tanto no puedo correr windows a menos de que compre uno nuevo y es imposible repararlo.


#2

What’s this repo with codename “tara” that you have? It doesn’t match any Ubuntu version. Is it a codename for a Linux Mint version?

Can you post the content of your sources.list (/etc/apt/sources.list −you can open it with Pluma)? and also the list and content of your 3rd-party repos:

ls /etc/apt/sources.list.d
cat /etc/apt/sources.list.d/*.list

BTW, you seem to still have old repos for Xenial (16.04) while you’re on Bionic (18.04), which is not exactly a good idea. And you seem to mix repos for Ubuntu and Linux Mint, which is also not a good idea at all. Can you confirm that you use Ubuntu MATE and/or have you installed a second DE like Cinnamon?


#3

Hello, yes i have linux mint mate x64


#4
Ubuntu Main Repos

deb http://co.archive.ubuntu.com/ubuntu/ xenial main
deb-src h"ttp://co.archive.ubuntu.com/ubuntu/ xenial main

Ubuntu Update Repos

deb h"ttp://co.archive.ubuntu.com/ubuntu/ xenial-updates main
deb-src http://co.archive.ubuntu.com/ubuntu/ xenial-updates main


#5

If you use Linux Mint, you should rather ask on their forums; here, it’s a forum for Ubuntu MATE and while Mint is based on Ubuntu, there are differences and you’ll have more proper help there.

Anyway, the output you gave is the one from the commands I asked? If so, it is ok as long as your Mint version is based on Xenial (16.04). We’ll l’ook for the faulty repos in the main sources.list. Open it with a text editor and paste its content. I give you an exemple with pluma (MATE text editor) but I’m not that’s what you have on Mint, in which case, replace pluma by the proper text editor you use):

pluma /etc/apt/sources.list

EDIT: in the output you gave, there are misplaced quotes (h"ttp instead of http). Did you mistype when pasting the commands or are they really in the output you get?