There's a problem with upgrading a distro to next one. Does anyone has an idea what's wrong?
Asked
Active
Viewed 62 times
-1
-
2Does this answer your question? How can I fix apt error "W: Target Packages ... is configured multiple times"? – user535733 Jun 29 '21 at 23:20
-
Your output shows several new-user mistakes: Mis-using dist-upgrade, poor choice of the -y flag, poorly-maintained sources. Trying to jump from 20.04 to 21.04 using dist-upgrade is not tested or supported here -- when (not 'if') something goes wrong, you will be on your own. If you choose to blaze that lonely trail, maintain good backups. You will need them for your inevitable reinstall. – user535733 Jun 29 '21 at 23:22
1 Answers
0
It seems that there is duplicated lines in a file in the sources.list.d folder. According to the warnings the duplicates are in the lines 2 and 3. See the output below the executed command: sudo apt-get update
Edit manually that file and remove the duplicated line (if so) and try all commands again.

user2912752
- 51