Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Error with `apt`

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
person
Posts: 2
Joined: 2018-11-12 04:30

Error with `apt`

#1 Post by person »

I'm not sure what's going on. I've looked everywhere, but can't find answers. I just started using linux today. Help would be greatly apprecieated.

Code: Select all

sha-pc@debian:~$ sudo apt-get install lmms
apt-get: relocation error: /usr/lib/i386-linux-gnu/libapt-private.so.0.0: symbol _ZN3URIcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev 
/version APTPKG_5.0 not defined in file libapt-pkg.so.5.0 with link time reference

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Error with `apt`

#2 Post by bw123 »

That's great news. I hope you have fun with it. Since you are new, be sure and used debian stretch. Buster is a little ways off yet, and sid is just plain crazy all the time.

https://bugs.debian.org/cgi-bin/bugrepo ... bug=911090

Code: Select all

 apt policy libapt-pkg5.0
libapt-pkg5.0:
  Installed: 1.4.8
  Candidate: 1.4.8
  Version table:
 *** 1.4.8 500
        500 http://http.us.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
resigned by AI ChatGPT

person
Posts: 2
Joined: 2018-11-12 04:30

Re: Error with `apt`

#3 Post by person »

bw123 wrote:That's great news. I hope you have fun with it. Since you are new, be sure and used debian stretch. Buster is a little ways off yet, and sid is just plain crazy all the time.

https://bugs.debian.org/cgi-bin/bugrepo ... bug=911090

Code: Select all

 apt policy libapt-pkg5.0
libapt-pkg5.0:
  Installed: 1.4.8
  Candidate: 1.4.8
  Version table:
 *** 1.4.8 500
        500 http://http.us.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
Please explain what you mean.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Error with `apt`

#4 Post by bw123 »

According to the bug, you are probably using a development version that is not suitable for new linux users. Don't use testing/unstable repositories. If this is happening on debian stretch with libapt_pkg5.0 ver 1.4.8 then I can't reproduce it.

Let people know what you installed, what image did you download? Welcome to linux, it's different.
resigned by AI ChatGPT

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Error with `apt`

#5 Post by debiman »

person wrote:Please explain what you mean.
post the output of the same command bw123 used:

Code: Select all

apt policy libapt-pkg5.0

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Error with `apt`

#6 Post by stevepusser »

Based on some other threads here and on Reddit, did you have a friend that added the testing repos to Stretch for you to "just get a couple newer packages"?

You now have a FrankenDebian if that was the case.
MX Linux packager and developer

Post Reply