
Thanks Trent, On 26/10/11 10:59, Trent W. Buck wrote:
Peter Ross wrote:
Hi Bob,
Quoting Bob<enquiries@lorneholidays.com.au>:
Hello all, I have a laptop running Kubuntu 11.04. In attempting to upgrade to 11.10 via the internet the upgrade fails citing unable to get Kubuntu -wallpaper, so I downloaded the alternate cd, disconnected from the internet and attempted to upgrade from the cd using 'sh cdromupgrade'. Normally I would use my own logon but in a last desperate attempt I changed to root. Results are shown below:
root@Toshiba:/media/cdrom0# sh cdromupgrade No protocol specified /usr/lib/pymodules/python2.7/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display warnings.warn(str(e), _gtk.Warning) can't load DistUpgradeViewGtk (No module named vte) can't load DistUpgradeViewGtk3 (Namespace Gtk not available for version 3.0) No protocol specified update-manager: cannot connect to X server :0
Is there something wrong with the command I have used? Not the command itself - you just have an access problem running it as root. His other problem is that it can't find the vte (GTK terminal emulator) library, which probably means he needs a package like python-vte installed.
The Xserver providing your desktop is owned by you, and nobody else can draw windows on it (not even root)
Use "sudo sh cdromupgrade" instead, that should work. I am not familiar with cdromupgrade; if it is some third-party "i found it on a blog somewhere", then don't use it; stick to d-r-u.
https://help.ubuntu.com/community/UpgradeNotes 'cdromupgrade' is the script on the Kubuntu Alternate disc for upgrading an existing installation - official script - not from another source. It is surprising that is requires python-vte to be installed if that is not part of a standard installation, but it appears to be so?
Bob