Linux Lite Forums

Software - Support => Updates => Topic started by: csias40 on January 25, 2023, 10:54:50 AM

Title: Target Packages (non-free/binary-amd64/Packages) is configured multiple times
Post by: csias40 on January 25, 2023, 10:54:50 AM
This occurred after suddenly I could not restart my version of Linux Lite, but could have it run a previous version. 
Now it starts without choosing a version, but I cannot update.Please help!

  ===========================
Install Updates Error log
===========================
Install Updates could not fetch the package cache information lists.
Go to https://www.linuxliteos.com/forums/ (https://www.linuxliteos.com/forums/) and paste the log below into a new or existing thread for assistance.

 
============ Log ===========

 
Hit:1 http://us.archive.ubuntu.com/ubuntu (http://us.archive.ubuntu.com/ubuntu) focal InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu (http://us.archive.ubuntu.com/ubuntu) focal-updates InRelease
Hit:3 https://dl.google.com/linux/chrome/deb (https://dl.google.com/linux/chrome/deb) stable InRelease
Get:4 https://repos.azul.com/zulu/deb (https://repos.azul.com/zulu/deb) stable InRelease [5,289 B]
Hit:5 http://us.archive.ubuntu.com/ubuntu (http://us.archive.ubuntu.com/ubuntu) focal-backports InRelease
Ign:6 http://repos.azulsystems.com/debian (http://repos.azulsystems.com/debian) stable InRelease
Hit:7 http://repo.linuxliteos.com/linuxlite (http://repo.linuxliteos.com/linuxlite) emerald InRelease
Hit:8 http://repos.azulsystems.com/debian (http://repos.azulsystems.com/debian) stable Release
Hit:9 http://deb.debian.org/debian (http://deb.debian.org/debian) bullseye InRelease
Hit:10 http://archive.canonical.com/ubuntu (http://archive.canonical.com/ubuntu) focal InRelease
Hit:11 http://security.ubuntu.com/ubuntu (http://security.ubuntu.com/ubuntu) focal-security InRelease
Reading package lists...
E: Repository 'https://repos.azul.com/zulu/deb (https://repos.azul.com/zulu/deb) stable InRelease' changed its 'Origin' value from '. stable' to 'Azul Systems'
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target CNF (non-free/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target CNF (non-free/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target CNF (non-free/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target CNF (non-free/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
 
Title: Re: Target Packages (non-free/binary-amd64/Packages) is configured multiple times
Post by: stevef on January 25, 2023, 11:29:24 AM
I think the main problem is the Error message

Quote
E: Repository 'https://repos.azul.com/zulu/deb stable InRelease' changed its 'Origin' value from '. stable' to 'Azul Systems'

rather than the warning (W) messages.

The Error message indicates the repository has changed something about how the package is labelled.  If you trust this and want to proceed, the system requires that you acknowledge the change.  You can do this by opening a terminal (ctrl, alt, t) and running

Code: [Select]
sudo apt update
You should be prompted for your password and then asked to confirm you accept the change.

Once the error is sorted, we can look at the warnings if necessary.
Title: Re: Target Packages (non-free/binary-amd64/Packages) is configured multiple times
Post by: csias40 on January 30, 2023, 11:01:26 PM
After running that:
 tina  ~  sudo apt update
[sudo] password for tina:
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Ign:2 http://repos.azulsystems.com/debian stable InRelease                     
Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]     
Hit:4 http://repos.azulsystems.com/debian stable Release                       
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease                 
Hit:6 http://repo.linuxliteos.com/linuxlite emerald InRelease                 
Hit:7 http://deb.debian.org/debian bullseye InRelease                         
Get:8 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]     
Hit:9 http://archive.canonical.com/ubuntu focal InRelease                     
Get:10 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB] 
Hit:12 https://repos.azul.com/zulu/deb stable InRelease                       
Fetched 336 kB in 2s (159 kB/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
52 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target CNF (non-free/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target CNF (non-free/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target CNF (non-free/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59
W: Target CNF (non-free/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:57 and /etc/apt/sources.list:59

Title: Re: Target Packages (non-free/binary-amd64/Packages) is configured multiple times
Post by: Jerry on January 31, 2023, 12:29:33 AM
Try Lite Tweaks > Package System Repair. You have duplicate entries in /etc/apt/sources.list
Title: Re: Target Packages (non-free/binary-amd64/Packages) is configured multiple times
Post by: csias40 on January 31, 2023, 01:19:10 AM
Thank you!  That fixed it!