LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-01-2005, 10:16 AM   #1
McCloud
Member
 
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Rep: Reputation: 30
Aptitude problem


Hello,

I'm reinstalling my system after a disk crash 2 days ago. I used to install my system (Debian Testing) using apt-get. This always worked and I have never encountered any problems.

I now wanted to try aptitude to install the system, because of it's better handling of package orphans after a package has been removed. I've configured aptitude so it won't install the recommended packages.

Now I have the following problem. I installed the base-system, installed x-window-system (XFree) and Gnome. I found out that my sound didn't work, so I wanted to install alsa-utils. Here is where the problem begins.

Debian Etch installed udev (version 0.56 is in testing), but the alsa-utils package 'suggests' udev >= 0.63. So, when I want to install alsa-utils, aptitude wants to uninstall udev (because I have version 0.56) and all the pakages that depend on udev (which actually is my whole Gnome environment). I've solved this by installing some packages manually from the unstable repository (udev, libc6, libselinux, etc.), but it is a stupid solution.

How can I configure aptitude in such a way that it doesn't care about suggested packages??? I can configure it so it doesn't install recommended packages, but can this also be done for suggested packages.
 
Old 09-01-2005, 11:12 AM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Maybe you should keep the sarge versions of alsa and udev packages when dist-upgrading to etch? Udev seems to be quite troublesome in etch at the moment (see the bug reports).
 
Old 09-01-2005, 11:28 AM   #3
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
Do you have mixed sources in your sources.list file?
If so keep everything on etch for now but if you run into problems give it a week or so at most and it will be fixed.Its not aptitude causeing problems.
Also remember,when useing aptitude....always use it.Otherwise you will note that if you remove something with synaptic or apt-get the next time you do a dist-upgrade in aptitude it will reinstall what the others removed.
 
Old 09-01-2005, 11:44 AM   #4
McCloud
Member
 
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Original Poster
Rep: Reputation: 30
I don't have mixed sources. I have sent an e-mail to the aptitude maintainer for some more explanation regarding this issue.

The problem is that normally, aptitude doesn't install suggested packages (that's the way I like it), but if you have a suggested package already installed (in my case udev) and the package you want to install suggests a higher version of that package, which is not yet in testing, aptitude wants to remove the suggested package. In my case, the problem is that alot of packages depend on udev, so aptitude wants to remove all of them (including my whole Gnome environment).

Basically, what this means is that you can't install alsa-utils on testing using aptitude, as udev is installed by default on a clean Sarge installation.


What would be better in my opinion is that aptitude just doesn't bother about suggested packages.

Last edited by McCloud; 09-01-2005 at 11:46 AM.
 
Old 09-01-2005, 12:48 PM   #5
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
See the bug report for alsa-utils : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=325142

Quote:
alsa-utils is installable but it Conflicts with the version of udev
currently in testing. That is not a bug.

If I had it to do over again I wouldn't have let alsa-utils 1.0.9a-4
drop into testing until udev >= 0.060 had dropped into testing.
However, now that alsa-utils 1.0.9a-4 is in testing it is difficult
to remove it.

The inconvenience should go away as soon as udev >= 0.060 makes it
into testing.
The solution to this problem seems to be that you should keep the sarge version of alsa packages until they've fixed the dependency conflict in etch.
 
Old 09-01-2005, 12:57 PM   #6
McCloud
Member
 
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Original Poster
Rep: Reputation: 30
Thanks Dead Parrot,

I contacted the aptitude maintainer and he told me the same. It's pretty bad that this version of alsa-utils was able to enter testing when it conflicts with package currently in testing. I'm a big fan of the Debian dependency handling, but this is just a big mistake. It makes the alsa package basically uninstallable on Etch.

I fixed the problem by installing udev (and libc6 and libselinux) from sid manually.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Aptitude error AndeAnderson Linux - General 3 10-15-2005 04:13 PM
aptitude dependency problem Duncan Foley Debian 6 09-16-2005 06:17 PM
aptitude Metallic Debian 6 04-14-2005 05:47 PM
Need help to configure aptitude davidas Debian 9 04-21-2004 05:51 AM
Debian aptitude - apt-get problem mikek147 Linux - Distributions 1 09-15-2002 08:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration