Quick remark: I’m using Ubuntu 18.04 and I posted the same topic on http://forums.fast.ai/
I tried typing the curl command ( curlhttp://files.fast.ai/setup/paperspace| bash ) to install all the necessary tools for the course and I keep getting the following error
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
100 1944 100 1944 0 0 9969 0 --:–:-- --:–:-- --:–:-- 9969
DEBIAN_FRONTEND=noninteractive
sudo rm ‘/etc/apt/apt.conf.d/ . ’
rm: cannot remove ‘/etc/apt/apt.conf.d/ . ’: No such file or directory
I think my apt.conf.d is in a different location (/home/paperspace/.chdist/hardy/etc/apt/apt.conf.d)
How do I solve this issue? I tried googling with no lead so far
I’m not familiar with paperspace or the fastai lib, but it just looks like /etc/apt/apt.conf.d/ is empty.
Could you just try to create a dummy file with sudo touch /etc/apt/apt.conf.d/proxy.conf and try it again?
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1944 100 1944 0 0 11302 0 --:–:-- --:–:-- --:–:-- 11302
sudo apt install unzip -y
Reading package lists… Done
Building dependency tree
Reading state information… Done
unzip is already the newest version (6.0-21ubuntu1).
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
cuda-drivers : Depends: nvidia-410 (>= 410.48) but it is not going to be installed
libcuda1-410 : Depends: nvidia-410 (>= 410.48) but it is not going to be installed
nvidia-410-dev : Depends: nvidia-410 (>= 410.48) but it is not going to be installed
nvidia-opencl-icd-410 : Depends: nvidia-410 (>= 410.48) but it is not going to be installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following additional packages will be installed:
nvidia-410
The following NEW packages will be installed:
nvidia-410
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
8 not fully installed or removed.
Need to get 0 B/97.4 MB of archives.
After this operation, 394 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database … 157640 files and directories currently installed.)
Preparing to unpack …/nvidia-410_410.48-0ubuntu1_amd64.deb …
Unpacking nvidia-410 (410.48-0ubuntu1) …
dpkg: error processing archive /var/cache/apt/archives/nvidia-410_410.48-0ubuntu1_amd64.deb (–unpack):
trying to overwrite ‘/usr/lib/x86_64-linux-gnu/libGLX_indirect.so.0’, which is also in package libglx-mesa0:amd64 18.0.5-0ubuntu0~18.04.1
Errors were encountered while processing:
/var/cache/apt/archives/nvidia-410_410.48-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
So I didn’t find a direct solution. Jeremy Howard, the creator of fast.ai, created a template computing service that has most of the installed packages called fast.ai on paperspace. I bought the template and I haven’t had any issues with existing packages. Pytorch developer conference 2018 was really fun by the way
I get this error:
Errors were encountered while processing:
/tmp/apt-dpkg-install-6TPXi2/115-nvidia-410_410.79-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I’m working with Paperspace, in a virtual machine with Ubuntu 18.04.
I hope someone can help me.
Thank you,
Carlos.
I have solved my problem with this commands:
sudo dpkg --configure -a
After that I had this other error:
Errors were encountered while processing:
_ /var/cache/apt/archives/nvidia-410_410.79-0ubuntu1_amd64.deb_ E: Sub-process /usr/bin/dpkg returned an error code (1)
And I solved with that command:
sudo apt-get -o Dpkg::Options::="–force-overwrite" install --fix-broken