Attempt to enable proposed failed with T-i386 in K-T

Bug #1823699 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
High
Po-Hsu Lin

Bug Description

The command we use to enable proposed is:
  grep "trusty main" /etc/apt/sources.list | sed s/\ trusty\ /\ trusty-proposed\ / | sudo tee -a /etc/apt/sources.list

However in this cycle I noticed that there are some node got the different layout in the source list, causing this grep command to fail:

  deb-src http://archive.ubuntu.com/ubuntu trusty universe multiverse main restricted
  # deb-src http://archive.ubuntu.com/ubuntu trusty universe multiverse main restricted
  deb-src http://archive.ubuntu.com/ubuntu trusty-updates universe multiverse main restricted
  # deb-src http://archive.ubuntu.com/ubuntu trusty-updates universe multiverse main restricted
  deb-src http://archive.ubuntu.com/ubuntu trusty-security universe multiverse main restricted
  # deb-src http://archive.ubuntu.com/ubuntu trusty-security universe multiverse main restricted
  deb-src http://archive.ubuntu.com/ubuntu trusty-backports universe multiverse main restricted
  # deb-src http://archive.ubuntu.com/ubuntu trusty-backports universe multiverse main restricted

We should grep the line with main and which includes trusty, instead of grepping them altogether.

However I am not sure if this is a expected behaviour. This is the first time ever that I saw this.

Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
assignee: nobody → Po-Hsu Lin (cypressyew)
importance: Undecided → High
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.