Just got a new toy - a second hand Itanium 2 box. It came with XP 64-bit, but it is now running HP-UX B.11.23. Installation went smoothly; this being the first time I've done this particular combination, I allowed it to run with defaults (which were quite good, especially the partitioning).
Reboot, and the machine is up and running. How disappointing, though - the CDE wouldn't start, complaining about the lack of screens. Not sure at this stage if it is X11R6 configuration, hardware problem or perhaps driver issue! Will google for anything obvious (like unsupported card) later.
In the meantime, decided to brush up on the HP-UX system interrogation tools.
# uname -a
HP-UX itahpux B.11.23 U ia64 0376224781 unlimited-user license
# machinfo
CPU info:
Number of CPUs = 1
Clock speed = 1500 MHz
CPUID registers
vendor information = "GenuineIntel"
processor serial number = 0x0000000000000000
processor version info = 0x000000001f010504
architecture revision: 0
processor family: 31 Intel(R) Itanium 2 Family Processors
processor model: 1 Intel(R) Itanium 2 processor
processor revision: 5 stepping B1
largest CPUID reg: 4
processor capabilities = 0x0000000000000001
implements long branch: 1
Bus features
implemented = 0xbdf0000060000000
selected = 0x0000000040000000
Bus Lock Signal masked
Cache info:
L1 Instruction: size = 16 KB, associativity = 4
L1 Data: size = 16 KB, associativity = 4
L2 Unified: size = 256 KB, associativity = 8
L3 Unified: size = 6144 KB, associativity = 24
Memory = 1524 MB (1.488281 GB)
Firmware info:
Firmware revision = 02.31
FP SWA driver revision: 1.18
IPMI is supported on this system.
BMC version: v01.52
Platform info:
model string = "ia64 hp workstation zx2000"
machine id number = 166cbc0d-e4c5-11d6-8091-7d5ed3512273
machine serial number = TW23200111
OS info:
sysname = HP-UX
nodename = itahpux
release = B.11.23
version = U (unlimited-user license)
machine = ia64
idnumber = 0376224781
vmunix _release_version:
@(#) $Revision: vmunix: B11.23_LR FLAVOR=perf Fri Aug 29 22:35:38 PDT 2003 $
#
# ioscan -k
H/W Path Class Description
=======================================================
root
0 ioa System Bus Adapter (1229)
0/0 ba Local AGP Bus Adapter (122e)
0/0/0/0 graphics AGP Display (10de025b)
0/1 ba Local PCI-X Bus Adapter (122e)
0/2 ba Local PCI-X Bus Adapter (122e)
0/2/1/0 usb NEC USB Interface
0/2/1/0.1 usbhub USB Root Hub
0/2/1/0.1.2 usbhid USB HID Mouse(0)
0/2/1/1 usb NEC USB Interface
0/2/1/1.1 usbhub USB Root Hub
0/2/1/1.1.2 usbhid USB HID Kbd(1)
0/2/1/2 usb NEC USB Interface
0/2/2/0 sideba CMD IDE controller
0/2/2/0.0 ext_bus IDE Primary Channel
0/2/2/0.0.7 target
0/2/2/0.0.7.0 ctl Initiator
0/2/2/0.1 ext_bus IDE Secondary Channel
0/2/2/0.1.0 target
0/2/2/0.1.0.0 disk HL-DT-STDVD-ROM GDR8160B
0/2/2/0.1.7 target
0/2/2/0.1.7.0 ctl Initiator
0/2/3/0 lan HP PCI 1000Base-T Core
0/2/4/0 audio PCI Audio
0/2/4/1 audio Unimplemented Game Port
0/3 ba Local PCI-X Bus Adapter (122e)
0/3/1/0 ext_bus SCSI C1010 Ultra160 Wide LVD
0/3/1/0.1 target
0/3/1/0.1.0 disk FUJITSU MAN3735MP
0/3/1/0.7 target
0/3/1/0.7.0 ctl Initiator
120 processor Processor
250 ba Core I/O Adapter
250/0 ipmi IPMI Controller
250/1 tty Built-in RS232C
250/2 tty Built-in RS232C
250/3 acpi_node Acpi Hardware
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/2/3/0 0x00306E380A81 0 UP lan0 snap0 1 ETHER Yes 119
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 212992 160296 52344 75% /
/dev/vg00/lvol1 311296 61696 247696 20% /stand
/dev/vg00/lvol8 3670016 88608 3554104 2% /var
/dev/vg00/lvol7 3768320 2291768 1465048 61% /usr
/dev/vg00/lvol4 212992 8480 202920 4% /tmp
/dev/vg00/lvol6 2572288 1576840 987696 61% /opt
/dev/vg00/lvol5 32768 8472 24112 26% /home
Could carry on, but this should be sufficient to record the basic configuration.
Most importantly:
# ioscan -funC graphics
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
graphics 0 0/0/0/0 gvid_core CLAIMED INTERFACE AGP Display (10de025b)
Twitter Updates
G-AVLN in front of her home
Mostly Unix and Linux topics. But flying might get a mention too.
Tuesday, April 29, 2008
Monday, April 14, 2008
Ubuntu on XPS M1330 - Installing Citrix
Last time I tried Citrix on Ubuntu, it failed, reporting the lack of OpenMotif libraries. Having researched the dependency, I now realise that I need to install libmotif3 first. With the system up to date, and all repositories set up, I can now do it:
root@cherry:~# apt-get install libmotif3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
libmotif3
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1283kB of archives.
After unpacking 3129kB of additional disk space will be used.
Get: 1 http://gb.archive.ubuntu.com gutsy/multiverse libmotif3 2.2.3-2 [1283kB]
Fetched 1283kB in 22s (57.8kB/s)
Selecting previously deselected package libmotif3.
(Reading database ... 88954 files and directories currently installed.)
Unpacking libmotif3 (from .../libmotif3_2.2.3-2_i386.deb) ...
Setting up libmotif3 (2.2.3-2) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
root@cherry:~# exit
alina@cherry:~$
Now for Citrix: go to Citrix download site: http://www.citrix.com/site/ss/downloads/ and follow the links for "Clients" then "Linux". Identify the tarball (.tar.gz file) for your architecture and download it. Unless you have modified the default browser settings, the citrix client should have landed on your Desktop. By the way, notice that the following steps are done as ordinary user. That means that I am talking here about the Desktop of the user you are logged on as, rather than the desktop of the user "root".
alina@cherry:~$ cd Desktop
alina@cherry:~/Desktop$ tar zxvf en.linuxx86.tar.gz
./
./PkgId
./install.txt
./eula.txt
./readme.txt
./setupwfc
./linuxx86/
./linuxx86/hinst
./linuxx86/linuxx86.cor/
...
The listing above has been concatenated, there should have been a lot more files whizzing in front of your eyes!
In the current location (wherever you were when you unpacked the tarball), there should be the setup script (setu
pwfc). Run it, and follow the prompts. If you accept the defaults (wise move!) then the whole process is relatively painless:
alina@cherry:~/Desktop$ ./setupwfc
Citrix Presentation Server Client 10.6 setup.
Copyright 1996-2007 Citrix Systems, Inc. All rights reserved.
Citrix, Independent Computing Architecture (ICA), Program Neighborhood,
MetaFrame, and MetaFrame XP are registered trademarks and
Citrix Presentation Server, Citrix Access Suite, and SpeedScreen are
trademarks of Citrix Systems, Inc. in the United States and other countries.
Microsoft, MS, MS-DOS, Outlook, Windows, Windows NT, and BackOffice are
either registered trademarks or trademarks of Microsoft Corporation in
the United States and other countries.
All other Trade Names referred to are the Servicemark, Trademark,
or Registered Trademark of the respective manufacturers.
User install mode.
Select a setup option:
1. Install Citrix Presentation Server Client 10.6
2. Remove Citrix Presentation Server Client 10.6
3. Quit Citrix Presentation Server Client 10.6 setup
Enter option number 1-3 [1]: 1
Please enter the directory in which Citrix Presentation Server Client is to be installed.
[default /home/alina/ICAClient/linuxx86]
or type "quit" to abandon the installation:
The parent directory /home/alina/ICAClient does not exist.
Do you want it to be created? [default y]:
You have chosen to install Citrix Presentation Server Client 10.6 in /home/alina/ICAClient/linuxx86.
Proceed with installation? [default n]: y
CITRIX(R) LICENSE AGREEMENT
Use of this component is subject to the Citrix license covering the
Citrix product(s) with which you will be using this component. This
component is only licensed for use with such Citrix product(s).
CTX_code EP_T_A34320
Select an option:
1. I accept
2. I do not accept
Enter option number 1-2 [2]: 1
Installation proceeding...
Checking available disk space ...
Disk space available 117588256 K
Disk space required 4961 K
Continuing ...
Creating directory /home/alina/ICAClient/linuxx86
Core package...
Setting file permissions...
Integrating with browsers...
Integration complete.
Do you want to integrate the Citrix client with KDE and GNOME? [default y]:
Select a setup option:
1. Install Citrix Presentation Server Client 10.6
2. Remove Citrix Presentation Server Client 10.6
3. Quit Citrix Presentation Server Client 10.6 setup
Enter option number 1-3 [1]: 3
This *should* be it. Oh no, not yet! When I downloaded Citric client for RHEL (Red Hat Enterprise Linux), I was able to connect to the server at this point. Here, an essential SSL certificate was missing.
So, one more preparation step, to create a file under the keystore directory, that will store the certificate for SSL Citrix.
Edit a (new) file, called: ~/ICAClient/linuxx86/keystore/cacerts/UTN-USERFirst-Hardware.crt and paste into it the following lines (including those with BEGIN and END):
-----BEGIN CERTIFICATE-----
MIIEdDCCA1ygAwIBAgIQRL4Mi1AAJLQR0zYq/mUK/TANBgkqhkiG9w0BAQUFADCB
lzELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2Ug
Q2l0eTEeMBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExho
dHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xHzAdBgNVBAMTFlVUTi1VU0VSRmlyc3Qt
SGFyZHdhcmUwHhcNOTkwNzA5MTgxMDQyWhcNMTkwNzA5MTgxOTIyWjCBlzELMAkG
A1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2UgQ2l0eTEe
MBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExhodHRwOi8v
d3d3LnVzZXJ0cnVzdC5jb20xHzAdBgNVBAMTFlVUTi1VU0VSRmlyc3QtSGFyZHdh
cmUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCx98M4P7Sof885glFn
0G2f0v9Y8+efK+wNiVSZuTiZFvfgIXlIwrthdBKWHTxqctU8EGc6Oe0rE81m65UJ
M6Rsl7HoxuzBdXmcRl6Nq9Bq/bkqVRcQVLMZ8Jr28bFdtqdt++BxF2uiiPsA3/4a
MXcMmgF6sTLjKwEHOG7DpV4jvEWbe1DByTCP2+UretNb+zNAHqDVmBe8i4fDidNd
oI6yqqr2jmmIBsX6iSHzCJ1pLgkzmykNRg+MzEk0sGlRvfkGzWitZky8PqxhvQqI
DsjfPe58BEydCl5rkdbux+0ojatNh4lz0G6k0B4WixThdkQDf2Os5M1JnMWS9Ksy
oUhbAgMBAAGjgbkwgbYwCwYDVR0PBAQDAgHGMA8GA1UdEwEB/wQFMAMBAf8wHQYD
VR0OBBYEFKFyXyYbKJhDlV0HN9WFlp1L0sNFMEQGA1UdHwQ9MDswOaA3oDWGM2h0
dHA6Ly9jcmwudXNlcnRydXN0LmNvbS9VVE4tVVNFUkZpcnN0LUhhcmR3YXJlLmNy
bDAxBgNVHSUEKjAoBggrBgEFBQcDAQYIKwYBBQUHAwUGCCsGAQUFBwMGBggrBgEF
BQcDBzANBgkqhkiG9w0BAQUFAAOCAQEARxkP3nTGmZev/K0oXnWO6y1n7k57K9cM
//bey1WiCuFMVGWTYGufEpytXoMs61quwOQt9ABjHbjAbPLPSbtNk28Gpgoiskli
CE7/yMgUsogWXecB5BKV5UU0s4tpvc+0hY91UZ59Ojg6FEgSxvunOxqNDYJAB+gE
CJChicsZUN/KHAG8HQQZexB2lzvukJDKxA4fFm517zP4029bHpbj4HR3dHuKom4t
3XbWOTCC8KucUvIqx69JXn7HaOWCgchqJ/kniCrVWFCVH/A7HFe7fRQ5YiuayZSS
KqMiDP+JJn1fIytH1xUdqWqeUQ0qUZ6B+dQ7XnASfxAynB67nfhmqA==
-----END CERTIFICATE-----
root@cherry:~# apt-get install libmotif3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
libmotif3
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1283kB of archives.
After unpacking 3129kB of additional disk space will be used.
Get: 1 http://gb.archive.ubuntu.com gutsy/multiverse libmotif3 2.2.3-2 [1283kB]
Fetched 1283kB in 22s (57.8kB/s)
Selecting previously deselected package libmotif3.
(Reading database ... 88954 files and directories currently installed.)
Unpacking libmotif3 (from .../libmotif3_2.2.3-2_i386.deb) ...
Setting up libmotif3 (2.2.3-2) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
root@cherry:~# exit
alina@cherry:~$
Now for Citrix: go to Citrix download site: http://www.citrix.com/site/ss/downloads/ and follow the links for "Clients" then "Linux". Identify the tarball (.tar.gz file) for your architecture and download it. Unless you have modified the default browser settings, the citrix client should have landed on your Desktop. By the way, notice that the following steps are done as ordinary user. That means that I am talking here about the Desktop of the user you are logged on as, rather than the desktop of the user "root".
alina@cherry:~$ cd Desktop
alina@cherry:~/Desktop$ tar zxvf en.linuxx86.tar.gz
./
./PkgId
./install.txt
./eula.txt
./readme.txt
./setupwfc
./linuxx86/
./linuxx86/hinst
./linuxx86/linuxx86.cor/
...
The listing above has been concatenated, there should have been a lot more files whizzing in front of your eyes!
In the current location (wherever you were when you unpacked the tarball), there should be the setup script (setu
pwfc). Run it, and follow the prompts. If you accept the defaults (wise move!) then the whole process is relatively painless:
alina@cherry:~/Desktop$ ./setupwfc
Citrix Presentation Server Client 10.6 setup.
Copyright 1996-2007 Citrix Systems, Inc. All rights reserved.
Citrix, Independent Computing Architecture (ICA), Program Neighborhood,
MetaFrame, and MetaFrame XP are registered trademarks and
Citrix Presentation Server, Citrix Access Suite, and SpeedScreen are
trademarks of Citrix Systems, Inc. in the United States and other countries.
Microsoft, MS, MS-DOS, Outlook, Windows, Windows NT, and BackOffice are
either registered trademarks or trademarks of Microsoft Corporation in
the United States and other countries.
All other Trade Names referred to are the Servicemark, Trademark,
or Registered Trademark of the respective manufacturers.
User install mode.
Select a setup option:
1. Install Citrix Presentation Server Client 10.6
2. Remove Citrix Presentation Server Client 10.6
3. Quit Citrix Presentation Server Client 10.6 setup
Enter option number 1-3 [1]: 1
Please enter the directory in which Citrix Presentation Server Client is to be installed.
[default /home/alina/ICAClient/linuxx86]
or type "quit" to abandon the installation:
The parent directory /home/alina/ICAClient does not exist.
Do you want it to be created? [default y]:
You have chosen to install Citrix Presentation Server Client 10.6 in /home/alina/ICAClient/linuxx86.
Proceed with installation? [default n]: y
CITRIX(R) LICENSE AGREEMENT
Use of this component is subject to the Citrix license covering the
Citrix product(s) with which you will be using this component. This
component is only licensed for use with such Citrix product(s).
CTX_code EP_T_A34320
Select an option:
1. I accept
2. I do not accept
Enter option number 1-2 [2]: 1
Installation proceeding...
Checking available disk space ...
Disk space available 117588256 K
Disk space required 4961 K
Continuing ...
Creating directory /home/alina/ICAClient/linuxx86
Core package...
Setting file permissions...
Integrating with browsers...
Integration complete.
Do you want to integrate the Citrix client with KDE and GNOME? [default y]:
Select a setup option:
1. Install Citrix Presentation Server Client 10.6
2. Remove Citrix Presentation Server Client 10.6
3. Quit Citrix Presentation Server Client 10.6 setup
Enter option number 1-3 [1]: 3
This *should* be it. Oh no, not yet! When I downloaded Citric client for RHEL (Red Hat Enterprise Linux), I was able to connect to the server at this point. Here, an essential SSL certificate was missing.
So, one more preparation step, to create a file under the keystore directory, that will store the certificate for SSL Citrix.
Edit a (new) file, called: ~/ICAClient/linuxx86/keystore/cacerts/UTN-USERFirst-Hardware.crt and paste into it the following lines (including those with BEGIN and END):
-----BEGIN CERTIFICATE-----
MIIEdDCCA1ygAwIBAgIQRL4Mi1AAJLQR0zYq/mUK/TANBgkqhkiG9w0BAQUFADCB
lzELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2Ug
Q2l0eTEeMBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExho
dHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xHzAdBgNVBAMTFlVUTi1VU0VSRmlyc3Qt
SGFyZHdhcmUwHhcNOTkwNzA5MTgxMDQyWhcNMTkwNzA5MTgxOTIyWjCBlzELMAkG
A1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2UgQ2l0eTEe
MBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExhodHRwOi8v
d3d3LnVzZXJ0cnVzdC5jb20xHzAdBgNVBAMTFlVUTi1VU0VSRmlyc3QtSGFyZHdh
cmUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCx98M4P7Sof885glFn
0G2f0v9Y8+efK+wNiVSZuTiZFvfgIXlIwrthdBKWHTxqctU8EGc6Oe0rE81m65UJ
M6Rsl7HoxuzBdXmcRl6Nq9Bq/bkqVRcQVLMZ8Jr28bFdtqdt++BxF2uiiPsA3/4a
MXcMmgF6sTLjKwEHOG7DpV4jvEWbe1DByTCP2+UretNb+zNAHqDVmBe8i4fDidNd
oI6yqqr2jmmIBsX6iSHzCJ1pLgkzmykNRg+MzEk0sGlRvfkGzWitZky8PqxhvQqI
DsjfPe58BEydCl5rkdbux+0ojatNh4lz0G6k0B4WixThdkQDf2Os5M1JnMWS9Ksy
oUhbAgMBAAGjgbkwgbYwCwYDVR0PBAQDAgHGMA8GA1UdEwEB/wQFMAMBAf8wHQYD
VR0OBBYEFKFyXyYbKJhDlV0HN9WFlp1L0sNFMEQGA1UdHwQ9MDswOaA3oDWGM2h0
dHA6Ly9jcmwudXNlcnRydXN0LmNvbS9VVE4tVVNFUkZpcnN0LUhhcmR3YXJlLmNy
bDAxBgNVHSUEKjAoBggrBgEFBQcDAQYIKwYBBQUHAwUGCCsGAQUFBwMGBggrBgEF
BQcDBzANBgkqhkiG9w0BAQUFAAOCAQEARxkP3nTGmZev/K0oXnWO6y1n7k57K9cM
//bey1WiCuFMVGWTYGufEpytXoMs61quwOQt9ABjHbjAbPLPSbtNk28Gpgoiskli
CE7/yMgUsogWXecB5BKV5UU0s4tpvc+0hY91UZ59Ojg6FEgSxvunOxqNDYJAB+gE
CJChicsZUN/KHAG8HQQZexB2lzvukJDKxA4fFm517zP4029bHpbj4HR3dHuKom4t
3XbWOTCC8KucUvIqx69JXn7HaOWCgchqJ/kniCrVWFCVH/A7HFe7fRQ5YiuayZSS
KqMiDP+JJn1fIytH1xUdqWqeUQ0qUZ6B+dQ7XnASfxAynB67nfhmqA==
-----END CERTIFICATE-----
Ubuntu on XPS M1330 - finishing touches (1)
Our intranet is getting more and more comprehensive, and it is becoming more difficult to function without being able to access it. So, although I have resisted it for a long time, I have now accepted that I should be using Citric client, considering that we have a proper and well administered Citrix server farm setup. I have tested it in the past, on that occasion it was RHEL 4. Citrix client (rpm) for Linux worked first time, and I was talking to the intranet within minutes.
Tried the same on Ubuntu, and the first obstacle was the fact that RPMs and Ubuntu are not exactly best friends. Not to worry, there was a tarball (.tar.gz) file. Downloaded it, unpacked it and run the setup script - only to find that some essential libraries were missing. Well, this is what puts people off Linux - having to resolve these kind of dependencies! It transpires that Citrix Client management software requires OpenMotif installed. OpenMotif comes as one of the "x" libraries, and it is missing...
Before downloading the missing libraries (and as I am working on a new Ubuntu install - on a clean machine - without too many experiments) I decided to first update all the software, using Ubuntu's apt-get program.
Quick check for repositories revealed that none have been configured during the install. Could use the front end tool called Synaptic, but it's quicker to hack the configuration file. But first, I time to become the super-user:
alina@cherry:~$ sudo su - root
[sudo] password for alina:
Now navigate into the 'apt' directory: the default configuration template is there, it's the sources.list file, containing software repositories; it just needs tweaking.
Edit the sources.list file, to uncomment selected debian/ubuntu software repositories. I'm new to Ubuntu, and not entirely sure which repositories are best, so initially I chose the main Ubuntu sites, as well as some of the sites (such as universe and multiverse) mentioned a lot on the web.
root@cherry:~# cd /etc/apt
root@cherry:~# grep '^deb' sources.list
deb http://gb.archive.ubuntu.com/ubuntu/ gutsy main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ gutsy main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ gutsy universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ gutsy universe
deb http://gb.archive.ubuntu.com/ubuntu/ gutsy-updates universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ gutsy-updates universe
deb http://gb.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
Before apt-get can be run to install anything, the new configuration needs to be kicked into action.
Run:
root@cherry:~# apt-get update
This will have synchronised your local apt-get program with the content and availability of the repositories declared in the configuration file. On my machine, I got the following output:
Get: 1 http://gb.archive.ubuntu.com gutsy Release.gpg [191B]
Get: 2 http://gb.archive.ubuntu.com gutsy/main Translation-en_GB [21.3kB]
Get: 3 http://gb.archive.ubuntu.com gutsy/restricted Translation-en_GB [2395B]
Get: 4 http://gb.archive.ubuntu.com gutsy/universe Translation-en_GB [4405B]
Get: 5 http://gb.archive.ubuntu.com gutsy/multiverse Translation-en_GB [8133B]
Get: 6 http://gb.archive.ubuntu.com gutsy-updates Release.gpg [191B]
Ign http://gb.archive.ubuntu.com gutsy-updates/main Translation-en_GB
Ign http://gb.archive.ubuntu.com gutsy-updates/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com gutsy-updates/universe Translation-en_GB
Ign http://gb.archive.ubuntu.com gutsy-updates/multiverse Translation-en_GB
Get: 7 http://gb.archive.ubuntu.com gutsy Release [65.9kB]
Get: 8 http://gb.archive.ubuntu.com gutsy-updates Release [58.5kB]
Get: 9 http://gb.archive.ubuntu.com gutsy/main Packages [1075kB]
Get: 10 http://gb.archive.ubuntu.com gutsy/restricted Packages [7664B]
Get: 11 http://gb.archive.ubuntu.com gutsy/main Sources [306kB]
Get: 12 http://gb.archive.ubuntu.com gutsy/restricted Sources [2120B]
Get: 13 http://gb.archive.ubuntu.com gutsy/universe Packages [4065kB]
Get: 14 http://gb.archive.ubuntu.com gutsy/universe Sources [1226kB]
Get: 15 http://gb.archive.ubuntu.com gutsy/multiverse Packages [158kB]
Get: 16 http://gb.archive.ubuntu.com gutsy/multiverse Sources [56.8kB]
Get: 17 http://gb.archive.ubuntu.com gutsy-updates/main Packages [105kB]
Get: 18 http://gb.archive.ubuntu.com gutsy-updates/restricted Packages [4263B]
Get: 19 http://gb.archive.ubuntu.com gutsy-updates/main Sources [27.5kB]
Get: 20 http://gb.archive.ubuntu.com gutsy-updates/restricted Sources [937B]
Get: 21 http://gb.archive.ubuntu.com gutsy-updates/universe Packages [39.7kB]
Get: 22 http://gb.archive.ubuntu.com gutsy-updates/universe Sources [7563B]
Get: 23 http://gb.archive.ubuntu.com gutsy-updates/multiverse Packages [9215B]
Get: 24 http://gb.archive.ubuntu.com gutsy-updates/multiverse Sources [1702B]
Fetched 7254kB in 2m29s (48.4kB/s)
Unavailable sites will be marked as "Ign", for "ignore". My update manager immediately reported "You can install 142 updates". At the risk that I might forget what the whole exercise was about (get the system to the state where I can install Citrix client to talk to my company's intranet from home), I decided to run the updates. After all, my install CD is rather dated now, and a lot of reported bugs may have been fixed by now. Generally speaking, a blank 'update all' approach may not be the best, but I haven't got the intimate Gutsy knowledge to make a judgement. So, a click on the "Install Updates" at the bottom of the recommended updates list.
[The time is: 12:26. Estimate for the update download time was 1h5m - on my extremely slow 60kB/s connection. The download actually finished at 13:37 - not bad, just 6 minutes out on the estimate...]
Tried the same on Ubuntu, and the first obstacle was the fact that RPMs and Ubuntu are not exactly best friends. Not to worry, there was a tarball (.tar.gz) file. Downloaded it, unpacked it and run the setup script - only to find that some essential libraries were missing. Well, this is what puts people off Linux - having to resolve these kind of dependencies! It transpires that Citrix Client management software requires OpenMotif installed. OpenMotif comes as one of the "x" libraries, and it is missing...
Before downloading the missing libraries (and as I am working on a new Ubuntu install - on a clean machine - without too many experiments) I decided to first update all the software, using Ubuntu's apt-get program.
Quick check for repositories revealed that none have been configured during the install. Could use the front end tool called Synaptic, but it's quicker to hack the configuration file. But first, I time to become the super-user:
alina@cherry:~$ sudo su - root
[sudo] password for alina:
Now navigate into the 'apt' directory: the default configuration template is there, it's the sources.list file, containing software repositories; it just needs tweaking.
Edit the sources.list file, to uncomment selected debian/ubuntu software repositories. I'm new to Ubuntu, and not entirely sure which repositories are best, so initially I chose the main Ubuntu sites, as well as some of the sites (such as universe and multiverse) mentioned a lot on the web.
root@cherry:~# cd /etc/apt
root@cherry:~# grep '^deb' sources.list
deb http://gb.archive.ubuntu.com/ubuntu/ gutsy main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ gutsy main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ gutsy universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ gutsy universe
deb http://gb.archive.ubuntu.com/ubuntu/ gutsy-updates universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ gutsy-updates universe
deb http://gb.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
Before apt-get can be run to install anything, the new configuration needs to be kicked into action.
Run:
root@cherry:~# apt-get update
This will have synchronised your local apt-get program with the content and availability of the repositories declared in the configuration file. On my machine, I got the following output:
Get: 1 http://gb.archive.ubuntu.com gutsy Release.gpg [191B]
Get: 2 http://gb.archive.ubuntu.com gutsy/main Translation-en_GB [21.3kB]
Get: 3 http://gb.archive.ubuntu.com gutsy/restricted Translation-en_GB [2395B]
Get: 4 http://gb.archive.ubuntu.com gutsy/universe Translation-en_GB [4405B]
Get: 5 http://gb.archive.ubuntu.com gutsy/multiverse Translation-en_GB [8133B]
Get: 6 http://gb.archive.ubuntu.com gutsy-updates Release.gpg [191B]
Ign http://gb.archive.ubuntu.com gutsy-updates/main Translation-en_GB
Ign http://gb.archive.ubuntu.com gutsy-updates/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com gutsy-updates/universe Translation-en_GB
Ign http://gb.archive.ubuntu.com gutsy-updates/multiverse Translation-en_GB
Get: 7 http://gb.archive.ubuntu.com gutsy Release [65.9kB]
Get: 8 http://gb.archive.ubuntu.com gutsy-updates Release [58.5kB]
Get: 9 http://gb.archive.ubuntu.com gutsy/main Packages [1075kB]
Get: 10 http://gb.archive.ubuntu.com gutsy/restricted Packages [7664B]
Get: 11 http://gb.archive.ubuntu.com gutsy/main Sources [306kB]
Get: 12 http://gb.archive.ubuntu.com gutsy/restricted Sources [2120B]
Get: 13 http://gb.archive.ubuntu.com gutsy/universe Packages [4065kB]
Get: 14 http://gb.archive.ubuntu.com gutsy/universe Sources [1226kB]
Get: 15 http://gb.archive.ubuntu.com gutsy/multiverse Packages [158kB]
Get: 16 http://gb.archive.ubuntu.com gutsy/multiverse Sources [56.8kB]
Get: 17 http://gb.archive.ubuntu.com gutsy-updates/main Packages [105kB]
Get: 18 http://gb.archive.ubuntu.com gutsy-updates/restricted Packages [4263B]
Get: 19 http://gb.archive.ubuntu.com gutsy-updates/main Sources [27.5kB]
Get: 20 http://gb.archive.ubuntu.com gutsy-updates/restricted Sources [937B]
Get: 21 http://gb.archive.ubuntu.com gutsy-updates/universe Packages [39.7kB]
Get: 22 http://gb.archive.ubuntu.com gutsy-updates/universe Sources [7563B]
Get: 23 http://gb.archive.ubuntu.com gutsy-updates/multiverse Packages [9215B]
Get: 24 http://gb.archive.ubuntu.com gutsy-updates/multiverse Sources [1702B]
Fetched 7254kB in 2m29s (48.4kB/s)
Unavailable sites will be marked as "Ign", for "ignore". My update manager immediately reported "You can install 142 updates". At the risk that I might forget what the whole exercise was about (get the system to the state where I can install Citrix client to talk to my company's intranet from home), I decided to run the updates. After all, my install CD is rather dated now, and a lot of reported bugs may have been fixed by now. Generally speaking, a blank 'update all' approach may not be the best, but I haven't got the intimate Gutsy knowledge to make a judgement. So, a click on the "Install Updates" at the bottom of the recommended updates list.
[The time is: 12:26. Estimate for the update download time was 1h5m - on my extremely slow 60kB/s connection. The download actually finished at 13:37 - not bad, just 6 minutes out on the estimate...]
Subscribe to:
Posts (Atom)
Blog Archive
- October (1)
- June (1)
- April (2)
- February (3)
- June (1)
- March (1)
- August (3)
- July (2)
- June (1)
- March (1)
- June (3)
- May (1)
- April (5)
- February (1)
- January (5)
- October (1)
- September (3)
- July (4)
- June (5)
- April (3)
- March (1)
- February (3)
- January (3)
- October (7)
- August (2)
- July (3)
- May (1)
- November (4)
- October (1)
- September (1)
- August (2)
- July (2)
- June (3)
- May (3)
- April (2)
- March (2)
- February (3)
- January (1)
- December (2)
- November (1)
- October (6)
- September (6)
- August (1)
- July (2)
- June (8)
- May (3)
- April (4)
- March (3)