Beware aptitude trying to break install!

Post your update and upgrade related errors here
Forum rules
Before you post please read this

Beware aptitude trying to break install!

Postby daozen on Sun Feb 26, 2012 7:30 pm

Hi guys, I'm fairly new here and am new to LMDE (Xfce in my case) so apologies if I'm speaking out my @sre.

Just a we background, I had heard aptitude was a lot better that apt-get so have been trying to use aptitude instead because apparently its a more complete and easy to use program and is safer (I don't think so!). I just had to upgrade to UP4 via the incoming repositories due in part to being unable to install Keepass2 (a mono issue AFAI can figure out) on a fresh an updated UP3 LMDE (due to a previous failure to update to UP4 thanks to aptitude, I later found out).

Anyway like I say I was just finishing doing an upgrade via apt-get because when I tried it again with aptitude, aptitude took 3 hours to do nothing apart from crash my laptop trying to figure out dependences. Like I said above I messed up a previous attempt to upgrade so after rebooting after the upgrade had finished (as the system was unusable) I decided to do a full upgrade(sudo aptitude full-upgrade), still wanting to use aptitude even though it had failed at a normal upgrade, this is the result:

Code: Select all
adam@kaput ~ $ sudo aptitude full-upgrade
The following packages will be upgraded:
  xserver-xorg xserver-xorg-core{b} xserver-xorg-input-evdev
  xserver-xorg-input-synaptics xserver-xorg-input-wacom
  xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-ati
  xserver-xorg-video-chips xserver-xorg-video-cirrus
  xserver-xorg-video-fbdev xserver-xorg-video-i128 xserver-xorg-video-i740
  xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga
  xserver-xorg-video-neomagic xserver-xorg-video-nouveau
  xserver-xorg-video-openchrome xserver-xorg-video-r128
  xserver-xorg-video-radeon xserver-xorg-video-rendition
  xserver-xorg-video-s3 xserver-xorg-video-s3virge
  xserver-xorg-video-savage xserver-xorg-video-siliconmotion
  xserver-xorg-video-sis xserver-xorg-video-sisusb xserver-xorg-video-tdfx
  xserver-xorg-video-trident xserver-xorg-video-tseng
  xserver-xorg-video-vesa xserver-xorg-video-vmware
  xserver-xorg-video-voodoo
34 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,238 kB of archives. After unpacking 108 kB will be used.
The following packages have unmet dependencies:
  xserver-xorg-core: Depends: libpixman-1-0 (>= 0.21.6) but 0.20.2-0ubuntu1 is installed.
The following actions will resolve these dependencies:

      Remove the following packages:                             
1)      xserver-xorg                                             
2)      xserver-xorg-core                                         
3)      xserver-xorg-input-all                                   
4)      xserver-xorg-input-evdev                                 
5)      xserver-xorg-input-synaptics                             
6)      xserver-xorg-input-wacom                                 
7)      xserver-xorg-video-apm                                   
8)      xserver-xorg-video-ark                                   
9)      xserver-xorg-video-ati                                   
10)     xserver-xorg-video-chips                                 
11)     xserver-xorg-video-cirrus                                 
12)     xserver-xorg-video-fbdev                                 
13)     xserver-xorg-video-i128                                   
14)     xserver-xorg-video-i740                                   
15)     xserver-xorg-video-intel                                 
16)     xserver-xorg-video-mach64                                 
17)     xserver-xorg-video-mga                                   
18)     xserver-xorg-video-neomagic                               
19)     xserver-xorg-video-nouveau                               
20)     xserver-xorg-video-openchrome                             
21)     xserver-xorg-video-r128                                   
22)     xserver-xorg-video-radeon                                 
23)     xserver-xorg-video-rendition                             
24)     xserver-xorg-video-s3                                     
25)     xserver-xorg-video-s3virge                               
26)     xserver-xorg-video-savage                                 
27)     xserver-xorg-video-siliconmotion                         
28)     xserver-xorg-video-sis                                   
29)     xserver-xorg-video-sisusb                                 
30)     xserver-xorg-video-tdfx                                   
31)     xserver-xorg-video-trident                               
32)     xserver-xorg-video-tseng                                 
33)     xserver-xorg-video-vesa                                   
34)     xserver-xorg-video-vmware                                 
35)     xserver-xorg-video-voodoo                                 

      Leave the following dependencies unresolved:               
36)     gdm3 recommends xserver-xorg                             
37)     xserver-xorg-input-all recommends xserver-xorg-input-wacom


