FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-15-2009, 04:52 AM
"Alan Hutchinson"
 
Default essential packages getting deleted when switching to testing libc6

Hi I am using Debian Lenny beta 2 and I have just en staled synaddsubefx and things went t swimmingly but there is no "Audio" the sound blaster platinum card woks fine except when I try to play "zynAddsubefx" aney body have an idea why I have no Audio ??.thanks in advance.


On Wed, Jan 14, 2009 at 8:39 PM, Stephen Dewey <stepheneliotdewey@gmail.com> wrote:

I am having trouble with the libfaac0 package, and have been hoping to

upgrade it the hope that a bug fix has been released for my problem.

The libfaac0 package requires libc6 >= 2.7-1 but etch only has

2.3.6.ds1-13etch8, so I've added a testing distribution to my sources

list.



However, after running apt-get update, I checked what would be

installed if I installed either libc6 or libfaac0, and in both cases

it stated that it was going to remove important packages. I'm not sure

how to proceed:



<<<

asystems:/etc/apt# apt-get -u -t testing install libfaac0

Reading package lists... Done

Building dependency tree... Done

The following extra packages will be installed:

*binutils libc6 libc6-dev libfaac-dev libncurses5 libselinux1

libslang2 linux-libc-dev locales

Suggested packages:

*binutils-doc glibc-doc manpages-dev

Recommended packages:

*libgpm2

The following packages will be REMOVED:

*linux-kernel-headers tzdata util-linux

The following NEW packages will be installed:

*linux-libc-dev

The following packages will be upgraded:

*binutils libc6 libc6-dev libfaac-dev libfaac0 libncurses5

libselinux1 libslang2 locales

WARNING: The following essential packages will be removed.

This should NOT be done unless you know exactly what you are doing!

*util-linux tzdata (due to util-linux)

9 upgraded, 1 newly installed, 3 to remove and 337 not upgraded.

Need to get 16.5MB of archives.

After unpacking 8307kB disk space will be freed.

You are about to do something potentially harmful.

To continue type in the phrase 'Yes, do as I say!'

*?] no

Abort.

>>>



Here is the same for libc6:



<<<

asystems:/etc/apt# apt-get -u -t testing install libc6

Reading package lists... Done

Building dependency tree... Done

The following extra packages will be installed:

*binutils libc6-dev libncurses5 libselinux1 libslang2 linux-libc-dev locales

Suggested packages:

*binutils-doc glibc-doc manpages-dev

Recommended packages:

*libgpm2

The following packages will be REMOVED:

*linux-kernel-headers tzdata util-linux

The following NEW packages will be installed:

*linux-libc-dev

The following packages will be upgraded:

*binutils libc6 libc6-dev libncurses5 libselinux1 libslang2 locales

WARNING: The following essential packages will be removed.

This should NOT be done unless you know exactly what you are doing!

*util-linux tzdata (due to util-linux)

7 upgraded, 1 newly installed, 3 to remove and 339 not upgraded.

Need to get 16.3MB of archives.

After unpacking 8294kB disk space will be freed.

You are about to do something potentially harmful.

To continue type in the phrase 'Yes, do as I say!'

*?] no

Abort.

>>>





Any ideas?

Thanks...

Stephen





--

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-15-2009, 01:46 PM
NN_il_Confusionario
 
Default essential packages getting deleted when switching to testing libc6

On Thu, Jan 15, 2009 at 02:21:53PM +0100, Johannes Wiedersich wrote:
> André Neves wrote:
> >> The main difference is that aptitude is now prefered over apt-get.
> >
> > Sorry, preferred by who?
>
> By the debian developers. From
> /usr/share/doc/aptitude/README
>
> > What is this aptitude thing, anyway?
> >
> > aptitude is a featureful package manager for Debian GNU/Linux systems, based on
> > the renowned apt package management infrastructure. aptitude provides the
> > functionality of dselect and apt-get, as well as many additional features not
> > found in either program.
>
> IIRC, it's mainly the better algorithms to resolve dependencies and the
> ability to distinguish between packages that are automatically installed
> vs manually installed, that have been introduced in aptitude, but not in
> apt-get.

now (since months in lenny) this last functionality is also in apt-get
(I suppose that it is infact in libapt, and so is exactly the same in
aptitude and apt-get). An evident difference between apt-get and
aptitude is their command line incompatibility; moreover a look at their
man pages shows that some useful functionality of aptitude is not
available in apt-get, but also that in a _few_ cases the converse is
true.

The fact that aptitude and apt-get have quite different dependency
resolution algorithms is, *luckly*, still completly true. You and many
others probably have noted some cases where aptitude algorithm had
worked well, but apt-get does not. I also (rarely) meet such cases.

I, and others with old hardware, have noted that aptitude algorithm is
_much_ slower on old hardware. I also regularly meet cases where
aptitude algorithm is _spectacularly_ not working (either it does not
find a solution, or it proposes only solutions where it proposes to
uninstall almost everything) and apt-get works almost flawelessly (the
last example in an upgrade to lenny a few days ago: aptitude failed as
specified, apt-get did a perfect job requiring the uninstallation of a
single package: aptitude. Curiously, once the upgrade has been
completed, it was possible to install aptitude without problems).

[Please note: I have NO trace of gnome, kde, xfce, udev, hal, ... on my
machines; I have OLD packages (some from at least potato times, some
self-compliled) installed, and I am able to manually edit
/var/lib/dpkg/status to correct dependencies of these old installed
packages to make them compatible with modern debian distributions
(moreover, I have without problems multiple distributions in
sources.list provided that preferences uses suitable pinnings. I also
have chroots for older debian distributions).]

Finally, the mailing list archives contain *many* old discussions about
apt-get vs aptitute and everyone can read them.

My conclusion? For a newbie with modern hardware and with a modern
interest in modern GUIs, recommendation of aptitude seems absolutely
reasonable. For old timers debian users, well, they _know_ that there
are cases where aptitude is better tha apt-get and cases where the
contrary is true, and so they know when and how to use one or the other.

--
Chi usa software non libero avvelena anche te. Digli di smettere.
Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
Informatica=bomba: intelligente solo per gli stupidi che ci credono.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-15-2009, 03:48 PM
NN_il_Confusionario
 
Default essential packages getting deleted when switching to testing libc6

On Thu, Jan 15, 2009 at 01:51:11PM -0200, André Neves wrote:
> I had always used apt-get in my system, doing autoremove
> whenever it suggested there were unneeded packages installed. One day
> I ran aptitude out of curiosity, and well, it suggested to uninstall
> almost 300 unneeded packages!

since it was apt-get, and not aptitude, that installed these 300
packages, apt-get decided that they were wanted installs. But not
aptitude.

One can find in the mailing list archives reports of such cases, and
aptitude commands to convince aptitude that apt-get installed packages
are wanted packages (or are not, or some are but others are not).

However, it is might be that there is no difference for packages
installed since the time when apt-get got the "remove-unneeded" feature.

(I am talking about no difference in algorithm inside libapt, but note
that /var/lib/apt/extended_states is not the same file as
/var/lib/aptitude/pkgstates so that the [textual] databases to which
such an algorithm is applied are not the same)

When were the 300 unneeded packages installed?

--
Chi usa software non libero avvelena anche te. Digli di smettere.
Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
Informatica=bomba: intelligente solo per gli stupidi che ci credono.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-15-2009, 07:55 PM
NN_il_Confusionario
 
Default essential packages getting deleted when switching to testing libc6

On Thu, Jan 15, 2009 at 02:15:52PM -0500, Stephen Dewey wrote:
> this mess? I am tempted to simply install the new kernel as suggested
> (apt-get install linux-image-2.6-686) and then run apt-get
> dist-upgrade again to finish the process once that dependency is
> resolved, but I am worried about making things worse.

I usually do things like that. But I also do not consider a "mess" a
case like yours (cases like this also happen when apt-get or aptitude
was interrupted for any reason in the middle of a big install, or quite
often when upgrading a sid system).

> Also I am still not sure about the significance of the "not fully
> installed or removed" programs.

after a

dpkg --configure -a

what actions would suggest

apt-get -f install

?

> As for aptitude, I could use that but I am not sure if it would be
> good to switch tools in the middle of my upgrade effort...

you can switch to aptitude whenever you want, but better after a

dpkg --configure -a

(or even better after there are no unresolved dependencies, if you have
any. But this is not necessary)

It is quite likely that aptitude would solve your problem faster than
apt-get (if you have a sufficiently modern machine and a sufficiently
standard installation). Surely, experienced used can use either (or both).

Try them both with the simulate option to see what they want to do.

--
Chi usa software non libero avvelena anche te. Digli di smettere.
Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
Informatica=bomba: intelligente solo per gli stupidi che ci credono.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 07:45 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org