Discussion:
git disappeared - dependencies broken
(too old to reply)
Riccardo Mottola
2024-03-25 12:30:01 UTC
Permalink
Hi,

I did an "apt-get dist-upgrade" today and my git disappeared.
When I tried to readd it I get:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
git : Depends: libcurl3-gnutls (>= 7.56.1) but it is not installable
E: Unable to correct problems, you have held broken packages.

To be honest, dist-upgrade wanted to change a lot of packages, so I did
not dig in the detail of each one being removed, but I thought that it
should preserve packages and in case hold-back packages with broken
dependencies?

That is what aptitude does, but since it has issues with its interface
on PPC and is heavy, I preferred apt.get.

Apparently I "lost" other packages, e.g. runnig mach to build ArcticFox
(python 2.7) yields:

File "/home/multix/code/Arctic-Fox/build/mach_bootstrap.py", line 8,
in <module>
import json
ImportError: No module named json


Riccardo
John Paul Adrian Glaubitz
2024-03-25 13:00:01 UTC
Permalink
Hello,
Post by Riccardo Mottola
To be honest, dist-upgrade wanted to change a lot of packages, so I did
not dig in the detail of each one being removed, but I thought that it
should preserve packages and in case hold-back packages with broken
dependencies?
Debian unstable is currently undergoing a massive transition to switch
Post by Riccardo Mottola
https://lists.debian.org/debian-devel-announce/2024/02/msg00000.html
https://wiki.debian.org/ReleaseGoals/64bit-time
https://lists.debian.org/debian-sparc/2017/12/msg00060.html
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Riccardo Mottola
2024-03-25 15:20:01 UTC
Permalink
Hi,
Post by John Paul Adrian Glaubitz
Debian unstable is currently undergoing a massive transition to switch
Post by Riccardo Mottola
https://lists.debian.org/debian-devel-announce/2024/02/msg00000.html
https://wiki.debian.org/ReleaseGoals/64bit-time
So since February 2 we are still broken enough that GIT is broken :(
Post by John Paul Adrian Glaubitz
Post by Riccardo Mottola
https://lists.debian.org/debian-sparc/2017/12/msg00060.html
yes apparently is. I still think apt-get is being not very smart here,
even if the problem is "cruft". It shouldn't remove arbitrarily remove..
Maybe I shall use aptitude next time.

Is it of any use to track libcurl3-gnutls or are you already perfectly
aware that the package is missing from the build system?

Thanks,

Riccardo
John Paul Adrian Glaubitz
2024-03-25 17:20:02 UTC
Permalink
Hello,
Post by Riccardo Mottola
Post by Riccardo Mottola
https://lists.debian.org/debian-devel-announce/2024/02/msg00000.html
https://wiki.debian.org/ReleaseGoals/64bit-time
So since February 2 we are still broken enough that GIT is broken :(
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066794
Post by Riccardo Mottola
https://lists.debian.org/debian-sparc/2017/12/msg00060.html
yes apparently is. I still think apt-get is being not very smart here,
even if the problem is "cruft". It shouldn't remove arbitrarily remove..
Maybe I shall use aptitude next time.
APT will only remove on "dist-upgrade", not on "upgrade". Hence, you should
always run "upgrade" first and only run "dist-upgrade" after checking what
would get removed.

Don't just run blindly "apt-get update && apt-get -y dist-upgrade"!
Post by Riccardo Mottola
Is it of any use to track libcurl3-gnutls or are you already perfectly
aware that the package is missing from the build system?
src:curl is just one of the many packages that changed their API due to
the time_t transition. Debian Developers are aware of all the breakage.

FWIW, you actually will have to purge a lot of packages during dist-upgrade
as library packages get replaced by their "t64" variants.

Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Christian Zigotzky
2024-03-25 13:00:01 UTC
Permalink
Riccardo,

FYI: https://forum.hyperion-entertainment.com/viewtopic.php?f=58&t=5012

-- Christian
Post by Riccardo Mottola
Hi,
I did an "apt-get dist-upgrade" today and my git disappeared.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
git : Depends: libcurl3-gnutls (>= 7.56.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
To be honest, dist-upgrade wanted to change a lot of packages, so I did
not dig in the detail of each one being removed, but I thought that it
should preserve packages and in case hold-back packages with broken
dependencies?
That is what aptitude does, but since it has issues with its interface
on PPC and is heavy, I preferred apt.get.
Apparently I "lost" other packages, e.g. runnig mach to build ArcticFox
File "/home/multix/code/Arctic-Fox/build/mach_bootstrap.py", line 8,
in <module>
import json
ImportError: No module named json
Riccardo
Loading...