Aptitude detects some dependency conflicts

New to Debian (Or Linux in general)? Ask your questions here!

Aptitude detects some dependency conflicts

Postby TristanDee » 2009-12-09 09:03

Aptitude detects some dependency conflicts.
Code: Select all
oracle:/home/rubel# aptitude safe-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information     
Initializing package states... Done
Reading task descriptions... Done 
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
The following packages have unmet dependencies:
  libsdl1.2debian-alsa: Conflicts: libsdl1.2debian-pulseaudio but 1.2.13-5 is to be installed.
  epiphany-browser: Conflicts: epiphany-gecko but 2.26.3-2 is installed and it is kept back.
  libsdl1.2debian-pulseaudio: Conflicts: libsdl1.2debian-alsa but 1.2.13-5 is installed.
  epiphany-gecko: Depends: epiphany-browser-data (< 2.27) but 2.29.3-1 is to be installed.

I'm not sure what to do--uninstall Epiphany? Please advise.

My sources.list:
Code: Select all
###### Debian Main Repos
deb http://ftp.uk.debian.org/debian/ testing main contrib non-free

###### Debian Update Repos
deb http://security.debian.org/ testing/updates main contrib non-free
...Our lives are mostly a constant evasion of ourselves. --TS Eliot
Linux User #501018
User avatar
TristanDee
 
Posts: 64
Joined: 2007-12-11 10:43
Location: Dhaka, Bangladesh

Re: Aptitude detects some dependency conflicts

Postby Tixy » 2009-12-09 09:54

I'm personally leaving Epiphany un-upgraded until their are no conflicts. Which should be when the 'gnome' meta-package gets upgraded to 2.28 after the last bits of 2.28 are migrated to Testing.
Tixy
 
Posts: 96
Joined: 2009-08-12 17:00

Re: Aptitude detects some dependency conflicts

Postby TristanDee » 2009-12-09 13:46

Tixy wrote:I'm personally leaving Epiphany un-upgraded until their are no conflicts. Which should be when the 'gnome' meta-package gets upgraded to 2.28 after the last bits of 2.28 are migrated to Testing.

So, how to upgrade the whole system excluding one particular application since safe-upgrade does not do that? Will
Code: Select all
aptitude hold epiphany
do the trick? But safe-upgrade is supposed to always use the safe-resolver algorithm, according to aptitude manual.

Also there are conflicts between libsdl1.2debian-alsa and libsdl1.2debian-pulseaudio.

Squeeze was installed from a weekly-build.
...Our lives are mostly a constant evasion of ourselves. --TS Eliot
Linux User #501018
User avatar
TristanDee
 
Posts: 64
Joined: 2007-12-11 10:43
Location: Dhaka, Bangladesh

Re: Aptitude detects some dependency conflicts

Postby bugsbunny » 2009-12-09 16:18

