Re: Problem with repo for Debian 11

Rich Goodwin via Mondo-devel <[email protected]> Fri, 30 Dec 2022 12:44:51 -0600
Newsgroups gmane.linux.mondo.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============4289479780515925732==
Content-Type: multipart/alternative;
 boundary="------------Z1P0TdI8jLnYP8BpXYm0BHig"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------Z1P0TdI8jLnYP8BpXYm0BHig
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

I also believe your filename needs to end with '.list' not '.sources'.

On 12/30/2022 11:28 AM, Rich Goodwin via Mondo-devel wrote:
>
> I had to change ftp:// to http:// on both deb and deb-src lines.  Also 
> had to add [ trusted=yes ].
>
> On 12/30/2022 10:52 AM, Nikolaos Milas via Mondo-devel wrote:
>>
>> Hello,
>>
>> I am trying to install mondo packages using debian 11 repo.
>>
>> I have read on the webpage: "For Debian/Ubuntu, just use the magic: 
>> apt-get install mondo to use the native packages of your 
>> distribution, or download the repo file mondorescue.sources.list and 
>> add it to your /etc/apt/sources.list.d directory if you want to use 
>> upstream packages."
>>
>> I have added the file:
>>
>>     http://ftp.mondorescue.org/debian/11/mondorescue.sources.list
>>
>>     whose content is:
>>
>>     deb ftp://ftp.mondorescue.org//debian 11 contrib
>>     deb-src ftp://ftp.mondorescue.org//debian 11 contrib
>>
>> as:
>>
>>     /etc/apt/sources.list.d/mondorescue.sources
>>
>> but it won't work. I get an error:
>>
>> # apt install mondo
>> E: Malformed stanza 1 in source list 
>> /etc/apt/sources.list.d/mondorescue.sources (type)
>> E: The list of sources could not be read.
>>
>> What am I doing wrong?
>>
>> Thanks,
>> Nick
>>
>>
>>
>> _______________________________________________
>> Mondo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/mondo-devel
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> 
> 	Virus-free.www.avg.com 
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> 
>
>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
>
> _______________________________________________
> Mondo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mondo-devel

-- 
This email has been checked for viruses by AVG antivirus software.
www.avg.com
--------------Z1P0TdI8jLnYP8BpXYm0BHig
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I also believe your filename needs to end with '.list' not
      '.sources'. <br>
    </p>
    <div class="moz-cite-prefix">On 12/30/2022 11:28 AM, Rich Goodwin
      via Mondo-devel wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>I had to change ftp:// to http:// on both deb and deb-src
        lines.  Also had to add [ trusted=yes ].<br>
      </p>
      <div class="moz-cite-prefix">On 12/30/2022 10:52 AM, Nikolaos
        Milas via Mondo-devel wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:[email protected]">
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        <p><font face="monospace">Hello, <br>
          </font></p>
        <p><font face="monospace">I am trying to install mondo packages
            using debian 11 repo. <br>
          </font></p>
        <p><font face="monospace">I have read on the webpage: "For
            Debian/Ubuntu, just use the magic: apt-get install mondo to
            use the native packages of your distribution, or download
            the repo file mondorescue.sources.list and add it to your
            /etc/apt/sources.list.d directory if you want to use
            upstream packages."</font></p>
        <p><font face="monospace">I have added the file: <br>
          </font></p>
        <blockquote>
          <p><font face="monospace"><a class="moz-txt-link-freetext"
                href="http://ftp.mondorescue.org/debian/11/mondorescue.sources.list"
                moz-do-not-send="true">http://ftp.mondorescue.org/debian/11/mondorescue.sources.list</a>
              <br>
            </font></p>
          <p><font face="monospace">whose content is:</font></p>
          <p><font face="monospace">deb <a
                class="moz-txt-link-freetext"
                href="ftp://ftp.mondorescue.org//debian"
                moz-do-not-send="true">ftp://ftp.mondorescue.org//debian</a>
              11 contrib<br>
              deb-src <a class="moz-txt-link-freetext"
                href="ftp://ftp.mondorescue.org//debian"
                moz-do-not-send="true">ftp://ftp.mondorescue.org//debian</a>
              11 contrib<br>
            </font></p>
        </blockquote>
        <p><font face="monospace">as:<br>
          </font></p>
        <blockquote>
          <p><font face="monospace">/etc/apt/sources.list.d/mondorescue.sources</font></p>
        </blockquote>
        <p><font face="monospace">but it won't work. I get an error: <br>
          </font></p>
        <p><font face="monospace"># apt install mondo<br>
            E: Malformed stanza 1 in source list
            /etc/apt/sources.list.d/mondorescue.sources (type)<br>
            E: The list of sources could not be read.<br>
          </font></p>
        <p><font face="monospace">What am I doing wrong?</font></p>
        <p><font face="monospace">Thanks,<br>
            Nick<br>
          </font></p>
        <br>
        <fieldset class="moz-mime-attachment-header"></fieldset>
        <br>
        <fieldset class="moz-mime-attachment-header"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
Mondo-devel mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:[email protected]" moz-do-not-send="true">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/mondo-devel" moz-do-not-send="true">https://lists.sourceforge.net/lists/listinfo/mondo-devel</a>
</pre>
      </blockquote>
      <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
        <table style="border-top: 1px solid #D3D4DE;">
          <tbody>
            <tr>
              <td style="width: 55px; padding-top: 13px;"><a
href="http://www.avg.com/email-signature?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=emailclient"
                  target="_blank" moz-do-not-send="true"><img
src="https://s-install.avcdn.net/ipm/preview/icons/icon-envelope-tick-green-avg-v1.png"
                    alt="" style="width: 46px; height: 29px;"
                    moz-do-not-send="true" width="46" height="29"></a></td>
              <td style="width: 470px; padding-top: 12px; color:
                #41424e; font-size: 13px; font-family: Arial, Helvetica,
                sans-serif; line-height: 18px;">Virus-free.<a
href="http://www.avg.com/email-signature?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=emailclient"
                  target="_blank" style="color: #4453ea;"
                  moz-do-not-send="true">www.avg.com</a></td>
            </tr>
          </tbody>
        </table>
        <a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1"
          height="1" moz-do-not-send="true"> </a></div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Mondo-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/mondo-devel">https://lists.sourceforge.net/lists/listinfo/mondo-devel</a>
</pre>
    </blockquote>
  </body>
</html>

--------------Z1P0TdI8jLnYP8BpXYm0BHig--


--===============4289479780515925732==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============4289479780515925732==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mondo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mondo-devel

--===============4289479780515925732==--