Fresh install of aptitude is broken - missing dependency?

Bug #1851925 reported by NeilGreenwood
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aptitude (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

$ sudo apt install aptitude
Reading package lists... Done
Building dependency tree
Reading state information... Done
aptitude is already the newest version (0.8.10-6ubuntu1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
$ aptitude
aptitude: error while loading shared libraries: libsigc-2.0.so.0: cannot open shared object file: No such file or directory
$

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: aptitude 0.8.10-6ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-32.34~18.04.2-generic 5.0.21
Uname: Linux 5.0.0-32-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Nov 9 11:06:09 2019
EcryptfsInUse: Yes
SourcePackage: aptitude
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
NeilGreenwood (neil-greenwood) wrote :
Revision history for this message
NeilGreenwood (neil-greenwood) wrote :

sudo apt install --reinstall libsigc++-2.0-0v5

this fixed it. Not a problem with aptitude. It seems I have a couple of problems with installed library packages after a fresh install.

Changed in aptitude (Ubuntu):
status: New → Invalid
Revision history for this message
Axel Beckert (xtaran) wrote :

I'm sorry, but I can't reproduce this issue in a clean 18.04 chroot:

aptitude is installed at version 0.8.10-6ubuntu1, too, and has a dependency on libsigc++-2.0-0v5 (version 2.10.0-2 installed as in your case) which contains /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0.

And aptitude works for me.

Can you run "dpkg -C libsigc++-2.0-0v5" to check if all files of that package are there and undamaged?

Changed in aptitude (Ubuntu):
status: Invalid → Incomplete
Axel Beckert (xtaran)
Changed in aptitude (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
NeilGreenwood (neil-greenwood) wrote :

That was indeed the problem, which is why i marked this bug as invalid.

libsigc++-2.0-0v5 was damaged, along with some other library packages.

Revision history for this message
Axel Beckert (xtaran) wrote : Re: [Bug 1851925] Re: Fresh install of aptitude is broken - missing dependency?

Hi,

NeilGreenwood wrote:
> That was indeed the problem, which is why i marked this bug as invalid.

Yeah, sorry, your second mail and my question crossed each other. I
only read your second mail after I'd sent my mail.

That's also why I corrected the state afterwards.

  Regards, Axel
--
 ,''`. | Axel Beckert <email address hidden>, https://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
  `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.