Error with Installation any program.

I just installed openSuse, i tried to install skype, chrome. I got this error:

"A problem that we were not expecting has occurred.Please report this bug with the error discription
Details

[PK_TMP_DIR|dir:///var/tmp/TmpDir.iTjxJA] Repository already exists.
"

I just installed openSuse, i tried to install skype, chrome. I got this error:

"A problem that we were not expecting has occurred.Please report this bug with the error discription
Details

[PK_TMP_DIR|dir:///var/tmp/TmpDir.iTjxJA] Repository already exists.
"
So can we assume you just installed (clean or upgrade?) openSUSE 11.4 and is that 32 or 64 bit? What desktop are you using (GNOME or KDE?) Did you change any of the partitioning to point the tmp folder somewhere else than normal? Can you open a terminal session, execute these commands and post the output here in a message for us to see? :

su -
password:
fdisk -l
cat /etc/fstab

You do not enter the word password, but rather enter the root user password. Copy and past the results of these commands into a message here and perhaps we can see why you would get this kind of error. Use the advanced message editor, highlight the posted text and press the code “#” button to place it in a code field to prevent it from being reformatted in your message post.

Thank You,

Hi,

I know this post is old. But today I come across the same problem that the user mentioned above. I am not able to install anything. Here are the details:

  • Installed openSUSE11.4
  • 64 bit computer
  • KDE desktop
  • I did not do any partitioning to point the tmp folder somewhere else than normal

I did the commands and following is the message I got:

linux-3vhl:~ # fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xfae91f21

Device Boot Start End Blocks Id System
/dev/sda1 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 1560465851 780129502 7 HPFS/NTFS/exFAT
/dev/sda3 1928122368 1953521663 12699648 7 HPFS/NTFS/exFAT
/dev/sda4 * 1560467456 1928122367 183827456 f W95 Ext’d (LBA)
/dev/sda5 1560469504 1564682239 2106368 82 Linux swap / Solaris
/dev/sda6 1564684288 1606629375 20972544 83 Linux
/dev/sda7 1606631424 1928122367 160745472 83 Linux

Partition table entries are not in disk order

Disk /dev/sdb: 4022 MB, 4022337024 bytes
255 heads, 63 sectors/track, 489 cylinders, total 7856127 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 38 7839719 3919841 b W95 FAT32
linux-3vhl:~ # cat /etc/fstab
/dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2940HD1Z18SC-part5 swap swap defaults 0 0
/dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2940HD1Z18SC-part6 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2940HD1Z18SC-part7 /home ext4 acl,user_xattr 1 2
/dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2940HD1Z18SC-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2940HD1Z18SC-part2 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2940HD1Z18SC-part3 /windows/E ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0

Thank you,

Kumar

On 2012-06-08 04:06, femkumar wrote:

>
>
> Hi,
>
> I know this post is old. But today I come across the same problem that
> the user mentioned above. I am not able to install anything. Here are
> the details:
> - Installed openSUSE11.4
> - 64 bit computer
> - KDE desktop
> - I did not do any partitioning to point the tmp folder somewhere else
> than normal

What is needed is the exact sequence of commands and results. What did you
and what happened.

> I did the commands and following is the message I got:
>
> linux-3vhl:~ # fdisk -l

Please use code tags to post that.

Posting in Code
Tags - A Guide


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Thank you for such a quick reply. I resolved the problem now using the following commands (which I found else where):

su -
zypper rr PK_TMP_DIR

However, I come across a new problem. I don’t know if I can continue in the same thread. First, I had the following error:

“error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory”

So, I went online and downloaded libpng12.so.0 and when I am trying to install it, it stops installing by giving me the following error:

“libpng12-devel-1.2.49-16.1.x86_64 requires libpng12-0 = 1.2.49, but this requirement cannot be provided”

Any comments on how to proceed this.

Thanks
Kumar

On 2012-06-08 04:26, femkumar wrote:
>
> However, I come across a new problem. I don’t know if I can continue in
> the same thread. First, I had the following error:
>
> “error while loading shared libraries: libpng12.so.0: cannot open
> shared object file: No such file or directory”

Code tags, code tags…

> So, I went online and downloaded libpng12.so.0 and when I am trying to
> install it, it stops installing by giving me the following error:

No, you do not go downloading anything at all. You fire up yast package
manager or zypper, find the package you want to install, and install it.

So, first thing you do, is fire up yast, select “online update”, and let it
update everything it wants. Reboot if necessary. Then fire up yast, select
“software management”, select “search” and search for that “libpng12” you
want, and let it install it.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Sorry about the code tags. I will get it right from next time…

I first searched YaST for “libpng12.so.0” and installed some ‘libpng12’ files it showed. Yet I keep getting the error messsage that ‘libpng12.so.0’ is missing. That is why I searched online and installed the rpm file. However, I am now updating all the programs that need to be updated in YaST and will see how it goes.

Thanks,
Kumar

On Fri, 08 Jun 2012 02:56:02 +0000, femkumar wrote:

> Sorry about the code tags. I will get it right from next time…
>
> I first searched YaST for “libpng12.so.0” and installed some ‘libpng12’
> files it showed. Yet I keep getting the error messsage that
> ‘libpng12.so.0’ is missing. That is why I searched online and installed
> the rpm file. However, I am now updating all the programs that need to
> be updated in YaST and will see how it goes.

After libpng12 is installed, you may need to log out and back in to the
GUI (at least) or simply restart the system. The library list may not be
updated for your current session (hence why a reboot is /probably/ not
possible).

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

OK what program is wanting this?? Is your OS 64 bit version or 32? If 64 and the program is 32 it may require the 32 bit version of the library. Find the package for that lib that has 32 in the name and install that.

On 2012-06-08 04:56, femkumar wrote:
>
> Sorry about the code tags. I will get it right from next time…
>
> I first searched YaST for “libpng12.so.0” and installed some ‘libpng12’
> files it showed. Yet I keep getting the error messsage that
> ‘libpng12.so.0’ is missing.

What is that program that gives you that error, where did it came, and how
exactly did you install it?

> That is why I searched online and installed
> the rpm file.

Searching random places is a recipe for errors. You have to use packages
designed for openSUSE 11.4, and let the package manager solve the
dependencies. You will find almost everything on the buildservice.

> However, I am now updating all the programs that need to
> be updated in YaST and will see how it goes.

Good.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 2012-06-08 05:01, Jim Henderson wrote:
> On Fri, 08 Jun 2012 02:56:02 +0000, femkumar wrote:
>
>> Sorry about the code tags. I will get it right from next time…
>>
>> I first searched YaST for “libpng12.so.0” and installed some ‘libpng12’
>> files it showed. Yet I keep getting the error messsage that
>> ‘libpng12.so.0’ is missing. That is why I searched online and installed
>> the rpm file. However, I am now updating all the programs that need to
>> be updated in YaST and will see how it goes.
>
> After libpng12 is installed, you may need to log out and back in to the
> GUI (at least) or simply restart the system. The library list may not be
> updated for your current session (hence why a reboot is /probably/ not
> possible).

A recent post mentioned precisely libpng12 not being found, and the problem
was that that the system was recently installed and not updated, whereas
the application requiring it being newly made - thus the failing dep.
That’s the reason I recommended to run YOU first, but he is doing it last

  • I hope it works right.

My memory is not as precise as it was, but this thing is recent and I
remember :wink:


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Ok, I updated all the programs on YaST, rebooted it, searched for libpng12 and all the results were already installed. I went and tried to run my program and still the same problem exists.

My computer is 64 bit. I am trying to install a software called LS-Prepost. I installed both 32 bit version and the other versions but no change. I already ran out of options so far. I will be waiting for your reply…

Thanks,

Kumar

Hi Jim,

I did logout, restarted the system and tried again. But the same error exists: “error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory”

I appreciate any comments or options.

Thanks

Kumar

Hi Carlos,

Thank you for the response. I did install both the Suse and LS-Prepost software recently. But I was successful in installing this software in other 32bit computer. But that computer was too slow and I was required to install on a faster 64bit computer. Now, it is frustrating to come across this problem. I have been trying this for hours. But no progress.

I can’t wait to get out of this problem.

Thanks,

Kumar

Funny, I just went to the directory: “/usr/lib/” and I find the ‘libpng12.so.0’. But I do not see the same ‘libpng.12.so.0’ in “/usr/lib64/”. Does it mean anything?

I also see libpng14.so, libpng14.so.14 and libpng14.so.14.4.0. I hope the presence of these files are not messing it up.

Thanks

Kumar

On Fri, 08 Jun 2012 04:16:02 +0000, femkumar wrote:

> Funny, I just went to the directory: “/usr/lib/” and I find the
> ‘libpng12.so.0’. I do not understand why the error that the exact same
> file is not found.
>
> I also see libpng14.so, libpng14.so.14 and libpng14.so.14.4.0. I hope
> the presence of these files are not messing it up.
>
> Thanks
>
> Kumar

If this is a 64-bit system, then you need to look in /usr/lib64 for the
library.

You might also try going to a terminal prompt and just typing:

sudo ldconfig -i

That’ll rebuild the library cache - but do that after installing the 64-
bit library if you are running openSUSE 12.1 x86_64.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Hi Jim,

I am running openSUSE 11.4. When I searched the YaST, I did not find 64 bit version specifically. As I mentioned earlier, I do not see libpng2.so.0 file in ‘/usr/lib64’. How do I install 64 bit library now?

Thanks

Kumar

On 2012-06-08 07:01, Jim Henderson wrote:

> If this is a 64-bit system, then you need to look in /usr/lib64 for the
> library.

He said it was 11.4 64 bit, yes. And he probably needs the libraries both
in /usr/lib and /usr/lib64

I have these installed - he should not need the devel parts - but notice
there are -32bit parts which he probably needs:


cer@Telcontar:~> rpm -qa | grep -i libpng
libpng14-14-1.4.4-20.1.x86_64
libpng14-devel-1.4.4-20.1.x86_64
libpng14-compat-devel-1.4.4-20.1.x86_64
libpng12-0-32bit-1.2.49-16.1.x86_64
libpng14-14-32bit-1.4.4-20.1.x86_64
libpng12-0-1.2.49-16.1.x86_64

It appears he is trying to install “LS-Prepost”, which apparently is a
preprocesor for LS-DYNA:

Wikipedia: LS-DYNA

+++··················
LS-DYNA is an advanced general-purpose multiphysics simulation software
package developed by the Livermore Software Technology Corporation (LSTC).
While the package continues to contain more and more possibilities for the
calculation of many complex, real world problems, its origins and
core-competency lie in highly nonlinear transient dynamic finite element
analysis (FEA) using explicit time integration. LS-DYNA is being used by
the automobile, aerospace, construction, military, manufacturing, and
bioengineering industries.

LS-DYNA consists of a single executable file and is entirely command line
driven. Therefore all that is required to run LS-DYNA is a command shell,
the executable, an input file, and enough free disk space to run the
calculation. All input files are in simple ASCII format and thus can be
prepared using any text editor. Input files can also be prepared with the
aid of a graphical preprocessor. There are many third party software
products available for preprocessing LS-DYNA input files (e.g.TrueGrid).
LSTC also develops its own preprocessor, LS-PrePost, which is freely
distributed and runs without a license. Licensees of LS-DYNA automatically
have access to all of the program’s capabilities, from simple linear static
mechanical analysis up to advanced thermal and flow solving methods.
Furthermore they have full use of LSTC’s LS-OPT software, a standalone
design optimization and probabilistic analysis package with an interface to
LS-DYNA.
··················+±

The wikipedia does not say what type of license this thing has, which is
strange. I’m afraid the application will be 32 bits, which would be very
strange for such type of software.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 2012-06-08 13:56, femkumar wrote:
>
> Hi Jim,
>
> I am running openSUSE 11.4. When I searched the YaST, I did not find 64
> bit version specifically. As I mentioned earlier, I do not see
> libpng2.so.0 file in ‘/usr/lib64’. How do I install 64 bit library now?

Run and post here (in code tags) this: “rpm -qa | grep -i libpng”


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)