arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error While Update VPS
#4
Are you running Debian 8 with Debian 9 repository? This is not recommended as it can bring great conflict between package version and applications. Moreover it can even break the OS by installing more up to date packages but not compatible packages. Be careful with this!

Replace:
deb http://deb.debian.org/debian stretch main
deb-src http://deb.debian.org/debian stretch main

deb http://deb.debian.org/debian stretch-updates main
deb-src http://deb.debian.org/debian stretch-updates main

deb http://security.debian.org/debian-security/ stretch/updates main
deb-src http://security.debian.org/debian-security/ stretch/updates main

deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free

deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free

deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security/ stretch/updates main contrib non-free

with this:
deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free

deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free

deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security/ stretch/updates main contrib non-free

deb https://download.webmin.com/download/repository sarge contrib

This will solve the first problem you had that reported conflicts due to duplications. Run "apt-get update" after replacing the sources to verify everything is working.


Regarding your second error. You have to install the authentication key of the custom repository you added so that your Debian server can trust the sources from which the packages are being downloaded.

Do the following to fix the issue.

Go to /tmp folder:
cd /tmp

Download the webmin repository authentication key:
wget http://www.webmin.com/jcameron-key.asc

Install the authentication key:
apt-key add jcameron-key.asc

After successfull installation of the key you can delete the downloaded file:
rm -f jcameron-key.asc

Install the HTTPS module for apt package manager:
apt-get install apt-transport-https

Refresh package sources:
apt-get update

That should be it Smile .
[Image: zHHqO5Q.png]


Messages In This Thread
Error While Update VPS - by sagher - 08-04-2018, 06:40 AM
RE: Error While Update VPS - by Mashiro - 08-04-2018, 07:54 AM
RE: Error While Update VPS - by sagher - 08-09-2018, 06:20 AM
RE: Error While Update VPS - by Mashiro - 08-09-2018, 08:27 AM
RE: Error While Update VPS - by sagher - 08-09-2018, 09:07 AM
RE: Error While Update VPS - by Mashiro - 08-09-2018, 12:06 PM
RE: Error While Update VPS - by sagher - 08-10-2018, 10:09 AM
RE: Error While Update VPS - by Mashiro - 08-10-2018, 10:27 AM
RE: Error While Update VPS - by youssefbasha - 08-10-2018, 10:31 AM
RE: Error While Update VPS - by sagher - 08-10-2018, 11:41 AM

Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
12,556
02-24-2021, 07:17 AM
Last Post: Pacific Spirit
3,013
11-27-2020, 02:53 AM
Last Post: Rehan
13,592
06-17-2020, 04:32 PM
Last Post: Mashiro
3,306
06-11-2020, 06:31 PM
Last Post: rudra

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting