Subject: recommended way of maintaining or doing 'apt-get upgrade' in a guest?
From: "Jeffrey 'jf' Lim" <jfs.world@gmail.com>
Date: Wed, 28 Jan 2009 01:39:26 +0800

(pasted from another thread about the "one-liner
/etc/apt/sources.list" - but I figure this one deserves another thread
of its own...) I'm getting problems like the following when doing an
'apt-get upgrade' in a guest:

---
(Reading database ... 8025 files and directories currently installed.)
Preparing to replace base-files 4.0.1ubuntu5 (using
.../base-files_4.0.1ubuntu5.8.04.4_amd64.deb) ...
Unpacking replacement base-files ...
Setting up base-files (4.0.1ubuntu5.8.04.4) ...
Installing new version of config file /etc/issue ...
Installing new version of config file /etc/issue.net ...
Installing new version of config file /etc/lsb-release ...
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/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
find: /lib/modules: No such file or directory
--

And

--
Setting up procps (1:3.2.7-5ubuntu3) ...
 * Setting kernel variables...
error: "Operation not permitted" setting key "kernel.printk"
error: "Operation not permitted" setting key "kernel.maps_protect"
error: "Operation not permitted" setting key "fs.inotify.max_user_watches"
error: "vm.mmap_min_addr" is an unknown key
error: "Operation not permitted" setting key "net.ipv4.conf.default.rp_filter"
error: "Operation not permitted" setting key "net.ipv4.conf.all.rp_filter"
  ...fail!
--

While I reckon that these aren't critical errors, is there some sort
of "recommended way" for upgrading the files in a guest?

thanks,
-jf

--
In the meantime, here is your PSA:
"It's so hard to write a graphics driver that open-sourcing it would not help."
    -- Andrew Fear, Software Product Manager, NVIDIA Corporation
http://kerneltrap.org/node/7228