after remove cairo dock, upgrade error

New to Debian (Or Linux in general)? Ask your questions here!

after remove cairo dock, upgrade error

Postby Rifqi31 » 2015-04-14 00:43

Guys when I type sudo apt-get upgrade my terminal show this ?
Code: Select all
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libxrender-dev : Depends: libxrender1 (= 1:0.9.7-1+deb7u1+b1) but 1:0.9.7-1+deb7u1 is installed
 libxrender1 : Breaks: libxrender1:i386 (!= 1:0.9.7-1+deb7u1) but 1:0.9.7-1+deb7u1+b1 is installed
 libxrender1:i386 : Breaks: libxrender1 (!= 1:0.9.7-1+deb7u1+b1) but 1:0.9.7-1+deb7u1 is installed


and when I type apt-get -f install
Code: Select all
apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  cli-common gnote kate-data katepart kde-runtime kde-runtime-data kdelibs-bin kdelibs5-data kdelibs5-plugins kdevelop-data kdevplatform5-libs
  kdoctools libattica0 libclucene0ldbl libdbusmenu-qt2 libdlrestrictions1 libetpan15 libgdiplus libgnome-menu2 libido3-0.1-0 libiodbc2
  libkasten1controllers1 libkasten1core1 libkasten1gui1 libkasten1okteta1controllers1 libkasten1okteta1core1 libkasten1okteta1gui1
  libkatepartinterfaces4 libkcmutils4 libkde3support4 libkdeclarative5 libkdecore5 libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4 libkemoticons4
  libkfile4 libkhtml5 libkidletime4 libkio5 libkjsapi4 libkjsembed4 libkmediaplayer4 libknewstuff3-4 libknotifyconfig4 libkntlm4 libkparts4
  libkpty4 libkrosscore4 libktexteditor4 libnepomuk4 libnepomukquery4a libnepomukutils4 libntrack-qt4-1 libntrack0 libokteta1core1 libokteta1gui1
  libplasma3 libpolkit-qt-1-1 libprocesscore4abi1 libprocessui4a libqca2 libqjson0 libsolid4 libsoprano4 libstreamanalyzer0 libstreams0 libsublime5
  libthreadweaver4 libvirtodbc0 libzeitgeist-1.0-1 ntrack-module-libnl-0 odbcinst odbcinst1debian2 oxygen-icon-theme plasma-scriptengine-javascript
  shared-desktop-ontologies soprano-daemon virtuoso-minimal virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libxrender1
The following packages will be upgraded:
  libxrender1
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0 B/32.8 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Reading changelogs... Done
(Reading database ... 380155 files and directories currently installed.)
Preparing to replace libxrender1:amd64 1:0.9.7-1+deb7u1 (using .../libxrender1_1%3a0.9.7-1+deb7u1+b1_amd64.deb) ...
Unpacking replacement libxrender1:amd64 ...
dpkg: error processing /var/cache/apt/archives/libxrender1_1%3a0.9.7-1+deb7u1+b1_amd64.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libxrender1/changelog.Debian.gz', which is different from other instances of package libxrender1:amd64
Errors were encountered while processing:
 /var/cache/apt/archives/libxrender1_1%3a0.9.7-1+deb7u1+b1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Rifqi31
 
Posts: 4
Joined: 2015-04-14 00:37

Re: after remove cairo dock, upgrade error

Postby stevepusser » 2015-04-14 00:58

I'm seeing exactly the same thing, so I believe a bad package made it into the updates.

Say it ain't so, Debian!

Here's the command to force-overwrite your downloaded debs, that will at least allow us to run "apt-get -f install" and unbreak apt.

Code: Select all
su -c 'dpkg -i --force-overwrite /var/cache/apt/archives/libxrender1_1%3a0.9.7-1+deb7u1+b1_amd64.deb /var/cache/apt/archives/libxrender-dev_1%3a0.9.7-1+deb7u1+b1_amd64.deb'
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12188
Joined: 2009-10-06 05:53

Re: after remove cairo dock, upgrade error

Postby dasein » 2015-04-14 01:28

stevepusser wrote:I'm seeing exactly the same thing, so I believe a bad package made it into the updates.

Seems so. This is not the only thread regarding recent breakage.

(And this is why I always wait a day or two before applying updates.)
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: after remove cairo dock, upgrade error

Postby stevepusser » 2015-04-14 02:47

The i386 package upgraded without any problems, so maybe it's a corrupt 64-bit package in the repo.

Edited to change "with" to "without".
Last edited by stevepusser on 2015-04-14 04:41, edited 1 time in total.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12188
Joined: 2009-10-06 05:53

Re: after remove cairo dock, upgrade error

Postby stevepusser » 2015-04-14 03:33

The 64-bit Debian changelog has this as the last entry:
libxrender (1:0.9.7-1+deb7u1+b1) wheezy-security; urgency=low, binary-only=yes

* Binary-only non-maintainer upload for amd64; no source changes.
* Rebuild against fixed libx11 for DSA 3224

-- amd64 / i386 Build Daemon (brahms) <buildd_amd64-brahms@buildd.debian.org> Tue, 14 May 2013 19:28:26 +0200


The date seems way off for something that just appeared as an update.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12188
Joined: 2009-10-06 05:53

Re: after remove cairo dock, upgrade error

Postby GarryRicketson » 2015-04-14 03:41

stevepusser wrote:The i386 package upgraded with any problems, so maybe it's a corrupt 64-bit package in the repo.

upgraded with any problems,
Did you make a typo ? IE: "without any problems" or "with many problems",...not trying to be a "smart aleck", but just wondering, ...
From what posts I am seeing my guess is you meant "many problems", and also I think for the time being I am going avoid doing any kind of up-grades, or updates.
User avatar
GarryRicketson
 
Posts: 5872
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: after remove cairo dock, upgrade error

Postby Rifqi31 » 2015-04-14 04:32

thank you for stevepusser for the code and my terminal output upgrade :

Code: Select all
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  set
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 44.1 MB of archives.
After this operation, 535 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://http.kali.org/kali/ kali/main set all 6.3.0-0kali1 [44.1 MB]
Fetched 44.1 MB in 4min 38s (158 kB/s)                                                                                                             
Reading changelogs... Done
(Reading database ... 380155 files and directories currently installed.)
Preparing to replace set 6.2.0+git20150310-0kali0 (using .../set_6.3.0-0kali1_all.deb) ...
Unpacking replacement set ...
Setting up libxrender1:i386 (1:0.9.7-1+deb7u1+b1) ...
Setting up libx11-doc (2:1.5.0-1+deb7u2) ...
Setting up libx11-dev:amd64 (2:1.5.0-1+deb7u2) ...
Setting up libxrender-dev:amd64 (1:0.9.7-1+deb7u1+b1) ...
Setting up set (6.3.0-0kali1) ...


:mrgreen:
Rifqi31
 
Posts: 4
Joined: 2015-04-14 00:37

Re: after remove cairo dock, upgrade error

Postby stevepusser » 2015-04-14 04:40

GarryRicketson wrote:
stevepusser wrote:The i386 package upgraded with any problems, so maybe it's a corrupt 64-bit package in the repo.

upgraded with any problems,
Did you make a typo ? IE: "without any problems" or "with many problems",...not trying to be a "smart aleck", but just wondering, ...
From what posts I am seeing my guess is you meant "many problems", and also I think for the time being I am going avoid doing any kind of up-grades, or updates.


It's late for me, so I meant "without any problems". I become unkeyboardinated when tired. I'll edit the incorrect post. The takeaway is it seems to be only the 64-bit package that's messed up.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12188
Joined: 2009-10-06 05:53

Re: after remove cairo dock, upgrade error

Postby GarryRicketson » 2015-04-14 05:44

I become unkeyboardinated when tired. I'll edit the incorrect post.

Thanks, me too, on the "unkeyboardinated " when I am tired. and it is compounded because my eyes are so bad, often I don't see the "errors",..
The takeaway is it seems to be only the 64-bit package that's messed up.

Ok, thanks for clarifying that, I am using the 32bit or i386, so guess I don't need to worry about it .
User avatar
GarryRicketson
 
Posts: 5872
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: after remove cairo dock, upgrade error

Postby stevepusser » 2015-04-14 18:05

The bug report is that the i386 and amd64 packages are supposed to share identical changelogs, but they are not, so that's what leads to the error.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12188
Joined: 2009-10-06 05:53


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable