This bug has been fixed in version 0.50 of apt-xapian-index.
If you need a fix for the bug in previous versions of Ubuntu, please follow the
instructions for "Requesting a Backport" at
https://wiki.ubuntu.com/UbuntuBackports#Requesting_a_Backport.
The `configparser` import has been fixed in comm
Here's the command I used to apply this patch :
```
$ sudo patch --verbose -d /usr/bin < axi-cache.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--
|--- a/usr/bin/axi-cache
|+++ b/usr/bin/axi-cache
--
patching file
Here's the command I used to apply this patch :
$ sudo patch --verbose -d $(dirname $(which axi-cache)) < axi-cache.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--
|--- a/usr/bin/axi-cache
|+++ b/usr/bin/axi-cache
@khurshid-alam
Hi, just noticed your [A hack to workaround error](
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1612948/comments/6)
has a typo.
Can you please replace "ax-cache" by "axi-cache" and repost it ?
--
You received this bug notification because you are a member of Ub
Ubuntu 19.10 is affected by this bug too.
This bug should be completely fixed before 20.04 LTS release.
Otherwise we will lose full-feature search in Synaptic and Muon.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.lau
(if we remove `apt-xapian-index` package because of this bug)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 broke the script
To manage notifications a
** Changed in: apt-xapian-index (Ubuntu)
Assignee: (unassigned) => serge sidorov (sergesidorovv)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 bro
The Canonical Ubuntu Foundations team has made a decision that we won't
be working on this particular bug given that it is about a package in
universe.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/161
@brian-murray
>added: rls-bb-notfixing rls-ee-notfixing
This should be fixed before 20.04 LTS release.
And again - it is broken only on Ubuntu. Debian is not affected.
Could please take care on this bug?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is sub
** Tags removed: rls-bb-incoming rls-ee-incoming
** Tags added: rls-bb-notfixing rls-ee-notfixing
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 broke t
** Changed in: apt-xapian-index (Ubuntu)
Importance: Medium => High
** Tags added: rls-ee-incoming
** Tags added: rls-bb-incoming
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
ax
Still a problem on Eoan.
But works on the Debian Buster.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 broke the script
To manage notifications about
** Tags added: eoan
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 broke the script
To manage notifications about this bug go to:
https://bugs.launchpa
Still present in 19.04.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 broke the script
To manage notifications about this bug go to:
https://bugs.laun
Wow still present in 19.04
bkw@negre:~$ axi-cache
No module named 'ConfigParser': only help functions are implemented, for the
sake of help2man
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Bug exists in 18.10 and 19.04.
Please fix it and provide SRU for LTS releases.
** Tags removed: artful
** Tags added: cosmic disco
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-c
For 16.04 LTS we can use
`sudo cp /usr/lib/python3.5/configparser.py
/usr/lib/python3.5/ConfigParser.py`
And please note that problem is also seen on AskUbuntu -
https://askubuntu.com/a/1049264/66509 .
But it is not enough - search is broken:
$ sudo rm -rf /var/lib/apt-xapian-index/
$ sudo apt-
On bionic, getting rid of that error (dirty tweak until proper fix):
oem@ubuntu:~$ axi-cache
" No module named 'ConfigParser': only help functions are implemented, for the
sake of help2man "
***
First find location:
- ConfigParser.py from /usr/lib/python2.7
- configparser.py from /usr/li
** Tags removed: zesty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 broke the script
To manage notifications about this bug go to:
https://bugs.launc
18.04 LTS with all updates, bug exists.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 broke the script
To manage notifications about this bug go to:
h
18.04 LTS with all updates, bug exists.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 broke the script
To manage notifications about this bug go to:
h
Hello Norbert,
this bug report is about `axi-cache` not being fully ported. `axi-cache`
is a front-end for querying the xapian index and finding packages,
therefore I was suggesting a working alternative for the same task and
asking whether any feature was missing.
--
You received this bug notif
Dear Carlo!
> "Is there anything that `axi-cache` can do and cannot be done with `apt`?"
Are you writing this seriously?
`axi-cache` is broken and it does not matter that `apt` (or `apt-cache search`)
is not.
All `apt-xapian-index` package is broken, it causes Synaptic (see bug
1685376) and Mu
The package from Debian works (as mentioned in comment #5) because it is
the "original" Python2.7 version. The package in Ubuntu includes a
(incomplete) port to Python3. Now, going back to Python2 would probably
"fix" these problems, but Python2 is being phased out in the upcoming
Ubuntu releases.
I am not to familiar with apt-xapian-index.
I have apt-xapian-index 0.47ubuntu8.3 from xenial-updates/universe repository.
I know only that current Xenial's version of `axi-cache` is broken:
$ axi-cache
No module named 'ConfigParser': only help functions are implemented, for the
sake of help2ma
Is that change could be related ?
apt-xapian-index (0.47ubuntu8) xenial; urgency=medium
* debian/patches/05_python3.patch: del the indexer instance explicitly
before sys.exit(), so that it gets decrefed and freed before Python's
implicit shutdown machinery can potentially leave an empty
Bug exist in bionic with all todays updates.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 broke the script
To manage notifications about this bug go
** Tags removed: amd64
** Tags added: bionic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 broke the script
To manage notifications about this bug go
Ubuntu 17.10 final with all updates - bug is not fixed.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 broke the script
To manage notifications about t
Ubuntu 17.10 with all updates - bug is not fixed.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 broke the script
To manage notifications about this bu
In Artful bug is not fixed.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 broke the script
To manage notifications about this bug go to:
https://bugs.
Artful and Zesty are affected too.
axi-cache info does not work, with same error message - "No module named
'ConfigParser': only help functions are implemented, for the sake of help2man".
** Tags added: zesty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which
** Tags added: artful
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 broke the script
To manage notifications about this bug go to:
https://bugs.launch
What is interesting - during reinstallation of apt-xapian-index 0.47 from
xenial here is interesting message:
"The index /var/lib/apt-xapian-index/index is not CJK-compatible, rebuilding it"
I installed version 0.49 from Debian Stretch. It does not report any specific
messages:
$ sudo dpkg -i ap
Yes they have broken it. They didn't convert byte to string properly. I
have made a patch...or rather hack really.
After applying the patch try search with colon:
axi-cache search 'brasero'
But it won't show package details for that, it needs to be fixed properly. You
could try contacting them
My patch may be applied as
sudo sed -i 's/from ConfigParser import RawConfigParser/from configparser
import RawConfigParser/' /usr/bin/axi-cache
but this is not enough.
What is wrong with version from Debian Stretch
(https://packages.debian.org/stretch/apt-xapian-index)? Why you migrated
to pytho
The attachment "this patch is not sufficient, but needed" seems to be a
patch. If it isn't, please remove the "patch" flag from the attachment,
remove the "patch" tag, and if you are a member of the ~ubuntu-
reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad u
Got this bug on Xenial amd64 with all updates.
I have apt-xapian-index 0.47ubuntu8.3 installed.
I reinstalled python-configparser.
After editing of line 50:
change "from ConfigParser import RawConfigParser" to "from configparser import
RawConfigParser" I get.
`axi-cache info` works without erro
** Tags removed: package-from-proposed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 broke the script
To manage notifications about this bug go to:
ht
** Changed in: apt-xapian-index (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612948
Title:
axi-cache conversion to python3 broke the script
To manage n
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: apt-xapian-index (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/1612948
Ti
41 matches
Mail list logo