Welcome, Guest. Please login or register.
April 16, 2014, 16:37:10 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
| | |-+  Missing dependency for mandriva-seed
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Go Down Print
Author Topic: Missing dependency for mandriva-seed  (Read 2397 times)
JoanRC
Pardus fellow craft
**
Posts: 39



View Profile
« on: June 26, 2011, 00:50:41 AM »

I am unable to run mandriva-seed.

I am working in Pardus 2011 in my regular user account with administrative privileges. I am attempting to install Macpup520 to a usb stick using mandriva-seed (2010) as discussed in the Pardus wiki http://en.pardus-wiki.org/Pardus:Installation2008netbook Method 2 for Linux and Windows.

At the command line, I made the file executable as described here http://linux4us.org/mdv_seed.php#note2 and then attempted to run the file as instructed on the same page. Pardus returned: command not found.

In Dolphin, I verified that the file is executable and that regular user owns the file. I tried to run it again. No luck.

Using Krusader in root mode, I tried again. This time, I received the following errormessage.

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/cx_Freeze/initscripts/Console.py", line 29, in <module>
  File "/tmp/selfgz36084407/i586/mandriva-seed", line 50, in <module>
    T�����%Yl�&��iU���:��v�w�����P��?��[�#9�i�S��4,5Ξ
                                                     s����Ş�����M�;     ���$�����������-���[�R�<.O�c#m4'��n�yX�r/_�b��0/2͉v��j���umta��1����ս��<ºM�o���40�'?��S�Ϯ�����<4'������-o����|�P�
  File "/tmp/selfgz36084407/i586/mandriva-seed", line 43, in main
    ��:�T�0�Ǟ�
  File "liveusb/__init__.py", line 47, in <module>
  File "liveusb/linux_dialog.py", line 10, in <module>
  File "ExtensionLoader_PyQt4_QtGui.py", line 12, in <module>
ImportError: libpng12.so.0: cannot open shared object file: No such file or directory


I don't know what font is needed to reveal the missing characters above. If anyone needs to know what it says, i could take a screenshot of the message window.

I suspect the important information is in the last line. I'm guessing that libping12.so.0 is a dependency for mandriva-seed and in my case it is missing. A google search indicates that "png" is a reference to the graphic file format ".png", not the network command "ping". Without the needed lib file, pardus is unable to read the mandriva-seed file.

A search on libpng in the Package Manager shows it is not available to install from the official repository. I do not know how to install this file from the command line. Presumably, I would need to download it and then include it in a PATH statement; but, I only know how to do that in DOS.

Alternatively, I could use method 3 in the wiki. I understand that I need to replace "filename" with the name of the install .iso file, and "x" in sd"x"  with the drive letter of my usb stick. I understand how to obtain the drive letter. What I don't understand is what bs=4M means.

As a last resort, I could follow the advice on the puppy forum and install pup to a cd before and then use the cd to install to a usb. But I'm cheap and don't want to waste a cd :)
« Last Edit: June 26, 2011, 00:53:45 AM by JoanRC » Logged

Remember: only you can prevent forum fires!
Alexey
Pardus fellow craft
**
Gender: Male
Posts: 95



View Profile
« Reply #1 on: June 26, 2011, 01:49:32 AM »

isowriter great program is the repository pardususer.de

if I remember correctly mandriva seed is not supported anymore.

on this, try Method 1 (for Pardus 2009.1/2009.2 and 2011 users)
Logged
Alexey
Pardus fellow craft
**
Gender: Male
Posts: 95



View Profile
« Reply #2 on: June 26, 2011, 02:06:14 AM »

the third option can be described in another way.

insert usb stick into your computer.

do:  cat /etc/mtab

Quote
/dev/sda3 / ext4 rw 0 0
/dev/sdb1 /media/USB-flash-drive vfat rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=100,shortname=mixed,dmask=0077,utf8=1,showexec 0 0

See USB flash drive has a mounted partition /dev/sdb1 means the device /dev /sdb

bs option indicates how many megabytes will be read and written per second

bs option is simple.

if you know the approximate speed record on the usb flash drive, specify it in the megabytes. such bs=1M, bs=2M, bs=3M


dd if=Pardus-2011-i686.iso of=/dev/sdb bs=2M

dd if=Macpup520.iso of=/dev/sdb bs=2M


But I still recommend using the first method.
Then you will not be mistaken for a device to burn an image.


« Last Edit: June 26, 2011, 02:09:20 AM by Alexey » Logged
JoanRC
Pardus fellow craft
**
Posts: 39



View Profile
« Reply #3 on: June 26, 2011, 06:24:37 AM »

Thank you for your assistance. However, nothing is working.

I tried the command line method first. I have all my partitions backed up in case of catastrophe. Pardus reported that it had copied the correct number of files totalling the correct number of mb. However, the stick won't boot. I know it is a bootable stick because I have booted from it before on this machine. When I tried to verify the status of the boot flag using Pardu's GUI based partition manager, the file system was marked "unknown" and there was no boot flag.

Tomorrow I plan to boot into freedos and reformat this stick using dos tools. I can't find the format command listed in the list of Linux commands my brother printed out for me.

I can't find isowriter listed in the Package Manager. I downloaded Unetbootin but it won't run in Pardus 2011. If all else fails, I can boot into Vista and run Unetbootin from there.


If pardus no longer supports mandriva-seed, maybe the wiki should be changed to reflect that.

Logged

Remember: only you can prevent forum fires!
kalwisti
Pardus fellow craft
**
Gender: Male
Posts: 131



View Profile
« Reply #4 on: June 26, 2011, 07:26:30 AM »

I can't find isowriter listed in the Package Manager.

Hi, JoanRC,

I'm guessing that the reason you're not seeing it is because you first have to add the pardususer.de repo to your repository list to install the utility. Please take a look here:

http://en.pardus-wiki.org/Pardus:Installation2008netbook#Pardus_2011

I added Isowriter to my Pardus 2011 installation a few weeks ago and have used it once. It was working fine, so unless something has changed very recently that I'm not aware of ...

HTH,
=david



Logged

Registered Linux User # 442201

Pardus 2011.2 (KDE 4.6.5, kernel 2.6.37.6)

AMD Athlon II X2 240 (Regor) 2.8 GHz, 4 GB RAM, Seagate Barracuda 320 GB HD, Nvidia GeForce 6150SE nForce 430 integrated GPU, Samsung SH-S222L DVD-RW
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #5 on: June 26, 2011, 10:37:18 AM »

ImportError: libpng12.so.0: cannot open shared object file: No such file or directory
A big for reporting and finding the cause of this problem.
I did see a similar  libpng12 problem the first time while constructing >this Teamspeak3 PiSi-package<.

If pardus no longer supports mandriva-seed, maybe the wiki should be changed to reflect that.
And to solve this I have modified/added:
Quote
Users of Pardus 2011 should also install the package libpng12 from >pardususer.de<.
to >this part< of the Pardus 2008/2009/2011 on a Netbook Wiki Grin

I can't find isowriter listed in the Package Manager.
Have a in >Adding Repository (if not already configured in Packet Manager)< of the same Pardus 2008/2009/2011 on a Netbook Wiki Wink

I downloaded Unetbootin but it won't run in Pardus 2011.
This ^^^ is 100% correct as Unetbootin can not handle Hybrid-iso files.
Mandriva and some other distro's are using Hybrid-iso files too.
By the way: Unetbootin and some other interesting applications are also in pardususer.de.

I hope this solves your problems.
I was still when you reported this last night Grin
Logged
JoanRC
Pardus fellow craft
**
Posts: 39



View Profile
« Reply #6 on: June 26, 2011, 21:33:29 PM »

Thanks, Atolbo.

I tried adding the pardususer.de repository, but have not been successfull. I first used the GUI method; and, while the repository list does show up, I cannot download the libpng library. Package Manager says: item not found. Isowriter is not even listed.

So, I removed the repository from the GUI Package Manager and tried the command line method. Pardus returns the message: No signature found for http://pakete.pardususer.de/pardus-2011/i686/pisi-index.xml.xz
Logged

Remember: only you can prevent forum fires!
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #7 on: June 26, 2011, 21:46:25 PM »

Pardus returns the message: No signature found for http://pakete.pardususer.de/pardus-2011/i686/pisi-index.xml.xz
This is 100% correct and should not be any problem.
What is the result (after adding the repo) of:
Code:
pisi lr
Huh?

And the package name is libpng12  Wink
« Last Edit: June 26, 2011, 21:50:29 PM by atolboo » Logged
JoanRC
Pardus fellow craft
**
Posts: 39



View Profile
« Reply #8 on: June 26, 2011, 22:08:31 PM »

The result of pisi lr is:

pardus [active]
   http://packages.pardus.org.tr/pardus/2011/stable/i686/pisi-index.xml.xz
pardususer.de [active]
    http://pakete.pardususer.de/http://pakete.pardususer.de/pardus-2011/i686/pisi-index.xml.xz


There is no libpng12 listed, only libpng.
Logged

Remember: only you can prevent forum fires!
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #9 on: June 26, 2011, 22:19:16 PM »

Maybe you should do a
Code:
sudo pisi ur -y
Huh?
I get
Quote
atolboo@pardus2011 ~ $ pisi info libpng12
libpng12 package is not installed
Package found in pardususer.de repository:
Name                : libpng12, version: 1.2.44, release: 23
Summary             : Portable Network Graphics library
Description         : The Portable Network Graphics (PNG) format was designed to replace the older and simpler GIF format and,
                      to some extent, the much more complex TIFF format. Project's main aim is to concentrate on two major
                      uses: the World Wide Web (WWW) and image-editing.
Licenses            : as-is
Component           : library
Provides            :
Dependencies        :
Distribution        : Pardus, Dist. Release: 2011
Architecture        : i686, Installed Size: 173.00 KB, Package Size: 74.00 KB
Reverse Dependencies: teamspeak3 handbrake google-chrome
Logged
JoanRC
Pardus fellow craft
**
Posts: 39



View Profile
« Reply #10 on: June 26, 2011, 22:48:26 PM »

Results of sudo pisi ur -y:

Updating repository: pardus
pisi-index.xml.xz.sha1sum      (40.0  B)100%    411.66 KB/s [00:00:00] [complete]
pisi-index.xml.xz              (1.3 MB)100%    170.64 KB/s [00:00:00] [complete]
No signature found for http://packages.pardus.org.tr/pardus/2011/stable/i686/pisi-index.xml.xz

* Package database updated.
Updating repository: pardususer.de
pardususer.de repository needs to be updated
pardususer.de repository needs to be updated
pardususer.de repository needs to be updated
pardususer.de repository needs to be updated
System error. Program terminated.
File ' http://pakete.pardususer.de/http://pakete.pardususer.de/pardus-2011/i686/pisi-index.xml.xz.sha1sum' not found.
Please use 'pisi help' for general help.
Use --debug to see a traceback.
« Last Edit: June 26, 2011, 23:26:46 PM by JoanRC » Logged

Remember: only you can prevent forum fires!
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #11 on: June 26, 2011, 23:39:18 PM »

My current result:
Quote
atolboo@pardus2011 ~ $ sudo pisi ar pardususer.de http://pakete.pardususer.de/pardus-2011/i686/pisi-index.xml.xz -y
Wachtwoord:
Bron pardususer.de toegevoegd aan het systeem.
Bijwerken softwarebron: pardususer.de
pisi-index.xml.xz.sha1sum      (40.0  B)100%    103.04 KB/s [00:00:00] [compleet]
pisi-index.xml.xz              (46.0 KB)100%      4.44 MB/s [00:00:00] [compleet]
Geen ondertekening gevonden voor http://pakete.pardususer.de/pardus-2011/i686/pisi-index.xml.xz
* Pakketdatabase bijgewerkt.
atolboo@pardus2011 ~ $ pisi lr
pardus [actief]
   http://packages.pardus.org.tr/pardus/2011/stable/i686/pisi-index.xml.xz
pardususer.de [actief]
   http://pakete.pardususer.de/pardus-2011/i686/pisi-index.xml.xz
atolboo@pardus2011 ~ $ sudo pisi ur -y
Bijwerken softwarebron: pardus
pisi-index.xml.xz.sha1sum      (40.0  B)100%    113.54 KB/s [00:00:00] [compleet]
pisi-index.xml.xz              (1.3 MB)100%    149.19 KB/s [00:00:07] [compleet]
Geen ondertekening gevonden voor http://packages.pardus.org.tr/pardus/2011/stable/i686/pisi-index.xml.xz
* Pakketdatabase bijgewerkt.
Bijwerken softwarebron: pardususer.de
pisi-index.xml.xz.sha1sum      (40.0  B)100%    121.72 KB/s [00:00:00] [compleet]
pardususer.de softwarebroninformatie is nog recent.
atolboo@pardus2011 ~ $

I would try a
Code:
sudo pisi rr pardususer.de -y
followed by a
Code:
sudo pisi ar pardususer.de http://pakete.pardususer.de/pardus-2011/i686/pisi-index.xml.xz -y
Maybe this ^^^ will do the trick.
« Last Edit: June 26, 2011, 23:52:40 PM by atolboo » Logged
JoanRC
Pardus fellow craft
**
Posts: 39



View Profile
« Reply #12 on: June 27, 2011, 00:29:24 AM »

Here are the results:

jobob@pardus2011 ~ $ sudo pisi ar pardususer.de http://pakete.pardususer.de/pardus-2011/i686/pisi-index.xml.xz -y
Repo pardususer.de added to system.
Updating repository: pardususer.de
pisi-index.xml.xz.sha1sum      (40.0  B)100%    236.76 KB/s [00:00:00] [complete]
pisi-index.xml.xz              (46.0 KB)100%     16.64 KB/s [00:00:00] [complete]
No signature found for http://pakete.pardususer.de/pardus-2011/i686/pisi-index.xml.xz                                                                          
* Package database updated.                                                    
pardus repository needs to be updated
pardus repository needs to be updated                                          
pardus repository needs to be updated                                          
pardus repository needs to be updated                                          

jobob@pardus2011 ~ $ sudo pisi ur -y                                            
Updating repository: pardus
pisi-index.xml.xz.sha1sum      (40.0  B)100%     35.67 KB/s [00:00:00] [complete]
pisi-index.xml.xz              (1.3 MB)100%     60.64 KB/s [00:00:02] [complete]
No signature found for http://packages.pardus.org.tr/pardus/2011/stable/i686/pisi-index.xml.xz                                                                  
* Package database updated.                                                    
Updating repository: pardususer.de
pisi-index.xml.xz.sha1sum      (40.0  B)100%    284.94 KB/s [00:00:00] [complete]
pardususer.de repository information is up-to-date.


As you see, Pardus says the repository has been updated. But iso-writer and libpng are still missing from the list.

So, I did a search from the command line - and both of the missing programs are listed. So, I should be able to install them from the command line.

I knew I'd have to learn pisi from the command line one day. I may as well start now Smiley

As mentioned in my first post, I could have solved this whole thing by isntalling Macpup to a cd and using that install to install to the usb stick. However, then the wiki would not have been updated for people wanting to install Pardus to a netbook.

So, this is solved as far as I'm concerned.

Thanks everyone.

Edit: Both isowriter and mandriva-seed are now installed and running on my Pardus install.
« Last Edit: June 27, 2011, 02:59:37 AM by JoanRC » Logged

Remember: only you can prevent forum fires!
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #13 on: June 27, 2011, 07:54:19 AM »

I think there is still something wrong as you get
pardus repository needs to be updated
pardus repository needs to be updated                                           
pardus repository needs to be updated                                           
pardus repository needs to be updated                                           
Maybe one of the files of PiSi have been corrupted Huh?
I suggest to do a
Code:
sudo pisi it pisi --reinstall -y
Logged
JoanRC
Pardus fellow craft
**
Posts: 39



View Profile
« Reply #14 on: June 27, 2011, 10:03:27 AM »

I have re-installed pisi. However, attempts to update pardususer.de fail with the message  http://pakete.pardususer.de/http://pakete.pardususer.de/pardus-2011/i686/pisi-index.xml.xz.sha1sum' not found.

According to About.com.Linux, sha1sum performs a checksum. It would appear that a needed checksum is not being performed for the database for the pardususer.de repository.

Perhaps the server is updating. I'll try again tomorrow.
Logged

Remember: only you can prevent forum fires!
Pages: [1] 2 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!