Score:-1

Updating Ubuntu to latest 21.04 from 20.04 by command line

mx flag

There's a problem with upgrading a distro to next one. Does anyone has an idea what's wrong?

what I did.

user535733 avatar
cn flag
Does this answer your question? [How can I fix apt error "W: Target Packages ... is configured multiple times"?](https://askubuntu.com/questions/760896/how-can-i-fix-apt-error-w-target-packages-is-configured-multiple-times)
user535733 avatar
cn flag
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.
Score:0
kg flag

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.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.