[Bug 1660633] Re: /usr/bin/ucfr: line ... : [: : integer expression expected

2017-04-21 Thread Launchpad Bug Tracker
[Expired for ucf (Ubuntu) because there has been no activity for 60 days.] ** Changed in: ucf (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1660633

[Bug 1660633] Re: /usr/bin/ucfr: line ... : [: : integer expression expected

2017-02-20 Thread Andy
Yea I have no idea, this hasn't had a dist-upgrade in its life-cycle to introduce some weird malfunction. I've reinstalled bash and grep throughout this. You're right though egrep is nothing but a passthrough to grep. Maybe something upstream is corrupt. One would think I'd see more rampant

Re: [Bug 1660633] Re: /usr/bin/ucfr: line ... : [: : integer expression expected

2017-02-18 Thread Steve Langasek
On Sat, Feb 18, 2017 at 04:30:17PM -, Andy wrote: > Except that the dozen of frozen packages that were also experiencing the > same UCFR error were resolved once the ucfr script was tweaked. Just > because one package continued to have a fundamental flaw doesn't mean > the others were. FWIW.

[Bug 1660633] Re: /usr/bin/ucfr: line ... : [: : integer expression expected

2017-02-18 Thread Andy
Except that the dozen of frozen packages that were also experiencing the same UCFR error were resolved once the ucfr script was tweaked. Just because one package continued to have a fundamental flaw doesn't mean the others were. FWIW. -- You received this bug notification because you are a

Re: [Bug 1660633] Re: /usr/bin/ucfr: line ... : [: : integer expression expected

2017-02-17 Thread Steve Langasek
On Fri, Feb 17, 2017 at 10:11:51PM -, Manfred Hampl wrote: > Meanwhile in > https://answers.launchpad.net/ubuntu/+source/ucf/+question/448737 we > identified two areas where the ucfr script misbehaved in the environment > of the original poster. > The following workarounds helped: > Change

[Bug 1660633] Re: /usr/bin/ucfr: line ... : [: : integer expression expected

2017-02-17 Thread Manfred Hampl
Meanwhile in https://answers.launchpad.net/ubuntu/+source/ucf/+question/448737 we identified two areas where the ucfr script misbehaved in the environment of the original poster. The following workarounds helped: Change all occurrences of $" into "'$' Change all occurrences of egrep into grep -E

[Bug 1660633] Re: /usr/bin/ucfr: line ... : [: : integer expression expected

2017-02-08 Thread Andy
Good idea to check bash, however: root@nexus:/bin# ls -al bash -rwxr-xr-x 1 root root 1037528 Jun 24 2016 bash -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1660633 Title: /usr/bin/ucfr: line ...

Re: [Bug 1660633] Re: /usr/bin/ucfr: line ... : [: : integer expression expected

2017-02-07 Thread Steve Langasek
On Tue, Feb 07, 2017 at 04:32:19PM -, Manfred Hampl wrote: > /var/lib/ucf/registry is present on the system with the problem (see > https://answers.launchpad.net/ubuntu/+source/ucf/+question/448737 ) > As far as we already found out one of the causes of this error is that the > command >

[Bug 1660633] Re: /usr/bin/ucfr: line ... : [: : integer expression expected

2017-02-07 Thread Manfred Hampl
/var/lib/ucf/registry is present on the system with the problem (see https://answers.launchpad.net/ubuntu/+source/ucf/+question/448737 ) As far as we already found out one of the causes of this error is that the command egrep --count "[[:space:]]/etc/default/grub$" "/var/lib/ucf/registry"

[Bug 1660633] Re: /usr/bin/ucfr: line ... : [: : integer expression expected

2017-02-06 Thread Steve Langasek
You don't appear to have answered the key question from my follow-up. > In this case, the error is that "count" is undefined in the script. > Is /var/lib/ucf/registry missing from your system? ** Changed in: ucf (Ubuntu) Status: New => Incomplete -- You received this bug notification

[Bug 1660633] Re: /usr/bin/ucfr: line ... : [: : integer expression expected

2017-02-05 Thread Andy
Related commentary #28 from Ask thread: [] "This all seems to be related to http://www.grymoire.com/unix/CshTop10.txt (search for 'Illegal variable name.') Still there is the open question, why you get different results between "grep -E ..." and "egrep ..." What I can suggest: 1. avoid tcsh

[Bug 1660633] Re: /usr/bin/ucfr: line ... : [: : integer expression expected

2017-02-01 Thread Andy
I don't mean to just link outwards, I did link to the request from the 'Answers' section on here where a full discourse and general looking at has occurred: https://answers.launchpad.net/ubuntu/+source/ucf/+question/448737 Which in it details the registry and other components herein. I'd love to

[Bug 1660633] Re: /usr/bin/ucfr: line ... : [: : integer expression expected

2017-01-31 Thread Steve Langasek
> I've had a reoccurring issue: https://ubuntuforums.org/showthread.php?t=2350682 Please include full error messages in your bug report when filing, rather than referring to other websites. In this case, the error is that "count" is undefined in the script. Is /var/lib/ucf/registry missing from