can't install gnuplot:
From the terminal I typed:
sudo apt-get install gnuplot
After reporting this:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
it says this:
The following NEW packages will be installed:
aglfn gnuplot gnuplot-data gnuplot-qt liblua5.4-0 libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5
0 upgraded, 7 newly installed, 0 to remove and 265 not upgraded.
Then it says and asks:
Need to get 0 B/5,725 kB of archives.
After this operation, 20.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Selecting previously unselected package aglfn.
dpkg: unrecoverable fatal error, aborting:
files list file for package 'neofetch' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
After this, it appears to not be installed (for example if I try to uninstall it, it says it doesn't exist).
I've tried added a CR/LF to the end of neofetch in \usr\bin
as well as
running various updates to neofetch (removed and reinstalled), sudo dpkg --configure -a,
sudo apt-get install --reinstall libinput-bin,
sudo apt update, sudo apt install neofetch
but all to no avail. Kind of stuck now.
My ultimate goal was to use gnuplot to show data in a C program.
Thanks
From the terminal I typed:
sudo apt-get install gnuplot
After reporting this:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
it says this:
The following NEW packages will be installed:
aglfn gnuplot gnuplot-data gnuplot-qt liblua5.4-0 libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5
0 upgraded, 7 newly installed, 0 to remove and 265 not upgraded.
Then it says and asks:
Need to get 0 B/5,725 kB of archives.
After this operation, 20.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Selecting previously unselected package aglfn.
dpkg: unrecoverable fatal error, aborting:
files list file for package 'neofetch' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
After this, it appears to not be installed (for example if I try to uninstall it, it says it doesn't exist).
I've tried added a CR/LF to the end of neofetch in \usr\bin
as well as
running various updates to neofetch (removed and reinstalled), sudo dpkg --configure -a,
sudo apt-get install --reinstall libinput-bin,
sudo apt update, sudo apt install neofetch
but all to no avail. Kind of stuck now.
My ultimate goal was to use gnuplot to show data in a C program.
Thanks
Statistics: Posted by taumeson — Fri Feb 14, 2025 9:17 pm — Replies 2 — Views 13