Welcome, Guest. Please login or register.
April 17, 2014, 09:08:55 AM
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
| |-+  Pardus for beginners
| | |-+  PiSi cache [SOLVED]
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: PiSi cache [SOLVED]  (Read 1888 times)
Llama
Pardus fellow craft
**
Gender: Male
Posts: 111



View Profile
« on: March 23, 2009, 10:10:11 AM »

Hi,

What is it? How is it operated? I've searched the Wiki; it is barely mentioned. Meanwhile there's but one *.pisi file on my system (in /tmp), installed by pm-install from here Smiley . /var/cache/pisi/packages, where I expected to find quite a bit of them, is empty,
« Last Edit: March 25, 2009, 07:11:47 AM by Llama » Logged
bubbel
Guest
« Reply #1 on: March 23, 2009, 13:17:04 PM »

/var/cache/pisi/packages, where I expected to find quite a bit of them, is empty,

Here you can find the pisi-package, if you build it with pisibul or all upgradeable packages, before you install it:

Quote
/var/pisi
/var/cache/pisi

After install the pisi-package the cache will be cleared. Wink

Greetings
bubbel
« Last Edit: March 23, 2009, 13:25:09 PM by bubbel » Logged
Llama
Pardus fellow craft
**
Gender: Male
Posts: 111



View Profile
« Reply #2 on: March 23, 2009, 13:35:38 PM »

After install the pisi-package the cache will be cleared. Wink

Is it a default option, or the only way? Suppose an upgrade broke something; how am I supposed to roll back?
Logged
bubbel
Guest
« Reply #3 on: March 23, 2009, 14:06:18 PM »


Is it a default option, or the only way? Suppose an upgrade broke something; how am I supposed to roll back?

Hello,

look please screenshot of Paket-Manager (in German)

Roll-back you can do it with Tasma > System > History-Manager

Greetings
bubbel


* Paket-manger-Einstellungen.png (57.53 KB, 1145x390 - viewed 45 times.)
Logged
Lisa
Pardus Guru
****
Posts: 841



View Profile
« Reply #4 on: March 24, 2009, 03:37:56 AM »

Hi,

PiSi cache information screenshot below (oh, I hope it's readable, i.e. large enough to see  Grin )

If you tick, "use hard disk cache for downloaded software" it will store downloaded and partially downloaded packages  in /var/cache/pisi/packages.

Since I have dial-up and also have a very large hard disk (350GB i only have a desktop machine) I have this ticked.  If you do not tick this, and you get disconnected during a package update or while installing a new package, it will not leave the partial package in the /var/cache/pisi/packages, and when you reselect the package, click on "install package(s)", the download will start all over from beginning.   

Lisa Marie



* pardus_tiger1.png (30.58 KB, 494x594 - viewed 50 times.)
Logged
Llama
Pardus fellow craft
**
Gender: Male
Posts: 111



View Profile
« Reply #5 on: March 24, 2009, 07:57:47 AM »

Thanks, Lisa! Is there a CLI way to manage cache (turn on/off, etc.)? pisi help delivered just dc command; so I assumed that cache is the way of life Smiley .
Logged
Lisa
Pardus Guru
****
Posts: 841



View Profile
« Reply #6 on: March 24, 2009, 14:33:22 PM »

Command line interface, hmmm, I rarely use PiSi with terminal so I do not know.  I know by default in the GUI, that the cache is disabled, as is shown above with bubbel's screenshot, where it says Cacheverbrauch, the box is unticked by default.  So, unless you tick this box, it will remain so whether you use CLI or GUI.   

There probably is a way to disable/enable cache with terminal, but, I don't know how.

Lisa Marie

Logged
Lisa
Pardus Guru
****
Posts: 841



View Profile
« Reply #7 on: March 24, 2009, 15:19:44 PM »

Llama, you've probably typed pisi -help in terminal.  I just checked and I don't see a way to enable or disable cache , but you can clear the cache via the terminal. 

This one is new to me:  Huh?
pisi graph
I just tried it and I don't know what it did, but this is what it said:

Code:
pisi graph
Plotting a graph of relations among all repository packages
me@me-pardus ~ $

I better be careful what I type.  Cheesy

Sorry, I went on a side road...a tangent.
Lisa Marie

edited to add:
wiki pardus command line interface:
PiSi _CLI_Usage

« Last Edit: March 24, 2009, 15:29:30 PM by Lisa » Logged
bubbel
Guest
« Reply #8 on: March 24, 2009, 16:09:20 PM »


pisi graph
I just tried it and I don't know what it did, but this is what it said:


Hello Lisa Marie,

with pisi graph a diagram of the package relationship is provided, which you find afterwards in your Home-folder and which you can open with the program kgraphviewer.

Here for example pisi graph opera (look screenshot). Wink

Greetings
bubbel


* KGraphViewer.png (134.21 KB, 1440x900 - viewed 42 times.)
« Last Edit: March 24, 2009, 16:11:22 PM by bubbel » Logged
Llama
Pardus fellow craft
**
Gender: Male
Posts: 111



View Profile
« Reply #9 on: March 24, 2009, 16:34:45 PM »

It's probably (certainly Smiley ) a line in /etc/pisi/pisi.conf, Lisa Marie:
Quote
package_cache = True
Logged
Lisa
Pardus Guru
****
Posts: 841



View Profile
« Reply #10 on: March 25, 2009, 00:03:48 AM »

Thanks bubbel!  I don't have kgraphviewer installed, but what you shared looks interesting.

Yep, Llama, that is what I see in my pisi.conf file. 

Lisa Marie
Logged
bubbel
Guest
« Reply #11 on: March 25, 2009, 06:45:48 AM »

@ Llama

if the problem ist solved for you please edit it in your first Thread as [solved]

Thanks.
bubbel
Logged
Lisa
Pardus Guru
****
Posts: 841



View Profile
« Reply #12 on: March 25, 2009, 15:08:04 PM »

what you shared looks interesting.

Yes, that last comment should have been read as, "But, WHAT does IT MEAN?"  Grin  I thought, okay, fancy looking artwork, and then I thought of molecular structures or chains.  To learn a bit more I checked out the DOT wiki which is helpful in explaining how to analyze a dot graph. 
Lisa Marie, always learning  Smiley
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!