Still unable to update (Solved)

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Octavian
Level 1
Level 1
Posts: 30
Joined: Mon Jul 21, 2014 11:02 am

Still unable to update (Solved)

Post by Octavian » Thu Aug 07, 2014 9:33 pm

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 Octavian on Fri Aug 08, 2014 10:20 am, edited 1 time in total.
Real men wear pink but a true man will be who he is even when the world thinks differently.
Due to my Job I am only able to get on Thursday through Saturday. On occasion I will be on other days.

User avatar
gtsfer
Level 7
Level 7
Posts: 1925
Joined: Mon May 27, 2013 9:15 am
Location: Bucks County PA, USA

Re: Still unable to update

Post by gtsfer » Thu Aug 07, 2014 10:18 pm

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
"There is no gravity, the earth sucks." - Issac Newton @ 75
KDE & Cinnamon 18.1 & Win 10 - ASUS M5A99FX PRO MB, AMD FX-8370 Octo-Core CPU, 16GB RAM, AMD Radeon R7 240

Octavian
Level 1
Level 1
Posts: 30
Joined: Mon Jul 21, 2014 11:02 am

Re: Still unable to update

Post by Octavian » Fri Aug 08, 2014 10:18 am

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.
Real men wear pink but a true man will be who he is even when the world thinks differently.
Due to my Job I am only able to get on Thursday through Saturday. On occasion I will be on other days.

Post Reply

Return to “Software & Applications”