canonical source not found for jessie debian - linux

I allways get this error:
name#debian-name:~$ sudo apt-get update
[sudo] password for name:
Ign http://archive.canonical.com jessie InRelease
Ign http://archive.canonical.com jessie Release.gpg
Ign http://archive.canonical.com jessie Release
Err http://archive.canonical.com jessie/partner amd64 Packages
404 Not Found [IP: 91.189.92.191 80]
Err http://archive.canonical.com jessie/partner i386 Packages
404 Not Found [IP: 91.189.92.191 80]
Ign http://archive.canonical.com jessie/partner Translation-en_US
Ign http://archive.canonical.com jessie/partner Translation-en
Ign http://repo.vivaldi.com stable InRelease
Hit http://repo.vivaldi.com stable Release.gpg
Hit http://repo.vivaldi.com stable Release
Get:1 http://repo.vivaldi.com stable/main amd64 Packages [8,859 B]
Get:2 http://repo.vivaldi.com stable/main i386 Packages [6,766 B]
Ign http://repo.vivaldi.com stable/main Translation-en_US
Ign http://repo.vivaldi.com stable/main Translation-en
Fetched 15.6 kB in 2s (6,035 B/s)
W: Failed to fetch
http://archive.canonical.com/ubuntu/dists/jessie/partner/binary-amd64/Packages 404 Not Found [IP: 91.189.92.191 80]
W: Failed to fetch
http://archive.canonical.com/ubuntu/dists/jessie/partner/binary-i386/Packages 404 Not Found [IP: 91.189.92.191 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
I removed all sources of the sources.list file besides the canonical and I still get this error.
So the sources.list has only the following source:
deb http://archive.canonical.com/ubuntu/ jessie partner
Why can't it find it?

Since you are sure you have Debian Jessie, you should use Debian list, not Ubuntu. For example, here is the default source list for German location:
deb http://ftp.de.debian.org/debian jessie main contrib non-free
deb-src http://ftp.de.debian.org/debian jessie main contrib non-free
deb http://ftp.de.debian.org/debian jessie-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.de.debian.org/debian jessie-backports main contrib non-free

Related

Trying to install handbrake CLI but I keep getting a gstreamer install issue. Do I have add some additional ppa for this?

