Sorry, I missed this obvious reason :( .
2015-04-16 15:57 GMT-05:00 James Hunt <email address hidden>:
> The fix is in ubuntu-core-upgrader 0.7.10 so if you are starting from a > revision with an older version of the upgrader (unclear from your pb), > it will still crash of course. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1444500 > > Title: > Update doesn't work when upgrading from devel r145 to r383 devel- > proposed > > Status in Snappy Ubuntu: > Fix Committed > > Bug description: > kick@kick-Lenovo-Yoga-2-13:~/work/sprint/base_work$ ./start_it.sh dev > Les ports de cette machine seront les suivants: > SSH: 8022 > HTTP: 8080 > HTTPS: 8443 > Un rappel des ports est disponible: dev.ports > kick@kick-Lenovo-Yoga-2-13:~/work/sprint/base_work$ ./ssh_it dev > ssh_exchange_identification: read: Connection reset by peer > kick@kick-Lenovo-Yoga-2-13:~/work/sprint/base_work$ ./ssh_it dev > Warning: Permanently added '[127.0.0.1]:8022' (ECDSA) to the list of > known hosts. > Welcome to Ubuntu Vivid Vervet (development branch) (GNU/Linux > 3.19.0-12-generic x86_64) > > * Documentation: https://help.ubuntu.com/ > Welcome to the Ubuntu Core rolling development release. > > * See https://ubuntu.com/snappy > > It's a brave new world here in snappy Ubuntu Core! This machine > does not use apt-get or deb packages. Please see 'snappy --help' > for app installation and transactional updates. > > Last login: Tue Apr 14 15:46:36 2015 > ubuntu@localhost:~$ cat /etc/system-image/channel.ini | grep devel > channel: ubuntu-core/devel > ubuntu@localhost:~$ cat > /writable/cache/system/etc/system-image/channel.ini | grep devel > channel: ubuntu-core/devel > ubuntu@localhost:~$ sudo mount -o remount rw / > ubuntu@localhost:~$ sudo mount -o remount rw /writable/cache/system > ubuntu@localhost:~$ sudo sed -i s/devel/devel-proposed/ > /etc/system-image/channel.ini > ubuntu@localhost:~$ cat /etc/system-image/channel.ini | grep devel > channel: ubuntu-core/devel-proposed > ubuntu@localhost:~$ sudo sed -i s/devel/devel-proposed/ > /writable/cache/system/etc/system-image/channel.ini > ubuntu@localhost:~$ cat > /writable/cache/system/etc/system-image/channel.ini | grep devel > channel: ubuntu-core/devel-proposed > ubuntu@localhost:~$ sudo mount -o remount ro / > ubuntu@localhost:~$ sudo mount -o remount ro /writable/cache/system > ubuntu@localhost:~$ sudo reboot > Connection to 127.0.0.1 closed by remote host. > Connection to 127.0.0.1 closed. > kick@kick-Lenovo-Yoga-2-13:~/work/sprint/base_work$ ./ssh_it dev > Warning: Permanently added '[127.0.0.1]:8022' (ECDSA) to the list of > known hosts. > Welcome to Ubuntu Vivid Vervet (development branch) (GNU/Linux > 3.19.0-12-generic x86_64) > > * Documentation: https://help.ubuntu.com/ > Welcome to the Ubuntu Core rolling development release. > > * See https://ubuntu.com/snappy > > It's a brave new world here in snappy Ubuntu Core! This machine > does not use apt-get or deb packages. Please see 'snappy --help' > for app installation and transactional updates. > > Last login: Wed Apr 15 14:08:18 2015 from 10.0.2.2 > ubuntu@localhost:~$ cat > /writable/cache/system/etc/system-image/channel.ini | grep devel > channel: ubuntu-core/devel-proposed > ubuntu@localhost:~$ cat > /writable/cache/system/etc/system-image/channel.ini > [service] > base: system-image.ubuntu.com > http_port: 80 > https_port: 443 > channel: ubuntu-core/devel-proposed > device: generic_amd64 > build_number: 145 > version_detail: ubuntu=20150223.2,raw-device=20150223.2,version=145 > ubuntu@localhost:~$ cat /etc/system-image/channel.ini | grep devel > channel: ubuntu-core/devel-proposed > ubuntu@localhost:~$ cat /etc/system-image/channel.ini > [service] > base: system-image.ubuntu.com > http_port: 80 > https_port: 443 > channel: ubuntu-core/devel-proposed > device: generic_amd64 > build_number: 146 > version_detail: ubuntu=20150410.3,raw-device=20150410.3,version=146 > ubuntu@localhost:~$ sudo snappy update > Installing ubuntu-core (384) > Starting download of ubuntu-core > 135.00 MB / 135.00 MB > [=============================================================================================================================================================================================] > 100.00 % 1.55 MB/s > Done > error from system-image-cli: ('%s exited with %s:\n%s', > ['ubuntu-core-upgrade'], 1, 'I: preparing root filesystem\nTraceback (most > recent call last):\n File "/usr/bin/ubuntu-core-upgrade", line 182, in > <module>\n main()\n File "/usr/bin/ubuntu-core-upgrade", line 155, in > main\n prepare_upgrade(options)\n File "/usr/bin/ubu') > > Journalctl is not very verbose: > > Apr 15 14:11:06 localhost.localdomain systemd[731]: Starting Default. > Apr 15 14:11:36 localhost.localdomain sudo[766]: ubuntu : TTY=pts/0 ; > PWD=/home/ubuntu ; USER=root ; COMMAND=/usr/bin/snappy update > Apr 15 14:11:36 localhost.localdomain sudo[766]: pam_unix(sudo:session): > session opened for user root by ubuntu(uid=0) > Apr 15 14:12:35 localhost.localdomain kernel: EXT4-fs (sda3): > re-mounted. Opts: (null) > Apr 15 14:12:35 localhost.localdomain kernel: EXT4-fs (sda4): mounted > filesystem with ordered data mode. Opts: (null) > Apr 15 14:12:35 localhost.localdomain kernel: EXT4-fs (sda4): mounted > filesystem with ordered data mode. Opts: (null) > Apr 15 14:13:04 localhost.localdomain sudo[766]: pam_unix(sudo:session): > session closed for user root > Apr 15 14:17:01 localhost.localdomain CRON[908]: pam_unix(cron:session): > session opened for user root by (uid=0) > Apr 15 14:17:01 localhost.localdomain CRON[909]: (root) CMD ( cd / && > run-parts --report /etc/cron.hourly) > Apr 15 14:17:01 localhost.localdomain CRON[908]: pam_unix(cron:session): > session closed for user root > Apr 15 14:17:13 localhost.localdomain sudo[911]: ubuntu : TTY=pts/0 ; > PWD=/home/ubuntu ; USER=root ; COMMAND=/bin/journalctl -l > Apr 15 14:17:13 localhost.localdomain sudo[911]: pam_unix(sudo:session): > session opened for user root by ubuntu(uid=0) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/snappy-ubuntu/+bug/1444500/+subscriptions >
Sorry, I missed this obvious reason :( .
2015-04-16 15:57 GMT-05:00 James Hunt <email address hidden>:
> The fix is in ubuntu- core-upgrader 0.7.10 so if you are starting from a /bugs.launchpad .net/bugs/ 1444500 Lenovo- Yoga-2- 13:~/work/ sprint/ base_work$ ./start_it.sh dev Lenovo- Yoga-2- 13:~/work/ sprint/ base_work$ ./ssh_it dev identification: read: Connection reset by peer Lenovo- Yoga-2- 13:~/work/ sprint/ base_work$ ./ssh_it dev /help.ubuntu. com/ /ubuntu. com/snappy image/channel. ini | grep devel cache/system/ etc/system- image/channel. ini | grep devel cache/system devel-proposed/ image/channel. ini image/channel. ini | grep devel core/devel- proposed devel-proposed/ cache/system/ etc/system- image/channel. ini cache/system/ etc/system- image/channel. ini | grep devel core/devel- proposed cache/system Lenovo- Yoga-2- 13:~/work/ sprint/ base_work$ ./ssh_it dev /help.ubuntu. com/ /ubuntu. com/snappy cache/system/ etc/system- image/channel. ini | grep devel core/devel- proposed cache/system/ etc/system- image/channel. ini image.ubuntu. com core/devel- proposed 20150223. 2,raw-device= 20150223. 2,version= 145 image/channel. ini | grep devel core/devel- proposed image/channel. ini image.ubuntu. com core/devel- proposed 20150410. 3,raw-device= 20150410. 3,version= 146 ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= =] core-upgrade' ], 1, 'I: preparing root filesystem\ nTraceback (most ubuntu- core-upgrade" , line 182, in ubuntu- core-upgrade" , line 155, in upgrade( options) \n File "/usr/bin/ubu') localdomain systemd[731]: Starting Default. localdomain sudo[766]: ubuntu : TTY=pts/0 ; /usr/bin/ snappy update localdomain sudo[766]: pam_unix( sudo:session) : localdomain kernel: EXT4-fs (sda3): localdomain kernel: EXT4-fs (sda4): mounted localdomain kernel: EXT4-fs (sda4): mounted localdomain sudo[766]: pam_unix( sudo:session) : localdomain CRON[908]: pam_unix( cron:session) : localdomain CRON[909]: (root) CMD ( cd / && localdomain CRON[908]: pam_unix( cron:session) : localdomain sudo[911]: ubuntu : TTY=pts/0 ; /bin/journalctl -l localdomain sudo[911]: pam_unix( sudo:session) : /bugs.launchpad .net/snappy- ubuntu/ +bug/1444500/ +subscriptions
> revision with an older version of the upgrader (unclear from your pb),
> it will still crash of course.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Update doesn't work when upgrading from devel r145 to r383 devel-
> proposed
>
> Status in Snappy Ubuntu:
> Fix Committed
>
> Bug description:
> kick@kick-
> Les ports de cette machine seront les suivants:
> SSH: 8022
> HTTP: 8080
> HTTPS: 8443
> Un rappel des ports est disponible: dev.ports
> kick@kick-
> ssh_exchange_
> kick@kick-
> Warning: Permanently added '[127.0.0.1]:8022' (ECDSA) to the list of
> known hosts.
> Welcome to Ubuntu Vivid Vervet (development branch) (GNU/Linux
> 3.19.0-12-generic x86_64)
>
> * Documentation: https:/
> Welcome to the Ubuntu Core rolling development release.
>
> * See https:/
>
> It's a brave new world here in snappy Ubuntu Core! This machine
> does not use apt-get or deb packages. Please see 'snappy --help'
> for app installation and transactional updates.
>
> Last login: Tue Apr 14 15:46:36 2015
> ubuntu@localhost:~$ cat /etc/system-
> channel: ubuntu-core/devel
> ubuntu@localhost:~$ cat
> /writable/
> channel: ubuntu-core/devel
> ubuntu@localhost:~$ sudo mount -o remount rw /
> ubuntu@localhost:~$ sudo mount -o remount rw /writable/
> ubuntu@localhost:~$ sudo sed -i s/devel/
> /etc/system-
> ubuntu@localhost:~$ cat /etc/system-
> channel: ubuntu-
> ubuntu@localhost:~$ sudo sed -i s/devel/
> /writable/
> ubuntu@localhost:~$ cat
> /writable/
> channel: ubuntu-
> ubuntu@localhost:~$ sudo mount -o remount ro /
> ubuntu@localhost:~$ sudo mount -o remount ro /writable/
> ubuntu@localhost:~$ sudo reboot
> Connection to 127.0.0.1 closed by remote host.
> Connection to 127.0.0.1 closed.
> kick@kick-
> Warning: Permanently added '[127.0.0.1]:8022' (ECDSA) to the list of
> known hosts.
> Welcome to Ubuntu Vivid Vervet (development branch) (GNU/Linux
> 3.19.0-12-generic x86_64)
>
> * Documentation: https:/
> Welcome to the Ubuntu Core rolling development release.
>
> * See https:/
>
> It's a brave new world here in snappy Ubuntu Core! This machine
> does not use apt-get or deb packages. Please see 'snappy --help'
> for app installation and transactional updates.
>
> Last login: Wed Apr 15 14:08:18 2015 from 10.0.2.2
> ubuntu@localhost:~$ cat
> /writable/
> channel: ubuntu-
> ubuntu@localhost:~$ cat
> /writable/
> [service]
> base: system-
> http_port: 80
> https_port: 443
> channel: ubuntu-
> device: generic_amd64
> build_number: 145
> version_detail: ubuntu=
> ubuntu@localhost:~$ cat /etc/system-
> channel: ubuntu-
> ubuntu@localhost:~$ cat /etc/system-
> [service]
> base: system-
> http_port: 80
> https_port: 443
> channel: ubuntu-
> device: generic_amd64
> build_number: 146
> version_detail: ubuntu=
> ubuntu@localhost:~$ sudo snappy update
> Installing ubuntu-core (384)
> Starting download of ubuntu-core
> 135.00 MB / 135.00 MB
> [======
> 100.00 % 1.55 MB/s
> Done
> error from system-image-cli: ('%s exited with %s:\n%s',
> ['ubuntu-
> recent call last):\n File "/usr/bin/
> <module>\n main()\n File "/usr/bin/
> main\n prepare_
>
> Journalctl is not very verbose:
>
> Apr 15 14:11:06 localhost.
> Apr 15 14:11:36 localhost.
> PWD=/home/ubuntu ; USER=root ; COMMAND=
> Apr 15 14:11:36 localhost.
> session opened for user root by ubuntu(uid=0)
> Apr 15 14:12:35 localhost.
> re-mounted. Opts: (null)
> Apr 15 14:12:35 localhost.
> filesystem with ordered data mode. Opts: (null)
> Apr 15 14:12:35 localhost.
> filesystem with ordered data mode. Opts: (null)
> Apr 15 14:13:04 localhost.
> session closed for user root
> Apr 15 14:17:01 localhost.
> session opened for user root by (uid=0)
> Apr 15 14:17:01 localhost.
> run-parts --report /etc/cron.hourly)
> Apr 15 14:17:01 localhost.
> session closed for user root
> Apr 15 14:17:13 localhost.
> PWD=/home/ubuntu ; USER=root ; COMMAND=
> Apr 15 14:17:13 localhost.
> session opened for user root by ubuntu(uid=0)
>
> To manage notifications about this bug go to:
> https:/
>