Re: DRAWS Image 15 and Xastir
Ran the commands and here is the console output:
pi@kd4izdraws2:~ $ sudo su
root@kd4izdraws2:/home/pi# dpkg -l "rpi-eeprom"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-==================================
ii rpi-eeprom 5.0-2 all Raspberry Pi 4 boot EEPROM updater
root@kd4izdraws2:/home/pi# apt-get remove rpi-eeprom-images
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
flashrom libftdi1-2 libusb-0.1-4
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
rpi-eeprom rpi-eeprom-images
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 7,798 kB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: unrecoverable fatal error, aborting:
files list file for package 'rpi-eeprom-images' contains empty filename
E: Sub-process /usr/bin/dpkg returned an error code (2)
root@kd4izdraws2:/home/pi# apt-get install rpi-eeprom rpi-eeprom-images
Reading package lists... Done
Building dependency tree
Reading state information... Done
rpi-eeprom is already the newest version (5.0-2).
rpi-eeprom-images is already the newest version (5.0-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@kd4izdraws2:/home/pi# dpkg -l "rpi-eeprom"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-==================================
ii rpi-eeprom 5.0-2 all Raspberry Pi 4 boot EEPROM updater
root@kd4izdraws2:/home/pi#
-- Jack - KD4IZ
|
|
Re: DRAWS Image 15 and Xastir
Basil...
Will do as you suggest momentarily. Sorry for the confusion. I am not running synaptic because it never was successfully installed. I have been strictly using the apt-get commands you suggested. -- Jack - KD4IZ
|
|
Re: DRAWS Image 15 and Xastir
Jack,
toggle quoted messageShow quoted text
Goal is to fix this problem: dpkg: unrecoverable fatal error, aborting: files list file for package 'rpi-eeprom-images' contains empty filename Do NOT go back & forth using synaptic & apt-get. Until this problem is solved JUST use apt-get. Do this: sudo su dpkg -l "rpi-eeprom*" apt-get remove rpi-eeprom-images apt-get install rpi-eeprom rpi-eeprom-images dpkg -l "rpi-eeprom*" # Send me the console output of above. /Basil Jack Spitznagel <kd4iz@frawg.org> writes:
Hi Basil,
|
|
Re: DRAWS Image 15 and Xastir
Hi Basil,
I ran your script sequence from the previous note- sudo su apt-get update apt-get install --fix-missing apt-get dist-upgrade
As requested, here is the console output from that session:
pi@kd4izdraws2:~ $ sudo su root@kd4izdraws2:/home/pi# apt-get update Hit:1 http://archive.raspberrypi.org/debian buster InRelease Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Fetched 15.0 kB in 1s (15.3 kB/s) Reading package lists... Done root@kd4izdraws2:/home/pi# apt-get install --fix-missing Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: alsa-base gstreamer0.10-alsa gstreamer0.10-plugins-base libegl-dev libgles-dev libglvnd-core-dev libglvnd-dev libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libjpeg9 libllvm6.0 libopengl0 libva-wayland2 libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxfce4util-bin libxfce4util-common libxfce4util7 libxfconf-0-2 libxshmfence-dev pimixer point-rpi xfconf Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@kd4izdraws2:/home/pi# apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: alsa-base gstreamer0.10-alsa gstreamer0.10-plugins-base libegl-dev libgles-dev libglvnd-core-dev libglvnd-dev libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libjpeg9 libllvm6.0 libopengl0 libva-wayland2 libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxfce4util-bin libxfce4util-common libxfce4util7 libxfconf-0-2 libxshmfence-dev pimixer point-rpi xfconf Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@kd4izdraws2:/home/pi#
The above obviously did not change the outcome of an attempt to install synaptic (tried again anyway). Then when running “sudo apt autoremove” afterward, dpkg still borks with an error code (2) – it is apparently unhappy because “ 'rpi-eeprom-images' contains empty filename”: pi@kd4izdraws2:~ $ sudo apt-get install synaptic Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: alsa-base gstreamer0.10-alsa gstreamer0.10-plugins-base libegl-dev libgles-dev libglvnd-core-dev libglvnd-dev libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libjpeg9 libllvm6.0 libopengl0 libva-wayland2 libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxfce4util-bin libxfce4util-common libxfce4util7 libxfconf-0-2 libxshmfence-dev pimixer point-rpi xfconf Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libcairo-perl libept1.5.0 libglib-perl libgtk2-perl libpango-perl libxapian30 Suggested packages: libfont-freetype-perl libgtk2-perl-doc xapian-tools dwww menu deborphan apt-xapian-index software-properties-gtk The following NEW packages will be installed: libcairo-perl libept1.5.0 libglib-perl libgtk2-perl libpango-perl libxapian30 synaptic 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/4,196 kB of archives. After this operation, 14.7 MB of additional disk space will be used. Do you want to continue? [Y/n] y Selecting previously unselected package libcairo-perl. dpkg: unrecoverable fatal error, aborting: files list file for package 'rpi-eeprom-images' contains empty filename E: Sub-process /usr/bin/dpkg returned an error code (2) pi@kd4izdraws2:~ $ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: alsa-base gstreamer0.10-alsa gstreamer0.10-plugins-base libegl-dev libgles-dev libglvnd-core-dev libglvnd-dev libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libjpeg9 libllvm6.0 libopengl0 libva-wayland2 libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxfce4util-bin libxfce4util-common libxfce4util7 libxfconf-0-2 libxshmfence-dev pimixer point-rpi xfconf 0 upgraded, 0 newly installed, 31 to remove and 0 not upgraded. After this operation, 68.8 MB disk space will be freed. Do you want to continue? [Y/n] y dpkg: unrecoverable fatal error, aborting: files list file for package 'rpi-eeprom-images' contains empty filename E: Sub-process /usr/bin/dpkg returned an error code (2)
This is getting off the beaten DRAWS track, so tell me if you don’t want to go there…
Thanks for trying to help.
Jack Spitznagel – KD4IZ Trustee for NR3DT The Museum Ship USCGC Taney WHEC-37 Amateur Radio Group Cell: (410) 207-5123
|
|
Re: DRAWS Image 15 and Xastir
Hi Jack,
toggle quoted messageShow quoted text
Something to try. Use the console commands instead of synaptic so you can cut & paste the output into an email to me. sudo su apt-get update apt-get install --fix-missing apt-get dist-upgrade Send me the console output of the above commands. /Basil Jack Spitznagel <kd4iz@frawg.org> writes:
Thanks Basil,
|
|
Re: DRAWS Image 15 and Xastir
I've seen issues arise when using both synaptic and command line apt-get. Be careful and watch for weirdness.
|
|
Re: DRAWS Image 15 and Xastir
Hi Jack,
toggle quoted messageShow quoted text
Something to try. Use the console commands instead of synaptic so you can cut & paste the output into an email to me. sudo su apt-get update apt-get install --fix-missing apt-get dist-upgrade Send me the console output of the above commands. /Basil Jack Spitznagel <kd4iz@frawg.org> writes:
Thanks Basil,
|
|
Re: DRAWS Image 15 and Xastir
Thanks Basil,
It worked. But when I went to wrap things up for my style of operating with raspbian LINUX, I tried to install synaptic and xscreensaver. Both attempts started by retrieving and failed at the extracting steps with a "dpkg returned an error code (2)". Fortunately XASTIR still starts and runs as do other apps, so I am not totally hamstrung. See error message detail below: For Synaptic install - when unpacking: "Selecting previously unselected package libcairo-perl. dpkg: unrecoverable fatal error, aborting: files list file for package 'rpi-eeprom-images' contains empty filename E: Sub-process /usr/bin/dpkg returned an error code (2)" For Xscreensaver install - when unpacking: "Selecting previously unselected package libglade2-0:armhf. dpkg: unrecoverable fatal error, aborting: files list file for package 'rpi-eeprom-images' contains empty filename E: Sub-process /usr/bin/dpkg returned an error code (2)" I tried several of the dpkg recovery suggestions from online raspbian help sources, but none did the trick so I could continue with the installations.Are there any tricks to bring *dpkg* back to its senses or rebuild the specified files with empty filenames? Thanks for responding even if I am off topic here... -- Jack - KD4IZ
|
|
Re: DRAWS Image 15 and Xastir
My error wasYep. I confirm that's also what I see. so I'll back up unless and try again unless you plan toThis is easily fixed with what I previously posted so will not be releasing a new image for that. The xs_install.sh script already fixes this problem. sudo su apt-get update apt-get dist-upgrade apt-get -y -qq install shapelib libshp-dev libgeotiff-dev libwebp-dev libgraphicsmagick1-dev /Basil n7nix
|
|
Re: DRAWS Image 15 and Xastir
Did not exactly follow that but did "some".
My error was "xastir: error while loading shared libraries: libgeotiff.so.2: cannot open shared object file: No such file or directory" so I'll back up unless and try again unless you plan to change the image so those steps are not needed. -- Jack - KD4IZ
|
|
Re: DRAWS Image 15 and Xastir
Hi Jack,
toggle quoted messageShow quoted text
The following is what I did from a clean install of image15 to get Xastir to run. I tried to run Xastir from just a clean install & I received this error: xastir: error while loading shared libraries: libgeotiff.so.2: cannot open shared object file: No such file or directory After doing the following Xastir ran fine. apt-get update apt-get dist-upgrade apt-get -y -qq install shapelib libshp-dev libgeotiff-dev libwebp-dev libgraphicsmagick1-dev shutdown -r now /Basil n7nix Jack Spitznagel <kd4iz@frawg.org> writes:
I have a 2nd DRAWS unit I use for porta/mobile activities and an SD card that already has the “virgin” image on it. I will give it a try this afternoon and record the results. More to come.
|
|
Re: DRAWS Image 15 and Xastir
I have a 2nd DRAWS unit I use for porta/mobile activities and an SD card that already has the “virgin” image on it. I will give it a try this afternoon and record the results. More to come.
Best -- Jack - KD4IZ
|
|
Re: DRAWS Image 15 and Xastir
Thanks Jack.
toggle quoted messageShow quoted text
If you can't get xastir to start from clicking the desktop icon then open a console and run xastir from the console. Doing this will display any problems that may be occurring that you won't see from clicking the desktop icon. I'll do a fresh install later today to see if I can replicate. /Basil n7nix Jack Spitznagel <kd4iz@frawg.org> writes:
Basil, All,
|
|
DRAWS Image 15 and Xastir
Basil, All,
Did I miss a posting about this? Had trouble getting XASTIR to load following the install and configure checklist/instructions in the group Wiki.
I finally got a chance (well, was forced by an apparent image 14 SD card brainfart) to load and configure DRAWS image 15. I was taking consulting calls and doing a pile of paperwork concurrently, so I beg idiocy and broken focus.
The load and configure went just fine until after Direwolf was configured and I tried to launch and configure XASTIR. I could not get it to come up using the icon or the console. I did do all reboots as required in the checklist.
I wish I had been less busy and had recorded exactly what I tried during my salvage attempt but the sequence was something like:
Basil, I am kicking myself that I did not write things down. I can’t remember if this image enables an install log by default. If so will be glad to send it.
XASTIR is happily working in spite of all that so priority is more for others than for me.
Jack Spitznagel – KD4IZ
Biomedical Consulting Services
|
|
Re: DRAWS FT817 no TX audio
Ken Myers
Just by the way, my board is the one with the sma the same end as the SD card.
|
|
Re: DRAWS FT817 no TX audio
Ken Myers
Thanks John
I have reset the radio, and have used DM to set the ALSA parameters. pi@DRAWS-VK4GC:~ $ alsa-show.sh
===== ALSA Controls for Radio Transmit =====
LO Driver Gain L:[-6.00dB] R:[-6.00dB]
PCM L:[-16.50dB] R:[-16.50dB]
DAC Playback PT L:[P3] R:[P3]
LO Playback CM [Full Chip]
===== ALSA Controls for Radio Receive =====
ADC Level L:[-2.00dB] R:[-2.00dB]
IN1 L:[Off] R:[Off]
IN2 L:[10 kOhm] R:[10 kOhm]
CM L:[10 kOhm] R:[10 kOhm]
pi@DRAWS-VK4GC:~ $
Made new mD6 cable (actually removed pin 6 from one end of a standard cable) Using another receiver to test output. Result is harsh audio with very faint expected modulation sounds underneath. Insufficient to register any power out on the FT817 with a 100mw power mete attached. Both cables had same result. FT817 works perfectly for FT8 on all other configurations - Rigblaster on PC, or Pi with USB card (a la KM4ACK build) I want to get the hat working as it would integrate perfectly inside my uBITXv6 case - elegant. What can I try next? Cheers Ken VK4GC
|
|
Re: DRAWS FT817 no TX audio
Another suggestion is to do a hard reset on the FT-817 itself to make sure none of the internal settings for audio / accessory port have been changed.
On Thu, Mar 5, 2020 at 4:16 PM John D. Hays <john@...> wrote:
--
John D. Hays Kingston, WA K7VE
|
|
Re: DRAWS FT817 no TX audio
There is a web based tool to setup. https://www.youtube.com/watch?v=v5C3cWVVz_A John D. Hays Kingston, WA K7VE
|
|
Re: DRAWS FT817 no TX audio
Ken Myers
read as UNMODULATED Carrier
|
|
Re: DRAWS FT817 no TX audio
Ken Myers
Thanks Barry Running alsashow pi@DRAWS-VK4GC:~ $ alsa-show.sh ===== ALSA Controls for Radio Transmit ===== LO Driver Gain L:[-6.00dB] R:[-6.00dB] PCM L:[-16.50dB] R:[-16.50dB] DAC Playback PT L:[P3] R:[P3] LO Playback CM [Full Chip] Your link has (Full chip CM) - any significance?? IF so where do I change? ===== ALSA Controls for Radio Receive ===== ADC Level L:[-2.00dB] R:[-2.00dB] IN1 L:[Off] R:[Off] IN2 L:[10 kOhm] R:[10 kOhm] CM L:[10 kOhm] R:[10 kOhm] I note in the Github link you are using mDi6 Pin3 for PTT. I am using USB Cat cable. That part is all good. I would guess the aim with GPIO 12 > mD6/3 PTT is to eliminate a cable. Good idea, but PTT is not my problem. Does any other suggestions? Thanks so far Tested above - still modulated carrier.
On Fri, 6 Mar 2020 at 03:50, Basil Gunn <basil@...> wrote:
--
Cheers Ken Myers Sunnybank Hills QLD AUS M +61 414 487 004
|
|