O.k. тенкс.
Ето какво направих преди малко:
От този линк -
http://ubuntuforums.org/showthread.php?t=1058056 взех примера с:
apt-get update
apt-get upgrade
Екзекютнах и двете команди и съответно ъпдейтнах и ъпгрейднах убунтуто.
След това се опитах да екзекютна следната команда:
apt-get install duplicity
И ето какво се получи:
root@redmine ~# apt-get install duplicity
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
root@redmine ~# sudo dpkg --configure -a
-bash: sudo: command not found
Едит:
Е не е тръбвало да изпълнявам и sudo към командата, та ето след това какво стана:
root@redmine ~# dpkg --configure -a
Setting up libpq5 (8.4.11-0ubuntu0.10.04) ...
Setting up libfreetype6 (2.3.11-1ubuntu2.6) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-36-generic
.: 13: Can't open /scripts/casper-functions
.: 6: Can't open /scripts/casper-functions
.: 6: Can't open /scripts/casper-functions
Setting up libparted0debian1 (2.2-5ubuntu5.2) ...
Setting up turnkey-pylib (0.3+31+g3e22221) ...
Setting up openssl (0.9.8k-7ubuntu8.8) ...
Setting up grub-common (1.98-1ubuntu13) ...
Setting up bzr (2.1.4-0ubuntu1) ...
Installing new version of config file /etc/bash_completion.d/bzr.simple ...
Setting up libpq-dev (8.4.11-0ubuntu0.10.04) ...
Setting up uuid-runtime (2.17.2-0ubuntu1.10.04.2) ...
Setting up inithooks (0.9+12+g77acd9f) ...
Configuration file `/etc/default/inithooks'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : background this process to examine the situation
The default action is to keep your current version.
*** inithooks (Y/I/N/O/D/Z) [default=N] ? Y
Installing new version of config file /etc/default/inithooks ...
Installing new version of config file /etc/init.d/inithooks ...
Setting up ntp (1:4.2.4p8+dfsg-1ubuntu2.1) ...
* Starting NTP server ntpd
...done.
Setting up acpid (1.0.10-5ubuntu2.5) ...
Installing new version of config file /etc/acpi/powerbtn.sh ...
start: Job is already running: acpid
Setting up apache2-utils (2.2.14-5ubuntu8.9) ...
Setting up ethtool (6+20091202-1ubuntu1) ...
Installing new version of config file /etc/network/if-pre-up.d/ethtool ...
Installing new version of config file /etc/network/if-up.d/ethtool ...
Setting up openssh-server (1:5.3p1-3ubuntu7) ...
ssh stop/waiting
ssh start/running, process 6927
Setting up pycurl-wrapper (1.0+7+g19d27bb) ...
Setting up grub-pc (1.98-1ubuntu13) ...
Package configuration
lqqqqqqqqqqqqqqqqqqqqqqqqqqu Configuring grub-pc tqqqqqqqqqqqqqqqqqqqqqqqqqqk
x A new version of configuration file /etc/default/grub is available, but x
x the version installed currently has been locally modified. x
x x
x What do you want to do about modified configuration file grub? x
x x
x install the package maintainer's version x
x keep the local version currently installed x
x show the differences between the versions x
x show a side-by-side difference between the versions x
x show a 3-way difference between available versions x
x do a 3-way merge between available versions (experimental) x
x start a new shell to examine the situation x
x x
x x
x <Ok> x
x x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
Replacing config file /etc/default/grub with new version
Installation finished. No error reported.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-36-generic
Found initrd image: /boot/initrd.img-2.6.32-36-generic
done
Setting up confconsole (0.9.4+33+g9dbbc38) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Setting up linux-firmware (1.34.7) ...
Setting up apache2.2-bin (2.2.14-5ubuntu8.9) ...
Setting up ssh (1:5.3p1-3ubuntu7) ...
Setting up tklbam (1.1+10+gc5e7f61) ...
Setting up hubdns (1.0+1+ge6613b7) ...
Setting up apache2.2-common (2.2.14-5ubuntu8.9) ...
Setting up apache2-prefork-dev (2.2.14-5ubuntu8.9) ...
Setting up apache2-mpm-prefork (2.2.14-5ubuntu8.9) ...
* Starting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
httpd (pid 1148) already running
...done.
Setting up apache2 (2.2.14-5ubuntu8.9) ...
Setting up libstdc++6-4.4-dev (4.4.3-4ubuntu5.1) ...
Setting up g++-4.4 (4.4.3-4ubuntu5.1) ...
Processing triggers for python-central ...
И продължавам:
root@redmine ~# apt-get install duplicity
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
python-gnupginterface python-pexpect
Suggested packages:
python-boto ncftp
The following NEW packages will be installed:
duplicity python-gnupginterface python-pexpect
0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 376kB of archives.
After this operation, 1782kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://bg.archive.ubuntu.com/ubuntu/ lucid/main python-gnupginterface 0.3.2-9.1 [19.1kB]
Get:2 http://bg.archive.ubuntu.com/ubuntu/ lucid/main python-pexpect 2.3-1build1 [165kB]
Get:3 http://bg.archive.ubuntu.com/ubuntu/ lucid-updates/universe duplicity 0.6.08b-0ubuntu2.1 [192kB]
Fetched 376kB in 0s (1156kB/s)
[master f72fb6a] saving uncommitted changes in /etc prior to apt run
36 files changed, 386 insertions(+), 98 deletions(-)
create mode 100644 default/grub.ucf-old
create mode 100755 update-motd.d/00-header
create mode 100755 update-motd.d/10-help-text
rewrite webmin/system-status/info (81%)
delete mode 100644 webmin/system-status/info.lock
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package python-gnupginterface.
(Reading database ... 45168 files and directories currently installed.)
Unpacking python-gnupginterface (from .../python-gnupginterface_0.3.2-9.1_all.deb) ...
Selecting previously deselected package python-pexpect.
Unpacking python-pexpect (from .../python-pexpect_2.3-1build1_all.deb) ...
Selecting previously deselected package duplicity.
Unpacking duplicity (from .../duplicity_0.6.08b-0ubuntu2.1_i386.deb) ...
Processing triggers for man-db ...
Setting up python-gnupginterface (0.3.2-9.1) ...
Setting up python-pexpect (2.3-1build1) ...
Processing triggers for python-central ...
Setting up duplicity (0.6.08b-0ubuntu2.1) ...
Processing triggers for python-support ...
Processing triggers for python-central ...
Counting objects: 1408, done.
Compressing objects: 100% (1029/1029), done.
Writing objects: 100% (1408/1408), done.
Total 1408 (delta 105), reused 0 (delta 0)
Някакви идеи какво да правя по нататък?