Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: buddlflink on 2013/10/24, 13:35:16

Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: buddlflink on 2013/10/24, 13:35:16
Hello everyone,

new libept1.4.12 (version 1.0.10), needed by apt, does not contain symbol _ZNK7tagcoll4coll4FastISsSsE13ge.

Install an older version of libept, as already described here:

http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1165714.html
Title: RE: aptitude: undefined symbol: _ZNK7tagcoll4coll4FastISsSsE
Post by: piper on 2013/10/24, 18:47:22
IMHO using aptitude in sid is like playing Russian Roulette, OTOH, if you know what your doing ...

I just wouldn't recommend someone *new to sid to use aptitude, it's to *smart for itself
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: Ironwalker on 2013/10/24, 19:25:23
People do not know that when aptitude is installed, they should run the curses version and set the options. I know not many realise there are options to be changed/set and looked at to make sure aptitude does not do things on its own. Once set correctly it handles things better than apt imo.

Whats the correct command to downgrade that libept file?

thanks

I tried addding aptitude back into update-alternatives as aptitude-curses is only showing now but that didn't work and it should have.


edit 2:05 pm

I will wait, it seems to be uploading to debian ftps now and is closed.

Quote

SubjSubject: Bug#727540: fixed in libept 1.0.11
Date: Thu, 24 Oct 2013 17:34:06 +0000

Source: libept Source-Version: 1.0.11 We believe that the bug you reported is fixed in the latest version of libept, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 727540@bugs.debian.org, and the maintainer will reopen the bug report if appropriate.
Changes: libept (1.0.11) unstable; urgency=low . * Added explicit template instantiation with the symbols aptitude needs.
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: michaa7 on 2013/10/25, 00:41:28
Quote from: "Ironwalker"
...

Whats the correct command to downgrade that libept file?


Code: [Select]
apt-get install libept1.4.12/testing
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: DeepDayze on 2013/10/25, 02:44:50
Quote from: "Ironwalker"
People do not know that when aptitude is installed, they should run the curses version and set the options. I know not many realise there are options to be changed/set and looked at to make sure aptitude does not do things on its own. Once set correctly it handles things better than apt imo.

Whats the correct command to downgrade that libept file?

thanks

I tried addding aptitude back into update-alternatives as aptitude-curses is only showing now but that didn't work and it should have.


edit 2:05 pm

I will wait, it seems to be uploading to debian ftps now and is closed.

Quote

SubjSubject: Bug#727540: fixed in libept 1.0.11
Date: Thu, 24 Oct 2013 17:34:06 +0000

Source: libept Source-Version: 1.0.11 We believe that the bug you reported is fixed in the latest version of libept, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 727540@bugs.debian.org, and the maintainer will reopen the bug report if appropriate.
Changes: libept (1.0.11) unstable; urgency=low . * Added explicit template instantiation with the symbols aptitude needs.


I know that apt-get is the recommended (and supported) way of dist-upgrading but what options are best set to make aptitude behave properly with Debian sid?  Perhaps maybe a thread in the "experimental" section would suffice for those who are adventurous to dare use aptitude with Sid.
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: buddlflink on 2013/10/25, 10:46:54
Quote from: "michaa7"
Quote from: "Ironwalker"
...

Whats the correct command to downgrade that libept file?


Code: [Select]
apt-get install libept1.4.12/testing


I downloaded the package from debian.org and installed it via dpkg, since aptitude was broken at this moment.

Maybe it's like russian roulette, with one difference: Afterwards, you can get the bullets out of your head all by yourself :D
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: agaida on 2013/10/25, 10:59:03
@DeepDayze: There are quite some options: trust, faith, knowledge and very big balls. So we really don't recommend the daily use of aptitude in any sid based distribution :twisted:
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: michaa7 on 2013/10/25, 14:39:22
Quote from: "buddlflink"
Quote from: "michaa7"
Quote from: "Ironwalker"
...

Whats the correct command to downgrade that libept file?


Code: [Select]
apt-get install libept1.4.12/testing


I downloaded the package from debian.org and installed it via dpkg, since aptitude was broken at this moment.

I don't get it. What does "apt-get install libept1.4.12/testing" has to do with aptitude (broken or not).
I wonder whether you deliberately purged apt when you installed aptitude?
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: piper on 2013/10/25, 15:13:34
aptitude is a front-end to apt

apt was originally designed as a front-end for dpkg to work with debian's .deb packages, but it has since been modified to also work with  RPM's  via apt-rpm

apt has been ported to Mac OS X for some of its own package management tasks,apt is also available in OpenSolaris.

DeepDayze, a good place to start would be
Code: [Select]
/etc/apt/apt.conf ;)
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: piper on 2013/10/25, 15:18:58
Quote from: "michaa7"
Quote from: "buddlflink"
Quote from: "michaa7"
Quote from: "Ironwalker"
...

Whats the correct command to downgrade that libept file?


Code: [Select]
apt-get install libept1.4.12/testing


I downloaded the package from debian.org and installed it via dpkg, since aptitude was broken at this moment.

I don't get it. What does "apt-get install libept1.4.12/testing" has to do with aptitude (broken or not).
I wonder whether you deliberately purged apt when you installed aptitude?


Because libept is a high level library for managing debian package's.

I don't get it. What does "apt-get install libept1.4.12/testing" has to do with aptitude

answer is easy

aptitude is nothing more than a frontend to apt.
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: agaida on 2013/10/25, 15:46:20
fixed packages should be in unstable now. Ähh - btw - if one was bitten by this bug, its highly recommend to use apt-get for the upgrade ... :D
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: michaa7 on 2013/10/25, 16:09:47
Quote from: "piper"
Quote from: "michaa7"
Quote from: "buddlflink"
Quote from: "michaa7"
Quote from: "Ironwalker"
...

Whats the correct command to downgrade that libept file?


Code: [Select]
apt-get install libept1.4.12/testing


I downloaded the package from debian.org and installed it via dpkg, since aptitude was broken at this moment.

I don't get it. What does "apt-get install libept1.4.12/testing" has to do with aptitude (broken or not).
I wonder whether you deliberately purged apt when you installed aptitude?


Because libept is a high level library for managing debian package's.

I don't get it. What does "apt-get install libept1.4.12/testing" has to do with aptitude

answer is easy

aptitude is nothing more than a frontend to apt.


Still i don't get it: Do you try to tell us that apt-get won't work if aptitude is broken? Which I doubt.

apt has neither a dependency to aptitude nor to  libept1.4.12, so what you tell us makes no sense at all.

I don't want to insist to much, but as using apt properly is needed to administer your system you should really try to understand what's working and what not. Or prove me wrong.
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: agaida on 2013/10/25, 16:31:36
Keep cool/ruhig bleiben.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727565

and yes, aptitude depends on libept, apt not.
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: michaa7 on 2013/10/25, 16:36:41
I am completly cool ( I am sowhat of cool ;-) ), I only wonder whether he really runs a system **without** **apt**.
Because that would be the only way his answers make sense.

EDIT:
That's now only for educating me:

He didn't try to do what I suggested to do by replacing the "apt-get" part with "aptitude" but while doing exactly what I suggested he got an error message something like "libept couldn't be installed due to broken packages" and then *forced* it via dpgk (because in this case it wouldn't install without the *-force* option either).

Is this my missunderstanding?
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: Ironwalker on 2013/10/25, 19:22:40
@piper, I should have re-worded my post to say I like aptitude better, not that apt-get is better.
You have been around long enough here and dslr for me to know you are smart enough to see that the different options in aptitude are self explanitory.
Things I notice are the posts of folks using aptitude complaining about removal of unused pakages and other things that can easily be stopped via the options in aptitude.

For me, I like that you can use the ncurses (terminal menu) interface to prepare complex package operations like partial upgrade, remove one package, freeze another one, upgrade this one, that you can then execute in a single operation.
The apt-cache and regular apt-get commands can be used in aptitude as it is a front-end to apt-get.
Conflict resolution is a good thing if taken with a grain of salt. It can be handy to get an idea what is holding things up, breaking something or what have you where with apt-get, you are on your own to figure these out.....better for a newb imo.
Aptitude remembers which packages were explicitly requested and which were only installed due to dependencies.

One might want to know why an automatically installed package is present on the system. To get this information from the command-line, you can use aptitude why package (apt-get has no similar feature):
$ aptitude why python-debian
i aptitude Recommends apt-xapian-index
i A apt-xapian-index Depends python-debian (>= 0.1.15)
(from debian handbook)

I remember aptitude not reading apt/preferences (a bug that may be fixed now) and being able to read apt/pinning.
I know apt-get does these as well.

Also, myself, I use aptitude commands via terminal instead of curses version.
I also like the aptitude search funtion showing pakages as being installed or not or broken where apt-cache search doesn't.
Just a preference for me is all.
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: agaida on 2013/10/26, 01:20:47
micha7: auf deutsch - weil ich das so auf englisch eh nur wieder missverständlich hinbekommen würde - wahrscheinlich ja. Der funktionierende und korrekte Weg wäre das von Dir vorgeschlagene apt-get install libept$foo/testing gewesen. Nutzt man dafür aptitude install libept$foo/testing, dann geht es in die Hose (da aptitude karpott im Sinne von karpott) :)

Low-Level mit dpkg -i --force-all libept*.deb geht natürlich auch - aber das geht schon wieder in die Richtung "Dinge, die man nicht vorsätzlich tun sollte", wenn es einen sauberen Weg gibt. Noch schrecklicher wäre nur noch das Triplet download/extract/copy des Pakets gewesen ...

(nein, ich bin kein Horrorbuchautor)
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: michaa7 on 2013/10/26, 11:27:54
ok, you understand the situation as I do. So my question wasn't out of whatever. But as the person concerned doesn't respond the thing is closed. Still I wonder if he had purged apt, because of how he installed libept*.

I really would like to know how you say in english:
"von hinten durch die brust ins auge"
(literally: from behind through the chest into the eye)
;-)
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: piper on 2013/10/26, 13:57:36
@Ironwalker

Sorry if I took a jab at the people who *know* what their doing with aptitude.(you are one of them ;) ) I do use it in a stable debian environment, but, this being a support forum and sid and a lot of folks being both new to siduction and/or  sid, aptitude is not the way to go to get started and can be an experience that will leave a bad taste in a new sid users mouth.

I just don't recommend aptitude in sid in general, but, it is your computers people run with it :)
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: Ironwalker on 2013/10/26, 15:55:19
Libept 1.0.12 was uploaded yesterday. I didn't look at changelog because the first fix 1.0.11 worked fine.

@piper,
I didn't think you were jabbing at me. ;)

@michaa7,
Are you guys talking/asking me or @buddlflink?

@Deepdayz,
 I probably should start an aptitude thread just to get the misinformed, informed, but, like you and others said, apt-get is preferred....even though the manual in english does mention aptitude as a choice.
Quote

The Reasons NOT to use anything else but apt-get or aptitude for a dist-upgrade

So I am afraid posting a new thread somewhere mentioning the use of aptitude will confuse those who do not like to read the manual to begin with...and there are quite a few of them as I see the previous forum posts. ;)

One thing though, a great up to date manual for aptitude is here,
http://aptitude.alioth.debian.org/doc/en/
I do like the new....(new for me) why and why not options in aptitude which apt-get does not have.
Again aptitude is a front end for apt-get
It does need apt installed to use.
apt-cache search, aptitude search and wajig use xapian for search so for someone to say one is better or faster is silly.
apt-cache finds way more stuff with apt-cache search foo than aptitude search foo because it searches for foo in title and in description as well as part of a bigger word. Aptitude just looks for a pakage named foo.....unless you do aptitude search ~dfoo. than its the same as apt-cache search in results.
~d must be used before the search term with no space. There are other regular expressions(think thats what its called) as well. Read the manual.

Ok maybe I should make a thread in experimental forums on aptitude but google search will do better or the manual I linked to above.

Thanks guys, keep up the great work....this thread is closed! :D
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: michaa7 on 2013/10/26, 16:30:32
Quote from: "Ironwalker"
...
@michaa7,
Are you guys talking/asking me or @buddlflink?


I missed the fact it was *not* you but buddlflink who "downloaded the package from debian.org and installed it via dpkg, since aptitude was broken at this moment". Sorry for the confusion it created.

Quote from: "Ironwalker"

...
Again aptitude is a front end for apt-get
It does need apt installed to use....

[nitpicking by michaa7]
aptitude is not a frontend to apt/apt-get, but it uses the same library "libapt-pkg4.12" apt is relying on. It therefore does not depend on apt to be installed. libapt-pkg4.12 has to be installed.
That's why I asked all my stupid questions which I now have learned do not concern you but buddlflink. thanks for clarifying this.
[/nitpicking]


Quote from: "Ironwalker"
Thanks guys, keep up the great work....this thread is closed! :D


Now for me too.
Title: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: Ironwalker on 2013/10/26, 16:38:14
Ahhh, ok i read thast part wrong on aptitude manual. Thought it said front end for apt...thank you and I am not confused anymore. :)
Title: Re: [solved] aptitude: undefined symbol: _ZNK7t....
Post by: piper on 2013/10/27, 15:08:04
Both apt-get and aptitude are front-ends for dpkg


debian.org (DebianPackageManagement)  (last edited 2013-04-14 21:17:54 by Lasall)

lists aptitude as both a Full-Screen Frontend and a Command-line Frontend



Under the new "The Debian Administrator's Handbook" (http://debian-handbook.info/ (http://debian-handbook.info/)) which can by looked at by pdf/browser or apt-get install debian-handbook
which was written by two debian developers — Raphaël Hertzog and Roland Mas

Under chapter 6.4. Frontends: aptitude, synaptic

APT is a C++ program whose code mainly resides in the libapt-pkg shared library. Using a shared library facilitates the creation of user interfaces (front-ends), since the code contained in the library can easily be reused. Historically, apt-get was only designed as a test front-end for libapt-pkg but its success tends to obscure this fact.

Under your link (manual for aptitude)

"aptitude provides such an interface by building on the apt package management"

key word is "building on the apt"

"apt is a common base on which to build these programs: in addition to aptitude, programs such as synaptic and apt-watch make use of apt."

" When working with a package manager based on apt, such as aptitude, you will typically perform three basic tasks: you will update the list of packages that are available by downloading new lists from the Debian servers, you will select which packages should be installed, upgraded, or removed, and finally, you will commit your selections by actually performing the installations, removals, etc."

http://www.debian.org/doc/manuals (http://www.debian.org/doc/manuals)

Chapter 8

8.1

It is important to understand that the higher level package management tools such as aptitude or dselect rely on apt which, itself, relies on dpkg to manage the packages in the system.

All the available tools rely on the lower level tools to properly work and are presented here in decreasing complexity level.

8.1.3

aptitude is a package manager for Debian GNU/Linux systems that provides a frontend to the apt package management infrastructure

Everything I have searched and every documentation I have read says that aptitude is indeed nothing more than a frontend to apt which is a frontend to dpkg

also wikipedia aptitude

http://en.wikipedia.org/wiki/Aptitude_%28software%29

First sentence

aptitude is a front-end to the Advanced Packaging Tool (APT).