Welcome, Guest. Please login or register.
April 21, 2014, 12:53:33 PM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Configuring Pardus
| | |-+  how to make a local repository?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: how to make a local repository?  (Read 3654 times)
fireedo
Newbie
*
Posts: 10


View Profile
« on: January 26, 2007, 04:14:01 AM »

I dont have a fast and unlimited internet connection (I just have a dial up and limited to 1Gb/month) so I ask my friend to download all pardus 2007 packages from this repo--->http://ftp://yerel.pardusdepo.com/paketler/pardus-2007/
and now I got a DVD that contain a lot package for pardus 2007 but my question is there a way to make this dvd as a repo/local repo? so I can update and install in offline mode?
thanx in advance Smiley
Logged
gorkem
Pardus Developer
Pardus fellow craft
*****
Posts: 65


View Profile
« Reply #1 on: January 26, 2007, 23:47:33 PM »

PISI can add a local repository as well. First you need to create an index for all the downloaded files. Go to the directory you have downloaded files and do this:

sudo pisi ix

where ix means "index". This will create a pisi-index.xml.bz2 file in the current directory. Add this file as a repository:

sudo pisi ar /directory/where/index/file/is/pisi-index.xml.bz2

where ar means "add repository".

That's it.. Just install any file the way you do and they will be fetched from your hard disk (or DVD).
Logged
Jan Gnodde
Global Moderator
Pardus Guru
*****
Gender: Male
Posts: 397


View Profile WWW
« Reply #2 on: January 27, 2007, 00:41:19 AM »

Ah, great! I'll use that in my (Dutch) article about Pisi...  :wink:

Jan.
Logged
fireedo
Newbie
*
Posts: 10


View Profile
« Reply #3 on: January 27, 2007, 06:05:37 AM »

wow...that's works!!! nice.....thanx a lot..... Smiley it's really a big help for people with dial up connection like me
thanx
Logged
gorkem
Pardus Developer
Pardus fellow craft
*****
Posts: 65


View Profile
« Reply #4 on: January 27, 2007, 15:01:54 PM »

Great - please let me know if you have any problems and we can fix it ;-)
Logged
fireedo
Newbie
*
Posts: 10


View Profile
« Reply #5 on: January 31, 2007, 08:52:00 AM »

oops...yes there is a problem show up---->

Quote
DEBUG: return value for "gpg --detach-sig pisi-index.xml" is 2
Program Terminated.
pisi.file.Error: ERROR: gpg --detach-sig pisi-index.xml failed
Please use 'pisi help' for general help.
Traceback:
  File "/usr/bin/pisi", line 89, in ?
    cli.run_command()
  File "/usr/lib/pardus/pisi/cli/pisicli.py", line 111, in run_command
    self.command.run()
  File "/usr/lib/pardus/pisi/cli/commands.py", line 1023, in run
    skip_signing = ctx.get_option('skip_signing'))
  File "/usr/lib/pardus/pisi/api.py", line 400, in index
    index.write(output, sha1sum=True, compress=File.bz2, sign=File.detached)
  File "/usr/lib/pardus/pisi/pxml/autoxml.py", line 471, in write
    self.writexml(uri, tmpDir, sha1sum=sha1sum, compress=compress, sign=sign)
  File "/usr/lib/pardus/pisi/pxml/xmlfile.py", line 92, in writexml
    f.close()
  File "/usr/lib/pardus/pisi/file.py", line 202, in close
    raise Error(_("ERROR: gpg --detach-sig %s failed") % self.localfile)
DEBUG: PiSi API finalized

I dont know what it is? can you help me?
thanx
Logged
fireedo
Newbie
*
Posts: 10


View Profile
« Reply #6 on: January 31, 2007, 12:20:44 PM »

solved....that's just an error messages about gpg
Logged
aventis
Guest
« Reply #7 on: April 29, 2007, 08:36:07 AM »

Hello gorkem,

I am using Pardus 2007.1 , on dial up connection, so get updates & packages I        got them on 2 DVDS from a friend with fast connection. I copied all those ( pisi files/updates ) into a folder named as "Pisi Updates" into my home directory.

I want to use that "Pisi Updates" folder as my local repository, I tried to follow steps you mentioned in above posts but they failed for me with erros as.


drmarwat@pardus ~ $ sudo pisi ix

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

Password:
Sorry, try again.
Password:
Indexing current directory.
* Building index of PiSi files under .
System Error. Program Terminated.
'NoneType' object has no attribute 'obsoletes'
Please use 'pisi help' for general help.
Use --debug to see a traceback.
drmarwat@pardus ~ $ /home/drmarwat/Pisi Updates
bash: /home/drmarwat/Pisi: No such file or directory
drmarwat@pardus ~ $ sudo pisi ar /home/drmarwat/Pisi Updates/index/file/is/pisi-index.xml.bz2
Repo /home/drmarwat/Pisi added to system.
Update PiSi database for repository /home/drmarwat/Pisi? (yes/no)yes
* Updating repository: /home/drmarwat/Pisi
System Error. Program Terminated.
File 'Updates/index/file/is/pisi-index.xml.bz2.sha1sum' not found.
Please use 'pisi help' for general help.
Use --debug to see a traceback.

Can you please put simple steps how can I set that folder as my local  repository ?

Thanks,

regards,

aventis
Logged
aventis
Guest
« Reply #8 on: April 29, 2007, 10:10:25 AM »

Hello i will post everything ,the errors i get

 I have copied all updates/packages from 2 dvds into a folder named as pisi updates in home directory

then i do

cd /home/drmarwat/

then

sudo pisi ix

and get this error

Indexing current directory.
* Building index of PiSi files under .
System Error. Program Terminated.
'NoneType' object has no attribute 'obsoletes'
Please use 'pisi help' for general help.
Use --debug to see a traceback.


so, what`s wrong here?

help pls

aventis
Logged
Pardoes
Pardus fellow craft
**
Gender: Male
Posts: 36


View Profile
« Reply #9 on: April 29, 2007, 11:26:24 AM »

Hello gorkem,

I am using Pardus 2007.1 , on dial up connection, so get updates & packages I        got them on 2 DVDS from a friend with fast connection. I copied all those ( pisi files/updates ) into a folder named as "Pisi Updates" into my home directory.

I want to use that "Pisi Updates" folder as my local repository, I tried to follow steps you mentioned in above posts but they failed for me with erros as.


drmarwat@pardus ~ $ sudo pisi ix

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

Password:
Sorry, try again.
Password:
Indexing current directory.
* Building index of PiSi files under .
System Error. Program Terminated.
'NoneType' object has no attribute 'obsoletes'
Please use 'pisi help' for general help.
Use --debug to see a traceback.
drmarwat@pardus ~ $ /home/drmarwat/Pisi Updates
bash: /home/drmarwat/Pisi: No such file or directory
drmarwat@pardus ~ $ sudo pisi ar /home/drmarwat/Pisi Updates/index/file/is/pisi-index.xml.bz2
Repo /home/drmarwat/Pisi added to system.
Update PiSi database for repository /home/drmarwat/Pisi? (yes/no)yes
* Updating repository: /home/drmarwat/Pisi
System Error. Program Terminated.
File 'Updates/index/file/is/pisi-index.xml.bz2.sha1sum' not found.
Please use 'pisi help' for general help.
Use --debug to see a traceback.

Can you please put simple steps how can I set that folder as my local  repository ?

Thanks,

regards,

aventis

Maybe you have to change the name "Pisi Updates" in PisiUpdates without a space
and you have then to go to the directory:
cd /home/drmarwat/PisiUpdates
and then try again.
« Last Edit: April 29, 2007, 15:46:52 PM by Pardoes » Logged
aventis
Guest
« Reply #10 on: April 29, 2007, 12:30:31 PM »

Hello ,I managed to do it with help of ErenTurkay< now one last thing, can i keep both local and pardus repository in pisi gui? i notice when i keep both pisis reads both and updates packages list. I want both as sometimes some new files may not be there in my local repository so i will get them from pardus repository.

wht do you suggest?

thanks,

regards,

aventis
Logged
Willem
M.D.
Administrator
Pardus Guru
*****
Gender: Male
Posts: 1020



View Profile WWW
« Reply #11 on: April 29, 2007, 13:26:23 PM »

You can, as long as you keep the Pardus repository as the first repository...
Logged

For freedom...
stux
Pardus fellow craft
**
Posts: 77


View Profile
« Reply #12 on: May 14, 2007, 14:59:46 PM »

Great - please let me know if you have any problems and we can fix it ;-)

Please help me. I half installed my applications using:

pisi it *.pisi

Then I found out I could do the pisi ix way.

(Background info: I dump all my pisi packages in a folder on my home machine so that the apps are the same as the ones on my work machine)

I now get an error that tells me that mkinitrd requires coolplug >= 2.00 and I cannot install my latestkernel or any other package after that  Huh? 

Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!