apt-get or aptitude: Which would you use? [SOLVED]

Archived topics about LMDE 1 and LMDE 2
Locked
reedb

apt-get or aptitude: Which would you use? [SOLVED]

Post by reedb »

Hi,

From the post titled "LMDE BREAKAGES - read here first - Update 12 april 2011" it said, "MintUpdate is not designed for LMDE yet; if you want a safe experience during updates, please use synaptic or the terminal."

I'm not sure which commands to run though. I read that you can use apt-get and/or aptitude.

Which would you run? apt-get or aptitude?

And is this OK to update a new installation of LMDE:

Code: Select all

apt-get update && apt-get dist-upgrade
OR

Code: Select all

apt-get update && apt-get upgrade && apt-get dist-upgrade
Thank you for your time and help.

(note: I searched this forum and it said, "No posts were found because the word apt-get is not contained in any post" so that's why I posted the question.)
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.
mads

Re: apt-get or aptitude: Which would you use?

Post by mads »

Hi!

You could read this excellent post by vincent. If you are not interested in the theory part, jump to the last line.
autocrosser

Re: apt-get or aptitude: Which would you use?

Post by autocrosser »

Yes--I've read thru the post & I'm one of the ones that tends to grab aptitude instead of apt-get....I have a Sid & a Experimental install---I like that aptitude will work out the best option on a questionable update...I have had apt-get take me down the wrong path a couple of times---not many, but each time it took me some time to undo the "update" :(

Just my 2 cents worth.....
reedb

Re: apt-get or aptitude: Which would you use?

Post by reedb »

Hi mads & autocrosser,

Thank you.

So, does the following make sense? After reading that post I feel comfortable doing:

Code: Select all

# apt-get update && apt-get dist-upgrade
OR

Code: Select all

# aptitude update && aptitude full-upgrade
I won't do:

Code: Select all

# aptitude safe-upgrade

Code: Select all

# apt-get upgrade
Thank you.
mads

Re: apt-get or aptitude: Which would you use?

Post by mads »

I leave the aptitude part to autocrosser.
The apt-get part is correct. :)
autocrosser

Re: apt-get or aptitude: Which would you use?

Post by autocrosser »

Generally you need to do safe-upgrade & then check with full-upgrade. The man page:

Code: Select all

 safe-upgrade - Perform a safe upgrade.
 full-upgrade - Perform an upgrade, possibly installing and removing packages.
Full-upgrade will suggest options--Safe-upgrade will only install packages that don't cause depends problems.
Safe-upgrade from this evening:

Code: Select all

sudo aptitude safe-upgrade
Resolving dependencies...                
The following NEW packages will be installed:
  libexporter-lite-perl{a} 
The following packages will be REMOVED:
  libdevel-symdump-perl{u} libpod-coverage-perl{u} libtest-pod-perl{u} 
The following packages will be upgraded:
  alsa-base alsa-utils cpp-4.5 cups cups-client cups-common cups-ppdc g++-4.5 
  gcc-4.5 gcc-4.5-base lib32asound2 libasound2 libasound2-dev 
  libasound2-plugins libcups2 libcups2-dev libcupscgi1 libcupsdriver1 
  libcupsimage2 libcupsmime1 libcupsppdc1 libgphoto2-2 libgphoto2-port0 
  libimobiledevice1 libparse-debcontrol-perl libstdc++6-4.5-dev 
  linux-sound-base ttf-lyx 
The following packages are RECOMMENDED but will NOT be installed:
  libgphoto2-l10n samba4-clients smbclient 
28 packages upgraded, 1 newly installed, 3 to remove and 4 not upgraded.
Need to get 29.0 MB of archives. After unpacking 36.9 kB will be freed.
Do you want to continue? [Y/n/?] y
Full-upgrade after the Safe-upgrade:

Code: Select all

sudo aptitude full-upgrade
The following packages will be upgraded: 
  gnome-icon-theme-extras{b} python-cairo python-gobject python-pyorbit 
The following packages are RECOMMENDED but will NOT be installed:
  python-gobject-cairo 
4 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,690 kB of archives. After unpacking 172 kB will be used.
The following packages have unmet dependencies:
  python-gnome2: Depends: python2.5-gobject which is a virtual package.
                 Depends: python2.5-pyorbit which is a virtual package.
  gnome-icon-theme-extras: Depends: gnome-icon-theme (>= 3.0) but 2.30.3-2 is installed.
  python-gtksourceview2: Depends: python2.5-gobject which is a virtual package.
  python-xklavier: Depends: python2.5-gobject which is a virtual package.
  python-gtk2: Depends: python2.5-cairo which is a virtual package.
               Depends: python2.5-gobject which is a virtual package.
  python-gconf: Depends: python2.5-gobject which is a virtual package.
The following actions will resolve these dependencies:

       Remove the following packages:                                       
1)       alacarte                                                           
2)       apturl                                                             
3)       awn-applets-python-core                                            
4)       awn-applets-python-extras                                          
5)       awn-settings                                                       
6)       compizconfig-settings-manager                                      
7)       computertemp                                                       
8)       debian-bts-applet                                                  
9)       deskbar-applet                                                     
10)      dropbox                                                            
11)      gdebi                                                              
12)      gedit                                                              
13)      gimp                                                               
14)      gmail-notify                                                       
15)      gmountiso                                                          
16)      gnome-about                                                        
17)      gnome-activity-journal                                             
18)      gnome-applets                                                      
19)      gnome-codec-install                                                
20)      gnome-control-center                                               
21)      gnome-games                                                        
22)      gnome-gmail                                                        
23)      gnome-icon-theme-extras                                            
24)      gnome-mag                                                          
25)      gnome-main-menu                                                    
26)      gnome-menus                                                        
27)      gnome-panel                                                        
28)      gnome-schedule                                                     
29)      gnome-session                                                      
30)      gufw                                                               
31)      gwibber                                                            
32)      gwibber-service                                                    
33)      gwibber-service-facebook                                           
34)      gwibber-service-identica                                           
35)      gwibber-service-twitter                                            
36)      indicator-applet                                                   
37)      indicator-applet-appmenu                                           
38)      indicator-applet-complete                                          
39)      indicator-applet-session                                           
40)      link-monitor-applet                                                
41)      mint-common                                                        
42)      mint-meta-common                                                   
43)      mint-meta-debian                                                   
44)      mintbackup                                                         
45)      mintdesktop                                                        
46)      mintinstall                                                        
47)      mintmenu                                                           
48)      mintnanny                                                          
49)      mintsystem                                                         
50)      mintupdate                                                         
51)      mintupload                                                         
52)      mintwelcome                                                        
53)      mintwifi                                                           
54)      miro                                                               
55)      nautilus-dropbox                                                   
56)      ndisgtk                                                            
57)      python-awn                                                         
58)      python-bugbuddy                                                    
59)      python-eggtrayicon                                                 
60)      python-evolution                                                   
61)      python-gconf                                                       
62)      python-glade2                                                      
63)      python-gmenu                                                       
64)      python-gnome2                                                      
65)      python-gnomeapplet                                                 
66)      python-gnomedesktop                                                
67)      python-gnomekeyring                                                
68)      python-gtk2                                                        
69)      python-gtksourceview2                                              
70)      python-gtkspell                                                    
71)      python-notify                                                      
72)      python-pyatspi                                                     
73)      python-rsvg                                                        
74)      python-sexy                                                        
75)      python-vte                                                         
76)      python-webkit                                                      
77)      python-wnck                                                        
78)      python-xklavier                                                    
79)      rhythmbox                                                          
80)      rhythmbox-plugins                                                  
81)      service-discovery-applet                                           
82)      software-properties-gtk                                            
83)      soundconverter                                                     
84)      system-config-printer                                              
85)      totem-plugins                                                      
86)      xplanetfx                                                          
87)      zeitgeist                                                          
88)      zeitgeist-datahub                                                  

       Leave the following dependencies unresolved:                         
89)      alacarte recommends gnome-panel                                    
90)      avant-window-navigator recommends awn-applets-python-core          
91)      avant-window-navigator recommends awn-settings (>= 0.4.0-2)        
92)      awn-applets-c-core recommends awn-settings                         
93)      awn-applets-c-core recommends awn-applets-python-core              
94)      awn-applets-c-extras recommends awn-settings                       
95)      awn-applets-python-core recommends awn-settings (>= 0.3~bzr489)    
96)      awn-applets-python-core recommends gnome-applets                   
97)      awn-applets-python-extras recommends awn-settings (>= 0.3~bzr489)  
98)      capplets-data recommends gnome-control-center (>= 1:2.30.1-3)      
99)      gnome-control-center recommends gnome-session                      
100)     gedit-common recommends gedit                                      
101)     gedit recommends python-gnome2                                     
102)     gnome-applets recommends deskbar-applet                            
103)     gnome-applets recommends python-gconf                              
104)     gnome-games-data recommends gnome-games                            
105)     gnome-panel-data recommends gnome-panel                            
106)     gnome-system-tools recommends gnome-control-center (>= 1:2.10.1-1) 
107)     indicator-messages recommends indicator-applet | indicator-renderer
108)     metacity recommends gnome-session | x-session-manager              
109)     mousetweaks recommends gnome-control-center                        
110)     rhythmbox recommends rhythmbox-plugins                             
111)     synaptic recommends software-properties-gtk                        
112)     totem recommends totem-plugins                                     
113)     zeitgeist-datahub recommends python-gtk2 (>= 2.14.1)               
114)     libgimp2.0 recommends gimp                                         
115)     gimp-data recommends gimp                                          


Accept this solution? [Y/n/q/?]
I answered "no" in this case......
Locked

Return to “LMDE Archive”