- RedHat
- Previamente copiamos los paquetes al fs creado, llamado /ISO
dd if=/dev/sr0 of=/ISO/sles11_x86_64.iso bs=4096
- Editamos el archivo de configuracion:
vi /etc/yum.repos.d/iso.repo
[root@lab02-REDHAT5 Server]# cat /etc/yum.repos.d/iso.repo
[iso]
#mediaid=1170972069.396645*
name=RHEL5 Update4
baseurl=file:///ISO/Server/
enabled=1
Borramos el otro
[rhel-debuginfo]
name=RH5.4
#baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/x86_64/Debuginfo/
baseurl=file:///ISO/
***enabled=0
gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
- ->Tenemos un error al ejecutarlo...
[root@fu1re09222v0 mnt]# yum search pop3
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Existing lock /var/run/yum.pid: another copy is running as pid 26764.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: system-config-p
Memory : 53 M RSS (367 MB VSZ)
Started: Fri Sep 10 11:58:50 2010 - 54 day(s) 1:47:40 ago
State : Sleeping, pid: 26764
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: system-config-p
Memory : 53 M RSS (367 MB VSZ)
Started: Fri Sep 10 11:58:50 2010 - 54 day(s) 1:47:42 ago
State : Sleeping, pid: 26764
Exiting on user cancel.
[root@fu1re09222v0 mnt]# rm /var/run/yum.pid
rm: remove regular file `/var/run/yum.pid'? y
- ->Despues nos piden las claves:
Public key for cyrus-imapd-utils-2.3.7-7.el5.x86_64.rpm is not installed
- -Instalamos las claves:
E instalamos el paquete:rpm -import /mnt/RPM-GPG-KEY-redhat-release
[root@fu1re09222v0 mnt]# yum install cyrus-imapd.x86_64
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package cyrus-imapd.x86_64 0:2.3.7-7.el5 set to be updated
--> Processing Dependency: cyrus-imapd-utils = 2.3.7-7.el5 for package: cyrus-imapd
--> Processing Dependency: db4-utils for package: cyrus-imapd
--> Running transaction check
---> Package cyrus-imapd-utils.x86_64 0:2.3.7-7.el5 set to be updated
--> Processing Dependency: cyrus-imapd-perl = 2.3.7-7.el5 for package: cyrus-imapd-utils
---> Package db4-utils.x86_64 0:4.3.29-10.el5 set to be updated
--> Running transaction check
---> Package cyrus-imapd-perl.x86_64 0:2.3.7-7.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================
Installing:
cyrus-imapd x86_64 2.3.7-7.el5 iso 13 M
Installing for dependencies:
cyrus-imapd-perl x86_64 2.3.7-7.el5 iso 210 k
cyrus-imapd-utils x86_64 2.3.7-7.el5 iso 185 k
db4-utils x86_64 4.3.29-10.el5 iso 122 k
Transaction Summary
=============================================================================================================================================================
Install 4 Package(s)
Upgrade 0 Package(s)
Total download size: 13 M
Is this ok [y/N]: y
Downloading Packages:
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 3.9 GB/s | 13 MB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : db4-utils 1/4
Installing : cyrus-imapd-perl 2/4
Installing : cyrus-imapd-utils 3/4
Installing : cyrus-imapd 4/4
Installed:
cyrus-imapd.x86_64 0:2.3.7-7.el5
Dependency Installed:
cyrus-imapd-perl.x86_64 0:2.3.7-7.el5 cyrus-imapd-utils.x86_64 0:2.3.7-7.el5 db4-utils.x86_64 0:4.3.29-10.el5
Complete!
- SUSE
- yast repositories
???????????????????????????????????????????????????? ?
? ? Local ISO Image ? ?
? ?Repository Name ? ??????????
? ?Repositorio???????????????????????????????????????? ??????????
? ?Path to ISO Image ? ?
? ?/ISO/sles11_x86_64.iso?????????????????[Browse...]? ile:///IS?
? ? [OK] [Cancel] ? ?
? ???????????????????????????????????????????????????? ?
- Previamente hemos copiado el disco:
dd if=/dev/sr0 of=/ISO/sles11_x86_64.iso bs=4096
- Para Instalar: yast --install
No hay comentarios:
Publicar un comentario