X-Loop: [email protected] Subject: bug#786: apt fails if the line is too long Reply-To: Jerzy Sobczyk <[email protected]>, [email protected] Resent-From: Jerzy Sobczyk <[email protected]> Resent-To: [email protected] Resent-CC: Andreas Messer <[email protected]> X-Loop: [email protected] Resent-Date: Fri, 01 Sep 2023 15:10:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: report 786 X-Devuan-PR-Package: apt X-Devuan-PR-Keywords: X-Devuan-PR-Source: apt Received: via spool by [email protected] id=B.16935809422091 (code B); Fri, 01 Sep 2023 15:10:01 +0000 Received: (at submit) by bugs.devuan.org; 1 Sep 2023 15:09:02 +0000 Delivered-To: [email protected] Received: from email.devuan.org [2a01:4f8:140:32a1::58c6:6473] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Fri, 01 Sep 2023 15:09:02 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id +bf7GH/+8WRnMAAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Fri, 01 Sep 2023 15:08:47 +0000 Received: by email.devuan.org (Postfix, from userid 109) id 5A6BDAC6; Fri, 1 Sep 2023 15:08:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::836; helo=mail-qt1-x836.google.com; [email protected]; receiver=<UNKNOWN> Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) by email.devuan.org (Postfix) with ESMTPS id D41BD2AB for <[email protected]>; Fri, 1 Sep 2023 15:08:45 +0000 (UTC) Received: by mail-qt1-x836.google.com with SMTP id d75a77b69052e-4135d72c75bso12861141cf.0 for <[email protected]>; Fri, 01 Sep 2023 08:08:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693580924; x=1694185724; darn=bugs.devuan.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=klhWQQ7bjB1v9NyCfYHrhdjMU1mjJKespkVv24ZhJuA=; b=k5xqRYRtLioez4GaTlurOeb3ISeTv2F6g5kAMlAp5kfqPgSFynLQcB6R10DiBI3yk+ w3ee0aEvxo1mBjbTxaawU98W4Ng4uw/EXJnTClyjky8VoPPhxNBJgq4EfWd7vIvmQxoB HhFotPGn1D8aIUm1kVxfpA8xXchfqagaAZl8HfwFEyfaMPC6aiZUxYw+zn4lQuHD5iSd 62XHqOExMby3Xv8SwPPIrWjjJVqzP+ip2/AHEhfyrCn97VB22aMKmLFY5RljHBo92WVu wmIp+wp1vmcEutIcckeNeCqfbPsfgpkG/D3dBf3gTW3oV1x0zhoiIgEpUGsy11xfD7ne cKQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693580924; x=1694185724; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=klhWQQ7bjB1v9NyCfYHrhdjMU1mjJKespkVv24ZhJuA=; b=LxjfxdVUuqLCr0OcO4Y5Ql1e+JzaMPeWUScJS0a58NcItFRTntAdbvzLhXeHNmlxA0 ZTGpb7L1bT8HU4HDCCw5t2UT0/psEuaiHRxE53/OOvPL7WMEycY2klrFzpV7C9YAoZT1 uzxZK4uLfwMxnLm8lNXVu5k6hsFfS1YTTTL4rpN/eoZeD1NO5RncWBe+dFZnuqWClOpd sUtg1EqmDuyfPSrqrCCto7Zs7r8U7ZUfQd/XwJKW7moCJcic2wB0FOl1kx0Fa/vG8yls o7ibwwwu7SvAXxRSoFaiWcqZA+6H+kYnLGOEzsEX1nqFA/JUEEVtBS+Zr74VqupyI8ma KJYw== X-Gm-Message-State: AOJu0YyqISih58BXrgsFe6YHF2t/W3GfBo4X8PBWsjUmy88ivMQcdTfo H17x59pOyjNLLkkwGihxmlq9xxtDBk/Zi4VW2lMdOUZxtmA= X-Google-Smtp-Source: AGHT+IGhqjsit31+1haI359mTKBrjjttIVEi5h8yf6+5+1WzUA19bGCGdtfRbSxYWfxngsf4VtR584R9gWxhK8xoag4= X-Received: by 2002:ac8:7d0d:0:b0:412:2284:cb33 with SMTP id g13-20020ac87d0d000000b004122284cb33mr2890807qtb.48.1693580924565; Fri, 01 Sep 2023 08:08:44 -0700 (PDT) MIME-Version: 1.0 From: Jerzy Sobczyk <[email protected]> Date: Fri, 1 Sep 2023 17:08:33 +0200 Message-ID: <CALUj2P5xFMZ6AgVVLo01v2TKXufHHKY6EnOnd6BrvSW4cDeJOA@mail.gmail.com> To: [email protected] Content-Type: multipart/alternative; boundary="0000000000006842b506044d8988" --0000000000006842b506044d8988 Content-Type: text/plain; charset="UTF-8" Package: apt Version: 2.6.1devuan1 Severity minor I have tried to install too many packages in single call to apt. Sometimes instead of doing upgrade I prefer to do a clean install of the system followed by installation of missing packages. To find which packages shoud be added I make a diff of lists of packages installed before reinstallation and after it and edit it to leave only necessary things. So I had a huge list of missing packages in a text file, I have prepended a command: "apt install" to it and tried to execute it in a shell. And I have got a surprising message like: "no such package install". It took me some time to discover what is the actual reason. Afterwards when I split the list into smaller chunks and prepended "apt install" to each chunk then everyting was installed successfully. Only I had to type Y several times instead of one. I suggest to set proper error message indicationg that the line is too long. One more observation - it is probably not the length of the input line important but rather the length of the line resulting after adding dependencies. NB. Older versions of apt/apt-get accepted such huge lists without any problems. -- System Information: Distributor ID: Devuan Description: Devuan GNU/Linux 5 (daedalus) Release: 5 Codename: daedalus Architecture: x86_64 Kernel: Linux 6.1.0-10-amd64 (SMP w/12 CPU threads; PREEMPT) Kernel taint flags: TAINT_USER Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: OpenRC (via /run/openrc), PID 1: init LSM: AppArmor: enabled --0000000000006842b506044d8988 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Package: apt</div><div>Version: 2.6.1devuan1</div><di= v><br></div>Severity minor<br>I have tried to install too many packages in = single call to apt.=C2=A0=C2=A0 <br><div>Sometimes instead of doing upgrade= I prefer to do a clean install of the system followed by installation of m= issing packages. To find which packages shoud be added I make a diff of lis= ts of packages installed before reinstallation and after it and edit it to = leave only necessary things.</div><div>=C2=A0<br></div><div>So I had a huge= list of missing packages in a text file, I have prepended a command: "= ;apt install" to it and tried to execute it in a shell. And I have got= a surprising message like: "no such package install". It took me= some time to discover what is the actual reason.<br></div><div>Afterwards = when I split the list into smaller chunks and prepended "apt install&q= uot; to each chunk then everyting was installed successfully. Only I had to= type Y several times instead of one.</div><div><br></div><div>I suggest to= set proper error message indicationg that the line is too long.</div><div>= One more observation - it is probably not the length of the input line impo= rtant but rather the length of the line resulting after adding dependencies= .<br></div><div>NB. Older versions of apt/apt-get accepted such huge lists = without any problems.<br></div><div><br></div><div><br>-- System Informatio= n:<br>Distributor ID: Devuan<br>Description: =C2=A0 =C2=A0Devuan GNU/Linux = 5 (daedalus)<br>Release: =C2=A0 =C2=A0 =C2=A0 =C2=A05<br>Codename: =C2=A0 = =C2=A0 =C2=A0 daedalus<br>Architecture: x86_64<br><br>Kernel: Linux 6.1.0-1= 0-amd64 (SMP w/12 CPU threads; PREEMPT)<br>Kernel taint flags: TAINT_USER<b= r>Locale: LANG=3Dpl_PL.UTF-8, LC_CTYPE=3Dpl_PL.UTF-8 (charmap=3DUTF-8), LAN= GUAGE not set<br>Shell: /bin/sh linked to /bin/dash<br>Init: OpenRC (via /r= un/openrc), PID 1: init<br>LSM: AppArmor: enabled<div class=3D"gmail-yj6qo"= ></div><div class=3D"gmail-adL"><br><br></div></div><table class=3D"gmail-c= f gmail-gJ" cellpadding=3D"0"><tbody><tr class=3D"gmail-acZ gmail-xD"><td c= olspan=3D"3"><table class=3D"gmail-cf gmail-adz" cellpadding=3D"0"><tbody><= tr><td class=3D"gmail-ady"><br></td></tr></tbody></table></td></tr></tbody>= </table></div> --0000000000006842b506044d8988--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Jerzy Sobczyk <[email protected]> Subject: bug#786: Acknowledgement (apt fails if the line is too long) Message-ID: <[email protected]> References: <CALUj2P5xFMZ6AgVVLo01v2TKXufHHKY6EnOnd6BrvSW4cDeJOA@mail.gmail.com> X-Devuan-PR-Message: ack 786 X-Devuan-PR-Package: apt X-Devuan-PR-Source: apt Reply-To: [email protected] Date: Fri, 01 Sep 2023 15:10:12 +0000 Thank you for filing a new bug report with Devuan. You can follow progress on this bug here: 786: https://bugs.devuan.org/cgi/= bugreport.cgi?bug=3D786. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Andreas Messer <[email protected]> If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 786: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D786 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#786: apt fails if the line is too long Reply-To: Andreas Messer <[email protected]>, [email protected] Resent-From: Andreas Messer <[email protected]> Resent-To: [email protected] X-Loop: [email protected] Resent-Date: Mon, 04 Sep 2023 16:44:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 786 X-Devuan-PR-Package: apt X-Devuan-PR-Keywords: References: <CALUj2P5xFMZ6AgVVLo01v2TKXufHHKY6EnOnd6BrvSW4cDeJOA@mail.gmail.com> <CALUj2P5xFMZ6AgVVLo01v2TKXufHHKY6EnOnd6BrvSW4cDeJOA@mail.gmail.com> X-Devuan-PR-Source: apt Received: via spool by [email protected] id=B.169384572430908 (code B); Mon, 04 Sep 2023 16:44:01 +0000 Received: (at submit) by bugs.devuan.org; 4 Sep 2023 16:42:04 +0000 Delivered-To: [email protected] Received: from email.devuan.org [2a01:4f8:140:32a1::58c6:6473] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Mon, 04 Sep 2023 16:42:04 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id v6YnCp0I9mSlWgAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Mon, 04 Sep 2023 16:41:01 +0000 Received: by email.devuan.org (Postfix, from userid 109) id 1DFBC801; Mon, 4 Sep 2023 16:41:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.233.106.107; helo=nyx.bastelmap.de; [email protected]; receiver=<UNKNOWN> Received: from nyx.bastelmap.de (nyx.bastelmap.de [185.233.106.107]) by email.devuan.org (Postfix) with ESMTPS id 28AD51F5; Mon, 4 Sep 2023 16:41:00 +0000 (UTC) Received: from zeus.ad.home.arpa (pd95e1cae.dip0.t-ipconnect.de [217.94.28.174]) by nyx.bastelmap.de (Postfix) with ESMTPSA id CC3F33410C9; Mon, 4 Sep 2023 18:40:58 +0200 (CEST) Date: Mon, 4 Sep 2023 18:40:47 +0200 From: Andreas Messer <[email protected]> To: Jerzy Sobczyk <[email protected]>, [email protected] Cc: [email protected] Message-ID: <ZPYIj61/[email protected]> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jXYW4iiS5aSkdTWt" Content-Disposition: inline In-Reply-To: <CALUj2P5xFMZ6AgVVLo01v2TKXufHHKY6EnOnd6BrvSW4cDeJOA@mail.gmail.com> --jXYW4iiS5aSkdTWt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Jerzy, thanks for your bug report: Am Fri, Sep 01, 2023 at 05:08:33PM +0200 schrieb Jerzy Sobczyk: > Package: apt > Version: 2.6.1devuan1 >=20 > Severity minor > [...] >=20 > command: "apt install" to it and tried to execute it in a shell. And I ha= ve > got a surprising message like: "no such package install". It took me some > time to discover what is the actual reason. > Afterwards when I split the list into smaller chunks and prepended "apt > install" to each chunk then everyting was installed successfully. Only I > had to type Y several times instead of one. > [...] Not sure if there is also an effect of system limits. However we have forked the apt package in Devuan only to patch out systemd dependencies. The source is otherwise unchanged from Debian versions. Thus for most benefit, the problem should be fixed in Debian already. Could you please report your finding to Debian's bugtracker using apt package version 2.6.1. Thanks for your support! cheers, Andreas --=20 gnuPG keyid: 8C2BAF51 fingerprint: 28EE 8438 E688 D992 3661 C753 90B3 BAAA 8C2B AF51 --jXYW4iiS5aSkdTWt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQQo7oQ45ojZkjZhx1OQs7qqjCuvUQUCZPYIjwAKCRCQs7qqjCuv UVTIAJ4sn3drMl+6T9wvbKT+pKUhxttMEQCfbWPc0NsloQ36JQ04Vwn3+/torBE= =Y1nD -----END PGP SIGNATURE----- --jXYW4iiS5aSkdTWt--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Andreas Messer <[email protected]> Subject: bug#786: Info received (bug#786: apt fails if the line is too long) Message-ID: <[email protected]> References: <ZPYIj61/[email protected]> X-Devuan-PR-Message: ack-info 786 X-Devuan-PR-Package: apt X-Devuan-PR-Source: apt Reply-To: [email protected] Date: Mon, 04 Sep 2023 16:44:02 +0000 Thank you for the additional information you have supplied regarding this bug report. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 786: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D786 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#786: apt fails if the line is too long Reply-To: Andreas Messer <[email protected]>, [email protected] Resent-From: Andreas Messer <[email protected]> Resent-To: [email protected] X-Loop: [email protected] Resent-Date: Mon, 04 Sep 2023 16:44:03 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 786 X-Devuan-PR-Package: apt X-Devuan-PR-Keywords: References: <CALUj2P5xFMZ6AgVVLo01v2TKXufHHKY6EnOnd6BrvSW4cDeJOA@mail.gmail.com> <CALUj2P5xFMZ6AgVVLo01v2TKXufHHKY6EnOnd6BrvSW4cDeJOA@mail.gmail.com> X-Devuan-PR-Source: apt Received: via spool by [email protected] id=B786.169384572430906 (code B ref 786); Mon, 04 Sep 2023 16:44:03 +0000 Received: (at 786) by bugs.devuan.org; 4 Sep 2023 16:42:04 +0000 Delivered-To: [email protected] Received: from email.devuan.org [2a01:4f8:140:32a1::58c6:6473] by doc.devuan.org with IMAP (fetchmail-6.4.16) for <debbugs@localhost> (single-drop); Mon, 04 Sep 2023 16:42:04 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id v6YnCp0I9mSlWgAAmSBk0A (envelope-from <[email protected]>) for <[email protected]>; Mon, 04 Sep 2023 16:41:01 +0000 Received: by email.devuan.org (Postfix, from userid 109) id 1DFBC801; Mon, 4 Sep 2023 16:41:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.233.106.107; helo=nyx.bastelmap.de; [email protected]; receiver=<UNKNOWN> Received: from nyx.bastelmap.de (nyx.bastelmap.de [185.233.106.107]) by email.devuan.org (Postfix) with ESMTPS id 28AD51F5; Mon, 4 Sep 2023 16:41:00 +0000 (UTC) Received: from zeus.ad.home.arpa (pd95e1cae.dip0.t-ipconnect.de [217.94.28.174]) by nyx.bastelmap.de (Postfix) with ESMTPSA id CC3F33410C9; Mon, 4 Sep 2023 18:40:58 +0200 (CEST) Date: Mon, 4 Sep 2023 18:40:47 +0200 From: Andreas Messer <[email protected]> To: Jerzy Sobczyk <[email protected]>, [email protected] Cc: [email protected] Message-ID: <ZPYIj61/[email protected]> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jXYW4iiS5aSkdTWt" Content-Disposition: inline In-Reply-To: <CALUj2P5xFMZ6AgVVLo01v2TKXufHHKY6EnOnd6BrvSW4cDeJOA@mail.gmail.com> --jXYW4iiS5aSkdTWt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Jerzy, thanks for your bug report: Am Fri, Sep 01, 2023 at 05:08:33PM +0200 schrieb Jerzy Sobczyk: > Package: apt > Version: 2.6.1devuan1 >=20 > Severity minor > [...] >=20 > command: "apt install" to it and tried to execute it in a shell. And I ha= ve > got a surprising message like: "no such package install". It took me some > time to discover what is the actual reason. > Afterwards when I split the list into smaller chunks and prepended "apt > install" to each chunk then everyting was installed successfully. Only I > had to type Y several times instead of one. > [...] Not sure if there is also an effect of system limits. However we have forked the apt package in Devuan only to patch out systemd dependencies. The source is otherwise unchanged from Debian versions. Thus for most benefit, the problem should be fixed in Debian already. Could you please report your finding to Debian's bugtracker using apt package version 2.6.1. Thanks for your support! cheers, Andreas --=20 gnuPG keyid: 8C2BAF51 fingerprint: 28EE 8438 E688 D992 3661 C753 90B3 BAAA 8C2B AF51 --jXYW4iiS5aSkdTWt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQQo7oQ45ojZkjZhx1OQs7qqjCuvUQUCZPYIjwAKCRCQs7qqjCuv UVTIAJ4sn3drMl+6T9wvbKT+pKUhxttMEQCfbWPc0NsloQ36JQ04Vwn3+/torBE= =Y1nD -----END PGP SIGNATURE----- --jXYW4iiS5aSkdTWt--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Andreas Messer <[email protected]> Subject: bug#786: Info received (bug#786: apt fails if the line is too long) Message-ID: <[email protected]> References: <ZPYIj61/[email protected]> X-Devuan-PR-Message: ack-info 786 X-Devuan-PR-Package: apt X-Devuan-PR-Source: apt Reply-To: [email protected] Date: Mon, 04 Sep 2023 16:44:03 +0000 Thank you for the additional information you have supplied regarding this bug report. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 786: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D786 Devuan Bug Tracking System Contact [email protected] with problems
Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.
Devuan Bugs Owner <[email protected]>.
Last modified:
Sun, 1 Dec 2024 02:39:01 UTC