# Error installing package with Repository

**URL:** <https://forums.suse.com/t/error-installing-package-with-repository/21922>\
**Category:** SLES Configure-Administer\
**Created:** [January 6, 2012, 5:36pm UTC](https://forums.suse.com/t/error-installing-package-with-repository/21922 "2012-01-06T17:36:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [January 6, 2012, 5:36pm UTC](https://forums.suse.com/t/error-installing-package-with-repository/21922/1 "2012-01-06T17:36:02Z")

</div>

Hi to All,  
I have installed SLES 11 on my Server. Now I need to install some  
packages, for example Perl DBD MySQL and zypper, but the installation  
fails wiyh errors like this:

\*[PK\_TMP\_DIR|dir:///var/tmp/TmpDir.BaWgSp] Repository already exists.

\*Any package I tried to install, an error like this is displayed.

Can You help me ?

Gaetano

## – Nick2005

Nick2005’s Profile: [http://forums.novell.com/member.php?userid=113111](http://forums.novell.com/member.php?userid=113111)  
View this thread: [http://forums.novell.com/showthread.php?t=450369](http://forums.novell.com/showthread.php?t=450369)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [January 6, 2012, 5:56pm UTC](https://forums.suse.com/t/error-installing-package-with-repository/21922/2 "2012-01-06T17:56:02Z")

</div>

Solved!  
In YAST ==\> Installed archives, I have deleted the entry \*[PK\_TMP\_DIR|  
\*and all work fine.  
Bye  
Gaetano

## – Nick2005

Nick2005’s Profile: [http://forums.novell.com/member.php?userid=113111](http://forums.novell.com/member.php?userid=113111)  
View this thread: [http://forums.novell.com/showthread.php?t=450369](http://forums.novell.com/showthread.php?t=450369)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [January 6, 2012, 5:56pm UTC](https://forums.suse.com/t/error-installing-package-with-repository/21922/3 "2012-01-06T17:56:44Z")

</div>

On Fri, 06 Jan 2012 15:36:02 GMT  
Nick2005 [Nick2005@no-mx.forums.novell.com](mailto:Nick2005@no-mx.forums.novell.com) wrote:  
[color=blue]

> Hi to All,  
> I have installed SLES 11 on my Server. Now I need to install some  
> packages, for example Perl DBD MySQL and zypper, but the installation  
> fails wiyh errors like this:
> 
> \*[PK\_TMP\_DIR|dir:///var/tmp/TmpDir.BaWgSp] Repository already exists.
> 
> \*Any package I tried to install, an error like this is displayed.
> 
> Can You help me ?
> 
> Gaetano
> 
> [/color]  
> Hi  
> zypper is installed by default on SLE 11?

Can you check the repository list, the tmp one [repo number] may be in  
there and can be removed;

```auto
zypper lr
zypper rr [repo number]
```

If not just delete the directory in /var/tmp.

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
openSUSE 12.1 (x86\_64) Kernel 3.1.0-1.2-desktop  
up 1:30, 4 users, load average: 0.09, 0.04, 0.05  
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU
