You are not logged in.

#26 2005-03-08 08:42:43

sorcerer
Member
Registered: 2005-02-25
Posts: 18

Re: pajman - my pacman improvement (updated)

it's updated inside the previous posted version above, so just copy paste it again....

Offline

#27 2005-03-09 22:44:12

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: pajman - my pacman improvement (updated)

One note. Now I have a work that fills mainly all my time. I don't know when I'll be able to make pajman improvements.

it would be cool to integrate srcpac and pajman functionality into pacman actually Smile

I agree.

Offline

#28 2005-03-13 16:55:29

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: pajman - my pacman improvement (updated)

it would be cool, if you could integrate a way to disable the color output.
you also forgot to update the helptext in your script

Offline

#29 2005-03-27 00:59:51

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: pajman - my pacman improvement (updated)

and btw. it would be nice, if -Ps would behave the same way, as pacman -Ss or -Qs does - printing all packages or just quitting.
currently you get some error message from grep because it's called without any string (grep -e) - should be easily fixable.

fixed error messages (2 BUGS)

about creating a PKGBUILD... i find it useless, since this file is its own source.

Offline

#30 2005-03-27 01:06:16

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: pajman - my pacman improvement (updated)

it would be cool, if you could integrate a way to disable the color output.
you also forgot to update the helptext in your script

now you can set COLORPC to something that's not "" in your bashrc and voila! ...there's no color. To check, try this:

COLORPC="no" pajman -Puy

I also disable color output inside pajman when capturing its own functions output, so your petition also simplified development

Offline

#31 2005-03-27 01:17:36

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: pajman - my pacman improvement (updated)

UPDATED PAJMAN VERSION:
- Fixed 2 bugs in version comparison
- Added noncolored output setting COLORPC to something diferent than nothing ("")
- Now it checks if the packages get installed and if not it prompts you to install them forcing file conflicts and/or if it should keep installing remaining packages
- Now it prompts you to remove /tmp/pacman.lck if pacman process is not find
- Now you can launch simultaneous pajman instances. Keep in mind that you shouldn't install the same package or conflicting packages simultaneously
- Now you can "search and remove"
- Now you can remove groups

I think these are all changes I've done today.

Offline

#32 2005-03-27 01:24:35

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: pajman - my pacman improvement (updated)

MORE CHANGES (i've forgoten):
- Added an echo that's tells you that package is currently analizing.
- when root is needed, it tells you the name of the action it cannot perform.
- Now it automatically re-downloads a package if MD5SUMs do not match (you should not mess up pacman cache, so if you do, pajman is not for you)

Offline

#33 2005-03-28 01:06:22

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: pajman - my pacman improvement (updated)

you can download it from here, since copy-pasting is buggy:

http://www.elpezmandala.com/pajman

Offline

#34 2005-04-05 05:36:56

rasat
Forum Fellow
From: Finland
Registered: 2002-12-27
Posts: 2,296
Website

Re: pajman - my pacman improvement (updated)

I posted Pajman in user-contributions.org. I am glad you are keeping pajman updated.
http://user-contributions.org/


Markku

Offline

#35 2005-04-09 15:50:11

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: pajman - my pacman improvement (updated)

thanks rasat smile
I'll keep updating pajman whenever I have time.

Offline

#36 2005-04-10 11:00:35

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: pajman - my pacman improvement (updated)

Another sugestion: you could integrate a kind dependecy tree (just call the tools created by others). My dream is one frontend to rule them all  big_smile.

Offline

#37 2005-04-10 12:38:36

rasat
Forum Fellow
From: Finland
Registered: 2002-12-27
Posts: 2,296
Website

Re: pajman - my pacman improvement (updated)

cmp wrote:

Another sugestion: you could integrate a kind dependecy tree (just call the tools created by others). My dream is one frontend to rule them all  big_smile.

Its on my to do list for pacmenu.
http://bbs.archlinux.org/viewtopic.php?t=10283

What option(s) is unique in pajman?


Markku

Offline

#38 2005-04-10 13:13:17

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: pajman - my pacman improvement (updated)

First I have to end pajman, but, yes, this woulb be great... It could be called ArchTools

Offline

#39 2005-04-10 13:26:34

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: pajman - my pacman improvement (updated)

I use pajman only for searching, as it is much faster than pacman, I think the installtion routine may also be faster, but to be honest I prefer to rely on pacman for these tasks, as I don't want to mess my system.
the problem with pacmenu is, that I don't like the gui approach. pacman is cool, but as I said the search time of pacman is very slow.
It's also very nice, that you can directly use srcpac with pajman.

[15:26] police:~ time pacman -Ss xscreensaver
current/xscreensaver 4.21-1
    Screen saver and locker for the X Window System

real    0m36.055s
user    0m1.353s
sys     0m3.085s
[15:27] police:~ time pacman -Psi xscreensaver
==> Searching for "xscreensaver"
[current]
xscreensaver-4.21-1
- Screen saver and locker for the X Window System
* now looking for packages that are not in a repo. Ctrl + C to stop.

real    0m8.409s
user    0m0.560s
sys     0m0.617s

Offline

#40 2005-04-10 13:55:03

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: pajman - my pacman improvement (updated)

you also have the q (quick) option

# time pacman -Psi xscreensaver
==> Searching for "xscreensaver"
[current]
xscreensaver-4.21-1
- Screen saver and locker for the X Window System
* now looking for packages that are not in a repo. Ctrl + C to stop.

real    0m8.986s
user    0m0.214s
sys     0m0.355s

# time pacman -Psiq xscreensaver
==> QUICK-Searching for "xscreensaver"
[current]
xscreensaver-4.21-1
- Screen saver and locker for the X Window System
* now looking for packages that are not in a repo. Ctrl + C to stop.

real    0m2.152s
user    0m0.205s

Offline

#41 2005-04-10 14:26:42

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: pajman - my pacman improvement (updated)

man, you rock.
may I ask how your installtion routine works? - is it safe? and what are the advantages to pacman?

Offline

#42 2005-04-10 14:57:51

rasat
Forum Fellow
From: Finland
Registered: 2002-12-27
Posts: 2,296
Website

Re: pajman - my pacman improvement (updated)

Pajaro wrote:

First I have to end pajman, but, yes, this woulb be great... It could be called ArchTools

Today I am upgrading pacmenu-2.1 (with pkg dep tree, by skoal), and after that ready to join all into an ArchTool. It will be geat!


Markku

Offline

#43 2005-04-10 15:16:54

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: pajman - my pacman improvement (updated)

cmp wrote:

man, you rock.
may I ask how your installtion routine works? - is it safe? and what are the advantages to pacman?

1 - When you install a package it looks for it and if it is found in more than one repo it asks you what version to install.

2 - Then it reads package info and checks if it's dependencies are installed (it only checks if the package is there, it does not check if the version is the one need. You don't have to worry to much for it, because it shows you a red warning when a version checking is skiped, and usually packages need lastest versions).

