Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #244819 > unrolled thread
| Started by | "Russell L. Harris" <russell@rlharris.org> |
|---|---|
| First post | 2022-01-30 20:50 +0100 |
| Last post | 2022-01-31 02:50 +0100 |
| Articles | 20 on this page of 21 — 8 participants |
Back to article view | Back to linux.debian.user
sparse dictionary "Russell L. Harris" <russell@rlharris.org> - 2022-01-30 20:50 +0100
Re: sparse dictionary Charlie <taoquester@gmail.com> - 2022-01-30 22:50 +0100
Re: sparse dictionary "Russell L. Harris" <russell@rlharris.org> - 2022-01-31 01:20 +0100
Re: sparse dictionary Greg Wooledge <greg@wooledge.org> - 2022-01-31 01:40 +0100
Re: sparse dictionary Greg Wooledge <greg@wooledge.org> - 2022-01-31 02:30 +0100
Re: sparse dictionary "Russell L. Harris" <russell@rlharris.org> - 2022-01-31 03:40 +0100
Re: sparse dictionary The Wanderer <wanderer@fastmail.fm> - 2022-01-31 04:40 +0100
converting Python2 to Python3 (was: sparse dictionary) Mike Kupfer <mkupfer@alum.berkeley.edu> - 2022-01-31 05:20 +0100
Re: converting Python2 to Python3 The Wanderer <wanderer@fastmail.fm> - 2022-01-31 13:50 +0100
Re: converting Python2 to Python3 Mike Kupfer <mkupfer@alum.berkeley.edu> - 2022-01-31 17:40 +0100
Re: sparse dictionary "Russell L. Harris" <russell@rlharris.org> - 2022-01-31 06:20 +0100
Re: sparse dictionary Charlie <taoquester@gmail.com> - 2022-01-31 06:50 +0100
Re: sparse dictionary Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2022-01-31 07:50 +0100
Re: sparse dictionary The Wanderer <wanderer@fastmail.fm> - 2022-01-31 14:00 +0100
Re: sparse dictionary Tixy <tixy@yxit.co.uk> - 2022-01-31 14:40 +0100
Re: sparse dictionary The Wanderer <wanderer@fastmail.fm> - 2022-01-31 15:10 +0100
Re: sparse dictionary Charlie <taoquester@gmail.com> - 2022-01-31 06:40 +0100
Re: sparse dictionary Greg Wooledge <greg@wooledge.org> - 2022-01-31 13:40 +0100
Re: sparse dictionary Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2022-01-31 07:40 +0100
Re: sparse dictionary David Wright <deblis@lionunicorn.co.uk> - 2022-01-31 17:50 +0100
Re: sparse dictionary "Russell L. Harris" <russell@rlharris.org> - 2022-01-31 02:50 +0100
Page 1 of 2 [1] 2 Next page →
| From | "Russell L. Harris" <russell@rlharris.org> |
|---|---|
| Date | 2022-01-30 20:50 +0100 |
| Subject | sparse dictionary |
| Message-ID | <DLon0-2Ey-3@gated-at.bofh.it> |
With respect to the dictionary and thesaurus, something has changed between Debian releases 9 and 11; it seems that a great many words are missing. The problem is not spelling; the spelling checker reports "correctly spelled". Synaptic no longer shows the several "gazeteer" entries, and I do not find "moby thesaurus". In default search method I have selected local host, and localhost for the server. I need the ability to use the system when not connected to the Internet. Is the current revision of the dictionary application unable to read all of the old databases? RLH -- How should one chase a thousand, and two put ten thousand to flight, except their Rock had sold them, and the Lord had shut them up? - Deuteronomy 32:30
[toc] | [next] | [standalone]
| From | Charlie <taoquester@gmail.com> |
|---|---|
| Date | 2022-01-30 22:50 +0100 |
| Message-ID | <DLqf8-3MY-5@gated-at.bofh.it> |
| In reply to | #244819 |
On Sun, 30 Jan 2022 19:18:42 +0000 "Russell L. Harris" <russell@rlharris.org> wrote: > Synaptic no longer shows the several "gazeteer" entries, and I do not > find "moby thesaurus". Don't know, dict-moby-thesaurus is here Charlie -- Registered Linux User:- 329524 *********************************************** It is well to remember that the entire population of the universe, with one trifling exception, is composed of others. -- John Andrew Holmes, Jr. *********************************************** Debian GNU/Linux - Magic indeed. -----------------------------------------------------
[toc] | [prev] | [next] | [standalone]
| From | "Russell L. Harris" <russell@rlharris.org> |
|---|---|
| Date | 2022-01-31 01:20 +0100 |
| Message-ID | <DLsAh-5k5-5@gated-at.bofh.it> |
| In reply to | #244828 |
On Mon, Jan 31, 2022 at 08:41:07AM +1100, Charlie wrote: >On Sun, 30 Jan 2022 19:18:42 +0000 >"Russell L. Harris" <russell@rlharris.org> wrote: > >> Synaptic no longer shows the several "gazeteer" entries, and I do not >> find "moby thesaurus". > >Don't know, dict-moby-thesaurus is here My synaptic (0.90.2) cannot find it. Debian 11.2.
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Date | 2022-01-31 01:40 +0100 |
| Message-ID | <DLsTD-5qb-1@gated-at.bofh.it> |
| In reply to | #244832 |
On Sun, Jan 30, 2022 at 11:53:26PM +0000, Russell L. Harris wrote: > On Mon, Jan 31, 2022 at 08:41:07AM +1100, Charlie wrote: > > On Sun, 30 Jan 2022 19:18:42 +0000 > > "Russell L. Harris" <russell@rlharris.org> wrote: > > > > > Synaptic no longer shows the several "gazeteer" entries, and I do not > > > find "moby thesaurus". > > > > Don't know, dict-moby-thesaurus is here > > My synaptic (0.90.2) cannot find it. Debian 11.2. What is "gazeteer"? Is that an Ubuntu thing? (This is not an Ubuntu mailing list.)
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Date | 2022-01-31 02:30 +0100 |
| Message-ID | <DLtG1-5Va-1@gated-at.bofh.it> |
| In reply to | #244833 |
On Mon, Jan 31, 2022 at 12:52:36AM +0000, Russell L. Harris wrote: > On Sun, Jan 30, 2022 at 07:32:26PM -0500, Greg Wooledge wrote: > > On Sun, Jan 30, 2022 at 11:53:26PM +0000, Russell L. Harris wrote: > > > On Mon, Jan 31, 2022 at 08:41:07AM +1100, Charlie wrote: > > > > On Sun, 30 Jan 2022 19:18:42 +0000 > > > > "Russell L. Harris" <russell@rlharris.org> wrote: > > > > > > > > > Synaptic no longer shows the several "gazeteer" entries, and I do not > > > > > find "moby thesaurus". > > > > > > > > Don't know, dict-moby-thesaurus is here > > > > > > My synaptic (0.90.2) cannot find it. Debian 11.2. > > > > What is "gazeteer"? Is that an Ubuntu thing? (This is not an Ubuntu > > mailing list.) > > gazetter - A geographical dictionary; a book giving the names and > descriptions, etc., of many places. [1913 Webster] > > P.S. As a long-time Debian user (I started with Potato), I have no > use for Ubuntu. Well... according to packages.debian.org, dict-moby-thesaurus only exists in oldstable and oldoldstable. So, Debian 9 and 10. <https://tracker.debian.org/pkg/dict-moby-thesaurus> shows the dates it was removed from unstable and from testing. <https://tracker.debian.org/news/1161371/removed-10-64-from-unstable/> shows that it was removed because: RoQA; dead upstream (10+ years); python2-only; no extrenal deps; extremely low popcon
[toc] | [prev] | [next] | [standalone]
| From | "Russell L. Harris" <russell@rlharris.org> |
|---|---|
| Date | 2022-01-31 03:40 +0100 |
| Message-ID | <DLuLM-6wT-13@gated-at.bofh.it> |
| In reply to | #244834 |
On Sun, Jan 30, 2022 at 08:28:29PM -0500, Greg Wooledge wrote: >On Mon, Jan 31, 2022 at 12:52:36AM +0000, Russell L. Harris wrote: >> On Sun, Jan 30, 2022 at 07:32:26PM -0500, Greg Wooledge wrote: >> > On Sun, Jan 30, 2022 at 11:53:26PM +0000, Russell L. Harris wrote: >> > > On Mon, Jan 31, 2022 at 08:41:07AM +1100, Charlie wrote: >> > > > On Sun, 30 Jan 2022 19:18:42 +0000 >> > > > "Russell L. Harris" <russell@rlharris.org> wrote:> >Well... according to packages.debian.org, dict-moby-thesaurus only exists >in oldstable and oldoldstable. So, Debian 9 and 10. > ><https://tracker.debian.org/pkg/dict-moby-thesaurus> shows the dates >it was removed from unstable and from testing. > ><https://tracker.debian.org/news/1161371/removed-10-64-from-unstable/> >shows that it was removed because: > >RoQA; dead upstream (10+ years); python2-only; no extrenal deps; extremely low popcon Thanks for taking the time to trace out the cause. It truly is a sad loss. I wish I knew enough about Python to know how much work it would take to make the data base compatible with Python 3 (or whatever dictionary currently is running on). Meanwhile, it is back to Roget. RLH
[toc] | [prev] | [next] | [standalone]
| From | The Wanderer <wanderer@fastmail.fm> |
|---|---|
| Date | 2022-01-31 04:40 +0100 |
| Message-ID | <DLvHQ-7co-1@gated-at.bofh.it> |
| In reply to | #244837 |
[Multipart message — attachments visible in raw view] — view raw
On 2022-01-30 at 21:07, Russell L. Harris wrote: > On Sun, Jan 30, 2022 at 08:28:29PM -0500, Greg Wooledge wrote: >> Well... according to packages.debian.org, dict-moby-thesaurus only >> exists in oldstable and oldoldstable. So, Debian 9 and 10. >> >> <https://tracker.debian.org/pkg/dict-moby-thesaurus> shows the >> dates it was removed from unstable and from testing. >> >> <https://tracker.debian.org/news/1161371/removed-10-64-from-unstable/> >> shows that it was removed because: >> >> RoQA; dead upstream (10+ years); python2-only; no extrenal deps; >> extremely low popcon > > Thanks for taking the time to trace out the cause. It truly is a > sad loss. > > I wish I knew enough about Python to know how much work it would > take to make the data base compatible with Python 3 (or whatever > dictionary currently is running on). Meanwhile, it is back to > Roget. Speaking as someone who took a Python 2 codebase (moosic) that was being dropped with the move to Python 3, and updated it to work with Python 3, without having been more than can-read-it-well-enough familiar with Python before that point: It's entirely doable, but the degree of difficulty and amount of work will depend on the specific codebase involved. In my case, I started with the last Debian package version before the removal, imported the source package into git, dropped the debian/ directory because that doesn't belong in the upstream codebase, ran the '2to3' tool (from the package of the same name) against the codebase, committed the result, and started doing "build" / run tests of the updated code (including comparisons back and forth with the untouched Python 2 version of the codebase). Lots of things didn't work at first, but it only took me a day or so to get it working far enough for a few of the program's features to be functional, and another day or two to get the rest into shape. I've since taken over as upstream maintainer, am working to get the package back into Debian (although it's currently low project priority), and have done a bit of work adding features and fixing bugs into the bargain. The details in your case might be significantly different, but I assure you that it *can* be done, it's just a matter of how opaque the codebase is, and how many manual changes need to be made after what the 2to3 conversion tool does. -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw
[toc] | [prev] | [next] | [standalone]
| From | Mike Kupfer <mkupfer@alum.berkeley.edu> |
|---|---|
| Date | 2022-01-31 05:20 +0100 |
| Subject | converting Python2 to Python3 (was: sparse dictionary) |
| Message-ID | <DLwky-7EU-3@gated-at.bofh.it> |
| In reply to | #244841 |
The Wanderer wrote:
> In my case, I started with the last Debian package version before the
> removal, imported the source package into git, dropped the debian/
> directory because that doesn't belong in the upstream codebase, ran the
> '2to3' tool (from the package of the same name) against the codebase,
> committed the result, and started doing "build" / run tests of the
> updated code (including comparisons back and forth with the untouched
> Python 2 version of the codebase).
FWIW, here are my notes from converting a couple small private scripts:
* Note that 2to3 does not change the shebang line. And the actual
command in Debian10 [and 11] is 2to3-2.7.
* Run pylint before running 2to3, and address non-cosmetic issues. Then
run pylint3 after the conversion.
mike
[toc] | [prev] | [next] | [standalone]
| From | The Wanderer <wanderer@fastmail.fm> |
|---|---|
| Date | 2022-01-31 13:50 +0100 |
| Subject | Re: converting Python2 to Python3 |
| Message-ID | <DLEi6-3Wl-15@gated-at.bofh.it> |
| In reply to | #244843 |
[Multipart message — attachments visible in raw view] — view raw
On 2022-01-30 at 23:01, Mike Kupfer wrote: > The Wanderer wrote: > >> In my case, I started with the last Debian package version before the >> removal, imported the source package into git, dropped the debian/ >> directory because that doesn't belong in the upstream codebase, ran the >> '2to3' tool (from the package of the same name) against the codebase, >> committed the result, and started doing "build" / run tests of the >> updated code (including comparisons back and forth with the untouched >> Python 2 version of the codebase). > > FWIW, here are my notes from converting a couple small private scripts: > > * Note that 2to3 does not change the shebang line. And the actual > command in Debian10 [and 11] is 2to3-2.7. This is in the 'python2.7' package. However, there is also a package named '2to3', which contains a command by the same name. I cannot actually remember which of the two I used. > * Run pylint before running 2to3, and address non-cosmetic issues. Then > run pylint3 after the conversion. I don't think I did either of these things. I will have to follow up with the latter, to make sure things are as clean as I can arrange for them to be. -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw
[toc] | [prev] | [next] | [standalone]
| From | Mike Kupfer <mkupfer@alum.berkeley.edu> |
|---|---|
| Date | 2022-01-31 17:40 +0100 |
| Subject | Re: converting Python2 to Python3 |
| Message-ID | <DLHSF-68t-5@gated-at.bofh.it> |
| In reply to | #244854 |
The Wanderer wrote: > On 2022-01-30 at 23:01, Mike Kupfer wrote: > > > FWIW, here are my notes from converting a couple small private scripts: > > > > * Note that 2to3 does not change the shebang line. And the actual > > command in Debian10 [and 11] is 2to3-2.7. > > This is in the 'python2.7' package. However, there is also a package > named '2to3', which contains a command by the same name. Ah, I see. Both the files in /usr/bin are trivial wrappers, with 2to3-2.7 using the Python 2.7 library and 2to3 using the Python 3 library. I expect that 2to3 would be the better choice (/me updates notes). thanks, mike
[toc] | [prev] | [next] | [standalone]
| From | "Russell L. Harris" <russell@rlharris.org> |
|---|---|
| Date | 2022-01-31 06:20 +0100 |
| Message-ID | <DLxgB-8cP-3@gated-at.bofh.it> |
| In reply to | #244841 |
On Sun, Jan 30, 2022 at 10:36:57PM -0500, The Wanderer wrote: I discovered dictfmt and dictunformat, which seem to be applicable. But I do not know where in Debian (Debian 9) to look for the moby-thesaurus file. RLH
[toc] | [prev] | [next] | [standalone]
| From | Charlie <taoquester@gmail.com> |
|---|---|
| Date | 2022-01-31 06:50 +0100 |
| Message-ID | <DLxJE-8sp-7@gated-at.bofh.it> |
| In reply to | #244844 |
On Mon, 31 Jan 2022 04:49:09 +0000 "Russell L. Harris" <russell@rlharris.org> wrote: > On Sun, Jan 30, 2022 at 10:36:57PM -0500, The Wanderer wrote: > > I discovered dictfmt and dictunformat, which seem to be applicable. > > But I do not know where in Debian (Debian 9) to look for the > moby-thesaurus file. > > RLH > Reading state information... Done dict-moby-thesaurus is already the newest version (1.0-6.4) Sorry am unable to help. Charlie -- Registered Linux User:- 329524 *********************************************** Patriotism is supporting your country all the time, and your government when it deserves it. --Mark Twain *********************************************** Debian GNU/Linux - Magic indeed. -----------------------------------------------------
[toc] | [prev] | [next] | [standalone]
| From | Polyna-Maude Racicot-Summerside <debian@polynamaude.com> |
|---|---|
| Date | 2022-01-31 07:50 +0100 |
| Message-ID | <DLyFI-zY-5@gated-at.bofh.it> |
| In reply to | #244844 |
[Multipart message — attachments visible in raw view] — view raw
On 2022-01-30 23:49, Russell L. Harris wrote: > On Sun, Jan 30, 2022 at 10:36:57PM -0500, The Wanderer wrote: > > I discovered dictfmt and dictunformat, which seem to be applicable. > > But I do not know where in Debian (Debian 9) to look for the > moby-thesaurus file. > > RLH > Download the source package from Debian 9 or 10 and get the dictionnaries you want thay weren't ported to the version you now have. Give a try either compiling or using another software to access the data -- Polyna-Maude R.-Summerside -Be smart, Be wise, Support opensource development
[toc] | [prev] | [next] | [standalone]
| From | The Wanderer <wanderer@fastmail.fm> |
|---|---|
| Date | 2022-01-31 14:00 +0100 |
| Message-ID | <DLErM-3Zw-11@gated-at.bofh.it> |
| In reply to | #244844 |
[Multipart message — attachments visible in raw view] — view raw
On 2022-01-30 at 23:49, Russell L. Harris wrote: > On Sun, Jan 30, 2022 at 10:36:57PM -0500, The Wanderer wrote: > > I discovered dictfmt and dictunformat, which seem to be applicable. > > But I do not know where in Debian (Debian 9) to look for the > moby-thesaurus file. If you still have access to a repository that contains it (that is, if 'apt-cache policy dict-moby-thesaurus' reports a remote location, not just /var/lib/dpkg/status), then you can download the source package with the command: apt-get source dict-moby-thesaurus (although you'll want to make sure you're in an appropriate empty directory before running the command, just to keep things clean). Note also that a brief examination of the binary package doesn't seem to show any indication of a Python connection at all, much less specifically a Python 2 one, so I'm not sure what it is that will need to be changed here. If you don't still have access to such a repository, then you'll need to look under snapshot.debian.org, and find the source package there. The main page will be https://snapshot.debian.org/binary/dict-moby-thesaurus/ and the version-specific page for the latest version appears to be https://snapshot.debian.org/package/dict-moby-thesaurus/1.0-6.4/ ; at a glance, it looks like turning these files into a form that you can work with may wind up requiring more Debian-specific knowledge than the other approach would, but I can't confirm offhand that that is the case. -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw
[toc] | [prev] | [next] | [standalone]
| From | Tixy <tixy@yxit.co.uk> |
|---|---|
| Date | 2022-01-31 14:40 +0100 |
| Message-ID | <DLF4t-4rX-1@gated-at.bofh.it> |
| In reply to | #244855 |
On Mon, 2022-01-31 at 07:52 -0500, The Wanderer wrote: > On 2022-01-30 at 23:49, Russell L. Harris wrote: > > > On Sun, Jan 30, 2022 at 10:36:57PM -0500, The Wanderer wrote: > > > > I discovered dictfmt and dictunformat, which seem to be applicable. > > > > But I do not know where in Debian (Debian 9) to look for the > > moby-thesaurus file. > > If you still have access to a repository that contains it (that is, if > 'apt-cache policy dict-moby-thesaurus' reports a remote location, not > just /var/lib/dpkg/status), then you can download the source package > with the command: > > apt-get source dict-moby-thesaurus > > (although you'll want to make sure you're in an appropriate empty > directory before running the command, just to keep things clean). > > Note also that a brief examination of the binary package doesn't seem to > show any indication of a Python connection at all, much less > specifically a Python 2 one, so I'm not sure what it is that will need > to be changed here. The source package description [1] says: Build-Depends-Indep: python (>= 2.4.3), python-dictdlib (>= 2.0.4), so it looks like it uses Python to make the binary package. The description includes... "This is formatted for use by the dictionary server in the dictd package" So I'd guess that if you had dict/disctd installed you could use just intsal dict-moby-thesaurus from Debian 10 and it would work. No python2 needed. [1] https://snapshot.debian.org/archive/debian/20170902T215249Z/pool/main/d/dict-moby-thesaurus/dict-moby-thesaurus_1.0-6.4.dsc -- Tixy
[toc] | [prev] | [next] | [standalone]
| From | The Wanderer <wanderer@fastmail.fm> |
|---|---|
| Date | 2022-01-31 15:10 +0100 |
| Message-ID | <DLFxv-4R6-3@gated-at.bofh.it> |
| In reply to | #244858 |
[Multipart message — attachments visible in raw view] — view raw
On 2022-01-31 at 08:31, Tixy wrote: > On Mon, 2022-01-31 at 07:52 -0500, The Wanderer wrote: > >> On 2022-01-30 at 23:49, Russell L. Harris wrote: >> >> > On Sun, Jan 30, 2022 at 10:36:57PM -0500, The Wanderer wrote: >> > >> > I discovered dictfmt and dictunformat, which seem to be applicable. >> > >> > But I do not know where in Debian (Debian 9) to look for the >> > moby-thesaurus file. >> >> If you still have access to a repository that contains it (that is, if >> 'apt-cache policy dict-moby-thesaurus' reports a remote location, not >> just /var/lib/dpkg/status), then you can download the source package >> with the command: >> >> apt-get source dict-moby-thesaurus >> >> (although you'll want to make sure you're in an appropriate empty >> directory before running the command, just to keep things clean). >> >> Note also that a brief examination of the binary package doesn't seem to >> show any indication of a Python connection at all, much less >> specifically a Python 2 one, so I'm not sure what it is that will need >> to be changed here. > > The source package description [1] says: > > Build-Depends-Indep: python (>= 2.4.3), python-dictdlib (>= 2.0.4), > > so it looks like it uses Python to make the binary package. > > The description includes... "This is formatted for use by the > dictionary server in the dictd package" > > So I'd guess that if you had dict/disctd installed you could use just > intsal dict-moby-thesaurus from Debian 10 and it would work. No python2 > needed. Which in turn implies that what needs to be forward-ported is probably that python-dictdlib, whatever and wherever that is (it doesn't seem to be in current Debian testing, which would be expected if it is indeed Python-2-only, and I haven't taken the trouble to dig it up from the snapshots archive as of yet), as well as any dependencies that may have. I think it likely that with that done, dict-moby-thesaurus could be built from its existing source package with no issues.q -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw
[toc] | [prev] | [next] | [standalone]
| From | Charlie <taoquester@gmail.com> |
|---|---|
| Date | 2022-01-31 06:40 +0100 |
| Message-ID | <DLxzY-8p5-1@gated-at.bofh.it> |
| In reply to | #244837 |
On Mon, 31 Jan 2022 02:07:05 +0000 "Russell L. Harris" <russell@rlharris.org> wrote: > ><https://tracker.debian.org/pkg/dict-moby-thesaurus> shows the dates > >it was removed from unstable and from testing. I think this lappy has only had Bullseye in testing and then stable on it Debian GNU/Linux 11 (bullseye) i dict-moby-thesaurus Maybe just not in synaptic. I use apt-get and apt to put the packages on this one? No idea though. -- Registered Linux User:- 329524 *********************************************** The Great Way is not difficult for those who have no preferences. --Sengstan Third Zen Patriarch *********************************************** Debian GNU/Linux - Magic indeed. -----------------------------------------------------
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Date | 2022-01-31 13:40 +0100 |
| Message-ID | <DLE8p-3SP-7@gated-at.bofh.it> |
| In reply to | #244845 |
On Mon, Jan 31, 2022 at 04:36:35PM +1100, Charlie wrote: > I think this lappy has only had Bullseye in testing and then stable on > it Debian GNU/Linux 11 (bullseye) > > i dict-moby-thesaurus > > Maybe just not in synaptic. I use apt-get and apt to put the packages > on this one? No, you're definitely mistaken about one of your assumptions here. There isn't a separate repository of packages that only synaptic knows about, or that only apt-get knows about. They all read the same sources. The most likely thing is that you ran bullseye-as-testing at a time when this package still existed (hadn't been removed from testing yet). You installed the package then, and you still have it.
[toc] | [prev] | [next] | [standalone]
| From | Polyna-Maude Racicot-Summerside <debian@polynamaude.com> |
|---|---|
| Date | 2022-01-31 07:40 +0100 |
| Message-ID | <DLyw1-wB-3@gated-at.bofh.it> |
| In reply to | #244834 |
[Multipart message — attachments visible in raw view] — view raw
Hi, On 2022-01-30 20:28, Greg Wooledge wrote: > On Mon, Jan 31, 2022 at 12:52:36AM +0000, Russell L. Harris wrote: >> On Sun, Jan 30, 2022 at 07:32:26PM -0500, Greg Wooledge wrote: >>> On Sun, Jan 30, 2022 at 11:53:26PM +0000, Russell L. Harris wrote: >>>> On Mon, Jan 31, 2022 at 08:41:07AM +1100, Charlie wrote: >>>>> On Sun, 30 Jan 2022 19:18:42 +0000 >>>>> "Russell L. Harris" <russell@rlharris.org> wrote: >>>>> >>>>>> Synaptic no longer shows the several "gazeteer" entries, and I do not >>>>>> find "moby thesaurus". >>>>> >>>>> Don't know, dict-moby-thesaurus is here >>>> >>>> My synaptic (0.90.2) cannot find it. Debian 11.2. >>> >>> What is "gazeteer"? Is that an Ubuntu thing? (This is not an Ubuntu >>> mailing list.) >> >> gazetter - A geographical dictionary; a book giving the names and >> descriptions, etc., of many places. [1913 Webster] >> >> P.S. As a long-time Debian user (I started with Potato), I have no >> use for Ubuntu. > > Well... according to packages.debian.org, dict-moby-thesaurus only exists > in oldstable and oldoldstable. So, Debian 9 and 10. > > <https://tracker.debian.org/pkg/dict-moby-thesaurus> shows the dates > it was removed from unstable and from testing. > > <https://tracker.debian.org/news/1161371/removed-10-64-from-unstable/> > shows that it was removed because: > > RoQA; dead upstream (10+ years); python2-only; no extrenal deps; extremely low popcon > You could always try a manual compile -- Polyna-Maude R.-Summerside -Be smart, Be wise, Support opensource development
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2022-01-31 17:50 +0100 |
| Message-ID | <DLI2n-6bR-11@gated-at.bofh.it> |
| In reply to | #244848 |
On Mon 31 Jan 2022 at 01:31:36 (-0500), Polyna-Maude Racicot-Summerside wrote:
> On 2022-01-30 20:28, Greg Wooledge wrote:
> > On Mon, Jan 31, 2022 at 12:52:36AM +0000, Russell L. Harris wrote:
> >> On Sun, Jan 30, 2022 at 07:32:26PM -0500, Greg Wooledge wrote:
> >>> On Sun, Jan 30, 2022 at 11:53:26PM +0000, Russell L. Harris wrote:
> >>>> On Mon, Jan 31, 2022 at 08:41:07AM +1100, Charlie wrote:
> >>>>> On Sun, 30 Jan 2022 19:18:42 +0000
> >>>>> "Russell L. Harris" <russell@rlharris.org> wrote:
> >>>>>
> >>>>>> Synaptic no longer shows the several "gazeteer" entries, and I do not
> >>>>>> find "moby thesaurus".
> >>>>>
> >>>>> Don't know, dict-moby-thesaurus is here
> >>>>
> >>>> My synaptic (0.90.2) cannot find it. Debian 11.2.
> >
> > Well... according to packages.debian.org, dict-moby-thesaurus only exists
> > in oldstable and oldoldstable. So, Debian 9 and 10.
> >
> > <https://tracker.debian.org/pkg/dict-moby-thesaurus> shows the dates
> > it was removed from unstable and from testing.
> >
> > <https://tracker.debian.org/news/1161371/removed-10-64-from-unstable/>
> > shows that it was removed because:
> >
> > RoQA; dead upstream (10+ years); python2-only; no extrenal deps; extremely low popcon
>
> You could always try a manual compile
I'm not sure what needs compilation, but let me admit that I'm not
familiar with dictds and how they're used.
$ dpkg -L dict-moby-thesaurus
/.
/usr
/usr/share
/usr/share/dictd
/usr/share/dictd/moby-thesaurus.dict.dz
/usr/share/dictd/moby-thesaurus.index
/usr/share/doc
/usr/share/doc/dict-moby-thesaurus
/usr/share/doc/dict-moby-thesaurus/aaREADME.txt.gz
/usr/share/doc/dict-moby-thesaurus/changelog.Debian.gz
/usr/share/doc/dict-moby-thesaurus/copyright
$
moby-thesaurus.dict.dz is a compressed text file that you can gunzip
if only you change .dz to .gz. Similarly:
$ dpkg -L dict-gazetteer2k-counties
/.
/usr
/usr/share
/usr/share/dictd
/usr/share/dictd/gazetteer2k-counties.dict.dz
/usr/share/dictd/gazetteer2k-counties.index
/usr/share/doc
/usr/share/doc/dict-gazetteer2k-counties
/usr/share/doc/dict-gazetteer2k-counties/changelog.Debian.gz
/usr/share/doc/dict-gazetteer2k-counties/copyright
$
… gazetteer2k-counties.dict.dz is likewise, and the indexes
are all text anyway.
$ cp -ip /usr/share/dictd/gazetteer2k-counties.dict.dz /tmp/gazetteer2k-counties.dict.dz.gz
$ gunzip /tmp/gazetteer2k-counties.dict.dz.gz
$ head -n 20 /tmp/gazetteer2k-counties.dict.dz
00-database-url
http://www.census.gov/geo/www/gazetteer/places2k.html
00-database-short
U.S. Gazetteer Counties (2000)
00-database-info
The original data is available from:
http://www.census.gov/ftp/pub/tiger/tmz/gazetteer/county2k.txt
http://www.census.gov/ftp/pub/tiger/tms/gazetteer/zips.txt
The original U.S. Gazetteer Place and Zipcode Files
are provided by the U.S. Census Bureau and are in
the Public Domain.
Autauga -- U.S. County in Alabama
Population (2000): 43671
Housing Units (2000): 17662
Land area (2000): 595.968032 sq. miles (1543.550050 sq. km)
Water area (2000): 8.478429 sq. miles (21.959029 sq. km)
Total area (2000): 604.446461 sq. miles (1565.509079 sq. km)
Located within: Alabama (AL), FIPS 01
$
BTW python 2.7 is included in bullseye, isn't it? The restriction
AIUI is that packages can only depend on it for building, not running.
(Not that I know where python comes into all of this.)
Cheers,
David.
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | linux.debian.user
csiph-web