← Back to team overview

ubuntu-phone team mailing list archive

Re: update to r25 failed somehow

 

Hi Matthias,

we looked at your bug but have no idea how you could end up with the empty
channel.ini file. I commented on the bug with instructions but basically
just restore a copy of that file, and optionally reinstall the entire r25
OTA6 version. The scope management should be working.

Pat

On Tue, Sep 15, 2015 at 1:22 PM, Matthias Apitz <guru@xxxxxxxxxxx> wrote:

> El día Tuesday, September 15, 2015 a las 07:07:23PM +0200, Matthias Apitz
> escribió:
>
> > Hi Julia,
> >
> > Running this gives:
> >
> > phablet@ubuntu-phablet:~$ system-image-cli -i
> > Traceback (most recent call last):
> >   File "/usr/bin/system-image-cli", line 9, in <module>
> >     load_entry_point('system-image==2.5.1', 'console_scripts',
> > 'system-image-cli')()
> >   File "/usr/lib/python3/dist-packages/systemimage/main.py", line 153,
> > in main
> >     config.load(channel_ini, override=True)
> >   File "/usr/lib/python3/dist-packages/systemimage/config.py", line 96,
> > in load
> >     **parser['service'])
> >   File "/usr/lib/python3.4/configparser.py", line 937, in __getitem__
> >     raise KeyError(key)
> > KeyError: 'service'
>
> I tried to understand what the py scripts wanna do and it is the
> problem that the /etc/system-image/channel.ini file is empty:
>
> $ ls -l /etc/system-image/channel.ini
> -rw-r--r-- 1 root root 0 sep  2 11:33 /etc/system-image/channel.ini
> $ ls -l /etc/system-image/
> total 24
> -rw-r--r-- 1 root root 1468 oct 29  2014 archive-master.tar.xz
> -rw-r--r-- 1 root root  836 oct 29  2014 archive-master.tar.xz.asc
> -rw-r--r-- 1 root root    0 sep  2 11:33 channel.ini
> -rw-r--r-- 1 root root  877 oct 27  2014 client.ini
> drwxrwxr-x 2 root root 4096 sep 13 08:54 config.d
> -rw-r--r-- 1 root root 4662 may 20 18:12 writable-paths
>
>
> while on my working r25 it has some correct looking values and all other
> files have the same size as above;
>
> I could copy over the file from my working r25 ... but what next?
>
> Thanks
>
>         matthias
> --
> Matthias Apitz, ✉ guru@xxxxxxxxxxx, 🌐 http://www.unixarea.de/  ☎
> +49-176-38902045
> No! Nein! ¡No! Όχι! -- Ευχαριστούμε!
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>

References