[Bug 1562237] Re: Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

2019-03-14 Thread Andreas Hasenack
*** This bug is a duplicate of bug 1616497 ***
https://bugs.launchpad.net/bugs/1616497

Reproduced. i added -x debugging to postinst, and this is what I get:
root@xenial:~# dpkg-reconfigure uwsgi-plugin-python
+ DEFAULTFLAVOR_DOTLESS=python27
+ [ xpython27 = xpython27 ]
+ ALTERNATIVE_PRIORITY=75
+ update-alternatives --quiet --install /usr/lib/uwsgi/plugins/python_plugin.so 
uwsgi-plugin-python /usr/lib/uwsgi/plugins/python27_plugin.so 75 --slave 
/usr/bin/uwsgi_python uwsgi_python /usr/bin/uwsgi-core --slave 
/usr/share/man/man1/uwsgi_python.1.gz uwsgi_python.1.gz 
/usr/share/man/man1/uwsgi_python27.1.gz
+ update-alternatives --quiet --install /usr/bin/uwsgi uwsgi 
/usr/bin/uwsgi_python27 35 --slave /usr/share/man/man1/uwsgi.1.gz uwsgi.1.gz 
/usr/share/man/man1/uwsgi_python27.1.gz
+ update-alternatives --list uwsgi
+ grep -c /uwsgi_python$
+ true
+ BINARY_IS_UWSGI_ALTERNATIVE=
+ [  -eq 0 ]
/var/lib/dpkg/info/uwsgi-plugin-python.postinst: 61: [: Illegal number: 
+ exit 0


That grep is failing to find a match:
root@xenial:~# update-alternatives --list uwsgi
/usr/bin/uwsgi-core
/usr/bin/uwsgi_python27

The error is happening because the grep fails to find a match, and "|
true", it should have been "|| true".

And I now found the debian bug about it, and the fix. It's fixed since
2.0.12-6.

** This bug has been marked a duplicate of bug 1616497
   uwsgi-plugin-python3 failed to install

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1562237

Title:
  Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/uwsgi/+bug/1562237/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1562237] Re: Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

2018-01-06 Thread Vertex
I am running a fully updated Ubuntu Server 16.04 and I still facing this
issue, please fix this bug:

Setting up uwsgi-plugin-python (2.0.12-5ubuntu3.1) ...
/var/lib/dpkg/info/uwsgi-plugin-python.postinst: 61: [: Illegal number:

thank you.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1562237

Title:
  Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/uwsgi/+bug/1562237/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1562237] Re: Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

2017-03-06 Thread Bob Balaban
Also happening to me using AWS Ubuntu 16.04 ec2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1562237

Title:
  Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/uwsgi/+bug/1562237/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1562237] Re: Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

2017-02-08 Thread Chris Hager
Still happening for me in a fully updated Ubuntu 16.04:

Setting up uwsgi-plugin-python (2.0.12-5ubuntu1) ...
/var/lib/dpkg/info/uwsgi-plugin-python.postinst: 61: [: Illegal number:

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1562237

Title:
  Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/uwsgi/+bug/1562237/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1562237] Re: Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

2017-01-31 Thread Anton Ivanov
** Also affects: uwsgi
   Importance: Undecided
   Status: New

** No longer affects: uwsgi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1562237

Title:
  Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/uwsgi/+bug/1562237/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1562237] Re: Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

2016-12-06 Thread Bug Watch Updater
** Changed in: uwsgi (Debian)
   Status: Unknown => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1562237

Title:
  Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/uwsgi/+bug/1562237/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1562237] Re: Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

2016-12-06 Thread Ashish Kulkarni
** Also affects: uwsgi (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818116
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1562237

Title:
  Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/uwsgi/+bug/1562237/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1562237] Re: Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

2016-04-02 Thread Zhang Huangbin
Another error while trying to install uwsgi-plugin-python:

Setting up uwsgi-plugin-python (2.0.12-5ubuntu1) ...
/var/lib/dpkg/info/uwsgi-plugin-python.postinst: 61: [: Illegal number: 

Seems incorrect shell syntax.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1562237

Title:
  Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/uwsgi/+bug/1562237/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1562237] Re: Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

2016-03-30 Thread Alexander Charykov
In post install section it fails in:
  BINARY_IS_UWSGI_ALTERNATIVE="$(\
update-alternatives --list uwsgi 2>/dev/null \
| grep -c '/uwsgi_python$' \
  )"

root@localhost:~# update-alternatives --list uwsgi
/usr/bin/uwsgi-core
/usr/bin/uwsgi_python27

Related bug in debian: https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=818116

** Bug watch added: Debian Bug tracker #818116
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818116

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1562237

Title:
  Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/uwsgi/+bug/1562237/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1562237] Re: Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

2016-03-30 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: uwsgi (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1562237

Title:
  Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/uwsgi/+bug/1562237/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1562237] Re: Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

2016-03-27 Thread HittingSmoke
This also affects uwsgi-plugin-python3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1562237

Title:
  Cannot install uwsgi-plugin-python on Ubuntu 16.04 beta2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/uwsgi/+bug/1562237/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs