Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: cas on 2015/10/07, 12:39:26

Title: du failed
Post by: cas on 2015/10/07, 12:39:26
as far as I remember, I did not DU after the critical date. Just installed / updated some programs manually via "apt-get install".

I wanted to DU now.

it looked good
 http://paste.siduction.org/20151007103552

but it failed
http://paste.siduction.org/20151007103448

What can I do?

C
Title: Re: du failed
Post by: devil on 2015/10/07, 14:09:01
Kdenext or not. Does apt-get -f install do something?


greetz
devil

Title: Re: du failed
Post by: cas on 2015/10/07, 14:30:06
kdenext is included.

apt-get install -f or apt-get dist-upgrade -f both say:

"E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages
E: Unable to correct dependencies"

There are no held packages.

C
Title: Re: du failed
Post by: Geier0815 on 2015/10/07, 18:44:27
Did you set preferences in /etc/apt/preferences.d? And "dpkg --get-selections | grep hold" returns nothing?
Title: Re: du failed
Post by: cas on 2015/10/07, 19:33:46
Did you set preferences in /etc/apt/preferences.d?
There are two files: 10siduction from Dec 2013 and 999-finalize from Mar 2012.
I didn't change them.

No held packages via dpkg or apt-mark showhold

C
Title: Re: du failed
Post by: devil on 2015/10/08, 09:07:53
You could try a
Code: [Select]
dpkg --configure -a followed by
Code: [Select]
apt-get -f install

greetz
devil
Title: Re: du failed
Post by: cas on 2015/10/08, 10:04:13
You could try a
Code: [Select]
dpkg --configure -a
doesn't work either
http://paste.siduction.org/20151008074610

Because it said "dpkg: too many errors", I tried to configure single packages, but this leads to a dead end.
Code: [Select]
root@dino:~# LANG=C dpkg --configure libkjsapi4
dpkg: dependency problems prevent configuration of libkjsapi4:
 libkjsapi4 depends on libkdecore5 (= 4:4.14.12-siduction1.3.1); however:
  Version of libkdecore5 on system is 4:4.14.3-siduction1.

dpkg: error processing package libkjsapi4 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libkjsapi4
root@dino:~#
root@dino:~#
root@dino:~# LANG=C dpkg --configure libkdecore5
dpkg: error processing package libkdecore5 (--configure):
 package libkdecore5 is already installed and configured
Errors were encountered while processing:
 libkdecore5
Title: Re: du failed
Post by: Geier0815 on 2015/10/08, 11:24:29
Quote
Nur-Herunterladen-Modus aktiv
How did you start the dist-upgrade?
Title: Re: du failed
Post by: cas on 2015/10/08, 11:43:43
first I only downloaded and checked what would be removed, etc.

it looked good
 http://paste.siduction.org/20151007103552
then I did the actual DU  (without -dy option)
Quote
but it failed
http://paste.siduction.org/20151007103448
C
Title: Re: du failed
Post by: hendrikL on 2015/10/08, 12:59:26
Quote
root@dino:~# LANG=C dpkg --configure libkjsapi4
dpkg: dependency problems prevent configuration of libkjsapi4:
 libkjsapi4 depends on libkdecore5 (= 4:4.14.12-siduction1.3.1); however:
  Version of libkdecore5 on system is 4:4.14.3-siduction1.

dpkg: error processing package libkjsapi4 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libkjsapi4
root@dino:~#
root@dino:~#
root@dino:~# LANG=C dpkg --configure libkdecore5
dpkg: error processing package libkdecore5 (--configure):
 package libkdecore5 is already installed and configured
Errors were encountered while processing:
 libkdecore5

mh, okay,
Code: [Select]
libkjsapi4 depends on libkdecore5 (= 4:4.14.12-siduction1.3.1); however:
  Version of libkdecore5 on system is 4:4.14.3-siduction1.

tells me, that you need another "libkdecore5".

So what happens when you try to install "libkdecore5" first?

You can test it with:
Code: [Select]
apt-get install -s libkdecore5
Code: [Select]
LANG=C apt-cache policy   libkjsapi4
libkjsapi4:
  Installed: 4:4.14.12-siduction1.3.1
  Candidate: 4:4.14.12-siduction1.3.1
  Version table:
 *** 4:4.14.12-siduction1.3.1 500
        500 http://packages.siduction.org/kdenext kde-frameworks/main amd64 Packages
        500 http://packages.siduction.org/kdenext unstable/main amd64 Packages
        100 /var/lib/dpkg/status
     4:4.14.12-2 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages

LANG=C apt-cache policy libkdecore5
libkdecore5:
  Installed: 4:4.14.12-siduction1.3.1
  Candidate: 4:4.14.12-siduction1.3.1
  Version table:
 *** 4:4.14.12-siduction1.3.1 500
        500 http://packages.siduction.org/kdenext kde-frameworks/main amd64 Packages
        500 http://packages.siduction.org/kdenext unstable/main amd64 Packages
        100 /var/lib/dpkg/status
     4:4.14.12-2 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages

greetz

edit:
PS. please post the output of
Code: [Select]
apt-cache policy libstdc++6

Code: [Select]
LANG=C apt-cache policy libstdc++6
libstdc++6:
  Installed: 5.2.1-21
  Candidate: 5.2.1-21
  Version table:
 *** 5.2.1-21 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status


Title: Re: du failed
Post by: Santa on 2015/10/08, 13:37:47
Hi cas,


the next time please pay attention and check if the dist-upgrades end successfully or not, and if not, save the output of the dist-upgrade. This way it isn't possible to know exactly what went wrong, and makes this more difficult. if not impossible, to fix.

You could try a
Code: [Select]
dpkg --configure -a
doesn't work either
http://paste.siduction.org/20151008074610 (http://paste.siduction.org/20151008074610)

Because it said "dpkg: too many errors", I tried to configure single packages, but this leads to a dead end.
Code: [Select]
root@dino:~# LANG=C dpkg --configure libkjsapi4
dpkg: dependency problems prevent configuration of libkjsapi4:
 libkjsapi4 depends on libkdecore5 (= 4:4.14.12-siduction1.3.1); however:
  Version of libkdecore5 on system is 4:4.14.3-siduction1.

dpkg: error processing package libkjsapi4 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libkjsapi4
root@dino:~#
root@dino:~#
root@dino:~# LANG=C dpkg --configure libkdecore5
dpkg: error processing package libkdecore5 (--configure):
 package libkdecore5 is already installed and configured
Errors were encountered while processing:
 libkdecore5


What happens if you try "dpkg --configure libstdc++6" and "dpkg --configure libkdecore5"?



P.S. Replies to Hendrik's questions are also interesting.
Title: Re: du failed
Post by: cas on 2015/10/08, 14:39:04
Code: [Select]
root@dino:~# apt-cache policy  libstdc++6 libkdecore5

libstdc++6:
  Installiert:           5.1.1-14
  Installationskandidat: 5.2.1-21
  Versionstabelle:
     5.2.1-21 0
        500 http://http.debian.net/debian/ unstable/main amd64 Packages
 *** 5.1.1-14 0
        100 /var/lib/dpkg/status


libkdecore5:
  Installiert:           4:4.14.3-siduction1
  Installationskandidat: 4:4.14.12-siduction1.3.1
  Versionstabelle:
     4:4.14.12-siduction1.3.1 0
        500 http://ftp.spline.de/pub/siduction/kdenext/ unstable/main amd64 Packages
     4:4.14.12-2 0
        500 http://http.debian.net/debian/ unstable/main amd64 Packages
 *** 4:4.14.3-siduction1 0
        100 /var/lib/dpkg/status

Code: [Select]
root@dino:~# LANG=C dpkg --configure libstdc++6
dpkg: error processing package libstdc++6:amd64 (--configure):
 package libstdc++6:amd64 is already installed and configured
Errors were encountered while processing:
 libstdc++6:amd64
"dpkg --configure libkdecore5" gives the same result as I already posted.



Code: [Select]
root@dino:~# LANG=C siduction-paste apt-get install -s libstdc++6
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Find your paste here: http://paste.siduction.org/20151008122242
http://paste.siduction.org/20151008122242


Code: [Select]
root@dino:~# LANG=C siduction-paste apt-get install -s libkdecore5
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Find your paste here: http://paste.siduction.org/20151008122447 - Thank you for using siduction-paste!
http://paste.siduction.org/20151008122447
Title: Re: du failed
Post by: Santa on 2015/10/08, 14:49:47
Can you remove libkdecore5 via "apt-get remove libkdecore5" ?
Title: Re: du failed
Post by: cas on 2015/10/08, 15:52:47
no, I can't

LANG=C apt-get remove libkdecore5
http://paste.siduction.org/20151008134145
Title: Re: du failed
Post by: Santa on 2015/10/08, 17:08:42
Can you try "dpkg --configure -a --force-all"?
Title: Re: du failed
Post by: gnasch on 2015/10/12, 12:02:41
Has this been solved? I seem to be in the same case.
Is there anything to try or do we have to wait?

Best, gnasch
Title: Re: du failed
Post by: devil on 2015/10/12, 13:01:17
"This" is different for everyone. So please provide at least, what
Code: [Select]
apt-get distupgrade -s wants to do.


greetz
devil
Title: Re: du failed
Post by: gnasch on 2015/10/12, 13:57:39
my system is with kdenext, and my last update before this failure was before the GCC5 Transition thread stop.

my output is here:

http://paste.siduction.org/20151012115326

Thanks!

gnasch
Title: Re: du failed
Post by: gnasch on 2015/10/12, 14:33:37
I have a /var/apt/history.log as well as a term.log file from the failes DU.

Thx, gnasch
Title: Re: du failed
Post by: devil on 2015/10/12, 20:54:15
These are 6 days old. Try again.


greetz
devil
Title: Re: du failed
Post by: gnasch on 2015/10/12, 23:03:05
I would not have called you on 6 days old data.
Just suspected it might be important.
 My first paste is from today,

this one:

http://paste.siduction.org/20151012205926 (http://paste.siduction.org/20151012205926)

is from just now.

Thanks, gnasch
Title: Re: du failed
Post by: devil on 2015/10/12, 23:49:29
Try to lift libstdc++6 to version 5.2 and see if apt and dpkg have updates. Then try again and post here.


greetz
devil

Title: Re: du failed
Post by: gnasch on 2015/10/13, 09:27:56
I tried:

siduction-paste apt-get install --only-upgrade libstdc++6

http://paste.siduction.org/20151013072307 (http://paste.siduction.org/20151013072307)

It seems apt is somehow locked in the previous update - could you please specify the commands to proceed?

Thanks, gnasch
Title: Re: du failed
Post by: devil on 2015/10/13, 10:53:17
You can try
Code: [Select]
apt-get -f install followed by
Code: [Select]
apt-get install apt dpkg libstdc++6. The best solution for you would be to join us in #siduction on IRC, so we can tackle this in real time. Best times would be from 08:00 to 24:00 UTC+2


greetz
devil