Welcome, Guest. Please login or register.
April 20, 2014, 15:42:49 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
| |-+  Pardus for beginners
| | |-+  Pisi missing [Solved]
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Pisi missing [Solved]  (Read 1911 times)
AmpUp
Newbie
*
Posts: 7


View Profile
« on: April 21, 2010, 17:22:02 PM »

Greetings,

I recently installed Pardus on my laptop. I was using pisi quite frequently (comming from Ubuntu and Debian I found it easy to use) the problem I ran into though is when I added the 2008-contrib repository pisi stopped working. The package-manager also stopped working completely. Whenever I try and run something on pisi (ex. sudo pisi it nasm) i get an error saying "Error Program Terminated, File not found". I find that strange because I can still run other pisi commands (rr, ur, rdb, etc.). I removed the contrib-2008 repository and rebuilt the database (rdb) and updated the repository. But whenever I attempt to install/view installed packages I get that File not found error. I'm not sure if there is a way to re-install pisi as I am having trouble finding the code for it. Can somebody tell me whats going on?
« Last Edit: April 23, 2010, 16:40:11 PM by AmpUp » Logged
trixon
Guest
« Reply #1 on: April 21, 2010, 18:41:16 PM »

What is the output of
Code:
pisi lr
Logged
AmpUp
Newbie
*
Posts: 7


View Profile
« Reply #2 on: April 21, 2010, 23:21:09 PM »

Ok the output is:

blake@vaio-pardus ~ $ pisi lr
pardus-2009.1 [active]
   http://packages.pardus.org.tr/pardus-2009.1/pisi-index.xml.bz2

Not sure what happened to the other contrib repository I had
Logged
trixon
Guest
« Reply #3 on: April 22, 2010, 06:07:55 AM »

Ok, adding contrib for 2008 for 2009 is not a good idea. Add contrib  2009
Code:
sudo pisi ar contrib-2009 http://packages.pardus.org.tr/contrib-2009/pisi-index.xml.bz2
Logged
AmpUp
Newbie
*
Posts: 7


View Profile
« Reply #4 on: April 22, 2010, 14:50:38 PM »

I re-added the 2009 contrib like you said. Still no package-manager and I'm still getting the "No Such file or Directory" when using the pisi CLI. Sad
Logged
trixon
Guest
« Reply #5 on: April 22, 2010, 17:00:19 PM »

I re-added the 2009 contrib like you said. Still no package-manager and I'm still getting the "No Such file or Directory" when using the pisi CLI. Sad

Please include exactly what you type and the result you get.
Logged
AmpUp
Newbie
*
Posts: 7


View Profile
« Reply #6 on: April 22, 2010, 17:21:29 PM »

I type:

pisi it nasm (or any other package)

Program Terminated
(2, No Such File or Directory)

If i type:

package-manager
command not found

Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #7 on: April 22, 2010, 21:29:59 PM »

First give the the command
Code:
sudo pisi up -y
And after the above command what's the result of
Code:
pisi info nasm
and
Code:
pisi info package-manager
 
Logged
AmpUp
Newbie
*
Posts: 7


View Profile
« Reply #8 on: April 22, 2010, 23:27:40 PM »

The output of those commands is:

blake@vaio-pardus ~ $ sudo pisi up -y
Updating repositories
* Updating repository: pardus-2009.1
pisi-index.xml.bz2.sha1sum     (40.0  B)100%    591.48 KB/s [00:00:00] [complete]
pardus-2009.1 repository information is up-to-date.
* Updating repository: contrib-2009
pisi-index.xml.bz2.sha1sum     (40.0  B)100%    709.26 KB/s [00:00:00] [complete]
contrib-2009 repository information is up-to-date.
System Error. Program Terminated.
(2, 'No such file or directory')
Please use 'pisi help' for general help.
Use --debug to see a traceback.
blake@vaio-pardus ~ $ pisi info nasm
System Error. Program Terminated.
(2, 'No such file or directory')
Please use 'pisi help' for general help.
Use --debug to see a traceback.
blake@vaio-pardus ~ $ pisi info package-manager
System Error. Program Terminated.
(2, 'No such file or directory')
Please use 'pisi help' for general help.
Use --debug to see a traceback.
With the debug for pisi info nasm:

blake@vaio-pardus ~ $ pisi --debug info nasm
System Error. Program Terminated.
<type 'exceptions.OSError'>: (2, 'No such file or directory')
Please use 'pisi help' for general help.
Traceback:
  File "/usr/bin/pisi", line 80, in <module>
    cli.run_command()
  File "/usr/lib/pardus/pisi/cli/pisicli.py", line 141, in run_command
    self.command.run()
  File "/usr/lib/pardus/pisi/cli/info.py", line 93, in run
    self.info_package(arg)
  File "/usr/lib/pardus/pisi/cli/info.py", line 109, in info_package
    self.installdb_info(arg)
  File "/usr/lib/pardus/pisi/cli/info.py", line 152, in installdb_info
    if self.installdb.has_package(package):
  File "/usr/lib/pardus/pisi/db/installdb.py", line 105, in has_package
    return self.installed_db.has_key(package)
  File "/usr/lib/pardus/pisi/db/lazydb.py", line 96, in __getattr__
    self.__init()
  File "/usr/lib/pardus/pisi/db/lazydb.py", line 91, in __init
    self.init()
  File "/usr/lib/pardus/pisi/db/installdb.py", line 72, in init
    self.rev_deps_db = self.__generate_revdeps()
  File "/usr/lib/pardus/pisi/db/installdb.py", line 98, in __generate_revdeps
    self.__add_to_revdeps(package, revdeps)
  File "/usr/lib/pardus/pisi/db/installdb.py", line 85, in __add_to_revdeps
    meta_doc = piksemel.parse(metadata_xml)




« Last Edit: April 22, 2010, 23:29:24 PM by AmpUp » Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #9 on: April 23, 2010, 00:05:00 AM »

Try
Code:
sudo pisi it --reinstall pisi
in order to try to repair pisi.
Logged
AmpUp
Newbie
*
Posts: 7


View Profile
« Reply #10 on: April 23, 2010, 00:29:05 AM »

Try
Code:
sudo pisi it --reinstall pisi
in order to try to repair pisi.

Tried that, heres the message I got:

blake@vaio-pardus ~ $ sudo pisi it --reinstall pisi
Password:
System Error. Program Terminated.
(2, 'No such file or directory')
Please use 'pisi help' for general help.
Use --debug to see a traceback.
Logged
Nergård
Guest
« Reply #11 on: April 23, 2010, 05:47:30 AM »

One option is just to re-install 2009.1 Dont forget to add "Contrib" during the Kaptan process for all avaible extra  programs.
And run all the updates (around 150 at the moment) before do anything else in the system. If you not doing that programs in Pisi will be missing.
But when that is done all avaible programs will be included in pisi and its not necessary to use the terminal at all.
Then all thing should work.
« Last Edit: April 23, 2010, 06:05:36 AM by Nergård » Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #12 on: April 23, 2010, 10:29:50 AM »

Tried that, heres the message I got:
This means that pisi is broken down is such a way that it can't be reinstalled (repaired) and the only remaining option is
One option is just to re-install 2009.1

Dont forget to add "Contrib" during the Kaptan process for all avaible extra  programs.
Contrib can always be installed (if you forget to do this in Kaptan) later on with
Add contrib  2009
Code:
sudo pisi ar contrib-2009 http://packages.pardus.org.tr/contrib-2009/pisi-index.xml.bz2
Logged
AmpUp
Newbie
*
Posts: 7


View Profile
« Reply #13 on: April 23, 2010, 16:39:42 PM »

That's what I was afraid of, I guess I'll reinstall Pardus after work. Thanks a lot guys
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!