"Error: could not find a distribution template for LinuxMint/rebecca" during mach bootstrap

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
4 years ago
8 months ago

People

(Reporter: heycam, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
I'm just reinstalling my Linux machine with Linux Mint.  During mach bootstrap, I got the following error.  I guess it's a problem with add-apt-repository not supporting anything other than Ubuntu and Debian.

Executing as root: sudo add-apt-repository ppa:mercurial-ppa/releases
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 91, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for LinuxMint/rebecca

Comment 2

4 years ago
Boo.

We should probably just install Mercurial from source, since the Linux packages for Mercurial have historically been junk.
(Reporter)

Comment 3

4 years ago
Upstream fixed this problem.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME

Updated

8 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.