• We had to restore from a backup today after a failed software update. Backup was from 0000 EDT and restored it at 0800 EDT so we lost about 8hrs. Today is 07/20/2024. More info here.

Help with sudo apt-get update

DevynKo

New Member
Joined
Jan 11, 2019
Messages
23
Reaction score
1
Credits
0
I keep trying to update through the terminal and this is was it outputting.
Also when I launch my appstore it keeps coming up with failed to fetch updates message over and over.
Im running the most recent release of Elementary OS.

Code:
devyn@devyn:~$ sudo apt-get update
[sudo] password for devyn:             
Reading package lists... Done
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11-icons-small (multiverse/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11-icons-hidpi (multiverse/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11-icons-large (multiverse/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target DEP-11-icons-small (universe/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target DEP-11-icons-hidpi (universe/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target DEP-11-icons-large (universe/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11-icons-small (restricted/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11-icons-hidpi (restricted/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11-icons-large (restricted/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11-icons-hidpi (main/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
 


I have this command, which was a fix from another forum.
Code:
sudo rm /var/lib/apt/lists/* -vf

This is my output now.
Code:
devyn@devyn:~$ sudo apt-get update
Ign:1 cdrom://elementary OS 5.0 _Juno_ - Stable amd64 (20181016) bionic InRelease
Err:2 cdrom://elementary OS 5.0 _Juno_ - Stable amd64 (20181016) bionic Release
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Get:3 http://us.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:4 http://repo.steampowered.com/steam precise InRelease [2,842 B]                                                                                                               
Get:5 http://packages.elementary.io/appcenter bionic InRelease [5,894 B]                                                                                                           
Get:6 http://repository.spotify.com stable InRelease [3,302 B]                                                                                                                 
Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                                                                                       
Get:8 http://repo.steampowered.com/steam precise/steam Sources [549 B]                                                                                               
Get:9 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease [15.9 kB]                                                                                                   
Get:10 http://repo.steampowered.com/steam precise/steam amd64 Packages [604 B]                                                                                     
Get:11 http://repo.steampowered.com/steam precise/steam i386 Packages [800 B]                                                                                               
Get:12 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                                                                                       
Ign:13 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                           
Get:14 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                                                             
Get:15 http://dl.google.com/linux/chrome/deb stable Release [943 B]                                                                                                           
Get:16 http://packages.elementary.io/appcenter bionic/main amd64 Packages [52.2 kB]                                                                         
Get:17 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]                                                                                             
Get:18 http://packages.elementary.io/appcenter bionic/main amd64 DEP-11 Metadata [140 kB]                                                                                         
Get:19 http://packages.elementary.io/appcenter bionic/main DEP-11 64x64 Icons [324 kB]                                                         
Get:20 http://us.archive.ubuntu.com/ubuntu bionic/main i386 Packages [1,007 kB]                                                           
Get:21 http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic InRelease [15.4 kB]                                                                       
Get:22 http://packages.elementary.io/appcenter bionic/main DEP-11 64x64@2 Icons [674 kB]                                                                                   
Get:23 http://packages.elementary.io/appcenter bionic/main DEP-11 128x128 Icons [676 kB]                                                                                     
Get:24 http://repository.spotify.com stable/non-free amd64 Packages [1,643 B]                                                                                                 
Get:25 http://ppa.launchpad.net/flexiondotorg/minecraft/ubuntu bionic InRelease [15.4 kB]                                                                               
Get:26 http://repository.spotify.com stable/non-free i386 Packages [1,171 B]                                                                                               
Get:27 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1,019 kB]                                                                         
Get:28 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,110 B]                                                                         
Get:29 http://ppa.launchpad.net/libreoffice/ppa/ubuntu bionic InRelease [20.7 kB]                                                                                         
Get:30 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [208 kB]                                                                                         
Get:31 http://us.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]                                                     
Get:32 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 DEP-11 Metadata [477 kB]                                             
Get:33 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [281 kB]                                             
Get:34 http://us.archive.ubuntu.com/ubuntu bionic/main DEP-11 48x48 Icons [118 kB]                                                         
Get:35 http://us.archive.ubuntu.com/ubuntu bionic/main DEP-11 64x64 Icons [245 kB]                                                   
Get:36 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [103 kB]                                                   
Get:37 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [204 B]                                                   
Get:38 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [29 B]                                       
Get:39 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [29 B]                                                 
Get:40 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64@2 Icons [29 B]                                               
Get:41 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 128x128 Icons [29 B]                                     
Get:42 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [4,296 B]                                 
Get:43 http://security.ubuntu.com/ubuntu bionic-security/restricted i386 Packages [4,280 B]                                               
Get:44 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [2,192 B]                                             
Get:45 http://us.archive.ubuntu.com/ubuntu bionic/main DEP-11 64x64@2 Icons [29 B]                                                           
Get:46 http://us.archive.ubuntu.com/ubuntu bionic/main DEP-11 128x128 Icons [602 kB]                             
Get:47 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [126 kB]                                       
Get:48 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [123 kB]                                         
Get:49 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [71.4 kB]                                             
Get:50 http://us.archive.ubuntu.com/ubuntu bionic/restricted i386 Packages [9,156 B]                                                             
Get:51 http://us.archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [9,184 B]                                                       
Get:52 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [20.8 kB]                       
Get:53 http://us.archive.ubuntu.com/ubuntu bionic/restricted Translation-en [3,584 B]                                           
Get:54 http://us.archive.ubuntu.com/ubuntu bionic/universe i386 Packages [8,531 kB]                                                               
Get:55 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [12.2 kB]                                               
Get:56 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [45.2 kB]                                   
Get:57 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64@2 Icons [29 B]                                     
Get:58 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 128x128 Icons [53.3 kB]                               
Get:59 http://security.ubuntu.com/ubuntu bionic-security/multiverse i386 Packages [3,912 B]                                               
Get:60 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [3,744 B]                             
Get:61 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [1,952 B]                               
Get:62 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]             
Get:63 http://security.ubuntu.com/ubuntu bionic-security/multiverse DEP-11 48x48 Icons [29 B]                               
Get:64 http://security.ubuntu.com/ubuntu bionic-security/multiverse DEP-11 64x64 Icons [2,638 B]       
Get:65 http://security.ubuntu.com/ubuntu bionic-security/multiverse DEP-11 64x64@2 Icons [29 B]
Get:66 http://security.ubuntu.com/ubuntu bionic-security/multiverse DEP-11 128x128 Icons [29 B]
Get:67 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8,570 kB]               
Get:68 http://us.archive.ubuntu.com/ubuntu bionic/universe Translation-en [4,941 kB]             
Get:69 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 DEP-11 Metadata [3,287 kB]           
Get:70 http://us.archive.ubuntu.com/ubuntu bionic/universe DEP-11 48x48 Icons [2,151 kB]                                                                                           
Get:71 http://us.archive.ubuntu.com/ubuntu bionic/universe DEP-11 64x64 Icons [8,420 kB]                                                                                           
Get:72 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease [15.9 kB]                                                                                               
Get:73 http://us.archive.ubuntu.com/ubuntu bionic/universe DEP-11 64x64@2 Icons [29 B]                                                                                             
Get:74 http://us.archive.ubuntu.com/ubuntu bionic/universe DEP-11 128x128 Icons [16.6 MB]                                                                                         
Get:75 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu bionic InRelease [20.8 kB]                                                                                         
Get:76 http://ppa.launchpad.net/philip.scott/elementary-tweaks/ubuntu bionic InRelease [15.9 kB]                                                                                   
Get:77 http://us.archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB]                                                                                               
Get:78 http://us.archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages [144 kB]                                                                                               
Get:79 http://us.archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB]                                                                                               
Get:80 http://us.archive.ubuntu.com/ubuntu bionic/multiverse amd64 DEP-11 Metadata [49.7 kB]                                                                                       
Get:81 http://us.archive.ubuntu.com/ubuntu bionic/multiverse DEP-11 48x48 Icons [8,931 B]                                                                                         
Get:82 http://us.archive.ubuntu.com/ubuntu bionic/multiverse DEP-11 64x64 Icons [225 kB]                                                                                           
Get:83 http://us.archive.ubuntu.com/ubuntu bionic/multiverse DEP-11 64x64@2 Icons [29 B]                                                                                           
Get:84 http://us.archive.ubuntu.com/ubuntu bionic/multiverse DEP-11 128x128 Icons [472 kB]                                                                                         
Get:85 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [6,996 B]                                                                                     
Get:86 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted i386 Packages [6,960 B]                                                                                       
Get:87 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [3,076 B]                                                                                     
Get:88 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [545 kB]                                                                                             
Get:89 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [465 kB]                                                                                             
Get:90 http://us.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [203 kB]                                                                                             
Get:91 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [278 kB]                                                                                     
Get:92 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [66.7 kB]                                                                                       
Get:93 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [113 kB]                                                                                         
Get:94 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64@2 Icons [29 B]                                                                                         
Get:95 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 128x128 Icons [305 kB]                                                                                       
Get:96 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [740 kB]                                                                                         
Get:97 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [730 kB]                                                                                         
Get:98 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [192 kB]                                                                                         
Get:99 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [202 kB]                                                                                 
Get:100 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [191 kB]                                                                                   
Get:101 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [343 kB]                                                                                   
Get:102 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64@2 Icons [29 B]                                                                                   
Get:103 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 128x128 Icons [763 kB]                                                                                 
Get:104 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease [15.4 kB]                                                                                               
Get:105 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [6,388 B]                                                                                     
Get:106 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages [6,544 B]                                                                                     
Get:107 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [3,452 B]                                                                                     
Get:108 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]                                                                             
Get:109 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse DEP-11 48x48 Icons [29 B]                                                                                   
Get:110 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse DEP-11 64x64 Icons [2,638 B]                                                                                 
Get:111 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse DEP-11 64x64@2 Icons [29 B]                                                                                 
               
Get:138 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu bionic/main i386 Packages [29.0 kB]                                                                               
Get:139 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu bionic/main Translation-en [16.1 kB]                                                                             
Get:140 http://ppa.launchpad.net/philip.scott/elementary-tweaks/ubuntu bionic/main amd64 Packages [812 B]                                                                         
Get:141 http://ppa.launchpad.net/philip.scott/elementary-tweaks/ubuntu bionic/main i386 Packages [820 B]                                                                           
Get:142 http://ppa.launchpad.net/philip.scott/elementary-tweaks/ubuntu bionic/main Translation-en [304 B]                                                                         
Get:143 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic/main i386 Packages [1,556 B]                                                                                       
Get:144 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic/main amd64 Packages [1,556 B]                                                                                     
Get:145 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic/main Translation-en [928 B]                                                                                       
Reading package lists... Done                                                                                                                                                     
E: The repository 'cdrom://elementary OS 5.0 _Juno_ - Stable amd64 (20181016) bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11-icons-small (multiverse/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11-icons-hidpi (multiverse/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11-icons-large (multiverse/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target DEP-11-icons-small (universe/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11-icons-small (multiverse/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11-icons-hidpi (multiverse/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11-icons-large (multiverse/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target DEP-11-icons-small (universe/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target DEP-11-icons-hidpi (universe/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target DEP-11-icons-large (universe/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:48 and /etc/apt/sources.list:52
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Translations (restricted/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11-icons-small (restricted/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11-icons-hidpi (restricted/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11-icons-large (restricted/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11-icons-hidpi (main/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:52
 
What does your sources list say, and the contents of the directory sources.list.d?

Copy and paste here?
 
Code:
sudo nano /etc/apt/sources.list.d/*
 
...And what does your sources.list show?
Code:
sudo nano /etc/apt/sources.list
 
Hi,

Focus on the error below. It says something is configured multiple times and it points to the line 50 and 52 of /etc/apt/sources.list. You should check whether the line 50 and 52 have same statement. If yes, you have to remove one of the line(take a backup of file before making the change). Similar is the case with other such kind of errors.

Target DEP-11-icons-small (multiverse/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52
W: Target DEP-11-icons-hidpi (multiverse/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52

I think if you can correct the above error, the update will get completed irrespective of other errors.
 
Could "apt autoremove " do the job?
It supposedly remove no longer needed dependencies.
 
apt autoremove, removes packages that are no longer in use. It doesn't configure your repository file. I think you'll have to do as Shankar suggests.
 
Hold the phone, Wizard's here (appears in a puff of smoke)

I have answers/solutions/workarounds

... but I'll dive into my Elementary first to check

Wizard
 
I usually just use sudo apt update, followed by sudo apt upgrade or sudo apt-get update followed by sudo apt-get upgrade, depending what distribution I use and it has always worked.

I do occasionally use the autoclean and autoremove commands for some cleaning up.
 
@DevynKo ... are you still with us?

Just wanted to check on your status before we go further.

Cheers

Wizard
 
Bash:
~$ sudo apt-get update
~$ sudo micro /etc/apt/sources.list

Try to see which line, for example W: Target DEP-11-icons-hidpi (multiverse/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list:50 and /etc/apt/sources.list:52 indicate line or row 52th, and then just put a
Code:
#
in front of the row/line,
Code:
ctlr+s
(means save edited) and follow by
Code:
ctlr+q
(means quit).
 


Top