LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 01-21-2011, 05:06 AM   #1
chschroe
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
Use ISO as HTTP repository


Hi!
I have the ISO files of the SuSE Linux Enterprise SDK and have already successfully used them as installation source in Zypper and YaST.
However, I now want to move them to another server which I want to access via http. I have already mounted the ISOs and copied the files from them to the server, but I did not manage to add the repository. I tried to add via YaST an http repository using the directory on the server where I copied the files to, but the repository does not show up in the list. Instead, a new service has been added, but without any repositories in it.
I also tried to add it via zypper using this command:
Code:
zypper ar http://username:password@www.xyz.de/filebase/SuSE/SLE-11-SDK-DVD-x86_64-GM-Media1 SUSE-Linux-Enterprise-Software-Development-Kit-11_11-0
This seems to work, but when I refresh the repositories I get the following error:
Code:
Retrieving repository 'SUSE-Linux-Enterprise-Software-Development-Kit-11_11-0' metadata [error]
Repository 'SUSE-Linux-Enterprise-Software-Development-Kit-11_11-0' is invalid.
File /var/tmp/TmpFile.IfsKSq doesn't contain public key data
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'SUSE-Linux-Enterprise-Software-Development-Kit-11_11-0' because of the above error.
Besides, the repository has type "rpm-md" instead of "yast2".
Is it impossible to use the files from the ISO as an http repository, or can anybode tell me what to do?

Thanks a lot!
Christian
 
Old 01-21-2011, 05:28 AM   #2
chschroe
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Just after having written the post, I found a workaround at least: I added the repository using ftp which worked fine. I then manually edited the .repo file in /etc/zypp/repos.d changing the "baseurl" entry, and now it works as intended. However, I would like to understand why I could not add an http source directly.
 
Old 01-23-2011, 05:42 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,591

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
Because you'll have limitless apps. 1 cd doesn't hold that much and you'll need updates. The cd should be commented out of sources.list, so you don't have to insert cd everytime you want to add an app.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Software ISO Repository... linuxshadow Linux - Server 5 06-13-2008 03:49 AM
ISO images as repository sheelatam Suse/Novell 1 11-21-2007 04:35 AM
installing custom rpms from http:// repository cachemonet Red Hat 5 10-11-2007 05:21 AM
creation of own http repository for Suse yast sawoy Suse/Novell 1 06-20-2005 04:58 AM
http repository zaicheke Linux - Software 2 07-19-2004 07:58 PM


All times are GMT -5. The time now is 02:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration