xen-tools: xt-guess-suite-and-mirror cannot handle deb http://ports.ubuntu.com/ubuntu-ports

Bug #1995969 reported by Nick Rosbrook
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xen-tools (Debian)
Fix Released
Unknown
xen-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/1023667:

Source: xen-tools
Version: 4.9.1-1
Severity: normal

Dear Maintainer,

The xt-guess-suite-and-mirror tools is not able to handle sources.list
entries like this:

  deb http://ports.ubuntu.com/ubuntu-ports kinetic main restricted

This comes from a default installation of Ubuntu Kinetic on arm64
(raspberry pi). Specifically, the tool is not able to handle the
ubuntu-ports portion of the entry.

This is what the tool reports:

  pi@ubuntu:~$ xt-guess-suite-and-mirror --mirror
  Couldn't find a useful entry in the sources.list files of the Dom0. Tried:
    /etc/apt/sources.list
  pi@ubuntu:~$ xt-guess-suite-and-mirror --suite
  Couldn't find a useful entry in the sources.list files of the Dom0. Tried:
    /etc/apt/sources.list

I would expect it to correctly report 'http://ports.ubuntu.com/ubuntu-ports'
and 'kinetic' instead.

Thanks,
Nick

Changed in xen-tools (Debian):
importance: Undecided → Unknown
Revision history for this message
Axel Beckert (xtaran) wrote : Re: Bug#1023667: xen-tools: xt-guess-suite-and-mirror cannot handle deb http://ports.ubuntu.com/ubuntu-ports

Hi Nick,

Nick Rosbrook wrote:
> The xt-guess-suite-and-mirror tools is not able to handle sources.list
> entries like this:
>
> deb http://ports.ubuntu.com/ubuntu-ports kinetic main restricted
>
> This comes from a default installation of Ubuntu Kinetic on arm64
> (raspberry pi). Specifically, the tool is not able to handle the
> ubuntu-ports portion of the entry.

Thanks for the bug report(s). This is now fixed in git with this
commit:

https://github.com/xen-tools/xen-tools/commit/95207ed48e52f7ecc153a4c3657ebf83333832dc

This will be included in a new release and upload to Debian Unstable
in the next few days.

  Regards, Axel
--
 ,''`. | Axel Beckert <email address hidden>, https://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
  `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE

Changed in xen-tools (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xen-tools - 4.9.2-1

---------------
xen-tools (4.9.2-1) unstable; urgency=medium

  * New upstream maintenance release
    + Update list of Ubuntu and Debian releases.
    + Fix bashism in release testing target "tidy".
    + xt-guess-suite-and-mirror:
      - Bump default Ubuntu fallback release to 22.04 Jammy LTS.
      - Add new option --sources-list to pass a file to parse.
      - Add support for Ubuntu Ports APT repos. (Closes: #1023667,
        LP: #1995969)
  * Update upstream signing key to update its expiry date.
  * Depend and Build-Depend on non-(build-)essential package
    mount. (Closes: #1027383)
  * Also mention "vsyscall=emulate" in package description and
    README.Debian. (Closes: #1028388)
  * Declare compliance with Debian Policy 4.6.2. No changes needed.

 -- Axel Beckert <email address hidden> Mon, 06 Feb 2023 02:57:47 +0100

Changed in xen-tools (Ubuntu):
status: Fix Committed → Fix Released
Changed in xen-tools (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.