Invalid code name in elementary.list and patches.list

Bug #1594606 reported by Jung-Kyu Park
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
elementary OS
Confirmed
High
Unassigned

Bug Description

It happens to me almost every time at fresh installation of Loki Beta with Daily
The code name in /etc/apt/sources.list.d/elementary.list and /etc/apt/sources.list.d/patches.list
It should be "xenial" instead of "loki" there.
But, almost every time, there is "loki" instead of "xenial"
It makes system unable to update or upgrade after installation.
It happened from Luna, Freya and now to Loki.

description: updated
description: updated
Changed in elementaryos:
importance: Undecided → High
Revision history for this message
Jung-Kyu Park (bagjunggyu) wrote :

I am Multibooting with Windows 10 and Freya and Linux Mint with Loki in one SSD
EFI for Windows 10 (/dev/sda2) , Freya to MBR (/dev/sda) to manage Grub mainly, others are each partitions
like (/dev/sda7, /dev/sda8, /dev/sda9) to test Beta of their version in same condition.
Using Gparted to format and label partiton for Loki (/dev/sda9)

/dev/sda1: LABEL="M-kM-3M-5M-jM-5M-," UUID="D008C36908C34D62" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="f11c2594-a3d0-4f97-9d60-ebe8ee27d112"
/dev/sda2: UUID="C8C3-F6CB" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="05bbdd32-3b29-4450-9151-d4847321bac4"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="dfcd392c-c87f-477e-a697-d7f4e7e97908"
/dev/sda4: LABEL="Windows 10" UUID="5002CC2E02CC1B3C" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="78e22249-617a-49ac-9f56-ec1b1df0234d"
/dev/sda5: UUID="d24e78c8-0fb6-4bd9-9383-193ccfe1a18b" TYPE="swap" PARTUUID="077314bb-6f85-47d6-9480-ec7e8ff90e2a"
/dev/sda6: LABEL="Freya" UUID="9e0cdc27-926c-43bb-9ff3-939c8fc964aa" TYPE="ext4" PARTUUID="4f0f2682-b072-413f-b113-ace474953044"
/dev/sda7: LABEL="Cinnamon" UUID="f8f7f99e-fe04-45f1-9c20-b8fe06388fc6" TYPE="ext4" PTTYPE="dos" PARTUUID="926fd469-1924-4885-a272-35781ffaf960"
/dev/sda8: LABEL="Mate" UUID="2a16dc92-cbe0-47ec-9202-e3d3aeb1ce75" TYPE="ext4" PTTYPE="dos" PARTUUID="3e17a972-8902-4070-ae7b-8f8464341ec7"
/dev/sda9: LABEL="Loki" UUID="d0d3ce94-725b-4953-bc7e-a8b76bb93f0b" TYPE="ext4" PTTYPE="dos" PARTUUID="9db122dc-7a49-4176-a0ee-37e8275040bc"

but it happens to not only this test machine but also macbook Pro, and other laptop with only Freya at that time.

1) before entering ubiquity I choose language Korean at right after booting up installation USB
2) Checking option for mp3 and wi-fi
3) Others - Define / to (/dev/sda9) without format - since I have already formatted using with Gparted first.
4) Boot loader to (/dev/sda9) due to manage Grub in Freya at MBR
5) Seoul
6) Name, Username, Passwd
7) First boot after clean install. I always check this first ,
The code name in /etc/apt/sources.list.d/elementary.list and /etc/apt/sources.list.d/patches.list
8) If there is "loki" instead of "xenial" , Can't update & upgrade

Revision history for this message
Jung-Kyu Park (bagjunggyu) wrote :

# add line to above comment
4.5) Keyboard Korean
6.5) Boot up to Freya to update grub to define Loki now installed, $ sudo update-grub ,reboot

Changed in elementaryos:
milestone: none → loki+1-beta1
ramtinq (ramtindidab)
Changed in elementaryos:
status: New → Confirmed
Revision history for this message
ramtinq (ramtindidab) wrote :

I fresh-installed the stable release on 29/09/2016 but the problem existed for me too.

Revision history for this message
Jung-Kyu Park (bagjunggyu) wrote :

One Command line for workaround before first repo update
$ sudo sed -i 's/loki/xenial/g' /etc/apt/sources.list.d/elementary.list /etc/apt/sources.list.d/patches.list
$ sudo apt update

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.