Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #231636 > unrolled thread

dist-upgrade from buster fails badly

Started by"thahn01@t-online.de" <thahn01@t-online.de>
First post2021-02-12 12:10 +0100
Last post2021-02-12 14:00 +0100
Articles 11 — 8 participants

Back to article view | Back to linux.debian.user


Contents

  dist-upgrade from buster fails badly "thahn01@t-online.de" <thahn01@t-online.de> - 2021-02-12 12:10 +0100
    Re: dist-upgrade from buster fails badly Dan Ritter <dsr@randomstring.org> - 2021-02-12 12:40 +0100
      AW: dist-upgrade from buster fails badly "thahn01@t-online.de" <thahn01@t-online.de> - 2021-02-12 13:40 +0100
        Re: AW: dist-upgrade from buster fails badly pioruns2019 <pioruns2019@gmx.com> - 2021-02-12 14:00 +0100
          Re: dist-upgrade from buster fails badly Nicolas George <george@nsup.org> - 2021-02-12 14:10 +0100
          Re: dist-upgrade from buster fails badly Greg Wooledge <wooledg@eeg.ccf.org> - 2021-02-12 14:10 +0100
            Re: dist-upgrade from buster fails badly pioruns2019 <pioruns2019@gmx.com> - 2021-02-12 14:40 +0100
            Re: dist-upgrade from buster fails badly Brian <ad44@cityscape.co.uk> - 2021-02-12 15:10 +0100
        Re: AW: dist-upgrade from buster fails badly pioruns2020 <pioruns2020@gmx.com> - 2021-02-12 14:10 +0100
    Re: dist-upgrade from buster fails badly The Wanderer <wanderer@fastmail.fm> - 2021-02-12 14:00 +0100
    Re: dist-upgrade from buster fails badly Greg Wooledge <wooledg@eeg.ccf.org> - 2021-02-12 14:00 +0100

#231636 — dist-upgrade from buster fails badly

From"thahn01@t-online.de" <thahn01@t-online.de>
Date2021-02-12 12:10 +0100
Subjectdist-upgrade from buster fails badly
Message-ID<BHEuL-7Kw-25@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hello,
I have installed 10.7 and then
apt upgrade
without any problems.
However the following
apt dist-upgrade
failed badly and cannot be repaired with
apt --fix-broken install
 
Correcting dependencies... failed.
The following packages have unmet dependencies:
ffmpeg : Depends: libavcodec58 (= 7:4.1.6-1~deb10u1)
Depends: libavformat58 (= 7:4.1.6-1~deb10u1) but 7:4.3.1-8 is installed
Depends: libavutil56 (= 7:4.1.6-1~deb10u1) but 7:4.3.1-8 is installed
Depends: libswresample3 (= 7:4.1.6-1~deb10u1) but 7:4.3.1-8 is installed
gimp : Depends: libc6 (>= 2.29) but 2.28-10 is installed
libaa1 : Depends: libc6 (>= 2.29) but 2.28-10 is installed
...
 
Any advice?
Tnx Thomas


[toc] | [next] | [standalone]


#231638

FromDan Ritter <dsr@randomstring.org>
Date2021-02-12 12:40 +0100
Message-ID<BHEXL-7Xq-5@gated-at.bofh.it>
In reply to#231636
thahn01@t-online.de wrote: 
> Hello,
> I have installed 10.7 and then
> apt upgrade
> without any problems.
> However the following
> apt dist-upgrade
> failed badly and cannot be repaired with
> apt --fix-broken install
>  
> Correcting dependencies... failed.
> The following packages have unmet dependencies:
> ffmpeg : Depends: libavcodec58 (= 7:4.1.6-1~deb10u1)
> Depends: libavformat58 (= 7:4.1.6-1~deb10u1) but 7:4.3.1-8 is installed
> Depends: libavutil56 (= 7:4.1.6-1~deb10u1) but 7:4.3.1-8 is installed
> Depends: libswresample3 (= 7:4.1.6-1~deb10u1) but 7:4.3.1-8 is installed
> gimp : Depends: libc6 (>= 2.29) but 2.28-10 is installed
> libaa1 : Depends: libc6 (>= 2.29) but 2.28-10 is installed
> ...
>  
> Any advice?

Show us the contents of

/etc/apt/sources.list
/etc/apt/sources.list.d/*

-dsr-

[toc] | [prev] | [next] | [standalone]


#231640 — AW: dist-upgrade from buster fails badly

From"thahn01@t-online.de" <thahn01@t-online.de>
Date2021-02-12 13:40 +0100
SubjectAW: dist-upgrade from buster fails badly
Message-ID<BHFTQ-8vO-9@gated-at.bofh.it>
In reply to#231638
# deb cdrom:[Debian GNU/Linux 10.7.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20201205-11:17]/ buster contrib main non-free

#deb cdrom:[Debian GNU/Linux 10.7.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20201205-11:17]/ buster contrib main non-free

deb http://ftp2.de.debian.org/debian/ sid main non-free contrib
deb-src http://ftp2.de.debian.org/debian/ sid main non-free contrib

deb http://security.debian.org/debian-security sid/updates main contrib non-free
deb-src http://security.debian.org/debian-security sid/updates main contrib non-free

# buster-updates, previously known as 'volatile'
deb http://ftp2.de.debian.org/debian/ buster-updates main contrib non-free
deb-src http://ftp2.de.debian.org/debian/ buster-updates main contrib non-free


list.d director is empty.
The orgiinal sources.list has been edited (and with some errors, as debian-security for sid probably doesn't exist.



-----Original-Nachricht-----
Betreff: Re: dist-upgrade from buster fails badly
Datum: 2021-02-12T12:33:40+0100
Von: "Dan Ritter" <dsr@randomstring.org>
An: "thahn01@t-online.de" <thahn01@t-online.de>

thahn01@t-online.de wrote: 
> Hello,
> I have installed 10.7 and then
> apt upgrade
> without any problems.
> However the following
> apt dist-upgrade
> failed badly and cannot be repaired with
> apt --fix-broken install
>  
> Correcting dependencies... failed.
> The following packages have unmet dependencies:
> ffmpeg : Depends: libavcodec58 (= 7:4.1.6-1~deb10u1)
> Depends: libavformat58 (= 7:4.1.6-1~deb10u1) but 7:4.3.1-8 is installed
> Depends: libavutil56 (= 7:4.1.6-1~deb10u1) but 7:4.3.1-8 is installed
> Depends: libswresample3 (= 7:4.1.6-1~deb10u1) but 7:4.3.1-8 is installed
> gimp : Depends: libc6 (>= 2.29) but 2.28-10 is installed
> libaa1 : Depends: libc6 (>= 2.29) but 2.28-10 is installed
> ...
>  
> Any advice?

Show us the contents of

/etc/apt/sources.list
/etc/apt/sources.list.d/*

-dsr-



[toc] | [prev] | [next] | [standalone]


#231643 — Re: AW: dist-upgrade from buster fails badly

Frompioruns2019 <pioruns2019@gmx.com>
Date2021-02-12 14:00 +0100
SubjectRe: AW: dist-upgrade from buster fails badly
Message-ID<BHGdc-aH-5@gated-at.bofh.it>
In reply to#231640
On 12/02/2021 12:22, thahn01@t-online.de wrote:
> # deb cdrom:[Debian GNU/Linux 10.7.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20201205-11:17]/ buster contrib main non-free
>
> #deb cdrom:[Debian GNU/Linux 10.7.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20201205-11:17]/ buster contrib main non-free
>
> deb http://ftp2.de.debian.org/debian/ sid main non-free contrib
> deb-src http://ftp2.de.debian.org/debian/ sid main non-free contrib
>
> deb http://security.debian.org/debian-security sid/updates main contrib non-free
> deb-src http://security.debian.org/debian-security sid/updates main contrib non-free
>
> # buster-updates, previously known as 'volatile'
> deb http://ftp2.de.debian.org/debian/ buster-updates main contrib non-free
> deb-src http://ftp2.de.debian.org/debian/ buster-updates main contrib non-free
>
>
> list.d director is empty.
> The orgiinal sources.list has been edited (and with some errors, as debian-security for sid probably doesn't exist.

Why You want to upgrade from buster to sid? You have enabled both sid
and buster-updates repositories. This won't work, unless you know what
you're doing.
I suggest to install sid from the scratch, if you want to have sid. If
you don't want to have sid, revert back to buster.
Also, sid doesn't have debian-security updates, this entry is invalid.

[toc] | [prev] | [next] | [standalone]


#231645

FromNicolas George <george@nsup.org>
Date2021-02-12 14:10 +0100
Message-ID<BHGmR-tk-3@gated-at.bofh.it>
In reply to#231643

[Multipart message — attachments visible in raw view] — view raw

Greg Wooledge (12021-02-12):
>				      If one wants to run unstable, one
> installs the current stable release, and then upgrades to sid.

That's never how I do it. And I have no problem with my method.

> The probem here is that the OP attempted to mix stable and unstable,
> cherry-picking packages from unstable.  This WILL NOT WORK.  Ever.

I have done it a few times, and it worked more often than not. Consider
your universal statement disproved.

Regards,

-- 
  Nicolas George

[toc] | [prev] | [next] | [standalone]


#231646

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2021-02-12 14:10 +0100
Message-ID<BHGmR-tk-5@gated-at.bofh.it>
In reply to#231643
On Fri, Feb 12, 2021 at 12:56:00PM +0000, pioruns2019 wrote:
> Why You want to upgrade from buster to sid? You have enabled both sid
> and buster-updates repositories. This won't work, unless you know what
> you're doing.
> I suggest to install sid from the scratch, if you want to have sid. If
> you don't want to have sid, revert back to buster.
> Also, sid doesn't have debian-security updates, this entry is invalid.

Most of this is correct, except for the part about installing sid
from scratch.  That's not a thing.  If one wants to run unstable, one
installs the current stable release, and then upgrades to sid.

The probem here is that the OP attempted to mix stable and unstable,
cherry-picking packages from unstable.  This WILL NOT WORK.  Ever.

If you want to cherry-pick higher-numbered packages from post-stable
on a stable system, use backports.  Never install a binary package
from a future release.

[toc] | [prev] | [next] | [standalone]


#231649

Frompioruns2019 <pioruns2019@gmx.com>
Date2021-02-12 14:40 +0100
Message-ID<BHGPT-Cy-1@gated-at.bofh.it>
In reply to#231646
On 12/02/2021 13:02, Greg Wooledge wrote:
> On Fri, Feb 12, 2021 at 12:56:00PM +0000, pioruns2019 wrote:
>> Why You want to upgrade from buster to sid? You have enabled both sid
>> and buster-updates repositories. This won't work, unless you know what
>> you're doing.
>> I suggest to install sid from the scratch, if you want to have sid. If
>> you don't want to have sid, revert back to buster.
>> Also, sid doesn't have debian-security updates, this entry is invalid.
>
> Most of this is correct, except for the part about installing sid
> from scratch.  That's not a thing.  If one wants to run unstable, one
> installs the current stable release, and then upgrades to sid.

That's what OP tried and failed already.
>
> The probem here is that the OP attempted to mix stable and unstable,
> cherry-picking packages from unstable.  This WILL NOT WORK.  Ever.

Of course , agreed.

> If you want to cherry-pick higher-numbered packages from post-stable
> on a stable system, use backports.  Never install a binary package
> from a future release.


That's what I do - running Stable + backports on my server. Rock solid.

[toc] | [prev] | [next] | [standalone]


#231651

FromBrian <ad44@cityscape.co.uk>
Date2021-02-12 15:10 +0100
Message-ID<BHHiV-14p-7@gated-at.bofh.it>
In reply to#231646
On Fri 12 Feb 2021 at 08:02:02 -0500, Greg Wooledge wrote:

> On Fri, Feb 12, 2021 at 12:56:00PM +0000, pioruns2019 wrote:
> > Why You want to upgrade from buster to sid? You have enabled both sid
> > and buster-updates repositories. This won't work, unless you know what
> > you're doing.
> > I suggest to install sid from the scratch, if you want to have sid. If
> > you don't want to have sid, revert back to buster.
> > Also, sid doesn't have debian-security updates, this entry is invalid.
> 
> Most of this is correct, except for the part about installing sid
> from scratch.  That's not a thing.  If one wants to run unstable, one
> installs the current stable release, and then upgrades to sid.

That's probably the most common way to get sid and what I would
recommend. However, sid may be installed directly from the archives
using the mini.iso.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#231647 — Re: AW: dist-upgrade from buster fails badly

Frompioruns2020 <pioruns2020@gmx.com>
Date2021-02-12 14:10 +0100
SubjectRe: AW: dist-upgrade from buster fails badly
Message-ID<BHGmS-tk-11@gated-at.bofh.it>
In reply to#231640
On 12/02/2021 12:22, thahn01@t-online.de wrote:
> # deb cdrom:[Debian GNU/Linux 10.7.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20201205-11:17]/ buster contrib main non-free
>
> #deb cdrom:[Debian GNU/Linux 10.7.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20201205-11:17]/ buster contrib main non-free
>
> deb http://ftp2.de.debian.org/debian/ sid main non-free contrib
> deb-src http://ftp2.de.debian.org/debian/ sid main non-free contrib
>
> deb http://security.debian.org/debian-security sid/updates main contrib non-free
> deb-src http://security.debian.org/debian-security sid/updates main contrib non-free
>
> # buster-updates, previously known as 'volatile'
> deb http://ftp2.de.debian.org/debian/ buster-updates main contrib non-free
> deb-src http://ftp2.de.debian.org/debian/ buster-updates main contrib non-free
>
>
> list.d director is empty.
> The orgiinal sources.list has been edited (and with some errors, as debian-security for sid probably doesn't exist.

Why You want to upgrade from buster to sid? You have enabled both sid
and buster-updates repositories. This won't work, unless you know what
you're doing.
I suggest to install sid from the scratch, if you want to have sid. If
you don't want to have sid, revert back to buster.
Also, sid doesn't have debian-security updates, this entry is invalid.

--
Kind regards,
pioruns2020

[toc] | [prev] | [next] | [standalone]


#231641

FromThe Wanderer <wanderer@fastmail.fm>
Date2021-02-12 14:00 +0100
Message-ID<BHGdc-aH-3@gated-at.bofh.it>
In reply to#231636

[Multipart message — attachments visible in raw view] — view raw

On 2021-02-12 at 06:02, thahn01@t-online.de wrote:

> Hello,
> I have installed 10.7 and then
> apt upgrade
> without any problems.
> However the following
> apt dist-upgrade
> failed badly and cannot be repaired with
> apt --fix-broken install
>  
> Correcting dependencies... failed.
> The following packages have unmet dependencies:
> ffmpeg : Depends: libavcodec58 (= 7:4.1.6-1~deb10u1)
> Depends: libavformat58 (= 7:4.1.6-1~deb10u1) but 7:4.3.1-8 is installed
> Depends: libavutil56 (= 7:4.1.6-1~deb10u1) but 7:4.3.1-8 is installed
> Depends: libswresample3 (= 7:4.1.6-1~deb10u1) but 7:4.3.1-8 is installed
> gimp : Depends: libc6 (>= 2.29) but 2.28-10 is installed
> libaa1 : Depends: libc6 (>= 2.29) but 2.28-10 is installed
> ...
>  
> Any advice?

What do the following commands give you?

$ apt-cache policy ffmpeg libavcodec58 libavformat58 libavutil56
libswresample3 libc6

$ apt-mark showhold

Also, do you have any package pins in /etc/apt/preferences or
/etc/apt/preferences.d/* ?


That said: dist-upgrade against sid is frequently a bad idea, and I am
not at all surprised that you ran into issues. The usual comment about
running sid is that "if anything breaks, you get to keep the pieces".

The best recommendation as I understand matters is to have sources.list
entries for both testing and sid, use /etc/apt/preferences to pin sid at
a priority which will never be chosen by default, and then install items
from sid selectively as needed.

If this is a production system rather than primarily a test machine, you
might be best served to reinstall, and this time not try to dist-upgrade
against sid en masse.

For myself, I have sources.list entries for stable and testing, and in
the rare case that I need something from sid, modify sources.list long
enough to 'apt-get update ; apt-get install [packagename]', then modify
sources.list to its previous state and run 'apt-get update' again.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

[toc] | [prev] | [next] | [standalone]


#231644

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2021-02-12 14:00 +0100
Message-ID<BHGdc-aH-7@gated-at.bofh.it>
In reply to#231636
On Fri, Feb 12, 2021 at 12:02:51PM +0100, thahn01@t-online.de wrote:
> The following packages have unmet dependencies:
> ffmpeg : Depends: libavcodec58 (= 7:4.1.6-1~deb10u1)
> Depends: libavformat58 (= 7:4.1.6-1~deb10u1) but 7:4.3.1-8 is installed
> Depends: libavutil56 (= 7:4.1.6-1~deb10u1) but 7:4.3.1-8 is installed
> Depends: libswresample3 (= 7:4.1.6-1~deb10u1) but 7:4.3.1-8 is installed
> gimp : Depends: libc6 (>= 2.29) but 2.28-10 is installed
> libaa1 : Depends: libc6 (>= 2.29) but 2.28-10 is installed

You have installed some packages from outside of Debian stable.  Your
choices are:

1) Remove all of the packages that did not come from Debian stable.

2) Reinstall from scratch.

3) Attempt to upgrade to testing.

In the future, do NOT mix releases of Debian, or mix Debian with
other operating systems (e.g. Ubuntu PPAs).

This includes "debian multimedia", which is notoriously bad.  But I
don't see "mmo" in your error list, so maybe you didn't fall into
this particular trap.  Or maybe they changed their version naming.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web