LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-02-2014, 07:13 AM   #1
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
apt again, error with libgdbm3


I get this error when trying to apt upgrade:

Quote:
Preparing to unpack .../libgdbm3_1.8.3-12+b1_amd64.deb ...
Unpacking libgdbm3:amd64 (1.8.3-12+b1) over (1.8.3-12) ...
dpkg: error processing archive /var/cache/apt/archives/libgdbm3_1.8.3-12+b1_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libgdbm3/changelog.Debian.gz', which is different from other instances of package libgdbm3:amd64
Processing triggers for install-info (5.2.0.dfsg.1-4) ...
install-info: warning: no info dir entry in `/usr/share/info/gtkdialog.info.gz'
Errors were encountered while processing:
/var/cache/apt/archives/libgdbm3_1.8.3-12+b1_amd64.deb
I can't upgrade any other package either, because of it.

please help,
thanks.
 
Old 07-02-2014, 07:18 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Try
Quote:
apt-get clean
apt-get update
apt-get upgrade
apt-get install libgdm3
 
Old 07-03-2014, 12:37 AM   #3
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
I've just tried it, it exits with error:

Quote:
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libgdbm3 : Breaks: libgdbm3:i386 (!= 1.8.3-12) but 1.8.3-12+b1 is installed
libgdbm3:i386 : Breaks: libgdbm3 (!= 1.8.3-12+b1) but 1.8.3-12 is installed
E: Unmet dependencies. Try using -f.
and if I use the -f switch:

Quote:
E: Unable to locate package libgdm3
 
Old 07-03-2014, 12:51 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,897

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
I would try to download both packages (libgdbm3 and libgdbm3:i386, version 1.8.3-12+b1) and install with dpkg.
 
Old 07-03-2014, 01:30 AM   #5
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
I just noticed the typo, it should be libgdbm3.
anyway, after downloading, still error:

Quote:
dpkg -i libgdbm3_1.8.3-12+b1_amd64.deb
dpkg: warning: files list file for package 'lib32mpfr-dev:amd64' missing; assuming package has no files currently installed
(Reading database ... 371592 files and directories currently installed.)
Preparing to unpack libgdbm3_1.8.3-12+b1_amd64.deb ...
Unpacking libgdbm3:amd64 (1.8.3-12+b1) over (1.8.3-12) ...
dpkg: error processing archive libgdbm3_1.8.3-12+b1_amd64.deb (--install):
trying to overwrite shared '/usr/share/doc/libgdbm3/changelog.Debian.gz', which is different from other instances of package libgdbm3:amd64
Processing triggers for install-info (5.2.0.dfsg.1-4) ...
install-info: warning: no info dir entry in `/usr/share/info/gtkdialog.info.gz'
Errors were encountered while processing:
libgdbm3_1.8.3-12+b1_amd64.deb

root@debian:/home/user# dpkg -i libgdbm3_1.8.3-12+b1_i386.deb
dpkg: warning: files list file for package 'lib32mpfr-dev:amd64' missing; assuming package has no files currently installed
(Reading database ... 371592 files and directories currently installed.)
Preparing to unpack libgdbm3_1.8.3-12+b1_i386.deb ...
De-configuring libgdbm3:amd64 (1.8.3-12) ...
Unpacking libgdbm3:i386 (1.8.3-12+b1) over (1.8.3-12+b1) ...
dpkg: error processing package libgdbm3:i386 (--install):
package libgdbm3:i386 1.8.3-12+b1 cannot be configured because libgdbm3:amd64 is at a different version (1.8.3-12)
dpkg: error processing package libgdbm3:amd64 (--install):
package libgdbm3:amd64 1.8.3-12 cannot be configured because libgdbm3:i386 is at a different version (1.8.3-12+b1)
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for install-info (5.2.0.dfsg.1-4) ...
install-info: warning: no info dir entry in `/usr/share/info/gtkdialog.info.gz'
Errors were encountered while processing:
libgdbm3:i386
libgdbm3:amd64
 
Old 07-03-2014, 08:12 PM   #6
tlan
LQ Newbie
 
Registered: Aug 2003
Location: Chicago, IL USA
Distribution: Debian 8 Jessie *gnome /kde. Ubuntu mate
Posts: 18

Rep: Reputation: 2
Debian bug 753011 as well as other bug tracker #'s. I too have this issue, unable to update or dist-upgrade but i can install packages. it has something to do with enabling multiarch support.

I'm patiently waiting for a solution or fix.

https://bugs.debian.org/cgi-bin/bugr...cgi?bug=753011
 
Old 07-05-2014, 02:30 PM   #7
tlan
LQ Newbie
 
Registered: Aug 2003
Location: Chicago, IL USA
Distribution: Debian 8 Jessie *gnome /kde. Ubuntu mate
Posts: 18

Rep: Reputation: 2
Quote:
Originally Posted by tlan View Post
Debian bug 753011 as well as other bug tracker #'s. I too have this issue, unable to update or dist-upgrade but i can install packages. it has something to do with enabling multiarch support.

I'm patiently waiting for a solution or fix.

https://bugs.debian.org/cgi-bin/bugr...cgi?bug=753011

Ok i found a solution or the files were fixed to coexist.

delete this file
/usr/share/doc/libgdbm3/changelog.Debian.gz

now do

apt-get -f install

you can now do the updates
apt-get update && upgrade && dist-upgrade

Last edited by tlan; 07-05-2014 at 02:34 PM.
 
Old 07-10-2014, 09:40 PM   #8
sudowtf
Member
 
Registered: Nov 2013
Posts: 206

Rep: Reputation: 46
Thumbs up

Quote:
Originally Posted by tlan View Post
Ok i found a solution [...]
Thank you! It worked for me too.
 
  


Reply



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
[SOLVED] apt-get upgrade error - E: Sub-process /usr/bin/dpkg returned an error code (1) l_urch Debian 1 08-23-2012 06:24 PM
Installing from apt-get fails often, apt-get update gives error, etc What should ido? mitchell7man Ubuntu 3 02-27-2012 02:55 AM
apt error after upgrade and 'apt-get -f install' does not sort it out zimgir Ubuntu 1 01-12-2012 10:09 PM
apt-get error mrurmil Linux - Software 1 01-23-2005 07:32 PM
apt-get error installing xlibs 4.2.1-14, apt-get won't work at all now pib Debian 1 12-10-2003 11:39 PM

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

All times are GMT -5. The time now is 11:23 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
Open Source Consulting | Domain Registration