Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
01-06-2022, 03:27 PM
#1
Member
Registered: Jan 2011
Posts: 332
Rep:
broken lynx
I was trying to use lynx with the --dump option and I kept getting an error message and web searches kept telling me I needed to edit the config file. After several failed attempts I reinstalled lynx but I think it kept using my old config files so I uninstalled lynx and manually removed the files in /etc/lynx/ after that my lynx installation/uninstallation has been broken.
******garrett@ideaPad-3:~$ dpkg --audit lynx &> ~/Desktop/lynx.txt
dpkg: package 'lynx' is not installed
******garrett@ideaPad-3:~$ dpkg -S lynx &>> ~/Desktop/lynx.txt
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/cookie_help.html.gz
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/option_help.html.gz
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/test_display.html.gz
lynx-common: /usr/share/locale/zh_CN/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/edit_help.html.gz
lynx-common: /usr/share/man/man1/lynx.1.gz
lynx-common: /usr/share/doc/lynx-common/docs/CHANGES2.4.gz
lynx-common: /etc/lynx/lynx.cfg
lynx-common: /usr/share/doc/lynx-common/COPYHEADER
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/xterm_help.html.gz
lynx-common: /usr/share/doc/lynx-common/docs/README.cookies
lynx-common: /usr/share/doc/lynx-common/lynx_help/lynx_help_main.html.gz
lynx-common: /usr/share/doc/lynx-common/docs/README.defines.gz
lynx-common: /usr/share/doc/lynx-common/docs/CHANGES2.5.gz
lynx-common: /usr/share/locale/vi/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/README.gz
lynx-common: /usr/share/locale/de/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/lynx_help
lynx-common: /usr/share/doc/lynx-common/docs/README.release
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/visited_help.html.gz
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/print_help.html.gz
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/alt_edit_help.html.gz
lynx-common: /usr/share/doc/lynx-common/docs/README.TRST.gz
lynx-common: /usr/share/doc/lynx-common/docs
lynx-common: /usr/share/doc/lynx-common/docs/slang.key
lynx-common: /usr/share/doc/lynx-common/docs/FM.announce.gz
lynx-common: /usr/share/locale/id/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/keystroke_help.html.gz
lynx-common: /usr/share/doc/lynx-common/docs/CHANGES2.3.gz
lynx-common: /usr/share/doc/lynx-common/docs/README.jp.gz
lynx-common: /usr/share/doc/lynx-common/docs/README.chartrans.gz
lynx-common: /usr/share/locale/da/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/history_help.html.gz
lynx-common: /usr/share/locale/ro/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/docs/pdcurses.key.gz
lynx-common: /usr/share/locale/uk/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/lynx_help/body.html.gz
lynx-common: /usr/share/locale/cs/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/lynx_help/about_lynx.html.gz
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/scrolling_help.html.gz
lynx-common: /usr/share/doc/lynx-common/PROBLEMS.gz
lynx-common: /usr/share/doc/lynx-common/docs/README.metrics.gz
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/gopher_types_help.html.gz
lynx-common: /usr/lib/mime/packages/lynx-common
lynx-common: /usr/share/doc/lynx-common/docs/README.sslcerts.gz
lynx-common: /usr/share/doc/lynx-common/changelog.Debian.gz
lynx-common: /usr/share/doc/lynx-common/docs/djgpp.key.gz
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/other_help.html.gz
lynx-common: /usr/share/doc/lynx-common/docs/CHANGES2.7.gz
lynx-common: /usr/share/doc/lynx-common/docs/win-386.announce.gz
lynx-common: /usr/share/locale/eo/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/locale/et/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/docs/CHANGES2.6.gz
lynx-common: /usr/share/doc/lynx-common/docs/OS-390.announce.gz
lynx-common: /usr/share/doc/lynx-common/docs/README.ssl
linux-headers-5.4.0-58-generic: /usr/src/linux-headers-5.4.0-58-generic/include/config/hid/petalynx.h
lynx-common: /usr/share/doc/lynx-common/README.Debian
lynx-common: /usr/share/doc/lynx-common/docs/CHANGES2.8.gz
lynx-common: /usr/share/doc/lynx-common/lynx_help/Lynx_users_guide.html.gz
lynx-common: /usr/share/doc/lynx-common/docs/README.options
lynx-common: /usr/share/locale/sl/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/locale/ja/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/movement_help.html.gz
lynx-common: /usr/share/locale/hu/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/lynx_help/lynx-dev.html.gz
lynx-common: /usr/share/locale/tr/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/bookmark_help.html.gz
lynx-common: /usr/share/locale/zh_TW/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/dired_help.html.gz
lynx-common: /usr/share/locale/it/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes
linux-headers-5.4.0-58-generic: /usr/src/linux-headers-5.4.0-58-generic/include/config/gpio/lynxpoint.h
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/environments.html.gz
lynx-common: /etc/lynx/lynx.lss
lynx-common: /usr/share/doc/lynx-common/docs/README.rootcerts.gz
lynx-common: /etc/lynx
lynx-common: /usr/share/locale/fi/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/locale/ca/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/lynx_help/lynx_url_support.html.gz
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/bashlike_edit_help.html.gz
lynx-common: /usr/share/doc/lynx-common/lynx_help/alphatoc.html.gz
lynx-common: /usr/share/locale/sv/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/docs/VMSWAIS.announce.gz
lynx-common: /usr/share/doc/lynx-common/lynx_help/cattoc.html.gz
lynx-common: /usr/share/doc/lynx-common/docs/IBMPC-charsets.announce.gz
linux-modules-extra-5.4.0-58-generic: /lib/modules/5.4.0-58-generic/kernel/drivers/hid/hid-petalynx.ko
lynx-common: /usr/share/locale/fr/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/locale/ru/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/locale/nl/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/lynx_help/keystrokes/follow_help.html.gz
lynx-common: /usr/share/locale/pt_BR/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/docs/SOCKETSHR.announce.gz
lynx-common: /usr/share/doc-base/lynx
lynx-common: /usr/share/locale/en/LC_MESSAGES/lynx.mo
lynx-common: /usr/share/doc/lynx-common/docs/CRAWL.announce.gz
lynx-common: /usr/share/doc/lynx-common/docs/TCPWARE.announce.gz
lynx-common: /usr/share/doc/lynx-common/copyright
******garrett@ideaPad-3:/$ sudo find ./* | grep lynx &>> /home/garrett/Desktop/lynx.txt
./home/garrett/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/var/tmp-U10YE1/usr/share/mime/application/x-atari-lynx-rom.xml
./home/garrett/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/soldier_platform_0.20211027.0/files/share/mime/application/x-atari-lynx-rom.xml
./home/garrett/Desktop/lynx.txt
./usr/share/doc/lynx-common
./usr/share/doc/lynx-common/COPYHEADER
./usr/share/doc/lynx-common/changelog.Debian.gz
./usr/share/doc/lynx-common/PROBLEMS.gz
./usr/share/doc/lynx-common/copyright
./usr/share/doc/lynx-common/docs
./usr/share/doc/lynx-common/docs/README.defines.gz
./usr/share/doc/lynx-common/docs/CHANGES2.5.gz
./usr/share/doc/lynx-common/docs/SOCKETSHR.announce.gz
./usr/share/doc/lynx-common/docs/CHANGES2.4.gz
./usr/share/doc/lynx-common/docs/TCPWARE.announce.gz
./usr/share/doc/lynx-common/docs/README.cookies
./usr/share/doc/lynx-common/docs/pdcurses.key.gz
./usr/share/doc/lynx-common/docs/README.jp.gz
./usr/share/doc/lynx-common/docs/IBMPC-charsets.announce.gz
./usr/share/doc/lynx-common/docs/README.chartrans.gz
./usr/share/doc/lynx-common/docs/slang.key
./usr/share/doc/lynx-common/docs/CHANGES2.8.gz
./usr/share/doc/lynx-common/docs/README.options
./usr/share/doc/lynx-common/docs/win-386.announce.gz
./usr/share/doc/lynx-common/docs/README.ssl
./usr/share/doc/lynx-common/docs/README.TRST.gz
./usr/share/doc/lynx-common/docs/CHANGES2.3.gz
./usr/share/doc/lynx-common/docs/CHANGES2.7.gz
./usr/share/doc/lynx-common/docs/README.release
./usr/share/doc/lynx-common/docs/VMSWAIS.announce.gz
./usr/share/doc/lynx-common/docs/OS-390.announce.gz
./usr/share/doc/lynx-common/docs/FM.announce.gz
./usr/share/doc/lynx-common/docs/CHANGES2.6.gz
./usr/share/doc/lynx-common/docs/README.rootcerts.gz
./usr/share/doc/lynx-common/docs/README.sslcerts.gz
./usr/share/doc/lynx-common/docs/CRAWL.announce.gz
./usr/share/doc/lynx-common/docs/README.metrics.gz
./usr/share/doc/lynx-common/docs/djgpp.key.gz
./usr/share/doc/lynx-common/README.gz
./usr/share/doc/lynx-common/README.Debian
./usr/share/doc/lynx-common/lynx_help
./usr/share/doc/lynx-common/lynx_help/Lynx_users_guide.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes
./usr/share/doc/lynx-common/lynx_help/keystrokes/environments.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/xterm_help.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/test_display.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/scrolling_help.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/gopher_types_help.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/edit_help.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/other_help.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/history_help.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/dired_help.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/bookmark_help.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/bashlike_edit_help.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/option_help.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/print_help.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/alt_edit_help.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/follow_help.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/cookie_help.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/movement_help.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/keystroke_help.html.gz
./usr/share/doc/lynx-common/lynx_help/keystrokes/visited_help.html.gz
./usr/share/doc/lynx-common/lynx_help/lynx_help_main.html.gz
./usr/share/doc/lynx-common/lynx_help/lynx-dev.html.gz
./usr/share/doc/lynx-common/lynx_help/lynx_url_support.html.gz
./usr/share/doc/lynx-common/lynx_help/about_lynx.html.gz
./usr/share/doc/lynx-common/lynx_help/cattoc.html.gz
./usr/share/doc/lynx-common/lynx_help/alphatoc.html.gz
./usr/share/doc/lynx-common/lynx_help/body.html.gz
./usr/share/man/man1/lynx.1.gz
./usr/share/locale/sv/LC_MESSAGES/lynx.mo
./usr/share/locale/zh_TW/LC_MESSAGES/lynx.mo
./usr/share/locale/zh_CN/LC_MESSAGES/lynx.mo
./usr/share/locale/de/LC_MESSAGES/lynx.mo
./usr/share/locale/eo/LC_MESSAGES/lynx.mo
./usr/share/locale/sl/LC_MESSAGES/lynx.mo
./usr/share/locale/cs/LC_MESSAGES/lynx.mo
./usr/share/locale/id/LC_MESSAGES/lynx.mo
./usr/share/locale/en/LC_MESSAGES/lynx.mo
./usr/share/locale/da/LC_MESSAGES/lynx.mo
./usr/share/locale/hu/LC_MESSAGES/lynx.mo
./usr/share/locale/vi/LC_MESSAGES/lynx.mo
./usr/share/locale/tr/LC_MESSAGES/lynx.mo
./usr/share/locale/pt_BR/LC_MESSAGES/lynx.mo
./usr/share/locale/nl/LC_MESSAGES/lynx.mo
./usr/share/locale/ca/LC_MESSAGES/lynx.mo
./usr/share/locale/it/LC_MESSAGES/lynx.mo
./usr/share/locale/et/LC_MESSAGES/lynx.mo
./usr/share/locale/ro/LC_MESSAGES/lynx.mo
./usr/share/locale/uk/LC_MESSAGES/lynx.mo
./usr/share/locale/fi/LC_MESSAGES/lynx.mo
./usr/share/locale/ja/LC_MESSAGES/lynx.mo
./usr/share/locale/fr/LC_MESSAGES/lynx.mo
./usr/share/locale/ru/LC_MESSAGES/lynx.mo
./usr/share/mime/application/x-atari-lynx-rom.xml
./usr/share/doc-base/lynx
./usr/src/linux-headers-5.4.0-58-generic/include/config/hid/petalynx.h
./usr/src/linux-headers-5.4.0-58-generic/include/config/gpio/lynxpoint.h
./usr/lib/mime/packages/lynx-common
./usr/lib/modules/5.4.0-58-generic/kernel/drivers/hid/hid-petalynx.ko
./var/cache/apt/archives/lynx-common_2.9.0dev.5-1_all.deb
./var/cache/apt/archives/lynx_2.9.0dev.5-1_amd64.deb
./var/lib/dpkg/info/lynx-common.md5sums
./var/lib/dpkg/info/lynx-common.conffiles
./var/lib/dpkg/info/lynx-common.list
./var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.14/36fc25152954e8954a1a7411f849e7270c8655b00b1af01032c70af482419d34/files/share/kservices5/useragentstrings/lynxoncurrent.desktop
./var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.14/36fc25152954e8954a1a7411f849e7270c8655b00b1af01032c70af482419d34/files/share/mime/application/x-atari-lynx-rom.xml
./var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.14/36fc25152954e8954a1a7411f849e7270c8655b00b1af01032c70af482419d34/files/lib/mkspecs/lynxos-g++
./var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.14/36fc25152954e8954a1a7411f849e7270c8655b00b1af01032c70af482419d34/files/lib/mkspecs/lynxos-g++/qplatformdefs.h
./var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.14/36fc25152954e8954a1a7411f849e7270c8655b00b1af01032c70af482419d34/files/lib/mkspecs/lynxos-g++/qmake.conf
./var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15-21.08/e8e3a76d0c26375c55740919779a70e76843cca2305ec01bc3c5d3cbeae2c9b6/files/share/mime/application/x-atari-lynx-rom.xml
./var/lib/doc-base/documents/lynx
01-06-2022, 03:43 PM
#2
Senior Member
Registered: Mar 2020
Posts: 3,688
Rep:
Quote:
Originally Posted by
Garrett85
I uninstalled lynx and manually removed the files in /etc/lynx/
Have you removed
~/.lynxrc as well?
Also,
Code:
sudo apt purge lynx-common
The problem is
/etc/lynx/lynx.* are not part of package
lynx , they're part of package
lynx-common .
Last edited by shruggy; 01-06-2022 at 03:49 PM .
1 members found this post helpful.
01-07-2022, 10:02 AM
#3
Member
Registered: Jan 2011
Posts: 332
Original Poster
Rep:
that worked thanks! two more questions
Quote:
Originally Posted by
shruggy
Have you removed
~/.lynxrc as well?
Also,
Code:
sudo apt purge lynx-common
The problem is
/etc/lynx/lynx.* are not part of package
lynx , they're part of package
lynx-common .
I didn't have a ~/.lynx file but your 2nd command fixed my problem, thanks! I had ran `sudo apt-get remove --purge lynx`, (I know I might have just gotten the arguments wrong and or out of order) and thought that had completely removed all traces of it. What's the common thing all about? Why didn't --purge get it all the first time?
Also, this is the issue I was having that got me installing & uninstalling and removing files for lynx to begin with, any ideas what's going wrong here?
$ lynx --dump
https://www.linuxfromscratch.org/lfs.../packages.html
Looking up
www.linuxfromscratch.org
Making HTTPS connection to
www.linuxfromscratch.org
lynx: Can't access startfile
https://www.linuxfromscratch.org/lfs.../packages.html
01-07-2022, 12:23 PM
#4
Senior Member
Registered: Mar 2020
Posts: 3,688
Rep:
1) Debian is very modular. Debian developers would break packages into smaller parts whenever possible and seems reasonable.
2) Debian
ships for many architectures . It often makes sense for Debian to split out common parts into a separate, architecture-independent package.
Code:
dpkg-query -Wf'${Architecture}\t${binary:Package}\n' lynx\*|
grep '^\w'
While the second point doesn't directly apply to Ubuntu or other derivatives, they use Debian as their base and rarely change Debian packaging unless absolutely necessary.
I hope all this will help you to understand what
debbug#797442 was about.
Also see the concerned Lintian tag
arch-dep-package-has-big-usr-share and section
6.8.5. Architecture-independent data of
Debian Developer's Reference (the Lintian tag mentions it but with a wrong section number).
Quote:
Originally Posted by
Garrett85
I cannot reproduce your issue on Ubuntu 20.04 LTS. Can you open the page in lynx interactively, i.e. without
-dump ?
Last edited by shruggy; 01-07-2022 at 12:53 PM .
01-07-2022, 06:40 PM
#5
Member
Registered: Jan 2011
Posts: 332
Original Poster
Rep:
Quote:
Originally Posted by
shruggy
1) Debian is very modular. Debian developers would break packages into smaller parts whenever possible and seems reasonable.
2) Debian
ships for many architectures . It often makes sense for Debian to split out common parts into a separate, architecture-independent package.
Code:
dpkg-query -Wf'${Architecture}\t${binary:Package}\n' lynx\*|
grep '^\w'
While the second point doesn't directly apply to Ubuntu or other derivatives, they use Debian as their base and rarely change Debian packaging unless absolutely necessary.
I hope all this will help you to understand what
debbug#797442 was about.
Also see the concerned Lintian tag
arch-dep-package-has-big-usr-share and section
6.8.5. Architecture-independent data of
Debian Developer's Reference (the Lintian tag mentions it but with a wrong section number).
I cannot reproduce your issue on Ubuntu 20.04 LTS. Can you open the page in lynx interactively, i.e. without
-dump ?
Yes, if I just run lynx it works fine, it's only when I use the --dump argument that I get that error.
01-08-2022, 08:00 AM
#6
Senior Member
Registered: Mar 2020
Posts: 3,688
Rep:
A similar thread on LQ. Which begs the question: what user are you running lynx as?
Also, does
-dump work with other console browsers (
elinks ,
links2 ,
w3m )? BTW,
w3m and
links2 are more picky about options than
lynx and
elinks : you have to specify
-dump with one dash.
Can the URL be dumped with
edbrowse ?
Code:
echo ,p|
edbrowse -d0 https://www.linuxfromscratch.org/lfs/view/stable/chapter03/packages.html
Another option is piping to
html2text
Code:
curl -s https://www.linuxfromscratch.org/lfs/view/stable/chapter03/packages.html|
html2text
Of course,
wget ,
wget2 , etc. can substitute for
curl , while
lynx ,
elinks , etc. can substitute for
html2text .
Last edited by shruggy; 01-08-2022 at 08:02 AM .
All times are GMT -5. The time now is 09:33 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News