[SOLVED] Debian 9 stretch repositories not updating packages

Kernels & Hardware, configuring network, installing services

[SOLVED] Debian 9 stretch repositories not updating packages

Postby 4joeyirosh1 » 2018-04-07 08:26

Hi!I am a Debian newbie having installed Debian 9 Stretch 64 bit 2 months ago.I updated the /etc/apt/sources.list with the following repositories as per document link below

https://wiki.debian.org/SourcesList

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

Every weekend I try to update my packages by running the commands apt-get update and apt full-upgrade.

When I run apt-get update I get output below.What could be the issue with "configured multiple times" message.Have I setup a repo more than once?If so what entries should be on my sources.list file?

Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
Hit:4 http://deb.debian.org/debian stretch-updates InRelease
Hit:5 http://dl.google.com/linux/chrome/deb stable Release
Hit:7 http://deb.debian.org/debian stretch Release
Reading package lists... Done
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list:28
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27
W: Target DEP-11-icons-hidpi (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:25
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target DEP-11-icons-hidpi (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target DEP-11-icons-hidpi (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:22
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21
W: Target DEP-11-icons-hidpi (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21
E: Failed to fetch https://dl.bintray.com/resin-io/debian/ ... /InRelease
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:13 and /etc/apt/sources.list:22
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21
W: Target DEP-11-icons-hidpi (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:21
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:25
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target DEP-11-icons-hidpi (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list:28
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27
W: Target DEP-11-icons-hidpi (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:27
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target DEP-11-icons-hidpi (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:30 and /etc/apt/sources.list.d/google-chrome.list:3

When I run the second command apt full-upgrade I get output below.Ever since I installed Debian over 2 months ago,no new packages have been updated which is weird since I expect that some packages would have been updated in the last 2 months.Is there a reason why I am not updating packages and how can this be resolved?

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Last edited by 4joeyirosh1 on 2018-04-07 14:10, edited 1 time in total.
4joeyirosh1
 
Posts: 21
Joined: 2016-09-11 18:04

Re: Debian 9 stretch repositories not updating packages

Postby dilberts_left_nut » 2018-04-07 08:31

It tells you what line numbers are duplicated.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4842
Joined: 2009-10-05 07:54
Location: enzed

Re: Debian 9 stretch repositories not updating packages

Postby 4joeyirosh1 » 2018-04-07 10:13

How does one resolve the errors below

W: GPG error: https://dl.bintray.com/resin-io/debian stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 379CE192D401AB61
W: The repository 'https://dl.bintray.com/resin-io/debian stable Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
4joeyirosh1
 
Posts: 21
Joined: 2016-09-11 18:04

Re: Debian 9 stretch repositories not updating packages

Postby debiman » 2018-04-07 10:44

what does the second question got to do with the first one?

let's stick to the first for now.

2 things.

1.:
you have more sources in /etc/apt/sources.list.d/
(aside: i have seen a few times that the google repos broke an install)

2.:
the warnings are only warnings.
but there's one error, and it looks serious:
4joeyirosh1 wrote:Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
Hit:4 http://deb.debian.org/debian stretch-updates InRelease
Hit:5 http://dl.google.com/linux/chrome/deb stable Release
Hit:7 http://deb.debian.org/debian stretch Release
Reading package lists... Done
E: The method driver /usr/lib/apt/methods/https could not be found.


i have formulated a search query for you: E: The method driver /usr/lib/apt/methods/https could not be found.
please look through the results and see if you can fix the problem.
User avatar
debiman
 
Posts: 2499
Joined: 2013-03-12 07:18

Re: Debian 9 stretch repositories not updating packages

Postby 4joeyirosh1 » 2018-04-07 11:01

debiman wrote:what does the second question got to do with the first one?

let's stick to the first for now.

2 things.

1.:
you have more sources in /etc/apt/sources.list.d/
(aside: i have seen a few times that the google repos broke an install)

2.:
the warnings are only warnings.
but there's one error, and it looks serious:
4joeyirosh1 wrote:Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
Hit:4 http://deb.debian.org/debian stretch-updates InRelease
Hit:5 http://dl.google.com/linux/chrome/deb stable Release
Hit:7 http://deb.debian.org/debian stretch Release
Reading package lists... Done
E: The method driver /usr/lib/apt/methods/https could not be found.


i have formulated a search query for you: E: The method driver /usr/lib/apt/methods/https could not be found.
please look through the results and see if you can fix the problem.


I have resolved the duplicate issue by removing some of the repo entries

For issue E: The method driver /usr/lib/apt/methods/https could not be found I have resolved it by running sudo apt-get install apt-transport-https
4joeyirosh1
 
Posts: 21
Joined: 2016-09-11 18:04

Re: Debian 9 stretch repositories not updating packages

Postby 4joeyirosh1 » 2018-04-07 14:10

4joeyirosh1 wrote:How does one resolve the errors below

W: GPG error: https://dl.bintray.com/resin-io/debian stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 379CE192D401AB61
W: The repository 'https://dl.bintray.com/resin-io/debian stable Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.


After doing some research I ran the command below and no errors appear after running the apt-get update command

sudo apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 379CE192D401AB61
4joeyirosh1
 
Posts: 21
Joined: 2016-09-11 18:04


Return to System configuration

Who is online

Users browsing this forum: bmickey and 3 guests

fashionable