PDA

View Full Version : zypper asks for CD-ROM, CD-rom is in the device



chaouche
18-Sep-2012, 15:19
s15389121:/mnt/cdrom/suse/i586 # zypper in emacs-nox-22.3-4.32.4.i586.rpm
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
ctags emacs emacs-info emacs-nox

4 new packages to install.
Overall download size: 17.7 MiB. After the operation, additional 61.0 MiB will be used.
Continue? [y/n/?] (y): y
Retrieving package emacs-info-22.3-4.32.4.x86_64 (1/4), 3.6 MiB (3.6 MiB unpacked)
Media source 'cd:///?devices=/dev/sr0' does not contain the desired medium

Please insert medium [SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152] #1 and type 'y' to continue or 'n' to cancel the operation. [yes/no] (no): y
File './suse/x86_64/zlib-32bit-1.2.3-106.34.x86_64.rpm' not found on medium 'cd:///?devices=/dev/sr0'

Please insert medium [SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152] #1 and type 'y' to continue or 'n' to cancel the operation. [yes/no] (no): no
Failed to provide Package zlib-32bit-1.2.3-106.34. Do you want to retry retrieval?

[SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152|cd:///?devices=/dev/sr0] Can't provide file './suse/x86_64/zlib-32bit-1.2.3-106.34.x86_64.rpm' from repository 'SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152'
History:
- File './suse/x86_64/zlib-32bit-1.2.3-106.34.x86_64.rpm' not found on medium 'cd:///?devices=/dev/sr0'

- Can't provide ./suse/x86_64/zlib-32bit-1.2.3-106.34.x86_64.rpm : Media Exception

Abort, retry, ignore? [a/r/i] (a): a
Problem occured during or after installation or removal of packages:
Installation aborted by user

Please see the above error message for a hint.
s15389121:/mnt/cdrom #





s15389121:/mnt/cdrom/suse/i586 # zypper lr -d
# | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
--+--------------------------------------------------+--------------------------------------------------+---------+---------+----------+--------+-------------------------------------------------------------------------+--------
1 | SUSE-Linux-Enterprise-Server-11 | SUSE-Linux-Enterprise-Server-11 | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/utilities/SLE_11/ |
2 | SUSE-Linux-Enterprise-Server-11-SP1 | SUSE-Linux-Enterprise-Server-11-SP1 | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/utilities/SLE_11_SP1/ |
3 | SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152 | SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152 | Yes | No | 99 | yast2 | cd:///?devices=/dev/sr0 |
4 | SUSE-Linux-Enterprise-Server-11-SP1bis | SUSE-Linux-Enterprise-Server-11-SP1bis | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/utilities/SLE_11_SP1/ |
5 | SUSE-Linux-Enterprise-Server-11-SP2 | SUSE-Linux-Enterprise-Server-11-SP2 | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/utilities/SLE_11_SP2/ |
6 | SUSE-Linux-Enterprise-Server-11_11-0 | SUSE-Linux-Enterprise-Server-11 11-0 | No | No | 99 | yast2 | cd:/// |
7 | imapsyn | imapsyn | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/home:/pheinlein/SLE_11_SP1/ |
8 | perl | perl | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/perl/SLE_11 |
s15389121:/mnt/cdrom/suse/i586 #




s15389121:/mnt/cdrom/suse/i586 # zypper search -r "SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152" emacs
Loading repository data...
Reading installed packages...

S | Name | Summary | Type
--+------------+----------------------------------------------------------------+-----------
| emacs | GNU Emacs Base Package | package
| emacs | GNU Emacs Base Package | srcpackage
| emacs-el | Several Lisp Files for GNU Emacs | package
| emacs-info | Info files for GNU Emacs | package
| emacs-nox | GNU Emacs-nox: An Emacs Binary without X Window System Support | package
| emacs-x11 | GNU Emacs: Emacs binary with X Window System Support | package
s15389121:/mnt/cdrom/suse/i586 #



I tried both with the CD mounted and unmounted. Any suggestions ?

malcolmlewis
18-Sep-2012, 15:35
Code:
--------------------

s15389121:/mnt/cdrom/suse/i586 # zypper in
emacs-nox-22.3-4.32.4.i586.rpm Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
ctags emacs emacs-info emacs-nox

4 new packages to install.
Overall download size: 17.7 MiB. After the operation, additional 61.0
MiB will be used. Continue? [y/n/?] (y): y
Retrieving package emacs-info-22.3-4.32.4.x86_64 (1/4), 3.6 MiB (3.6
MiB unpacked) Media source 'cd:///?devices=/dev/sr0' does not contain
the desired medium
Please insert medium [SUSE-Linux-Enterprise-Server-11-SP1
11.1.1-1.152] #1 and type 'y' to continue or 'n' to cancel the
operation. [yes/no] (no): y File
'./suse/x86_64/zlib-32bit-1.2.3-106.34.x86_64.rpm' not found on medium
'cd:///?devices=/dev/sr0' Please insert medium
[SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152] #1 and type 'y' to
continue or 'n' to cancel the operation. [yes/no] (no): no Failed to
provide Package zlib-32bit-1.2.3-106.34. Do you want to retry
retrieval? [SUSE-Linux-Enterprise-Server-11-SP1
11.1.1-1.152|cd:///?devices=/dev/sr0] Can't provide file
'./suse/x86_64/zlib-32bit-1.2.3-106.34.x86_64.rpm' from repository
'SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152' History:
- File './suse/x86_64/zlib-32bit-1.2.3-106.34.x86_64.rpm' not found
on medium 'cd:///?devices=/dev/sr0'
- Can't provide ./suse/x86_64/zlib-32bit-1.2.3-106.34.x86_64.rpm :
Media Exception
Abort, retry, ignore? [a/r/i] (a): a
Problem occured during or after installation or removal of packages:
Installation aborted by user

Please see the above error message for a hint.
s15389121:/mnt/cdrom #

--------------------




Code:
--------------------

s15389121:/mnt/cdrom/suse/i586 # zypper lr -d
# | Alias |
Name | Enabled | Refresh |
Priority | Type |
URI
| Service
--+--------------------------------------------------+--------------------------------------------------+---------+---------+----------+--------+-------------------------------------------------------------------------+--------
1 | SUSE-Linux-Enterprise-Server-11 |
SUSE-Linux-Enterprise-Server-11 | Yes | No
| 99 | rpm-md |
http://download.opensuse.org/repositories/utilities/SLE_11/
| 2 | SUSE-Linux-Enterprise-Server-11-SP1 |
SUSE-Linux-Enterprise-Server-11-SP1 | Yes | No
| 99 | rpm-md |
http://download.opensuse.org/repositories/utilities/SLE_11_SP1/
| 3 | SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152 |
SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152 | Yes | No
| 99 | yast2 |
cd:///?devices=/dev/sr0
| 4 | SUSE-Linux-Enterprise-Server-11-SP1bis |
SUSE-Linux-Enterprise-Server-11-SP1bis | Yes | No
| 99 | rpm-md |
http://download.opensuse.org/repositories/utilities/SLE_11_SP1/
| 5 | SUSE-Linux-Enterprise-Server-11-SP2 |
SUSE-Linux-Enterprise-Server-11-SP2 | Yes | No
| 99 | rpm-md |
http://download.opensuse.org/repositories/utilities/SLE_11_SP2/
| 6 | SUSE-Linux-Enterprise-Server-11_11-0 |
SUSE-Linux-Enterprise-Server-11 11-0 | No | No
| 99 | yast2 |
cd:///
| 7 | imapsyn |
imapsyn | Yes | No
| 99 | rpm-md |
http://download.opensuse.org/repositories/home:/pheinlein/SLE_11_SP1/
| 8 | perl |
perl | Yes | No
| 99 | rpm-md |
http://download.opensuse.org/repositories/devel:/languages:/perl/SLE_11
| s15389121:/mnt/cdrom/suse/i586 # --------------------



Code:
--------------------

s15389121:/mnt/cdrom/suse/i586 # zypper search -r
"SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152" emacs Loading
repository data... Reading installed packages...

S | Name |
Summary | Type
--+------------+----------------------------------------------------------------+-----------
| emacs | GNU Emacs Base
Package | package | emacs
| GNU Emacs Base Package |
srcpackage | emacs-el | Several Lisp Files for GNU
Emacs | package | emacs-info | Info files
for GNU Emacs | package |
emacs-nox | GNU Emacs-nox: An Emacs Binary without X Window System
Support | package | emacs-x11 | GNU Emacs: Emacs binary with X Window
System Support | package s15389121:/mnt/cdrom/suse/i586 #
--------------------


I tried both with the CD mounted and unmounted. Any suggestions ?



Hi
What other repos are available?


zypper lr -d

Does it get the info from the cd?


zypper if emacs

Have you tried deleting and re-adding the CD repository? Also have you
forced a repository refresh?


zypper ref --force


--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.6-2.10-desktop
up 22:24, 4 users, load average: 0.02, 0.07, 0.12
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU