Command to install works in ubuntu 18.04 but not 14.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I am trying to install some software in an old version of Linux (the updated software for 18.04 is unstable, the older version seems to be better). However, the code I used way back to install the packages for 18.04 is not working for ubuntu 14.04.



The code I'm am using is copied below



 packages="libklustersshared_2.0.0 klusters_2.0.0 neuroscope_2.0.0 ndmanager_2.0.0"
psuffix="-trusty_amd64.deb"

for package in $packages;
do
wget http://sourceforge.net/projects/neurosuite/files/ubuntu/$package$psuffix/download -O /tmp/$package$psuffix
apt -y install /tmp/$package$psuffix
rm /tmp/$package$psuffix
done


In 18.04 this executes fine. In 14.04 I get the resulting error



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package /tmp


I have confirmed that the downloads do exist and the paths are accurate. I suspect I am missing some dependency, because when I run this code downloading and installing the 14.04 software in 18.04 Ubuntu it proceeds past this point until a later fault (which is why we are using 14.04 in the first place). I'm not really sure what could be going wrong.










share|improve this question























  • Where did $packages come from, and what's in it? psuffix is also empty.
    – Michael Homer
    Dec 9 at 0:21










  • @MichaelHomer My apologies, I didn't want to clog up the question. I have added the previous code where those variables are defined
    – Pablo
    Dec 9 at 0:27






  • 3




    I think the version of apt in trusty (1.0.1?) may be too old to support the installation of local .deb files (which appeared in 1.1~exp1 iirc)? You should be able to use gdebi instead (or perhaps dpkg -i followed by apt-get -f install to resolve dependencies)
    – steeldriver
    Dec 9 at 0:46










  • @steeldriver Thanks for your advice. I tried installing with gdebi. This installs the first package (libklustersshared) without an error, but fails on the second package (klusters), with the following error - This package is uninstallable Dependency is not satisfiable: libklustersshared. I know the libklustersshared must be installed first - I am therefore speculating that there was an error with the gdebi installation. It outputs (before moving to the klusters package) 'Requires the installation of the following packages'. Is there an extra command I need to enter for these packages?
    – Pablo
    Dec 9 at 18:08











  • @steeldriver A further update: using apt-get -f install is progress, but lots of packages are not installing properly, so I assume I will have to manually find these dependencies are install those.
    – Pablo
    Dec 9 at 19:12














up vote
0
down vote

favorite












I am trying to install some software in an old version of Linux (the updated software for 18.04 is unstable, the older version seems to be better). However, the code I used way back to install the packages for 18.04 is not working for ubuntu 14.04.



The code I'm am using is copied below



 packages="libklustersshared_2.0.0 klusters_2.0.0 neuroscope_2.0.0 ndmanager_2.0.0"
psuffix="-trusty_amd64.deb"

for package in $packages;
do
wget http://sourceforge.net/projects/neurosuite/files/ubuntu/$package$psuffix/download -O /tmp/$package$psuffix
apt -y install /tmp/$package$psuffix
rm /tmp/$package$psuffix
done


In 18.04 this executes fine. In 14.04 I get the resulting error



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package /tmp


I have confirmed that the downloads do exist and the paths are accurate. I suspect I am missing some dependency, because when I run this code downloading and installing the 14.04 software in 18.04 Ubuntu it proceeds past this point until a later fault (which is why we are using 14.04 in the first place). I'm not really sure what could be going wrong.










