Ubuntu Pastebin

Paste from dobey at Thu, 14 Dec 2017 14:34:15 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
=== modified file 'python/libertine/ChrootContainer.py'
--- python/libertine/ChrootContainer.py	2017-03-23 19:23:20 +0000
+++ python/libertine/ChrootContainer.py	2017-12-14 14:33:30 +0000
@@ -68,7 +68,7 @@ class LibertineChroot(BaseContainer):
 
     def create_libertine_container(self, password=None, multiarch=False):
         # Create the actual chroot
-        command_line = "{} fakeroot debootstrap --verbose --variant=fakechroot {} {}".format(
+        command_line = "{} fakeroot debootstrap --verbose --variant=fakechroot {} {} old-releases.ubuntu.com/ubuntu".format(
                     self._build_fakechroot_command(), self.installed_release, self.root_path)
         args = shlex.split(command_line)
         cmd = subprocess.Popen(args)
@@ -97,7 +97,7 @@ class LibertineChroot(BaseContainer):
 
         # Add universe, multiverse, and -updates to the chroot's sources.list
         if (self.architecture == 'armhf' or self.architecture == 'arm64'):
-            archive = "deb http://ports.ubuntu.com/ubuntu-ports "
+            archive = "deb http://old-releases.ubuntu.com/ubuntu "
         else:
             archive = "deb http://archive.ubuntu.com/ubuntu "
 
Download as text