3 - Then it goes to step 1 for every dependency that is not installed.

4 - then it prompts you to install the packages.

IF glibc IS TO BE INSTALLED IT WILL EXIT TELLING YOU THAT YOU HAVE TO USE PACMAN TO PERFORM THIS OPERATION.

5 - if you say yes it downloads the first package and installs it with "pacman -Ud" (d is to ignore dependency check: pajman has already checked dependency and we want to avoid the initial pacman delay)

6 - then for every package it goes to 5, so if there's a file conflict only in 1 of ten packages, you'll have the first ones already installed, and it will prompt you to try reinstalling the package forcing file conflicts.

I use pajman almost all the time, because of the redownloading corrupted packages and because of it's comfortable way of treating file conflicts. Some times I use pacman to make sure that everything is ok. I recommend using pajman specially in this situations:

- You've added a repo you've seen in the forum: pajman allows you to only update that repo and install from there (you won't have to update all 15 other repos you have in pacman.conf)

REPOS="newrepo" pajman -Pu

- You want to install packages from testing or unstable: In my .bashrc I have

EXPORT NOREPOS="testing unstable"

so when I want to install a package from testing I just run:

NOREPOS="unstable" pajman -Pu
NOREPOS="unstable" pajman -P <package>

- I also hate not having pajman installed in a computer when I've upgraded the kernel and I want to reinstall nvidia drivers: pajman starts isntallation almost isntantly.

I wrote pajman because I hate loosing time. You could also say: pacman is much more faster than pajman upgrading the system... Yes, pacman is much more faster than pajman upgrading the system, but if it finds a file conlict or a corrupted package you'll have to start again the process.

What I don't like of pajman:
- it does not take care of the IgnorePkg parameter in pacman.conf. TODO
- It does not take care of version requeriments in dependencies. TODO
- Source code is not comented. TODO
- It cannot remove groups in the "pajman way". TODO

What I'm considering to add in the future:
- GUI
- SUPERROLLBACK: Search for packages in all servers in all repos and let you install older versions that may be available. I though of it when I knew that there's a Server that keeps old packages avaible to download.
- Make pajman talk to you using festival wink

Offline

#44 2005-04-10 15:20:54

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: pajman - my pacman improvement (updated)

More TODO:
- make pajman mark non splicitilly installed packages as non splicitilly installed.
- Some days ago I run pacman and it prompted me to replace amarok by amarok-mysqlfree. pajman was ignoring it.

Offline

#45 2005-04-10 15:54:26

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: pajman - my pacman improvement (updated)

for your superrollback. you could try to downlaod the appopriate PKGBUILD from the cvs server of archlinux and then compile it, if there is no binary package available.

Offline

#46 2005-04-10 16:50:06

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: pajman - my pacman improvement (updated)

thanks cmp, this is great

Offline

#47 2005-04-13 03:13:35

rasat
Forum Fellow
From: Finland
Registered: 2002-12-27
Posts: 2,296
Website

Re: pajman - my pacman improvement (updated)

Pajaro wrote:

SUPERROLLBACK: Search for packages in all servers in all repos and let you install older versions that may be available. I though of it when I knew that there's a Server that keeps old packages avaible to download.

This server keeping old packages is where?


Markku

Offline

#48 2005-04-13 21:04:42

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: pajman - my pacman improvement (updated)

Offline

#49 2005-04-14 02:57:03

rasat
Forum Fellow
From: Finland
Registered: 2002-12-27
Posts: 2,296
Website

Re: pajman - my pacman improvement (updated)

Great!
A rollback system needs only to store the previous version number when package is upgraded.


Markku

Offline

#50 2005-04-14 18:15:48

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: pajman - my pacman improvement (updated)

well, pajman stores the previous version information in the pseudo repo rollback... but I forgot to make it download this previous version from this server... :S

...more TODO smile

Offline

Board footer

Powered by FluxBB