🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by Benjamin Drung Fri, 20 Nov 2026 00:10
Bug#1154531: sbuild: recent changes breaks installing lintian with $apt_update=0 $apt_clean=0
#5174
Author: Benjamin Drung
Date: Fri, 20 Nov 2026 00:10
58 lines
3393 bytes
Package: sbuild
Version: 0.91.11
Severity: normal
X-Debbugs-Cc: bdrung@debian.org

Dear Maintainer,

This is probably a follow-up on bug #1134910. I have following trimmed
down sbuild config:

```
$clean_source = 0;
$apt_clean = 0;
$apt_update = 0;
$apt_distupgrade = 0;
$unshare_mmdebstrap_keep_tarball = 1;
push @{$unshare_mmdebstrap_extra_args}, "*", ['--skip=cleanup/apt/lists'];
$unshare_mmdebstrap_max_age = 86400;
1;
```

Building any package (for example tzdata) will fail to install lintian:

```
Install lintian build dependencies (apt-based resolver)
-------------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
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:
 sbuild-build-depends-lintian-dummy : Depends: lintian but it is not installable
E: Unable to satisfy dependencies. Reached two conflicting assignments:
   1. sbuild-build-depends-lintian-dummy:amd64=0.invalid.0 is selected for install
   2. sbuild-build-depends-lintian-dummy:amd64 Depends lintian
      but none of the choices are installable:
      [no choices]
apt-get failed.
E: Package installation failed
Not removing build depends: cloned chroot in use
E: Failed to install Lintian
E: Either set --no-apt-clean or --apt-update!
```

I have added $apt_clean=0 which should be one of the recommended
solution. Am I doing something wrong?

-- 
Benjamin Drung
Debian & Ubuntu Developer
Bug#1154531: marked as pending in sbuild
#5213
Author: Benjamin Drung
Date: Fri, 20 Nov 2026 13:40
29 lines
2851 bytes
On Fri, 2026-11-20 at 07:26 +0000, Jochen Sprickerhof wrote:
> Control: tag -1 pending
> 
> Hello,
> 
> Bug #1154531 in sbuild reported by you has been fixed in the
> Git repository and is awaiting an upload. You can see the commit
> message below and you can check the diff of the fix at:
> 
> https://salsa.debian.org/debian/sbuild/-/commit/4d7de4495748206aa327d2c45c5c13108f52973d
> 
> ------------------------------------------------------------------------
> Propose --no-apt-distclean, not --no-apt-clean
> 
> Closes: #1154531
> ------------------------------------------------------------------------
> 
> (this message was generated automatically)

Adding $clean_apt_cache=0 to my config (the equivalent of
--no-apt-distclean) fixes the bug for me. Thanks for the quick response.

While looking at this change, I noticed that --no-apt-distclean is not
documented in the sbuild man page.

-- 
Benjamin Drung
Debian & Ubuntu Developer
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads