You are not logged in.
Pages: 1
Anyone got a link that works to download this program, coz the link here:
http://bbs.archlinux.org/viewtopic.php? … c&start=15
Dont work...
Offline
pacworld.py will only list missing libs and does nothing to install them
you can acheive the same with any of the gui front ends for pacman.
install one and install all x related package you can find except the drivers that you know you dont need...
Offline
once I have it, when I run it will it echo out the missing files i need or does it output them to a file?
Offline
it just echo's them it I'm not at my archbox right now otherwise I would post a link for you but install jacman then scroll through and select the needed pkgs..
lots of the need packages have proto in them..
Offline
pacworld.py will only list missing libs and does nothing to install them
Actually it can automatically install them for you if you want it to.
Here's the source cyrix
pacworld.py
#!/usr/bin/env python
__author__ = 'L0cutus'
__email__ = 'never@e-kki.it'
__program__ = 'PacWorld'
__version__ = '0.1'
__date__ = 'Date: 22/02/2006'
__copyright__ = 'Copyright (c) 2006 L0cutus'
__license__ = 'GPL'
import os
import sys
import string
if os.path.isfile("pacworld.not"):
not_input = open("pacworld.not", "r")
N=not_input.readlines()
def test(file, pkg):
lfinput = open(file, "r")
lL=lfinput.readlines()
tst=False
for lcmd in range(len(lL)):
a = lL[lcmd].split()[1]
if not (os.path.isfile(a) or os.path.isdir(a) or os.path.islink(a)):
print "<< is missing >> [" + a + "]"
tst=True
return tst
def test1(pkg, np):
tst=True
for lcmd in range(len(np)):
if pkg==string.strip(np[lcmd]):
tst=False
return tst
os.system("pacman -Q>pacworld.tmp")
finput = open("pacworld.tmp", "r")
L=finput.readlines()
for cmd in range(len(L)):
a = L[cmd].split()[0]
print "processing..." + a
os.system("pacman -Ql " + a + " >" + a + ".tmp")
if test(a + ".tmp", a):
if len(sys.argv)>1 and string.lower(sys.argv[1]) == "-e":
if N and test1(a, N):
os.system("pacman -S " + L[cmd].split()[0])
print "<< Fixed: " + a + " >>"
else:
print "<< Skipped[pacworld.not]: " + a + " >>"
else:
print "<< run: pacman -S " + a + " >>"
os.remove(a + ".tmp")
os.remove("pacworld.tmp")
pacworld.not
nvidia
cups
apache
grub
lilo
nforce
Offline
wow that seemed to fix all my xorg problems, and my wee laptops got 50% higher fps on glxgers. thanks loads!
this should be in AUR or something as a repair program for xorg
Offline
It is a bit late but here is a working link to the page for pacworld.
http://www.zamprogno.it/dokuwiki/doku.p … o_pacworld
Here is a link to the program.
http://www.zamprogno.it/files/pacworld.tar.gz
It was already mentioned but pacworld can install the packages that are broken. However, the way to use the program to install the packages wasn't directly mentioned here even though you obviously figured it out. For those who happen to stumble onto this thread, here is how to run the program so that it will reinstall any broken packages. Cd into the directory that you have pacworld stored and run "python pacworld.py -e" (without the quotes) as root.
Also, Cerebral mentioned in the other thread that pacworld doesn't handle file locations that have spaces. It was a one line fix but I fixed that problem. This is mainly a problem with stepmania and stepmania-extras. Here is the modified version of pacworld.
pacworld.py
#!/usr/bin/env python
__author__ = 'L0cutus'
__email__ = 'never@e-kki.it'
__program__ = 'PacWorld'
__version__ = '0.1'
__date__ = 'Date: 22/02/2006'
__copyright__ = 'Copyright (c) 2006 L0cutus'
__license__ = 'GPL'
import os
import sys
import string
if os.path.isfile("pacworld.not"):
not_input = open("pacworld.not", "r")
N=not_input.readlines()
def test(file, pkg):
lfinput = open(file, "r")
lL=lfinput.readlines()
tst=False
for lcmd in range(len(lL)):
a = lL[lcmd].splitlines()[0].replace(pkg + " ","",1)
if not (os.path.isfile(a) or os.path.isdir(a) or os.path.islink(a)):
print "<<is>> [" + a + "]"
tst=True
return tst
def test1(pkg, np):
tst=True
for lcmd in range(len(np)):
if pkg==string.strip(np[lcmd]):
tst=False
return tst
os.system("pacman -Q>pacworld.tmp")
finput = open("pacworld.tmp", "r")
L=finput.readlines()
for cmd in range(len(L)):
a = L[cmd].split()[0]
print "processing..." + a
os.system("pacman -Ql " + a + " >" + a + ".tmp")
if test(a + ".tmp", a):
if len(sys.argv)>1 and string.lower(sys.argv[1]) == "-e":
if N and test1(a, N):
os.system("pacman -S " + L[cmd].split()[0])
print "<<Fixed>>"
else:
print "<<Skipped>>"
else:
print "<<run>>"
os.remove(a + ".tmp")
os.remove("pacworld.tmp")
I also think that pacworld should probably be put into the AUR.
Offline
Pacworld has been added to the AUR.
Offline
Pages: 1