mariadb deb 404 error on ubuntu 16.04

Hello;

I am using Ubuntu 16.04 i tried to update my server using apt update && apt upgrade but i keep getting 404 errors from mariadb.

root@server:~# apt update && apt upgrade
Hit:1 http://mirrors.linode.com/ubuntu xenial InRelease
Get:2 http://mirrors.linode.com/ubuntu xenial-updates InRelease [95.7 kB]
Hit:3 http://mirrors.linode.com/ubuntu xenial-backports InRelease
Ign:4 http://apt.newrelic.com/debian newrelic InRelease
Hit:5 http://apt.newrelic.com/debian newrelic Release
Get:6 http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial InRelease [3,874 B]
Get:7 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 Packages [314 kB]
Hit:8 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease
Get:9 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Get:10 http://mirrors.linode.com/ubuntu xenial-updates/main i386 Packages [309 kB]
Get:11 http://mirrors.linode.com/ubuntu xenial-updates/main Translation-en [118 kB]
Get:12 http://mirrors.linode.com/ubuntu xenial-updates/universe amd64 Packages [293 kB]
Get:13 http://mirrors.linode.com/ubuntu xenial-updates/universe i386 Packages [290 kB]
Get:14 http://mirrors.linode.com/ubuntu xenial-updates/universe Translation-en [98.6 kB]
Get:15 http://mirrors.linode.com/ubuntu xenial-updates/multiverse amd64 Packages [4,688 B]
Get:16 http://mirrors.linode.com/ubuntu xenial-updates/multiverse Translation-en [2,140 B]
Get:18 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [121 kB]
Get:19 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [118 kB]
Get:20 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [46.6 kB]
Get:21 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [35.7 kB]
Get:22 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [35.6 kB]
Get:23 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [21.5 kB]
Fetched 2,003 kB in 1s (1,383 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
57 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  binutils cpp-5 g++-5 gcc-5 gcc-5-base language-pack-en language-pack-en-base language-pack-gnome-en language-pack-gnome-en-base libapache2-mod-php7.0 libasan2
  libatomic1 libcc1-0 libcilkrts5 libgcc-5-dev libgomp1 libitm1 liblsan0 libmariadbclient18 libmpx0 libmysqlclient18 libpython2.7 libpython2.7-dev
  libpython2.7-minimal libpython2.7-stdlib libquadmath0 libstdc++-5-dev libstdc++6 libtsan0 libubsan0 linux-libc-dev mariadb-client-10.1 mariadb-client-core-10.1
  mariadb-common mariadb-server mariadb-server-10.1 mariadb-server-core-10.1 mysql-common php7.0 php7.0-cli php7.0-common php7.0-curl php7.0-dev php7.0-fpm php7.0-gd
  php7.0-imap php7.0-json php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-readline php7.0-xml php7.0-xmlrpc python2.7 python2.7-dev python2.7-minimal
57 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.4 MB/86.5 MB of archives.
After this operation, 6,609 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 language-pack-en all 1:16.04+20160627 [1,826 B]
Get:2 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 language-pack-en-base all 1:16.04+20160627 [451 kB]
Ign:3 http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial/main ppc64el mariadb-server all 10.1.15+maria-1~xenial
Get:4 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 language-pack-gnome-en all 1:16.04+20160627 [1,852 B]
Get:5 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 language-pack-gnome-en-base all 1:16.04+20160627 [851 kB]
Err:6 http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial/main amd64 libmariadbclient18 amd64 10.1.15+maria-1~xenial
  404  Not Found
Err:7 http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial/main amd64 libmysqlclient18 amd64 10.1.15+maria-1~xenial
  404  Not Found
Ign:8 http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial/main ppc64el mysql-common all 10.1.15+maria-1~xenial
Ign:9 http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial/main ppc64el mariadb-common all 10.1.15+maria-1~xenial
Err:10 http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-client-core-10.1 amd64 10.1.15+maria-1~xenial
  404  Not Found
Err:11 http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-client-10.1 amd64 10.1.15+maria-1~xenial
  404  Not Found
Err:12 http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-server-core-10.1 amd64 10.1.15+maria-1~xenial
  404  Not Found
Err:13 http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-server-10.1 amd64 10.1.15+maria-1~xenial
  404  Not Found
Get:14 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-libc-dev amd64 4.4.0-31.50 [835 kB]
Ign:3 http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial/main i386 mariadb-server all 10.1.15+maria-1~xenial
Ign:8 http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial/main i386 mysql-common all 10.1.15+maria-1~xenial
Ign:9 http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial/main i386 mariadb-common all 10.1.15+maria-1~xenial
Err:3 http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial/main i386 mariadb-server all 10.1.15+maria-1~xenial
  404  Not Found
Err:8 http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial/main i386 mysql-common all 10.1.15+maria-1~xenial
  404  Not Found
Err:9 http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial/main i386 mariadb-common all 10.1.15+maria-1~xenial
  404  Not Found
Fetched 2,140 kB in 0s (2,608 kB/s)
E: Failed to fetch http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu/pool/main/m/mariadb-10.1/mariadb-server_10.1.15+maria-1~xenial_all.deb  404  Not Found

E: Failed to fetch http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu/pool/main/m/mariadb-10.1/libmariadbclient18_10.1.15+maria-1~xenial_amd64.deb  404  Not Found

E: Failed to fetch http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu/pool/main/m/mariadb-10.1/libmysqlclient18_10.1.15+maria-1~xenial_amd64.deb  404  Not Found

E: Failed to fetch http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu/pool/main/m/mariadb-10.1/mysql-common_10.1.15+maria-1~xenial_all.deb  404  Not Found

E: Failed to fetch http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu/pool/main/m/mariadb-10.1/mariadb-common_10.1.15+maria-1~xenial_all.deb  404  Not Found

E: Failed to fetch http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu/pool/main/m/mariadb-10.1/mariadb-client-core-10.1_10.1.15+maria-1~xenial_amd64.deb  404  Not Found

E: Failed to fetch http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu/pool/main/m/mariadb-10.1/mariadb-client-10.1_10.1.15+maria-1~xenial_amd64.deb  404  Not Found

E: Failed to fetch http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu/pool/main/m/mariadb-10.1/mariadb-server-core-10.1_10.1.15+maria-1~xenial_amd64.deb  404  Not Found

E: Failed to fetch http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu/pool/main/m/mariadb-10.1/mariadb-server-10.1_10.1.15+maria-1~xenial_amd64.deb  404  Not Found

following the below instruction

> E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?

i did

root@server:~# apt-get update –fix-missing

below is the result

Hit:1 http://mirrors.linode.com/ubuntu xenial InRelease
Hit:2 http://mirrors.linode.com/ubuntu xenial-updates InRelease
Hit:3 http://mirrors.linode.com/ubuntu xenial-backports InRelease
Ign:4 http://apt.newrelic.com/debian newrelic InRelease
Hit:5 http://apt.newrelic.com/debian newrelic Release
Hit:6 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease
Hit:7 http://security.ubuntu.com/ubuntu xenial-security InRelease
Get:8 http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu xenial InRelease [3,874 B]
Fetched 3,874 B in 0s (8,118 B/s)
Reading package lists... Done

Then i continued with the following command………

apt-get upgrade --fix-missing

then php7 update was installed but mariadb keep showing such error

4 Replies

Looking inside http://ftp.utexas.edu/mariadb/repo/10.1 … iadb-10.1/">http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu/pool/main/m/mariadb-10.1/ via the web browser does indicate that the file does not exist at that location. Seems to be 10.1.14.

The only people who can resolve that are those that run the repo.

@jeremye77:

Looking inside http://ftp.utexas.edu/mariadb/repo/10.1 … iadb-10.1/">http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu/pool/main/m/mariadb-10.1/ via the web browser does indicate that the file does not exist at that location. Seems to be 10.1.14.

The only people who can resolve that are those that run the repo.

Can i change the REPO url? without breaking something? It's a production server

You could use a mirror if there is one available. I am not sure why you are using this particular repo so I am hesitant to advise. Ubuntu has MariaDB in it's own repo. At this point I might stick with a mirror of what you are currently using as the Ubuntu package may differ.

@jeremye77:

You could use a mirror if there is one available. I am not sure why you are using this particular repo so I am hesitant to advise. Ubuntu has MariaDB in it's own repo. At this point I might stick with a mirror of what you are currently using as the Ubuntu package may differ.

Thanks

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct