This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# | |
# Copyright (C) 2024 Canonical Ltd | |
# | |
# Authors: | |
# Julian Andres Klode<[email protected]> | |
# | |
# SPDX-License-Identifier: GPL-3.0 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Description: Pass CFLAGS, CPPFLAGS, CXXFLAGS, LDFLAGS to external projects | |
LDFLAGS commonly are passed automatically by gb_ExternalProject_get_link_flags, | |
but gb_ExternalProject_get_build_flags can't pass CXXFLAGS/CFLAGS because it | |
does not know what language it is building, so ensure we explicitly pass that | |
everywhere. | |
Author: Julian Andres Klode <[email protected]> | |
Bug-Ubuntu: https://launchpad.net/bugs/2073128 | |
Last-Update: 2024-09-03 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/DistUpgrade/DistUpgradeController.py b/DistUpgrade/DistUpgradeController.py | |
index 43d3624eb..79d4ae6b4 100644 | |
--- a/DistUpgrade/DistUpgradeController.py | |
+++ b/DistUpgrade/DistUpgradeController.py | |
@@ -2025,7 +2025,24 @@ class DistUpgradeController(object): | |
# resolve them by keeping back the obsolete packages. | |
self.cache._startAptResolverLog() | |
pr = apt.ProblemResolver(self.cache) | |
- pr.resolve_by_keep() | |
+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/DistUpgrade/DistUpgradeController.py b/DistUpgrade/DistUpgradeController.py | |
index 43d3624eb..79d4ae6b4 100644 | |
--- a/DistUpgrade/DistUpgradeController.py | |
+++ b/DistUpgrade/DistUpgradeController.py | |
@@ -2025,7 +2025,24 @@ class DistUpgradeController(object): | |
# resolve them by keeping back the obsolete packages. | |
self.cache._startAptResolverLog() | |
pr = apt.ProblemResolver(self.cache) | |
- pr.resolve_by_keep() | |
+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
#mv @ @old | |
if [ -e @next ]; then | |
echo "@next already exists" | |
exit 1 | |
fi | |
#btrfs sub snap @install @next |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git dev/fd/63 dev/fd/62 | |
--- dev/fd/63 | |
+++ dev/fd/62 | |
@@ -4,15 +4,15 @@ Desired=Unknown/Install/Remove/Purge/Hold | |
||/ Name Version Architecture Description | |
+++-================================-===============================-============-================================================================================ | |
ii adduser 3.137 all add and remove users and groups | |
-ii apt 2.9.17 amd64 commandline package manager | |
-ii apt-utils 2.9.17 amd64 package management related utility programs | |
+ii apt 2.9.18 amd64 commandline package manager |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git dev/fd/63 dev/fd/62 | |
--- dev/fd/63 | |
+++ dev/fd/62 | |
@@ -4,15 +4,15 @@ Desired=Unknown/Install/Remove/Purge/Hold | |
||/ Name Version Architecture Description | |
+++-================================-===============================-============-================================================================================ | |
ii adduser 3.137 all add and remove users and groups | |
-ii apt 2.9.17 amd64 commandline package manager | |
-ii apt-utils 2.9.17 amd64 package management related utility programs | |
+ii apt 2.9.18 amd64 commandline package manager |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/methods/connect.cc b/methods/connect.cc | |
index b00e73eb7..1049afe50 100644 | |
--- a/methods/connect.cc | |
+++ b/methods/connect.cc | |
@@ -849,6 +849,7 @@ struct TlsFd final : public MethodFd | |
break; | |
case SSL_ERROR_SYSCALL: | |
broken = true; | |
+ _error->Errno("openssl", "OpenSSL error when calling kernel function"); | |
break; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mirrors for downloading metadata from. Ordered from newest to oldest; these | |
# must be https. We don't want to rely just on GnuPG... | |
https://snapshot.ubuntu.com/ubuntu priority:1 type:index | |
https://debian.charite.de/ubuntu priority:3 type:index | |
# Mirrors for downloading debs from, benchmarked to > 40 MB/s | |
https://debian.charite.de/ubuntu/ priority:3 type:deb | |
https://mirror.23m.com/ubuntu/ priority:3 type:deb | |
https://mirror.netcologne.de/ubuntu/ priority:3 type:deb | |
https://drmirror.physi.uni-heidelberg.de/ubuntu/ priority:3 type:deb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from launchpadlib.launchpad import Launchpad | |
launchpad = Launchpad.login_with("tsimonq2's pending PPA check", "production", version="devel") | |
ubuntu = launchpad.distributions["ubuntu"] | |
lubuntu_ci = launchpad.people["deity"] | |
proposed = lubuntu_ci.getPPAByName(distribution=ubuntu, name="testing") | |
ready = set() | |
for binary in proposed.getPublishedBinaries(status="Published", binary_name="libapt-pkg7.0"): | |
if binary.binary_package_version == "2.9.29+exp1ppa1": | |
ready.add(binary.distro_arch_series.architecture_tag) |