share|improve this question























  • Where did $packages come from, and what's in it? psuffix is also empty.
    – Michael Homer
    Dec 9 at 0:21










  • @MichaelHomer My apologies, I didn't want to clog up the question. I have added the previous code where those variables are defined
    – Pablo
    Dec 9 at 0:27






  • 3




    I think the version of apt in trusty (1.0.1?) may be too old to support the installation of local .deb files (which appeared in 1.1~exp1 iirc)? You should be able to use gdebi instead (or perhaps dpkg -i followed by apt-get -f install to resolve dependencies)
    – steeldriver
    Dec 9 at 0:46










  • @steeldriver Thanks for your advice. I tried installing with gdebi. This installs the first package (libklustersshared) without an error, but fails on the second package (klusters), with the following error - This package is uninstallable Dependency is not satisfiable: libklustersshared. I know the libklustersshared must be installed first - I am therefore speculating that there was an error with the gdebi installation. It outputs (before moving to the klusters package) 'Requires the installation of the following packages'. Is there an extra command I need to enter for these packages?
    – Pablo
    Dec 9 at 18:08











  • @steeldriver A further update: using apt-get -f install is progress, but lots of packages are not installing properly, so I assume I will have to manually find these dependencies are install those.
    – Pablo
    Dec 9 at 19:12












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am trying to install some software in an old version of Linux (the updated software for 18.04 is unstable, the older version seems to be better). However, the code I used way back to install the packages for 18.04 is not working for ubuntu 14.04.



The code I'm am using is copied below



 packages="libklustersshared_2.0.0 klusters_2.0.0 neuroscope_2.0.0 ndmanager_2.0.0"
psuffix="-trusty_amd64.deb"

for package in $packages;
do
wget http://sourceforge.net/projects/neurosuite/files/ubuntu/$package$psuffix/download -O /tmp/$package$psuffix
apt -y install /tmp/$package$psuffix
rm /tmp/$package$psuffix
done


In 18.04 this executes fine. In 14.04 I get the resulting error



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package /tmp


I have confirmed that the downloads do exist and the paths are accurate. I suspect I am missing some dependency, because when I run this code downloading and installing the 14.04 software in 18.04 Ubuntu it proceeds past this point until a later fault (which is why we are using 14.04 in the first place). I'm not really sure what could be going wrong.










share|improve this question















I am trying to install some software in an old version of Linux (the updated software for 18.04 is unstable, the older version seems to be better). However, the code I used way back to install the packages for 18.04 is not working for ubuntu 14.04.



The code I'm am using is copied below



 packages="libklustersshared_2.0.0 klusters_2.0.0 neuroscope_2.0.0 ndmanager_2.0.0"
psuffix="-trusty_amd64.deb"

for package in $packages;
do
wget http://sourceforge.net/projects/neurosuite/files/ubuntu/$package$psuffix/download -O /tmp/$package$psuffix
apt -y install /tmp/$package$psuffix
rm /tmp/$package$psuffix
done


In 18.04 this executes fine. In 14.04 I get the resulting error



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package /tmp


I have confirmed that the downloads do exist and the paths are accurate. I suspect I am missing some dependency, because when I run this code downloading and installing the 14.04 software in 18.04 Ubuntu it proceeds past this point until a later fault (which is why we are using 14.04 in the first place). I'm not really sure what could be going wrong.







ubuntu apt software-installation






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 9 at 2:02









Rui F Ribeiro

38.7k1479128




38.7k1479128










asked Dec 9 at 0:17









Pablo

1033