Accept this solution? [Y/n/q/?]


Now I've already stated I'm pretty new to this so thought yep I'll upgrade X as aptitude just said it "will" be upgrade so I type "Y" and get this:

Code: Select all
The following packages will be REMOVED:
  xserver-xorg{a} xserver-xorg-core{a} xserver-xorg-input-all{a}
  xserver-xorg-input-evdev{a} xserver-xorg-input-synaptics{a}
  xserver-xorg-input-wacom{a} xserver-xorg-video-apm{a}
  xserver-xorg-video-ark{a} xserver-xorg-video-ati{a}
  xserver-xorg-video-chips{a} xserver-xorg-video-cirrus{a}
  xserver-xorg-video-fbdev{a} xserver-xorg-video-i128{a}
  xserver-xorg-video-i740{a} xserver-xorg-video-intel{a}
  xserver-xorg-video-mach64{a} xserver-xorg-video-mga{a}
  xserver-xorg-video-neomagic{a} xserver-xorg-video-nouveau{a}
  xserver-xorg-video-openchrome{a} xserver-xorg-video-r128{a}
  xserver-xorg-video-radeon{a} xserver-xorg-video-rendition{a}
  xserver-xorg-video-s3{a} xserver-xorg-video-s3virge{a}
  xserver-xorg-video-savage{a} xserver-xorg-video-siliconmotion{a}
  xserver-xorg-video-sis{a} xserver-xorg-video-sisusb{a}
  xserver-xorg-video-tdfx{a} xserver-xorg-video-trident{a}
  xserver-xorg-video-tseng{a} xserver-xorg-video-vesa{a}
  xserver-xorg-video-vmware{a} xserver-xorg-video-voodoo{a}
0 packages upgraded, 0 newly installed, [b]35 to remove and 0 not upgraded.[/b]
Need to get 0 B of archives. After unpacking 13.5 MB will be freed.
Do you want to continue? [Y/n/?]


Now due to me wanting to use aptitude this is exactly why I messed up my last install, because after saying yes aptitude outputs the above with no warning its NOT going to upgrade anything it instead is just going to remove X. Should you do this as I did previously you wont be able to boot into X and the reason I had to do a reinstall was because I couldn't get on the internet to try an fix it. If you try the upgrade via apt-get (sudo apt-get dist-upgrade) you get this:

Code: Select all
adam@kaput ~ $ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  xserver-xorg xserver-xorg-core xserver-xorg-input-evdev
  xserver-xorg-input-synaptics xserver-xorg-input-wacom xserver-xorg-video-apm
  xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips
  xserver-xorg-video-cirrus xserver-xorg-video-fbdev xserver-xorg-video-i128
  xserver-xorg-video-i740 xserver-xorg-video-intel xserver-xorg-video-mach64
  xserver-xorg-video-mga xserver-xorg-video-neomagic
  xserver-xorg-video-nouveau xserver-xorg-video-openchrome
  xserver-xorg-video-r128 xserver-xorg-video-radeon
  xserver-xorg-video-rendition xserver-xorg-video-s3
  xserver-xorg-video-s3virge xserver-xorg-video-savage
  xserver-xorg-video-siliconmotion xserver-xorg-video-sis
  xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident
  xserver-xorg-video-tseng xserver-xorg-video-vesa xserver-xorg-video-vmware
  xserver-xorg-video-voodoo
0 upgraded, 0 newly installed, 0 to remove and 34 not upgraded.


Much more helpful. I don't know if its just my machine this happens with or its a bug in aptitude but I've learned my lesson... stick to apt-get... and read the out put better, don't just assume a supposedly trusted program will do its job properly.

dao
Last edited by daozen on Sun Feb 26, 2012 7:46 pm, edited 1 time in total.
daozen
Level 1
Level 1
 
Posts: 16
Joined: Wed Sep 29, 2010 1:44 pm

Linux Mint is funded by ads and donations.
 

Re: Beware aptitude trying to break install!

Postby zerozero on Sun Feb 26, 2012 7:44 pm

in this matter, first big rule: don't mix both (apt and aptitude)
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6477
Joined: Tue Jul 07, 2009 2:29 pm

Re: Beware aptitude trying to break install!

Postby daozen on Sun Feb 26, 2012 7:47 pm

I certainly wont be mixing them from now on, apt-get is basically more trustworthy IMO.
daozen
Level 1
Level 1
 
Posts: 16
Joined: Wed Sep 29, 2010 1:44 pm


Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 2 guests