LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing packages via command line Ubuntu 10.04 (https://www.linuxquestions.org/questions/linux-newbie-8/installing-packages-via-command-line-ubuntu-10-04-a-903330/)

silveringking 09-16-2011 05:11 AM

Installing packages via command line Ubuntu 10.04
 
Ok here is the problem I have Ubuntu 10.04 on my server... I had a problem with an auto-update on the plesk. So, I posted my problem on plesk's forums...

"I have exactly the same problem but with ubuntu 10.04(which is debian based).

Here is my log:

carlos@carlos:~$ ssh root@91.121.95.96
root@91.121.95.96's password:
Linux ns353440.ovh.net 2.6.38.2-xxxx-std-ipv6-64 #1 SMP Tue Apr 12 17:19:35 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.04.3 LTS

Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
Ubuntu 10.04.3 LTS

server : 33115
ip : 91.121.95.96
hostname : ns353440.ovh.net


10 packages can be updated.
9 updates are security updates.

Last login: Sun Aug 28 22:22:47 2011 from a213-22-219-157.cpe.netcabo.pt
root@ns353440:~# service /etc/init.d/psa start
/etc/init.d/psa: unrecognized service
root@ns353440:~# service psa restart
PSA is down, performing full restart.
Starting psa... /etc/init.d/psa: line 294: /opt/psa/admin/bin/packagemng: No such file or directory
done
Starting xinetd service... done
Starting bind9 service... done
Starting mysql service... done
Starting postgresql service... not installed
Starting psa-spamassassin service... done
Plesk: Starting Mail Server... not installed
/etc/init.d/psa: line 269: /opt/psa/admin/sbin/websrvmng: No such file or directory
Starting psa... /etc/init.d/psa: line 294: /opt/psa/admin/bin/packagemng: No such file or directory
done
Starting drwebd service... failed
root@ns353440:~# /etc/init.d/psa restart
/etc/init.d/psa: line 369: /opt/psa/admin/bin/packagemng: No such file or directory
root@ns353440:~# service psa restart
/etc/init.d/psa: line 369: /opt/psa/admin/bin/packagemng: No such file or directory
root@ns353440:~# service psa stop
Stopping psa... done
root@ns353440:~# /etc/init.d/psa restart
PSA is down, performing full restart.
Starting psa... /etc/init.d/psa: line 294: /opt/psa/admin/bin/packagemng: No such file or directory
done
Starting xinetd service... done
Starting bind9 service... done
Starting mysql service... done
Starting postgresql service... not installed
Starting psa-spamassassin service... done
Plesk: Starting Mail Server... not installed
/etc/init.d/psa: line 269: /opt/psa/admin/sbin/websrvmng: No such file or directory
Starting psa... /etc/init.d/psa: line 294: /opt/psa/admin/bin/packagemng: No such file or directory
done
Starting drwebd service... failed
root@ns353440:~# /usr/local/psa/bootstrapper/pp10.12.0-bootstrapper/bootstrapper.sh repair
-bash: /usr/local/psa/bootstrapper/pp10.12.0-bootstrapper/bootstrapper.sh: No such file or directory
root@ns353440:~# /usr/local/psa/bootstrapper/pp10.11.0-bootstrapper/bootstrapper.sh repair
-bash: /usr/local/psa/bootstrapper/pp10.11.0-bootstrapper/bootstrapper.sh: No such file or directory
root@ns353440:~# ~#
The following connections are open:
#0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cc -1)
/usr/local/psa/bin/autoinstaller
-bash: /usr/local/psa/bin/autoinstaller: No such file or directory
root@ns353440:~# /usr/local/psa/bin/autoinstaller
-bash: /usr/local/psa/bin/autoinstaller: No such file or directory
root@ns353440:~# /usr/local/psa/bin/autoinstaller
-bash: /usr/local/psa/bin/autoinstaller: No such file or directory
root@ns353440:~# cd..
cd..: command not found
root@ns353440:~# cd ..
root@ns353440:/# cd ..
root@ns353440:/# cd /home
root@ns353440:/home# cd ..
root@ns353440:/# /usr/local/psa/bin/autoinstaller
-bash: /usr/local/psa/bin/autoinstaller: No such file or directory
root@ns353440:/# /usr/local/psa/admin/sbin/autoinstaller --select-release-current --install-component postfix
-bash: /usr/local/psa/admin/sbin/autoinstaller: No such file or directory
root@ns353440:/#


What can I do?"

And administrator told me this:

"Try to find missing packages for Ubuntu and your Plesk version here http://64.131.90.31/ and install them manually or contact Support Team. "

This a lot of packages... I wanted help indentifying all the broke packages and then downloading and installing them if you could help me out I would be pleased...

Thank you!

Ps: This problem is due plesk's auto-update they screwed everything...

andrewthomas 09-16-2011 05:56 AM

To update your Ubuntu packages you can issue:

Code:

aptitude update && aptitude safe-upgrade
(if you are not logging in as root, then you must use sudo.)

silveringking 09-16-2011 07:45 AM

root@ns353440:/# service psa restart
/etc/init.d/psa: line 369: /opt/psa/admin/bin/packagemng: No such file or directory

root@ns353440:/# service /etc/init.d/psa start
/etc/init.d/psa: unrecognized service
root@ns353440:/#


Still having problems I really need to check that server I gave your for broken packages is that possible?

As I said I am using Plesk's panel to do databases and subdomains and such but at this point I cannot even enter by ftp.


All times are GMT -5. The time now is 01:57 AM.