1033











  • Where did $packages come from, and what's in it? psuffix is also empty.
    – Michael Homer
    Dec 9 at 0:21










  • @MichaelHomer My apologies, I didn't want to clog up the question. I have added the previous code where those variables are defined
    – Pablo
    Dec 9 at 0:27






  • 3




    I think the version of apt in trusty (1.0.1?) may be too old to support the installation of local .deb files (which appeared in 1.1~exp1 iirc)? You should be able to use gdebi instead (or perhaps dpkg -i followed by apt-get -f install to resolve dependencies)
    – steeldriver
    Dec 9 at 0:46










  • @steeldriver Thanks for your advice. I tried installing with gdebi. This installs the first package (libklustersshared) without an error, but fails on the second package (klusters), with the following error - This package is uninstallable Dependency is not satisfiable: libklustersshared. I know the libklustersshared must be installed first - I am therefore speculating that there was an error with the gdebi installation. It outputs (before moving to the klusters package) 'Requires the installation of the following packages'. Is there an extra command I need to enter for these packages?
    – Pablo
    Dec 9 at 18:08











  • @steeldriver A further update: using apt-get -f install is progress, but lots of packages are not installing properly, so I assume I will have to manually find these dependencies are install those.
    – Pablo
    Dec 9 at 19:12
















  • Where did $packages come from, and what's in it? psuffix is also empty.
    – Michael Homer
    Dec 9 at 0:21










  • @MichaelHomer My apologies, I didn't want to clog up the question. I have added the previous code where those variables are defined
    – Pablo
    Dec 9 at 0:27






  • 3




    I think the version of apt in trusty (1.0.1?) may be too old to support the installation of local .deb files (which appeared in 1.1~exp1 iirc)? You should be able to use gdebi instead (or perhaps dpkg -i followed by apt-get -f install to resolve dependencies)
    – steeldriver
    Dec 9 at 0:46










  • @steeldriver Thanks for your advice. I tried installing with gdebi. This installs the first package (libklustersshared) without an error, but fails on the second package (klusters), with the following error - This package is uninstallable Dependency is not satisfiable: libklustersshared. I know the libklustersshared must be installed first - I am therefore speculating that there was an error with the gdebi installation. It outputs (before moving to the klusters package) 'Requires the installation of the following packages'. Is there an extra command I need to enter for these packages?
    – Pablo
    Dec 9 at 18:08











  • @steeldriver A further update: using apt-get -f install is progress, but lots of packages are not installing properly, so I assume I will have to manually find these dependencies are install those.
    – Pablo
    Dec 9 at 19:12















Where did $packages come from, and what's in it? psuffix is also empty.
– Michael Homer
Dec 9 at 0:21




Where did $packages come from, and what's in it? psuffix is also empty.
– Michael Homer
Dec 9 at 0:21












@MichaelHomer My apologies, I didn't want to clog up the question. I have added the previous code where those variables are defined
– Pablo
Dec 9 at 0:27




@MichaelHomer My apologies, I didn't want to clog up the question. I have added the previous code where those variables are defined
– Pablo
Dec 9 at 0:27




3




3




I think the version of apt in trusty (1.0.1?) may be too old to support the installation of local .deb files (which appeared in 1.1~exp1 iirc)? You should be able to use gdebi instead (or perhaps dpkg -i followed by apt-get -f install to resolve dependencies)
– steeldriver
Dec 9 at 0:46




I think the version of apt in trusty (1.0.1?) may be too old to support the installation of local .deb files (which appeared in 1.1~exp1 iirc)? You should be able to use gdebi instead (or perhaps dpkg -i followed by apt-get -f install to resolve dependencies)
– steeldriver
Dec 9 at 0:46












@steeldriver Thanks for your advice. I tried installing with gdebi. This installs the first package (libklustersshared) without an error, but fails on the second package (klusters), with the following error - This package is uninstallable Dependency is not satisfiable: libklustersshared. I know the libklustersshared must be installed first - I am therefore speculating that there was an error with the gdebi installation. It outputs (before moving to the klusters package) 'Requires the installation of the following packages'. Is there an extra command I need to enter for these packages?
– Pablo
Dec 9 at 18:08





@steeldriver Thanks for your advice. I tried installing with gdebi. This installs the first package (libklustersshared) without an error, but fails on the second package (klusters), with the following error - This package is uninstallable Dependency is not satisfiable: libklustersshared. I know the libklustersshared must be installed first - I am therefore speculating that there was an error with the gdebi installation. It outputs (before moving to the klusters package) 'Requires the installation of the following packages'. Is there an extra command I need to enter for these packages?
– Pablo
Dec 9 at 18:08













@steeldriver A further update: using apt-get -f install is progress, but lots of packages are not installing properly, so I assume I will have to manually find these dependencies are install those.
– Pablo
Dec 9 at 19:12




@steeldriver A further update: using apt-get -f install is progress, but lots of packages are not installing properly, so I assume I will have to manually find these dependencies are install those.
– Pablo
Dec 9 at 19:12















active

oldest

votes











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f486861%2fcommand-to-install-works-in-ubuntu-18-04-but-not-14-04%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f486861%2fcommand-to-install-works-in-ubuntu-18-04-but-not-14-04%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)