Show the rest of what aptitude is proposing to do (it's recommended solution). (In other words show the ENTIRE output). Also run it with the -D option. You can run the following as a normal user (nothing will actually get upgraded no matter what you answer):
Code: Select all
aptitude -sD safe-upgrade
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

Re: Aptitude detects some dependency conflicts

Postby Tixy » 2009-12-09 18:11

TristanDee wrote:So, how to upgrade the whole system excluding one particular application since safe-upgrade does not do that?


I use Synaptics and manually select upgradable packages each day. I'm not familiar with aptitude or apt-get.
Tixy
 
Posts: 96
Joined: 2009-08-12 17:00

Re: Aptitude detects some dependency conflicts

Postby TristanDee » 2009-12-09 18:53

bugsbunny wrote:Show the rest of what aptitude is proposing to do (it's recommended solution). (In other words show the ENTIRE output). Also run it with the -D option. You can run the following as a normal user (nothing will actually get upgraded no matter what you answer):
Code: Select all
aptitude -sD safe-upgrade

Hello bugsbunny, that WAS the entire output. Still here is what I got after running -sD safe-upgrade
Code: Select all
rubel@oracle:~$ aptitude -sD safe-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information     
Initializing package states... Done
Reading task descriptions... Done 
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
The following packages have unmet dependencies:
  libsdl1.2debian-alsa: Conflicts: libsdl1.2debian-pulseaudio but 1.2.13-5 is to be installed.
  epiphany-browser: Conflicts: epiphany-gecko but 2.26.3-2 is installed and it is kept back.
  libsdl1.2debian-pulseaudio: Conflicts: libsdl1.2debian-alsa but 1.2.13-5 is installed.
  epiphany-gecko: Depends: epiphany-browser-data (< 2.27) but 2.29.3-1 is to be installed.
...Our lives are mostly a constant evasion of ourselves. --TS Eliot
Linux User #501018
User avatar
TristanDee
 
Posts: 64
Joined: 2007-12-11 10:43
Location: Dhaka, Bangladesh

Re: Aptitude detects some dependency conflicts

Postby bugsbunny » 2009-12-09 20:48

That is NOT the entire output. If it was the last part would be aptitude asking if you want to continue and ending with a ?
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

Re: Aptitude detects some dependency conflicts

Postby bluesdog » 2009-12-09 21:16

Use apt-cache show <packagename> and apt-cache depends <packagename> to see what packages you need, which ones are conflicting, & etc..

For example:

Code: Select all
$ apt-cache show epiphany-gecko                       
Package: epiphany-gecko                                         
Priority: optional                                               
Section: gnome                                                   
Installed-Size: 52                                               
Maintainer: Josselin Mouette <joss@debian.org>                   
Architecture: all                                               
Source: epiphany-browser                                         
Version: 2.29.3-1                                               
Depends: epiphany-browser (>= 2.28.0)                           
Filename: pool/main/e/epiphany-browser/epiphany-gecko_2.29.3-1_all.deb
Size: 21682                                                           
MD5sum: 518c6c38f317d156d866170e7c19580a                             
SHA1: 22dfe953ea1eb04502d3bb7cb132264c24f4fa64                       
SHA256: 4891ee7225c96c2ce82ebb6c41c6e6bf011ddc3b9a94272973cc152284e450a0
Description: Dummy, transitional package                               
 This package has been made obsolete by epiphany-browser 2.28.0, and   
 is safe to remove.                                                     
Homepage: http://www.gnome.org/projects/epiphany/                       
Tag: implemented-in::c, interface::web, interface::x11, role::program, suite::gnome, uitoolkit::gtk, use::browsing, web::browser, works-with-format::html, x11::application                                                                                         

Package: epiphany-gecko
Priority: optional     
Section: gnome         
Installed-Size: 28     
Maintainer: Josselin Mouette <joss@debian.org>
Architecture: all                             
Source: epiphany-browser                     
Version: 2.29.1-2                             
Depends: epiphany-browser (>= 2.28.0)         
Filename: pool/main/e/epiphany-browser/epiphany-gecko_2.29.1-2_all.deb
Size: 22086                                                           
MD5sum: bdcce2471dc049e6d412aacfd1fbaf45                             
SHA1: 10e936cf36a4baca06951f139bd8bff30f1119c9                       
SHA256: 2217df96479c07204d8715626fb0c1f5592d522f4ea2ba26edc31cec0a50fe87
Description: Dummy, transitional package                               
 This package has been made obsolete by epiphany-browser 2.28.0, and   
 is safe to remove.                                                     
Homepage: http://www.gnome.org/projects/epiphany/                       
Tag: implemented-in::c, interface::web, interface::x11, role::program, suite::gnome, uitoolkit::gtk, use::browsing, web::browser, works-with-format::html, x11::application

and
Code: Select all
$ apt-cache depends libsdl1.2debian-alsa
libsdl1.2debian-alsa                               
  Depends: libasound2                             
  Depends: libc6                                   
  Depends: libdirectfb-1.2-0                       
  Depends: libsvga1                               
  Conflicts: <libsdl1.2>                           
  Conflicts: <libsdl1.2-all>                       
    libsdl1.2debian-all                           
  Conflicts: <libsdl1.2-arts>                     
    libsdl1.2debian-arts                           
  Conflicts: <libsdl1.2-esd>                       
    libsdl1.2debian-esd                           
  Conflicts: <libsdl1.2-nas>                       
    libsdl1.2debian-nas                           
  Conflicts: <libsdl1.2-oss>                       
    libsdl1.2debian-oss                           
  Conflicts: libsdl1.2debian-all                   
  Conflicts: libsdl1.2debian-arts                 
  Conflicts: libsdl1.2debian-esd                   
  Conflicts: libsdl1.2debian-nas                   
  Conflicts: libsdl1.2debian-oss                   
  Conflicts: libsdl1.2debian-pulseaudio           
  Replaces: <libsdl1.2>                           
  Replaces: <libsdl1.2-all>
    libsdl1.2debian-all
  Replaces: <libsdl1.2-arts>
    libsdl1.2debian-arts
  Replaces: <libsdl1.2-esd>
    libsdl1.2debian-esd
  Replaces: <libsdl1.2-nas>
    libsdl1.2debian-nas
  Replaces: <libsdl1.2-oss>
    libsdl1.2debian-oss
  Replaces: libsdl1.2debian-all
  Replaces: libsdl1.2debian-arts
  Replaces: libsdl1.2debian-esd
  Replaces: libsdl1.2debian-nas
  Replaces: libsdl1.2debian-oss
  Replaces: libsdl1.2debian-pulseaudio


You may then decide to remove certain packages, thus allowing installation of others.
Tips & Tricks

Something more to read while waiting

If you obviously have not read THIS, don't expect too much...




*winter bluesdog....*
User avatar
bluesdog
 
Posts: 2082
Joined: 2006-02-01 09:02
Location: Similkameen, British Columbia, Canada

Re: Aptitude detects some dependency conflicts

Postby TristanDee » 2009-12-10 03:55

bugsbunny wrote:That is NOT the entire output. If it was the last part would be aptitude asking if you want to continue and ending with a ?

I know what aptitude asks during the upgrade process and I was expecting it. But all it did was going back to my prompt just after mentioning the conflicts. I didn't paste up to the prompt line, and here it is:
Code: Select all
oracle:/home/rubel# aptitude safe-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information     
Initializing package states... Done
Reading task descriptions... Done 
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
The following packages have unmet dependencies:
  libsdl1.2debian-alsa: Conflicts: libsdl1.2-esd which is a virtual package.
                        Conflicts: libsdl1.2debian-esd but 1.2.13-5 is to be installed.
  libsdl1.2debian-esd: Conflicts: libsdl1.2debian-alsa but 1.2.13-5 is installed.
oracle:/home/rubel#

BTW, Epiphany conflict got resolved automatically after I installed flashplugin-nonfree, sun-java6-jre. I don't know which one resolved the problem.
...Our lives are mostly a constant evasion of ourselves. --TS Eliot
Linux User #501018
User avatar
TristanDee
 
Posts: 64
Joined: 2007-12-11 10:43
Location: Dhaka, Bangladesh

Re: Aptitude detects some dependency conflicts

Postby bluesdog » 2009-12-11 01:02

Of course you are updating local apt cache first with
Code: Select all
aptitude update

To check your sources list, please post output of
Code: Select all
cat /etc/apt/sources.list

and to see if anything is being held back:
Code: Select all
aptitude search ~ahold

and to do a sanity check on dpkg
Code: Select all
dpkg -C

and to see specific information on the packages which seem in conflict
Code: Select all
apt-cache policy libsdl1.2esd
Code: Select all
apt-cache policy libsdl1.2debian-esd
and
Code: Select all
apt-cache policy libsdl1.2debian-alsa
Tips & Tricks

Something more to read while waiting

If you obviously have not read THIS, don't expect too much...




*winter bluesdog....*
User avatar
bluesdog
 
Posts: 2082
Joined: 2006-02-01 09:02
Location: Similkameen, British Columbia, Canada

Re: Aptitude detects some dependency conflicts

Postby jheaton5 » 2009-12-11 01:33

I had the same dependency issues. I apparently updated after the break in squeeze. Today I did
Code: Select all
# aptitude --full-resolver full-upgrade
@ 100 files were removed @100 new files were added and @100 files upgraded. The system is now restored to where it should be.
debian sid
User avatar
jheaton5
 
Posts: 1489
Joined: 2008-08-20 01:40
Location: Newnan, GA, USA

Re: Aptitude detects some dependency conflicts

Postby bluesdog » 2009-12-11 02:17

jheaton5, that's good and useful information. :D :D

I've been running Sid/Experimental, and doing full-upgrades so long I'd forgotten about the resolver switch for aptitude

:wink: safe-upgrade is for wimps! :wink:
Tips & Tricks

Something more to read while waiting

If you obviously have not read THIS, don't expect too much...




*winter bluesdog....*
User avatar
bluesdog
 
Posts: 2082
Joined: 2006-02-01 09:02
Location: Similkameen, British Columbia, Canada

Re: Aptitude detects some dependency conflicts

Postby TristanDee » 2009-12-11 11:45

@ bluesdog and jheaton5: I've been currently away from my home PC. I'll definitely try your suggestions, especially that of jheaton5 since you say you had similar dependency conflict situation, when I get back home tonight. Meantime, thanks for all your cooperation.

I'll get back to you guys with updates.
...Our lives are mostly a constant evasion of ourselves. --TS Eliot
Linux User #501018
User avatar
TristanDee
 
Posts: 64
Joined: 2007-12-11 10:43
Location: Dhaka, Bangladesh


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable