You are not logged in.
it's updated inside the previous posted version above, so just copy paste it again....
Offline
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
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
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
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
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
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
you can download it from here, since copy-pasting is buggy:
Offline
I posted Pajman in user-contributions.org. I am glad you are keeping pajman updated.
http://user-contributions.org/
Markku
Offline
thanks rasat
I'll keep updating pajman whenever I have time.
Offline
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 .
Offline
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 .
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
First I have to end pajman, but, yes, this woulb be great... It could be called ArchTools
Offline
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
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
man, you rock.
may I ask how your installtion routine works? - is it safe? and what are the advantages to pacman?
Offline
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
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
Offline
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
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
thanks cmp, this is great
Offline
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
Offline
Great!
A rollback system needs only to store the previous version number when package is upgraded.
Markku
Offline
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
Offline