Still unable to update (Solved)

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Octavian

Still unable to update (Solved)

Post by Octavian »

I seem to have terminal repeatedly ask me to update. I have been using terminal and Linux systems for a while but I am still learning the basics. Please understand that I will do my best to understand.

What I understand is that there are duplicate packages that I need to uninstall. Is there anyway I can uninstall them in terminal?

Code: Select all

matalicpebble@matalicpebble-Inspiron-530 ~ $ sudo apt-get update
[sudo] password for matalicpebble: 
Ign http://packages.linuxmint.com qiana InRelease
Ign http://extra.linuxmint.com qiana InRelease                                 
Ign http://archive.ubuntu.com trusty InRelease                                 
Get:1 http://packages.linuxmint.com qiana Release.gpg [198 B]                  
Get:2 http://extra.linuxmint.com qiana Release.gpg [198 B]                     
Get:3 http://extra.linuxmint.com qiana Release [3,144 B]                       
Get:4 http://packages.linuxmint.com qiana Release [18.6 kB]                    
Ign http://security.ubuntu.com trusty-security InRelease                       
Ign http://archive.canonical.com precise InRelease                             
Get:5 http://extra.linuxmint.com qiana/main i386 Packages [7,888 B]            
Get:6 http://packages.linuxmint.com qiana/main i386 Packages [29.7 kB]         
Get:7 http://security.ubuntu.com trusty-security Release.gpg [933 B]           
Ign http://archive.canonical.com trusty InRelease                              
Ign http://archive.ubuntu.com trusty-updates InRelease                         
Get:8 http://packages.linuxmint.com qiana/upstream i386 Packages [23.6 kB]     
Hit http://archive.ubuntu.com trusty Release.gpg                               
Hit http://archive.canonical.com precise Release.gpg                           
Get:9 http://security.ubuntu.com trusty-security Release [59.7 kB]             
Get:10 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]            
Get:11 http://packages.linuxmint.com qiana/import i386 Packages [31.6 kB]      
Hit http://archive.ubuntu.com trusty Release                                   
Hit http://archive.canonical.com trusty Release.gpg                            
Get:12 http://archive.ubuntu.com trusty-updates Release [59.7 kB]              
Hit http://archive.canonical.com precise Release                               
Hit http://archive.canonical.com trusty Release                                
Ign http://extra.linuxmint.com qiana/main Translation-en_US                    
Ign http://extra.linuxmint.com qiana/main Translation-en                       
Hit http://archive.canonical.com precise/partner i386 Packages                 
Get:13 http://security.ubuntu.com trusty-security/main i386 Packages [118 kB]  
Hit http://archive.ubuntu.com trusty/main i386 Packages                        
Hit http://archive.ubuntu.com trusty/restricted i386 Packages                  
Hit http://archive.ubuntu.com trusty/universe i386 Packages                    
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages                  
Hit http://archive.canonical.com trusty/partner i386 Packages                  
Get:14 http://security.ubuntu.com trusty-security/restricted i386 Packages [14 B]
Get:15 http://security.ubuntu.com trusty-security/universe i386 Packages [42.0 kB]
Hit http://archive.ubuntu.com trusty/main Translation-en                       
Hit http://archive.ubuntu.com trusty/multiverse Translation-en                 
Hit http://archive.ubuntu.com trusty/restricted Translation-en                 
Get:16 http://security.ubuntu.com trusty-security/multiverse i386 Packages [1,402 B]
Hit http://archive.ubuntu.com trusty/universe Translation-en                   
Hit http://security.ubuntu.com trusty-security/main Translation-en             
Get:17 http://archive.ubuntu.com trusty-updates/main i386 Packages [279 kB]
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en       
Ign http://packages.linuxmint.com qiana/import Translation-en_US               
Hit http://security.ubuntu.com trusty-security/restricted Translation-en       
Ign http://packages.linuxmint.com qiana/import Translation-en                  
Ign http://packages.linuxmint.com qiana/main Translation-en_US                 
Hit http://security.ubuntu.com trusty-security/universe Translation-en         
Ign http://packages.linuxmint.com qiana/main Translation-en                    
Ign http://packages.linuxmint.com qiana/upstream Translation-en_US             
Ign http://packages.linuxmint.com qiana/upstream Translation-en                
Ign http://archive.canonical.com precise/partner Translation-en_US             
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://archive.canonical.com trusty/partner Translation-en_US
Ign http://archive.canonical.com trusty/partner Translation-en
Get:18 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [5,820 B]
Get:19 http://archive.ubuntu.com trusty-updates/universe i386 Packages [168 kB]
Get:20 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [7,598 B]
Hit http://archive.ubuntu.com trusty-updates/main Translation-en               
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en         
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en         
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en           
Ign http://archive.ubuntu.com trusty/main Translation-en_US                    
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US              
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US              
Ign http://archive.ubuntu.com trusty/universe Translation-en_US                
Fetched 858 kB in 11s (72.3 kB/s)                                              
Reading package lists... Done
W: Duplicate sources.list entry http://archive.canonical.com/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_dists_precise_partner_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_dists_precise_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
matalicpebble@matalicpebble-Inspiron-530 ~ $ sudo apt-get update
Ign http://packages.linuxmint.com qiana InRelease
Ign http://extra.linuxmint.com qiana InRelease                                 
Ign http://archive.ubuntu.com trusty InRelease                                 
Get:1 http://packages.linuxmint.com qiana Release.gpg [198 B]                  
Get:2 http://extra.linuxmint.com qiana Release.gpg [198 B]                     
Ign http://archive.ubuntu.com trusty-updates InRelease                         
Get:3 http://packages.linuxmint.com qiana Release [18.6 kB]                    
Get:4 http://extra.linuxmint.com qiana Release [3,144 B]                       
Hit http://archive.ubuntu.com trusty Release.gpg                               
Ign http://security.ubuntu.com trusty-security InRelease                       
Ign http://archive.canonical.com precise InRelease                             
Hit http://archive.ubuntu.com trusty-updates Release.gpg                       
Get:5 http://extra.linuxmint.com qiana/main i386 Packages [7,888 B]            
Get:6 http://packages.linuxmint.com qiana/main i386 Packages [29.7 kB]         
Hit http://archive.ubuntu.com trusty Release                                   
Hit http://security.ubuntu.com trusty-security Release.gpg                     
Ign http://archive.canonical.com trusty InRelease                              
Get:7 http://packages.linuxmint.com qiana/upstream i386 Packages [23.6 kB]     
Hit http://security.ubuntu.com trusty-security Release                         
Hit http://archive.canonical.com precise Release.gpg                           
Get:8 http://packages.linuxmint.com qiana/import i386 Packages [31.6 kB]       
Hit http://security.ubuntu.com trusty-security/main i386 Packages              
Hit http://archive.canonical.com trusty Release.gpg                            
Hit http://archive.ubuntu.com trusty-updates Release                           
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages        
Hit http://archive.canonical.com precise Release                               
Hit http://archive.ubuntu.com trusty/main i386 Packages                        
Hit http://archive.ubuntu.com trusty/restricted i386 Packages                  
Hit http://security.ubuntu.com trusty-security/universe i386 Packages          
Hit http://archive.canonical.com trusty Release                                
Hit http://archive.ubuntu.com trusty/universe i386 Packages                    
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages                  
Ign http://extra.linuxmint.com qiana/main Translation-en_US                    
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages        
Hit http://archive.canonical.com precise/partner i386 Packages                 
Ign http://extra.linuxmint.com qiana/main Translation-en                       
Hit http://archive.ubuntu.com trusty/main Translation-en                       
Hit http://security.ubuntu.com trusty-security/main Translation-en             
Hit http://archive.ubuntu.com trusty/multiverse Translation-en                 
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en        
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://archive.canonical.com trusty/partner i386 Packages         
Hit http://archive.ubuntu.com trusty/universe Translation-en          
Hit http://security.ubuntu.com trusty-security/universe Translation-en         
Hit http://archive.ubuntu.com trusty-updates/main i386 Packages                
Hit http://archive.ubuntu.com trusty-updates/restricted i386 Packages          
Hit http://archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en         
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en         
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Ign http://packages.linuxmint.com qiana/import Translation-en_US      
Ign http://packages.linuxmint.com qiana/import Translation-en         
Ign http://packages.linuxmint.com qiana/main Translation-en_US        
Ign http://packages.linuxmint.com qiana/main Translation-en           
Ign http://packages.linuxmint.com qiana/upstream Translation-en_US    
Ign http://packages.linuxmint.com qiana/upstream Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-en_US
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://archive.ubuntu.com trusty/universe Translation-en_US
Ign http://archive.canonical.com precise/partner Translation-en_US
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://archive.canonical.com trusty/partner Translation-en_US
Ign http://archive.canonical.com trusty/partner Translation-en
Fetched 115 kB in 4s (26.5 kB/s)
Reading package lists... Done
W: Duplicate sources.list entry http://archive.canonical.com/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_dists_precise_partner_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_dists_precise_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
matalicpebble@matalicpebble-Inspiron-530 ~ $ 
Output of inxi -r

Code: Select all

matalicpebble@matalicpebble-Inspiron-530 ~ $  inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
           deb http://archive.canonical.com/ precise partner
           deb http://archive.canonical.com/ precise partner
           deb http://archive.canonical.com/ precise partner
           Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://packages.linuxmint.com qiana main upstream import #id:linuxmint_main
           deb http://extra.linuxmint.com qiana main #id:linuxmint_extra
           deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ trusty partner
matalicpebble@matalicpebble-Inspiron-530 ~ $ 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
gtsfer

Re: Still unable to update

Post by gtsfer »

They are identical "repository" entries in /etc/apt/sources.list.d/additional-repositories.list. Not duplicate packages. These repos tell the system where to look for updates and where to look for new packages that you install.

So you added some new ones intentionally. Maybe you did it with a "add-apt-repository" command more than once with the same one?

Edit this file and get rid of the dups.

Code: Select all

sudo pluma /etc/apt/sources.list.d/additional-repositories.list
Octavian

Re: Still unable to update

Post by Octavian »

The command "pluma" did not work so I used the command "nano" bringing up a text editor to delete the repeats.

Its was one of those moments that I feel like I am lost. Thanks for your help.
Locked

Return to “Software & Applications”