Some times ago, Ozone worked well on my Ubuntu machine. After no more use for reasons of Corona, the system was abandoned and cannot connect to target anymore.
As Ozone shows a big version step from V2.70.5 to V3.30, I decided to take the opportunity to uninstall and start new installation from scratch.
Following the Ozone User Manual, page 30, chapter 2.1.4 Uninstallation on Linux, I tried the suggested method for Debian systems as Ubuntu should be from that flavour.
sudo dpkg -remove Ozone
dpkg: error: conflicting actions -e (--control) and -r (--remove)
Type dpkg --help for help about installing and deinstalling packages ;
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked produce a lot of output - pipe it through 'less' or 'more' !
jv@JamesWebb:~$
Changing the options to > sudo dpkg -r Ozone reports hundreds of file missing; assuming package has no files currently installed
After this, Ozone still worked but dpkg does not know anything about and Ozone is not available in the Gnome Application Manager,
>dpkg -s Ozone
>dpkg-query: package 'ozone' is not installed and no information is available
>Use dpkg --info (= dpkg-deb --info) to examine archive files.
>dpkg --info Ozone
>dpkg-deb: error: failed to read archive 'Ozone': No such file or directory
Assume a case sensitive problem for the package name was also not successfull:
jv@JamesWebb:~$ sudo apt remove ozone
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ozone
As Ozone still worked, it can be located well:
jv@JamesWebb:~$ locate Ozone
/home/jv/.config/SEGGER/Ozone.conf
/home/jv/.local/share/Trash/files/Ozone.deb
/home/jv/.local/share/Trash/files/Ozone_Linux_V270e_x86_64.deb
/home/jv/.local/share/Trash/info/Ozone.deb.trashinfo
/home/jv/.local/share/Trash/info/Ozone_Linux_V270e_x86_64.deb.trashinfo
/home/jv/.local/share/Trash/info/UM08025_Ozone.pdf.trashinfo
/home/jv/Desktop/UM08025_Ozone.pdf
/home/jv/Downloads/Ozone_Linux_V330a_x86_64.deb
/opt/SEGGER/ozone/2.70.5/Ozone
/opt/SEGGER/ozone/2.70.5/Ozone.png
/opt/SEGGER/ozone/2.70.5/Doc/ReleaseOzone.html
/opt/SEGGER/ozone/2.70.5/Doc/UM08025_Ozone.pdf
/usr/bin/Ozone
jv@JamesWebb:~$
Finally I was successful in removing Ozone with
jv@JamesWebb:~$ sudo apt --purge remove ozone:amd64
[sudo] password for jv:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
attr dh-elpa-helper grub-pc-bin libcephfs2 libgfapi0 libgfrpc0 libgfxdr0
libglusterfs0 libllvm13 libllvm13:i386 librados2 librhash0 python3-dnspython
python3-gpg python3-markdown python3-requests-toolbelt python3-samba
python3-tdb tdb-tools
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
ozone*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
28 not fully installed or removed.
After this operation, 57,3 MB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: warning: files list file for package 'libgme0:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libnet-ssleay-perl:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'fonts-smc' missing; assuming package has no files currently installed
many many more files .....
and
Errors were encountered while processing:
libreoffice-common
grub-efi-amd64
libreoffice-gnome
gdm3
libreoffice-l10n-de
many more ...
Ozone 2.70 disappeared but I cannot understand what went wrong.
Jlink V660c is still present, but cannot connect to USB Jlink or JTrace cables.
Assume the correct installation method is:
> sudo dpkg ..install ozone.deb
Is the Jlink installation a prerequisite to use Ozone ?
What is your prefered method to install / uninstall Jlink / Ozone ?
As Ozone shows a big version step from V2.70.5 to V3.30, I decided to take the opportunity to uninstall and start new installation from scratch.
Following the Ozone User Manual, page 30, chapter 2.1.4 Uninstallation on Linux, I tried the suggested method for Debian systems as Ubuntu should be from that flavour.
sudo dpkg -remove Ozone
dpkg: error: conflicting actions -e (--control) and -r (--remove)
Type dpkg --help for help about installing and deinstalling packages ;
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked produce a lot of output - pipe it through 'less' or 'more' !
jv@JamesWebb:~$
Changing the options to > sudo dpkg -r Ozone reports hundreds of file missing; assuming package has no files currently installed
After this, Ozone still worked but dpkg does not know anything about and Ozone is not available in the Gnome Application Manager,
>dpkg -s Ozone
>dpkg-query: package 'ozone' is not installed and no information is available
>Use dpkg --info (= dpkg-deb --info) to examine archive files.
>dpkg --info Ozone
>dpkg-deb: error: failed to read archive 'Ozone': No such file or directory
Assume a case sensitive problem for the package name was also not successfull:
jv@JamesWebb:~$ sudo apt remove ozone
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ozone
As Ozone still worked, it can be located well:
jv@JamesWebb:~$ locate Ozone
/home/jv/.config/SEGGER/Ozone.conf
/home/jv/.local/share/Trash/files/Ozone.deb
/home/jv/.local/share/Trash/files/Ozone_Linux_V270e_x86_64.deb
/home/jv/.local/share/Trash/info/Ozone.deb.trashinfo
/home/jv/.local/share/Trash/info/Ozone_Linux_V270e_x86_64.deb.trashinfo
/home/jv/.local/share/Trash/info/UM08025_Ozone.pdf.trashinfo
/home/jv/Desktop/UM08025_Ozone.pdf
/home/jv/Downloads/Ozone_Linux_V330a_x86_64.deb
/opt/SEGGER/ozone/2.70.5/Ozone
/opt/SEGGER/ozone/2.70.5/Ozone.png
/opt/SEGGER/ozone/2.70.5/Doc/ReleaseOzone.html
/opt/SEGGER/ozone/2.70.5/Doc/UM08025_Ozone.pdf
/usr/bin/Ozone
jv@JamesWebb:~$
Finally I was successful in removing Ozone with
jv@JamesWebb:~$ sudo apt --purge remove ozone:amd64
[sudo] password for jv:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
attr dh-elpa-helper grub-pc-bin libcephfs2 libgfapi0 libgfrpc0 libgfxdr0
libglusterfs0 libllvm13 libllvm13:i386 librados2 librhash0 python3-dnspython
python3-gpg python3-markdown python3-requests-toolbelt python3-samba
python3-tdb tdb-tools
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
ozone*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
28 not fully installed or removed.
After this operation, 57,3 MB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: warning: files list file for package 'libgme0:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libnet-ssleay-perl:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'fonts-smc' missing; assuming package has no files currently installed
many many more files .....
and
Errors were encountered while processing:
libreoffice-common
grub-efi-amd64
libreoffice-gnome
gdm3
libreoffice-l10n-de
many more ...
Ozone 2.70 disappeared but I cannot understand what went wrong.
Jlink V660c is still present, but cannot connect to USB Jlink or JTrace cables.
Assume the correct installation method is:
> sudo dpkg ..install ozone.deb
Is the Jlink installation a prerequisite to use Ozone ?
What is your prefered method to install / uninstall Jlink / Ozone ?
The post was edited 1 time, last by Jan_vi ().