Error on apt-get upgrade [message #34221] |
Mon, 15 December 2008 09:34 |
ronnidk
Messages: 7 Registered: November 2008 Location: Denmark
|
Junior Member |
|
|
Hi,
I have a container with Ubuntu 8.10 created from a template. It only have one repository, so I added some, because PHPMyAdmin was complaining about mcrypt, and php5-mcrypt was not found in the repository available.
I added the restricted and universe repository.
When I did an apt-get update && apt-get upgrade I got this:
-----------------------------------------------------------
root@fry:/# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
base-files libgnutls26 libxml2 login passwd procps
6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 2565kB of archives.
After this operation, 4096B disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://security.ubuntu.com intrepid-security/main login 1:4.1.1-1ubuntu1.1 [300kB]
Get:2 http://security.ubuntu.com intrepid-security/main base-files 4.0.4ubuntu2.2 [65.1kB]
Get:3 http://security.ubuntu.com intrepid-security/main passwd 1:4.1.1-1ubuntu1.1 [787kB]
Get:4 http://security.ubuntu.com intrepid-security/main libgnutls26 2.4.1-1ubuntu0.2 [368kB]
Get:5 http://security.ubuntu.com intrepid-security/main procps 1:3.2.7-9ubuntu2.1 [226kB]
Get:6 http://security.ubuntu.com intrepid-security/main libxml2 2.6.32.dfsg-4ubuntu1.1 [819kB]
Fetched 2565kB in 1s (1378kB/s)
(Reading database ... 10586 files and directories currently installed.)
Preparing to replace login 1:4.1.1-1ubuntu1 (using .../login_1%3a4.1.1-1ubuntu1.1_i386.deb) ...
Unpacking replacement login ...
Setting up login (1:4.1.1-1ubuntu1.1) ...
(Reading database ... 10586 files and directories currently installed.)
Preparing to replace base-files 4.0.4ubuntu2 (using .../base-files_4.0.4ubuntu2.2_i386.deb) ...
Unpacking replacement base-files ...
Setting up base-files (4.0.4ubuntu2.2) ...
find: `/var/cache/fontconfig': No such file or directory
find: `/var/cache/fonts': No such file or directory
find: `/var/cache/anthy': No such file or directory
find: `/var/lib/belocs': No such file or directory
find: `/var/lib/gconf': No such file or directory
find: `/var/lib/defoma': No such file or directory
find: `/var/log/installer': No such file or directory
find: `/initrd.img': No such file or directory
find: `/vmlinuz': No such file or directory
find: `/cdrom': No such file or directory
find: `/media/cdrom': No such file or directory
find: `/usr/share/fonts': No such file or directory
find: `/var/lib/anthy': No such file or directory
find: `/var/lib/defoma': No such file or directory
(Reading database ... 10586 files and directories currently installed.)
Preparing to replace passwd 1:4.1.1-1ubuntu1 (using .../passwd_1%3a4.1.1-1ubuntu1.1_i386.deb) ...
Unpacking replacement passwd ...
Setting up passwd (1:4.1.1-1ubuntu1.1) ...
(Reading database ... 10586 files and directories currently installed.)
Preparing to replace libgnutls26 2.4.1-1build1 (using .../libgnutls26_2.4.1-1ubuntu0.2_i386.deb) ...
Unpacking replacement libgnutls26 ...
Preparing to replace procps 1:3.2.7-9ubuntu2 (using .../procps_1%3a3.2.7-9ubuntu2.1_i386.deb) ...
Unpacking replacement procps ...
Preparing to replace libxml2 2.6.32.dfsg-4ubuntu1 (using .../libxml2_2.6.32.dfsg-4ubuntu1.1_i386.deb) ...
Unpacking replacement libxml2 ...
Setting up libgnutls26 (2.4.1-1ubuntu0.2) ...
Setting up procps (1:3.2.7-9ubuntu2.1) ...
Removing obsolete conffile /etc/sysctl.d/10-tcp-timestamps-workaround.conf
* Setting kernel variables (/etc/sysctl.conf)... [ OK ]
* Setting kernel variables (/etc/sysctl.d/10-console-messages.conf)... error: permission denied on key 'kernel.printk'
[fail]
* Setting kernel variables (/etc/sysctl.d/10-network-security.conf)... [ OK ]
* Setting kernel variables (/etc/sysctl.d/10-process-security.conf)... error: permission denied on key 'kernel.maps_protect'
error: "vm.mmap_min_addr" is an unknown key
[fail]
Setting up libxml2 (2.6.32.dfsg-4ubuntu1.1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
-----------------------------------------------------------
What is good and what is bad?
What is related to the fact that it runs inside a container?
Am I not "supposed" to do this? I think if theres been done some customization to the template, that the upgrade-process remove?
- Ronni
|
|
|