I am on an ubuntu-18.04 machine.
Firstly I am adding the handbrake ppa repository in this manner
sudo add-apt-repository ppa:stebbins/handbrake-releases
Post that I am running the installation using the following commands
sudo apt -y update
sudo apt install -y handbrake-gtk handbrake-cli --fix-missing
But I constantly keep getting this error
Err:17 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 libgstreamer-plugins-good1.0-0 amd64 1.14.5-0ubuntu1~18.04.2
404 Not Found [IP: 91.189.91.38 80]
Get:27 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtag1v5 amd64 1.11.1+dfsg.1-0.2build2 [10.9 kB]
Get:28 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtwolame0 amd64 0.3.13-3 [46.7 kB]
Get:29 http://archive.ubuntu.com/ubuntu bionic/main amd64 libv4lconvert0 amd64 1.14.2-1 [76.1 kB]
Get:30 http://archive.ubuntu.com/ubuntu bionic/main amd64 libv4l-0 amd64 1.14.2-1 [41.7 kB]
Get:31 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libvpx5 amd64 1.7.0-3ubuntu0.18.04.1 [796 kB]
Get:32 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libwavpack1 amd64 5.1.0-2ubuntu1.5 [76.8 kB]
Ign:33 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gstreamer1.0-plugins-good amd64 1.14.5-0ubuntu1~18.04.2
Get:34 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gstreamer1.0-x amd64 1.14.5-0ubuntu1~18.04.3 [74.3 kB]
Err:33 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 gstreamer1.0-plugins-good amd64 1.14.5-0ubuntu1~18.04.2
404 Not Found [IP: 91.189.91.38 80]
Fetched 6,538 kB in 3s (1,908 kB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gst-plugins-good1.0/libgstreamer-plugins-good1.0-0_1.14.5-0ubuntu1~18.04.2_amd64.deb 404 Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gst-plugins-good1.0/gstreamer1.0-plugins-good_1.14.5-0ubuntu1~18.04.2_amd64.deb 404 Not Found [IP: 91.189.91.38 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I checked the file in the repository but it doesn't seem to exist.
How can I update the libgstreamer download link? Do I need to add some other ppa for this?

How to get a clean message after using the sudo apt update in ubuntu?

I wanna remove all these error and get back to a clean message. But I don't know how to remove these.
sudo apt update
Hit:1 http://packages.microsoft.com/repos/code stable InRelease
Hit:2 http://ppa.launchpad.net/linuxuprising/java/ubuntu focal InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Ign:4 http://ppa.launchpad.net/webupd8team/java/ubuntu focal InRelease
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:7 https://download.sublimetext.com apt/stable/ InRelease
Get:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Err:9 http://ppa.launchpad.net/webupd8team/java/ubuntu focal Release
404 Not Found [IP: 2001:67c:1560:8008::19 80]
Get:10 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
The key to the real problem can be found on this line - E: The repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu focal Release' does not have a Release file.
You need to clean the PPA to get rid of the error. Thankfully, someone explained how to do that, here - https://askubuntu.com/questions/866901/what-can-i-do-if-a-repository-ppa-does-not-have-a-release-file

Unable to locate package phpmyadmin on Ubuntu Server 18.04

Whenever I try to install phpmyadmin on my ubuntu server 18.04 I get the following errors
sudo apt install phpmyadmin php-mbstring php-gettext
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package phpmyadmin
E: Unable to locate package php-mbstring
E: Unable to locate package php-gettext
Most threads I ca find suggest reupdating and upgrading using apt, but doing so doesn't do anything, also I get that error on the fourth line
Err:5 http://ppa.launchpad.net/nijel/phpmyadmin/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Hit:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:7 http://download.webmin.com/download/repository sarge Release
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/nijel/phpmyadmin/ubuntu bionic Release' does not have a Release file.
Can someone help with this?
On the Ubuntu Server 18.04 the list of apt sources is rather short and secure. If you want to install phpmyadmin or autossh or number of other packages which are not supported in main sources list, you should adjust the sources list.
$ sudo apt edit-sources
You can use the following list:
deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
More information can be found here:
handyman.dulare.com/ubuntu-18-04-bionic-unable-to-locate-package...

Why does aptitude update give me an source.list error?

I'm running a debian (wheezy) Webserver and I'm installing Updates regulary. For that task I use aptitude update followed by aptitude safe-upgrade. Everytime I go through this procedure I get this output which includes an error message at the bottom:
Hit http://ftp.de.debian.org wheezy Release.gpg
Hit http://ftp.de.debian.org wheezy-updates Release.gpg
Hit http://ftp.de.debian.org wheezy Release
Hit http://ftp.de.debian.org wheezy-updates Release
Hit http://ftp.de.debian.org wheezy/main Sources
Hit http://ftp.de.debian.org wheezy/contrib Sources
Hit http://ftp.de.debian.org wheezy/non-free Sources
Hit http://ftp.de.debian.org wheezy/main amd64 Packages
Hit http://ftp.de.debian.org wheezy/contrib amd64 Packages
Hit http://ftp.de.debian.org wheezy/non-free amd64 Packages
Hit http://ftp.de.debian.org wheezy/contrib Translation-en
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://ftp.de.debian.org wheezy/main Translation-en
Hit http://security.debian.org wheezy/updates Release
Hit http://security.debian.org wheezy/updates/main Sources
Hit http://ftp.de.debian.org wheezy/main Translation-de_DE
Hit http://security.debian.org wheezy/updates/contrib Sources
Hit http://security.debian.org wheezy/updates/non-free Sources
Hit http://ftp.de.debian.org wheezy/main Translation-de
Hit http://security.debian.org wheezy/updates/main amd64 Packages
Hit http://security.debian.org wheezy/updates/contrib amd64 Packages
Hit http://ftp.de.debian.org wheezy/non-free Translation-en
Hit http://security.debian.org wheezy/updates/non-free amd64 Packages
Hit http://security.debian.org wheezy/updates/contrib Translation-en
Get: 1 http://ftp.de.debian.org wheezy-updates/main Sources [3,855 B]
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://security.debian.org wheezy/updates/non-free Translation-en
Get: 2 http://ftp.de.debian.org wheezy-updates/contrib Sources [14 B]
Fetched 3,869 B in 4s (798 B/s)
W: Failed to fetch http://ftp.de.debian.org/debian/dists/wheezy-updates/Release: Unable to find expected entry 'non/source/Sources' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Couldn't rebuild package cache
So I had a look in my source list and I found out that this entry is causing the problem:
(This is only one line of my source list)
deb-src http://ftp.de.debian.org/debian/ wheezy-updates main contrib non free
How can I change the entry to get it working? Is there a security problem here? I appreciate any Tips and Infos on that Topic.
Thank you in advance! :-)
I found a solution for this. I had to correct the source.list line
deb-src http://ftp.de.debian.org/debian/ wheezy-updates main contrib non free
to
deb-src http://ftp.de.debian.org/debian/ wheezy-updates main contrib non-free
There was a "-" missing between non free. Now I can fire aptitude update without my error. If you still have any tips or information on this topic im happy to read about it, the source.list file is kind of a mysterious for me.

error while installing ia32-libs

I am trying to install "ia32-libs" After doing google I did following steps. Yet not able to do it...
1st step i have added dpkg --add-architecture i386
2nd step added "deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >ia32-libs-raring.list"
root#user:/etc/apt/sources.list.d# sudo dpkg --add-architecture i386
root#user:/etc/apt/sources.list.d# echo "deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >ia32-libs-raring.list
root#user:/etc/apt/sources.list.d# apt-get update
Ign http://us-east-1.ec2.archive.ubuntu.com trusty InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://archive.ubuntu.com raring InRelease
Ign http://us-east-1.ec2.archive.ubuntu.com trusty-updates InRelease
Hit http://security.ubuntu.com trusty-security Release.gpg
Ign http://archive.ubuntu.com raring Release.gpg
Hit http://us-east-1.ec2.archive.ubuntu.com trusty Release.gpg
Hit http://security.ubuntu.com trusty-security Release
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates Release.gpg
Ign http://archive.ubuntu.com raring Release
Hit http://us-east-1.ec2.archive.ubuntu.com trusty Release
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates Release
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/main Sources
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/universe Sources
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/universe i386 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/main Translation-en
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/universe Translation-en
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main Sources
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates/universe Sources
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates/universe Translation-en
Ign http://us-east-1.ec2.archive.ubuntu.com trusty/main Translation-en_US
Ign http://us-east-1.ec2.archive.ubuntu.com trusty/universe Translation-en_US
Err http://archive.ubuntu.com raring/main amd64 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/restricted amd64 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/universe amd64 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/multiverse amd64 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/main i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/restricted i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/universe i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/multiverse i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Ign http://archive.ubuntu.com raring/main Translation-en_US
Ign http://archive.ubuntu.com raring/main Translation-en
Ign http://archive.ubuntu.com raring/multiverse Translation-en_US
Ign http://archive.ubuntu.com raring/multiverse Translation-en
Ign http://archive.ubuntu.com raring/restricted Translation-en_US
Ign http://archive.ubuntu.com raring/restricted Translation-en
Ign http://archive.ubuntu.com raring/universe Translation-en_US
Ign http://archive.ubuntu.com raring/universe Translation-en
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/main/binary-amd64/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/restricted/binary-amd64/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Try these steps:
sudo apt-get install libc6:i386
sudo -i
cd /etc/apt/sources.list.d
echo "deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >ia32-libs-raring.list
apt-get update
apt-get install ia32-libs
rm /etc/apt/sources.list.d/ia32-libs-raring.list
apt-get update
exit
sudo apt-get install gcc-multilib
Reference: This thread.

Resources