snappy update fails

Gábor Paller gaborpaller at gmail.com
Mon Feb 23 13:37:33 UTC 2015


I updated the time and there's no visible changes:

ubuntu at localhost:~$ sudo date -s "2015-02-23 14:35:00"

Mon Feb 23 14:35:00 UTC 2015

ubuntu at localhost:~$ sudo snappy update

Traceback (most recent call last):

  File "/usr/bin/snappy", line 25, in <module>

    status = Main().__main__()

  File "/usr/lib/python3/dist-packages/snappy/main.py", line 195, in
__main__
    return callback(args)

  File "/usr/lib/python3/dist-packages/snappy/main.py", line 495, in
_do_update
    SystemImageDataSource().update(args.args, list_only=args.list)

  File "/usr/lib/python3/dist-packages/snappy/systemimage.py", line 247, in
upda
te

    if len(parts) > 1 and newest_installed == int(self._latest_version):

ValueError: invalid literal for int() with base 10: '-'

On Mon, Feb 23, 2015 at 2:29 PM, Oliver Grawert <ogra at ubuntu.com> wrote:

> hi,
>
> Am Montag, den 23.02.2015, 14:20 +0100 schrieb Gábor Paller:
>
> >
> >     if len(parts) > 1 and newest_installed ==
> > int(self._latest_version):
> > ValueError: invalid literal for int() with base 10: '-'
>
> > This worked before. :-)
> > I admit that I hacked into the device tree but to my knowledge, I did
> > not touch the package system.
>
> what does your "date" command say ?
>
> ciao
>         oli
>
>
> --
> snappy-devel mailing list
> snappy-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snappy-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20150223/20f8c275/attachment-0001.html>


More information about the snappy-devel mailing list