Linux Lite Forums

Software - Support => Other => Topic started by: AposChatz382 on September 10, 2022, 03:37:43 AM

Title: apt update warnings
Post by: AposChatz382 on September 10, 2022, 03:37:43 AM
Hello everyone,
I recently did an "apt update" from terminal and afterwards i started receiving these warnings:

W: Skipping acquire of configured file 'contrib/binary-amd64/Packages' as repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' doesn't have the component 'contrib' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'non-free/binary-amd64/Packages' as repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' doesn't have the component 'non-free' (component misspelt in sources.list?)
full log (https://pastebin.com/q2vF5JQ2)
sources.list (https://pastebin.com/e3zt6yf8)

I don't really understand what the issue is and how to get rid of these warning.
Thank you in advance!

EDIT:
To be more specific:
I was trying to install libncurses-dev but for some reason it was not available so i did the following steps:
Title: Re: apt update warnings
Post by: trinidad on September 10, 2022, 09:09:49 AM
Ubuntu source list components are: restricted, universe, multiverse.
Debian source list components are: contrib, non-free

You canNOT mix the two.

To use restricted, multiverse universe you must direct to an Ubuntu repository URL.
To use contrib and/or non-free you must direct to a Debian repository URL.

Linux Lite comes with the Gdebi installer. You should have used it.
Ubuntu focal Debian parent is Buster or oldstable.Ubuntu jammy Debian parent is Bullseye or stable.https://packages.debian.org/buster/libncurses-dev

TC 
Title: Re: apt update warnings
Post by: AposChatz382 on September 10, 2022, 12:49:45 PM
Yes that was the problem, thank you!  8)